1 2005-10-20 Wim Taymans <wim@fluendo.com>
3 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
5 Speed up current position calculation.
7 * gst/base/gstbasesrc.c: (gst_base_src_query),
8 (gst_base_src_default_newsegment):
9 Correctly set stream position in newsegment.
11 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
12 (update_degree), (gst_bin_sort_iterator_next),
13 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
14 * gst/gstmessage.c: (gst_message_new_custom):
15 Clean up debugging info
17 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18 (gst_queue_loop), (gst_queue_handle_src_query):
21 2005-10-19 Wim Taymans <wim@fluendo.com>
23 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
24 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
25 Fix query handling again.
27 2005-10-19 Wim Taymans <wim@fluendo.com>
29 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
30 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
31 * gst/base/gstbasesrc.c: (gst_base_src_query):
32 * gst/elements/gstfilesink.c: (gst_file_sink_query):
33 * gst/elements/gsttypefindelement.c:
34 (gst_type_find_handle_src_query), (find_element_get_length),
35 (gst_type_find_element_activate):
38 * gst/gstquery.c: (gst_query_new_position),
39 (gst_query_set_position), (gst_query_parse_position),
40 (gst_query_new_duration), (gst_query_set_duration),
41 (gst_query_parse_duration), (gst_query_set_segment),
42 (gst_query_parse_segment):
44 Bundling query position/duration is not a good idea since duration
45 does not change much and we don't want to recalculate it for every
46 position query, so they are separated again..
47 Base value in segment query is not needed.
49 * gst/gstqueue.c: (gst_queue_handle_src_query):
50 * gst/gstutils.c: (gst_element_query_position),
51 (gst_element_query_duration), (gst_pad_query_position),
52 (gst_pad_query_duration):
54 Updates for query API change.
55 Added some docs here and there.
57 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
59 * check/gst/gstbin.c: (GST_START_TEST):
60 * check/gst/gstghostpad.c: (GST_START_TEST):
61 * check/pipelines/cleanup.c: (GST_START_TEST):
62 wait on thread to die so we can check refcount correctly
64 2005-10-18 Wim Taymans <wim@fluendo.com>
66 * check/pipelines/stress.c: (GST_START_TEST):
67 Make check a little more time consuming.
69 2005-10-18 Wim Taymans <wim@fluendo.com>
72 * check/pipelines/stress.c: (GST_START_TEST),
73 (simple_launch_lines_suite), (main):
74 Small state change torture test.
76 * docs/design/part-states.txt:
77 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
78 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
79 (gst_base_sink_change_state):
80 Never take state lock from streaming thread, clean up ugly
81 hacks. Unfortunatly core does not yet support nice ways to
84 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
86 Start state recalc if a STATE_DIRTY message is posted, but only
89 * gst/gstelement.c: (gst_element_sync_state_with_parent),
90 (gst_element_get_state_func), (gst_element_abort_state),
91 (gst_element_commit_state), (gst_element_lost_state),
92 (gst_element_set_state_func), (gst_element_change_state):
94 State variables are now protected with the LOCK, the state
95 lock is only used to serialize _set_state().
97 2005-10-18 Wim Taymans <wim@fluendo.com>
99 * check/gst/gstbin.c: (GST_START_TEST):
100 * check/gst/gstmessage.c: (GST_START_TEST):
101 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
102 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
104 * gst/gstelement.c: (gst_element_abort_state),
105 (gst_element_commit_state), (gst_element_lost_state):
106 * gst/gstmessage.c: (gst_message_new_state_changed),
107 (gst_message_new_state_dirty), (gst_message_new_segment_start),
108 (gst_message_new_segment_done), (gst_message_new_duration),
109 (gst_message_parse_state_changed),
110 (gst_message_parse_segment_start),
111 (gst_message_parse_segment_done), (gst_message_parse_duration):
113 * tools/gst-launch.c: (event_loop):
114 Seriously, this is better than a previous commit as we only need
115 to notify the fact that an element changed state in a streaming
116 thread, marking the state of the parents dirty, hence the
117 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
120 2005-10-18 Wim Taymans <wim@fluendo.com>
122 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
123 (gst_bin_recalc_func):
124 * gst/gstelement.c: (gst_element_set_clock),
125 (gst_element_abort_state), (gst_element_lost_state):
126 Cleanups, prepare for state change fixes.
128 2005-10-18 Wim Taymans <wim@fluendo.com>
131 * gst/gstelement.c: (gst_element_class_init),
132 (gst_element_set_state), (gst_element_set_state_func):
135 GThreadPool in GstBinClass to monitor async state changes.
136 state_cookie in GstElement to detect concurrent gst/set state.
137 set_state is now virtual too in case a very complicated element
138 has to be constructed.
140 2005-10-18 Wim Taymans <wim@fluendo.com>
142 * check/gst/gstbin.c: (GST_START_TEST):
143 * check/gst/gstmessage.c: (GST_START_TEST):
144 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
145 * gst/gstbin.c: (bin_bus_handler):
146 * gst/gstelement.c: (gst_element_commit_state),
147 (gst_element_lost_state):
148 * gst/gstmessage.c: (gst_message_new_state_changed),
149 (gst_message_new_segment_start), (gst_message_new_segment_done),
150 (gst_message_new_duration), (gst_message_parse_state_changed),
151 (gst_message_parse_segment_start),
152 (gst_message_parse_segment_done), (gst_message_parse_duration):
154 * tools/gst-launch.c: (event_loop):
155 Make messages future proof.
156 state-change gets a flag if it was a message comming from the
158 segment-start/stop can also be specified in other formats.
159 A message to notify an app that a pipeline changed playback
161 Also fix a GstMessage leak in -launch
163 2005-10-18 Andy Wingo <wingo@pobox.com>
165 * gst/gstelement.c (gst_element_dispose): More helpful message.
167 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
169 * gst/gstregistry.c: (gst_registry_scan_path_level):
170 unref a plug-in we get that was already initialized
172 2005-10-18 Stefan Kost <ensonic@users.sf.net>
174 * docs/gst/gstreamer-sections.txt:
175 * docs/libs/gstreamer-libs-sections.txt:
180 2005-10-17 Andy Wingo <wingo@pobox.com>
182 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
185 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
187 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
189 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
190 (gst_element_get_state_func): Better debug message.
191 (gst_element_commit_state): s/INFO/DEBUG/.
192 (gst_element_lost_state, gst_element_change_state):
194 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
195 (gst_message_new_custom): s/INFO/LOG/.
197 2005-10-17 Michael Smith <msmith@fluendo.com>
199 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
200 Check if end time is valid using end time, not start time.
202 2005-10-17 Stefan Kost <ensonic@users.sf.net>
204 * check/gst-libs/controller.c: (GST_START_TEST),
205 (gst_controller_suite):
206 * libs/gst/controller/gstcontroller.c:
207 (gst_controlled_property_set_interpolation_mode):
208 * libs/gst/controller/gstcontroller.h:
209 * libs/gst/controller/gstinterpolation.c:
210 * testsuite/controller/.cvsignore:
211 * testsuite/controller/Makefile.am:
212 * testsuite/controller/interpolator.c:
213 merge controller testsuites
215 remove mem-chunk from docs
217 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
221 * gst/gsttrashstack.c:
222 * gst/gsttrashstack.h:
223 out. get out. you're fired. to the Attic !
225 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
227 * gst/gstcaps.c: (gst_caps_intersect):
228 fix signedness issues in a (hopefully) correct way
229 * gst/gstelement.c: (gst_element_pads_activate):
231 * gst/gstobject.c: (gst_object_set_parent):
234 2005-10-17 Julien MOUTTE <julien@moutte.net>
236 * gst/gstvalue.h: Fix prototypes.
238 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
240 * docs/gst/gstreamer-sections.txt:
241 * gst/gst.c: (gst_version_string):
243 * gst/gstversion.h.in:
244 * win32/common/libgstreamer.def:
245 add gst_version_string ()
247 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
251 * gst/gst.c: (init_post):
252 * win32/common/config.h.in:
254 * gst/gstcaps.c: (gst_caps_intersect):
255 use gint64, the range could be bigger than a guint
257 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
260 document potential problem in 2038
262 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
264 * gst/gstcaps.c: (gst_caps_intersect):
265 Fix guint j diving under 0
267 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
270 * win32/common/config.h:
271 * win32/common/config.h.in:
272 check for process.h, declares getpid() on Windows
274 include process.h if we have it
275 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
277 fix signedness issues
278 * win32/common/libgstreamer.def:
281 2005-10-16 Julien MOUTTE <julien@moutte.net>
283 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
284 fix. Because of unsigned ints, caps intersection was going nuts and
285 trying to access structures with G_MAXUINT index. That fixes
286 videotestsrc ! ffmpegcolorspace ! fakesink
287 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
290 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
293 use the gettext macro
294 * gst/elements/gstelements.c:
296 * gst/indexers/gstindexers.c:
297 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
298 * win32/common/config.h:
300 * win32/common/config.h.in:
301 add the template to generate config.h
302 * win32/common/gstenumtypes.c:
303 * win32/common/gstversion.h:
306 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
308 * gst/gst.c: (gst_version):
309 * gst/gstversion.h.in:
312 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
315 Oops, add missing closing bracket.
317 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
320 use common m4's for argument checking
322 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
324 * docs/gst/gstreamer-sections.txt:
326 Add GST_EVENT_TYPE_NAME() macro.
328 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
331 * gst/gstpluginfeature.c:
333 privatize more symbols
335 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
338 add srcdir, builddir includes to GST_ALL_CFLAGS, since
339 everything that uses GStreamer API should have the includes
341 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
343 * docs/gst/gstreamer-sections.txt:
344 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
346 give each value a _get_type, removes the DATA exports
348 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
352 remove _gst_registry_auto_load, not used anymore
353 * gst/gstbin.c: (gst_bin_get_type):
355 * gst/gstelement.c: (gst_element_get_type):
357 * gst/gstobject.c: (gst_object_get_type):
359 * gst/gstpad.c: (gst_pad_get_type):
361 make _get_type functions similar, fixes data export from library
363 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
366 correctly make conditionals
367 * gst/elements/Makefile.am:
368 * gst/elements/gstelements.c:
369 fix typo causing fdsrc not to build
371 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
373 * testsuite/Makefile.am:
374 * testsuite/bytestream/.cvsignore:
375 * testsuite/bytestream/Makefile.am:
376 * testsuite/bytestream/filepadsink.c:
377 * testsuite/bytestream/gstbstest.c:
378 * testsuite/bytestream/test1.c:
379 * testsuite/bytestream/testfile1:
380 * testsuite/caps/normalisation.c:
381 * testsuite/caps/random.c: (main):
382 * testsuite/cleanup/.cvsignore:
383 * testsuite/cleanup/Makefile.am:
384 * testsuite/cleanup/cleanup1.c:
385 * testsuite/cleanup/cleanup2.c:
386 * testsuite/cleanup/cleanup3.c:
387 * testsuite/cleanup/cleanup4.c:
388 * testsuite/cleanup/cleanup5.c:
389 * testsuite/controller/interpolator.c:
390 * testsuite/debug/printf_extension.c: (main):
391 * testsuite/elements/tee.c:
392 * testsuite/negotiation/.cvsignore:
393 * testsuite/negotiation/Makefile.am:
394 * testsuite/negotiation/pad_link.c:
395 * testsuite/pad/Makefile.am:
396 * testsuite/pad/chainnopull.c:
397 * testsuite/pad/getnopush.c:
398 * testsuite/pad/link.c:
399 * testsuite/refcounting/sched.c: (create_pipeline):
400 * testsuite/registry/Makefile.am:
401 * testsuite/registry/gst-print-formats.c:
402 * testsuite/schedulers/.cvsignore:
403 * testsuite/schedulers/142183-2.c:
404 * testsuite/schedulers/142183.c:
405 * testsuite/schedulers/143777-2.c:
406 * testsuite/schedulers/143777.c:
407 * testsuite/schedulers/147713.c:
408 * testsuite/schedulers/147819.c:
409 * testsuite/schedulers/147894-2.c:
410 * testsuite/schedulers/147894.c:
411 * testsuite/schedulers/Makefile.am:
412 * testsuite/schedulers/group_link.c:
413 * testsuite/schedulers/queue_link.c:
414 * testsuite/schedulers/relink.c:
415 * testsuite/schedulers/unlink.c:
416 * testsuite/schedulers/unref.c:
417 * testsuite/schedulers/useless_iteration.c:
418 * testsuite/states/bin.c:
419 clean out/remove some stuff from the testsuite directories
421 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
424 check for some headers
425 * gst/elements/Makefile.am:
426 * gst/elements/gstelements.c:
427 don't compile fdsrc without sys/socket.h
428 * gst/indexers/Makefile.am:
429 * gst/indexers/gstindexers.c: (plugin_init):
430 don't compile fileindex without mmap
432 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
440 * docs/gst/Makefile.am:
441 * examples/helloworld/Makefile.am:
443 * gst/base/Makefile.am:
444 * gst/check/Makefile.am:
445 * gst/elements/Makefile.am:
446 * gst/indexers/Makefile.am:
447 * gst/parse/Makefile.am:
448 * libs/gst/controller/Makefile.am:
449 * libs/gst/dataprotocol/Makefile.am:
450 * examples/helloworld/helloworld.c: (event_loop):
451 compile fixes, though it's not being compiled currently
453 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
455 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
456 Add some simple tests for the new taglist date API.
458 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
460 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
461 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
462 Beautify 'last-message' output: print 'none' for buffer timestamps
463 and durations if none is set; improve alignment with next messages.
465 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
467 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
468 * gst/gstpluginfeature.h:
469 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
471 * docs/gst/gstreamer-sections.txt:
472 Add new API to check plugin feature version requirements.
474 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
475 Some basic tests for the above.
477 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
479 * gst/gststructure.c: (gst_structure_to_string):
480 guard against NULL printf - happens when for example
481 a message structure with GstClock gets serialized
483 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
485 * gst/base/gstcollectpads.c: (gst_collectpads_event):
486 Fix presumable copy'n'pasto.
488 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
490 * gst/elements/gstfakesrc.h:
491 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
492 * gst/elements/gsttypefindelement.c:
494 * gst/elements/gstfilesink.c: (gst_file_sink_render):
495 I wonder if this could actually write +2GB files before
497 2005-10-13 Andy Wingo <wingo@pobox.com>
499 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
500 Fix Timmeke Waymans bug.
501 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
502 string of the proper length to gst_caps_from_string. There's a
503 potential for, before this fix, that this could cause someone
504 connecting over the network to cause a segfault if the payload is
507 2005-10-13 Stefan Kost <ensonic@users.sf.net>
509 * docs/design/draft-push-pull.txt:
510 * docs/design/part-overview.txt:
511 * docs/random/TODO-pre-0.9:
512 * docs/random/old/ChangeLog.gstreamer:
513 * gst/base/gstpushsrc.c:
517 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
519 * gst/glib-compat.c: (gst_flags_get_first_value):
521 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
522 (gst_value_compare_double), (gst_value_serialize_flags):
523 GLib 2.6 g_flags_get_first_value has a bug that triggers an
526 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
529 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
531 * tools/gst-launch.c: (event_loop):
532 print out clock nicely
534 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
536 * docs/gst/gstreamer-sections.txt:
538 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
539 (gst_tag_list_get_date_index):
540 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
541 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
543 2005-10-13 Julien MOUTTE <julien@moutte.net>
545 * gst/base/gstcollectpads.c: (gst_collectpads_event),
546 (gst_collectpads_chain):
547 * gst/base/gstcollectpads.h: Handle newsegment and store informations
550 2005-10-13 Stefan Kost <ensonic@users.sf.net>
552 * docs/gst/gstreamer-sections.txt:
555 * tools/gst-inspect.c: (main):
556 * tools/gst-launch.c: (main):
557 * tools/gst-run.c: (main):
558 * tools/gst-xmlinspect.c: (main):
559 fix GOption context leaks
562 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
566 * win32/common/config.h:
568 * win32/vs6/grammar.dsp:
569 * win32/vs6/libgstelements.dsp:
570 * win32/vs6/libgstreamer.dsp:
573 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
575 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
576 * gst/base/gstbasesrc.c: (gst_base_src_query):
577 fix more guint64<->gdouble conversions
579 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
582 add win32-update target
583 * win32/common/gstconfig.h:
584 * win32/common/gstenumtypes.c:
585 * win32/common/gstenumtypes.h:
586 * win32/common/gstversion.h:
587 add files that visual studio can't generate
589 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
592 add a win32-update target
595 2005-10-12 Wim Taymans <wim@fluendo.com>
597 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
598 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
599 * gst/gstelement.c: (gst_element_commit_state),
600 (gst_element_set_state):
601 Protect flags with proper lock.
602 unref provided cached clock in dispose.
604 2005-10-12 Stefan Kost <ensonic@users.sf.net>
607 * gst/gstminiobject.h:
609 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
610 removed unused flags from miniobject
613 2005-10-12 Wim Taymans <wim@fluendo.com>
615 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
616 (gst_file_sink_event), (gst_file_sink_render):
617 Flush before seeking.
619 2005-10-12 Andy Wingo <wingo@pobox.com>
621 * gst/gst.c (gst_init_check): Ignore unknown options, as has
622 always been the case.
624 2005-10-12 Stefan Kost <ensonic@users.sf.net>
626 * check/gst/gstbin.c: (GST_START_TEST):
627 * docs/gst/gstreamer-sections.txt:
628 * gst/base/gstbasesink.c: (gst_base_sink_init):
629 * gst/base/gstbasesrc.c: (gst_base_src_init),
630 (gst_base_src_get_range), (gst_base_src_check_get_range),
631 (gst_base_src_start), (gst_base_src_stop):
632 * gst/base/gstbasesrc.h:
633 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
634 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
635 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
639 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
641 * gst/gstelement.c: (gst_element_is_locked_state),
642 (gst_element_set_locked_state), (gst_element_commit_state),
643 (gst_element_set_state):
645 * gst/gstindex.c: (gst_index_init):
647 * gst/gstminiobject.h:
648 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
649 (gst_object_set_parent):
651 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
652 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
654 * gst/gstpadtemplate.h:
655 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
656 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
658 * gst/indexers/gstfileindex.c: (gst_file_index_load),
659 (gst_file_index_commit):
660 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
661 * testsuite/pad/link.c: (gst_test_src_init),
662 (gst_test_filter_init), (gst_test_sink_init):
663 * testsuite/states/locked.c: (main):
664 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
665 moved bitshift from macro to enum definition
667 2005-10-12 Wim Taymans <wim@fluendo.com>
669 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
670 * gst/elements/gstfilesink.c: (gst_file_sink_event),
671 (gst_file_sink_render):
672 Some more debugging info.
674 2005-10-12 Wim Taymans <wim@fluendo.com>
676 * docs/design/part-states.txt:
677 * tools/gst-launch.c: (main):
679 Revert non-intentional change.
681 2005-10-12 Wim Taymans <wim@fluendo.com>
683 * check/gst/gstbin.c: (GST_START_TEST):
684 * check/gst/gstelement.c: (GST_START_TEST):
685 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
686 * check/gst/gstghostpad.c: (GST_START_TEST):
687 * check/gst/gstpipeline.c: (GST_START_TEST):
688 * check/pipelines/simple_launch_lines.c: (run_pipeline):
689 * check/states/sinks.c: (GST_START_TEST):
690 * gst/elements/gsttypefindelement.c: (stop_typefinding):
691 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
692 (gst_bin_remove_func), (gst_bin_get_state_func),
693 (gst_bin_recalc_state), (gst_bin_change_state_func),
695 * gst/gstelement.c: (gst_element_get_state_func),
696 (gst_element_get_state), (gst_element_abort_state),
697 (gst_element_commit_state), (gst_element_set_state),
698 (gst_element_change_state), (gst_element_change_state_func):
700 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
701 (gst_pipeline_provide_clock_func):
702 * gst/gstutils.c: (gst_element_link_pads_filtered):
703 * tools/gst-launch.c: (main):
704 * tools/gst-typefind.c: (main):
705 Use GstClockTime in _get_state() instead of GTimeVal.
706 Remove old code in gstutils.c
708 2005-10-12 Andy Wingo <wingo@pobox.com>
710 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
713 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
714 there is no task. Shouldn't affect any code, as nothing in our
715 plugins checks this return value.
716 (gst_pad_stop_task): Also take the stream lock if the pad has no
719 2005-10-12 Wim Taymans <wim@fluendo.com>
721 * gst/gstpad.c: (pre_activate), (post_activate),
722 (gst_pad_activate_pull), (gst_pad_activate_push):
723 Cleanup activation code. Reset old state if
726 2005-10-12 Wim Taymans <wim@fluendo.com>
728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
729 (gst_base_sink_change_state):
730 No need to prerol after receiving EOS.
732 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
733 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
734 * gst/elements/gstidentity.c: (gst_identity_event):
735 Print events more verbosely.
737 2005-10-12 Wim Taymans <wim@fluendo.com>
740 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
741 * check/states/sinks2.c:
742 Moved sinks2 testcode in sinks check.
744 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
745 (gst_bin_remove_func), (gst_bin_recalc_state),
746 (gst_bin_change_state_func), (bin_bus_handler):
747 Fix potential race condition when _get_state() iterated over an
748 ASYNC element right before it posted a state completion.
753 * gst/gstevent.c: (gst_event_new_newsegment),
754 (gst_event_parse_newsegment):
755 A playback rate of 0.0 is not allowed.
757 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
759 * win32/common/config.h:
760 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
761 (_trewinddir), (_ttelldir), (_tseekdir):
762 * win32/common/dirent.h:
763 * win32/common/gtchar.h:
764 * win32/common/libgstbase.def:
765 * win32/common/libgstreamer.def:
766 * win32/vs6/grammar.dsp:
767 * win32/vs6/gst_inspect.dsp:
768 * win32/vs6/gst_launch.dsp:
769 * win32/vs6/gstreamer.dsw:
770 * win32/vs6/libgstbase.dsp:
771 * win32/vs6/libgstelements.dsp:
772 * win32/vs6/libgstreamer.dsp:
773 Visual Studio 6 project files, and a new common directory.
776 2005-10-11 Wim Taymans <wim@fluendo.com>
778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
779 (gst_base_sink_do_sync), (gst_base_sink_query),
780 (gst_base_sink_change_state):
781 * gst/base/gstbasesink.h:
782 Correctly parse newsegment info.
784 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
786 * gst/gst.c: (init_post):
787 split plugin paths correctly
789 2005-10-11 Wim Taymans <wim@fluendo.com>
791 * check/gst/gstevent.c: (GST_START_TEST):
792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
793 (gst_base_sink_change_state):
794 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
795 * gst/base/gstbasetransform.c: (gst_base_transform_event):
796 * gst/elements/gstfilesink.c: (gst_file_sink_event):
797 * gst/gstevent.c: (gst_event_new_newsegment),
798 (gst_event_parse_newsegment):
800 Added extra flag to newsegment for future API freeze.
801 Updated check and base elements.
803 2005-10-11 Julien MOUTTE <julien@moutte.net>
805 * gst/base/gstcollectpads.c: (gst_collectpads_init),
806 (gst_collectpads_add_pad), (gst_collectpads_pop),
807 (gst_collectpads_event), (gst_collectpads_chain):
808 * gst/base/gstcollectpads.h: Handle EOS correctly.
810 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
812 * tools/gst-launch.c: (main):
815 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
817 * gst/gst-i18n-lib.h:
818 check for ENABLE_NLS, not GETTEXT_PACKAGE
819 * gst/gstregistry.c: (gst_registry_add_plugin),
820 (gst_registry_scan_path_level),
821 (_gst_registry_remove_cache_plugins):
822 protect possibly NULL strings
824 config.h already included before
825 * tools/gst-inspect.c: (main):
826 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
827 check for ENABLE_NLS, not GETTEXT_PACKAGE
828 * tools/gst-launch.c: (main):
829 check for ENABLE_NLS, not GETTEXT_PACKAGE
831 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
834 if we don't have glib, fail before testing 2.8
835 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
836 fix a leak, should fix plugins-base testsuite
838 2005-10-11 Andy Wingo <wingo@pobox.com>
840 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
841 take the mode we're going to as an arg. Go head and set the mode
842 and flushing flags now, so that if the activate function starts a
843 thread all the flags will be in the right state.
844 (post_activate): Renamed also. Just handle making sure streaming
845 finishes for the deactivation case, and setting the deactivated
847 (gst_pad_set_active): Complain loudly if deactivation fails.
848 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
849 (gst_pad_activate_push): Adapt to pre/post_activate changes,
850 remove the terrible hack.
852 2005-10-11 Wim Taymans <wim@fluendo.com>
854 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
855 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
856 (gst_bin_recalc_state), (gst_bin_change_state_func),
857 (gst_bin_dispose), (bin_bus_handler):
859 Prepare to make current EOS message queue more generic.
862 * gst/gstevent.c: (gst_event_new_newsegment),
863 (gst_event_parse_newsegment):
865 Rename base to stream_time.
870 2005-10-11 Wim Taymans <wim@fluendo.com>
872 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
873 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
874 (gst_bin_change_state_func), (bin_bus_handler):
876 Work on proper clock selection.
878 2005-10-11 Edward Hervey <edward@fluendo.com>
880 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
881 * libs/gst/controller/gstcontroller.h:
882 Added GList* version of _remove_properties() in order to be able to wrap
885 2005-10-11 Wim Taymans <wim@fluendo.com>
887 * docs/design/part-states.txt:
890 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
891 (gst_bin_change_state_func), (bin_bus_handler):
892 Doc updates. Don't distribute the same clock over and over again.
898 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
899 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
900 (gst_pad_send_event):
902 Make probe emission threadsafe again.
903 Register quarks and move _get_name() from utils.
906 * gst/gstpipeline.c: (gst_pipeline_class_init),
907 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
908 Only redistribute the clock of it changed.
910 * gst/gstsystemclock.h:
915 Moved the _flow_get_name() to GstPad.
917 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
919 * check/gst-libs/gdp.c: (GST_START_TEST):
920 * check/gst/gstcaps.c: (GST_START_TEST):
921 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
922 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
923 (gst_dp_packet_from_caps):
924 fix more valgrind warnings before turning up the heat
926 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
928 * gst/parse/grammar.y:
929 some cleanup before the hacking
931 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
933 * gst/base/gstbasesrc.c: (gst_base_src_query):
935 * gst/gstutils.c: (gst_guint64_to_gdouble),
936 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
938 externalize, basesrc uses it
939 obviously the implementation needs testing
941 2005-10-10 Wim Taymans <wim@fluendo.com>
943 * tests/sched/Makefile.am:
944 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
945 (make_pipeline3), (make_pipeline4), (print_elem), (main):
947 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
949 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
950 apparently converting from guint64 to double is not implemented
953 2005-10-10 Wim Taymans <wim@fluendo.com>
956 * check/generic/states.c: (GST_START_TEST):
957 * check/gst/gstbin.c: (GST_START_TEST):
958 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
959 * check/states/sinks.c: (GST_START_TEST):
960 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
962 Check fixes, use API as stated in design docs, remove hacks.
964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
965 (gst_base_sink_change_state):
966 Catch stopping our task while we're shutting down.
968 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
969 (gst_bin_remove_func), (gst_bin_get_state_func),
970 (gst_bin_recalc_state), (gst_bin_change_state_func),
973 * gst/gstelement.c: (gst_element_init),
974 (gst_element_get_state_func), (gst_element_abort_state),
975 (gst_element_commit_state), (gst_element_lost_state),
976 (gst_element_set_state), (gst_element_change_state),
977 (gst_element_change_state_func):
979 New state change algorithm (see #318116)
981 * gst/gstpipeline.c: (gst_pipeline_class_init),
982 (gst_pipeline_init), (gst_pipeline_set_property),
983 (gst_pipeline_get_property), (do_pipeline_seek),
984 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
986 Remove crude state change hacks.
991 * tools/gst-launch.c: (main):
992 Fixes for state change. Needs some more work to fully use the
995 2005-10-10 Andy Wingo <wingo@pobox.com>
997 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
999 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1000 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1003 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1005 * gst/gstiterator.c: (gst_iterator_new):
1006 Fix my previous commit: GTypes passed to gst_iterator_new()
1007 can be fundamental types.
1009 2005-10-10 Wim Taymans <wim@fluendo.com>
1011 * gst/gstelement.c: (gst_element_iterate_pad_list),
1012 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1013 (gst_element_iterate_sink_pads):
1014 Use src/sink pads lists for the respective iterators instead
1017 2005-10-10 Andy Wingo <wingo@pobox.com>
1019 Merged in popt removal + GOption addition patch from Ronald, bug
1022 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1023 GstElement macros around, remove popt-related symbols, add goption
1026 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1028 * docs/gst/Makefile.am:
1029 * docs/libs/Makefile.am: No POPT_CFLAGS.
1031 * examples/manual/Makefile.am:
1032 * docs/manual/basics-init.xml: Doc updates with an example.
1034 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1035 (gst_init), (parse_one_option), (parse_goption_arg):
1036 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1037 bit of hand merging and debugging to get the GOption stuff working
1040 * tests/Makefile.am:
1041 * tools/Makefile.am:
1042 * tools/gst-inspect.c: (main):
1043 * tools/gst-launch.c: (main):
1044 * tools/gst-run.c: (main):
1045 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1047 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1049 * gst/gstiterator.c: (gst_iterator_new):
1050 Add assertions to make sure passed GType is likely to really
1051 be a GType (as the compiler won't catch it if the size and
1052 GType arguments get mixed up, see #318447).
1054 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1056 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1058 * gst/gstbin.c: (gst_bin_iterate_sorted):
1059 Pass GType and size arguments to gst_iterator_new() in the right
1060 order (maybe we should make _new() take the GType as first argument
1061 just like _new_list()?) (#318447).
1064 2005-10-10 Wim Taymans <wim@fluendo.com>
1066 * gst/gstelement.c: (gst_element_finalize):
1067 And free the GStaticRecMutex too
1069 2005-10-10 Andy Wingo <wingo@pobox.com>
1071 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1072 Allocate and free the mutex properly.
1074 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1076 (GstElement): The state_lock is now recursive. Rebuild your
1077 plugins, suckers. Old macros adapted.
1079 * docs/gst/gstreamer-sections.txt: Doc updates.
1082 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1083 (g_static_rec_cond_wait): Ported from state changes patch, while
1084 we wait on bug #317802 to be solved in a well-distributed GLib.
1086 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1087 gst_element_change_state, variable name changes.
1088 (gst_element_change_state): Split out of gst_element_set_state in
1089 preparation for the state change merge. Doesn't pay attention to
1090 the 'transition' argument.
1091 (gst_element_set_state): Updates, hopefully purely cosmetic.
1092 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1094 (gst_element_get_state_func): Renamed from get_state, cosmetic
1097 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1099 * gst/elements/gstelements.c:
1100 * win32/GStreamer.vcproj:
1102 * win32/dirent.c: (_tseekdir):
1103 * win32/gst-inspect.vcproj:
1104 * win32/gst-launch.vcproj:
1105 * win32/gstconfig.h:
1106 * win32/gstelements.vcproj:
1107 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1108 * win32/gstreamer.def:
1110 updates for the win32 build (patch from Sebastien Moutte)
1112 2005-10-10 Andy Wingo <wingo@pobox.com>
1114 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1115 gst_bin_get_state, cleaned up (but no logic changes).
1116 (bin_element_is_sink): Comment updates.
1117 (sink_iterator_filter): Remove needless cast.
1118 (gst_bin_iterate_sinks): Doc update.
1119 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1120 cleaned up (but no logic changes).
1122 * check/states/sinks.c (test_src_sink): Cleanups from the state
1124 (test_livesrc_sink): Sync on the state.
1126 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1127 the state change patch.
1129 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1132 * check/gst/gstbin.c: Merge in some style fixes and additional
1133 checks from Wim's state change patch.
1135 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1137 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1138 (gst_type_find_helper):
1139 Check whether we have the requested data already in our list of
1140 cached buffers before pulling a new buffer; also make the buffer
1141 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1143 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1148 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1149 don't use long long, it's not portable. Replacing with
1150 gint64 seems to work; let's hope no skeletons fall out of the closet.
1152 2005-10-10 Andy Wingo <wingo@pobox.com>
1154 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1156 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1158 * docs/gst/gstreamer-sections.txt:
1163 * gst/gstmessage.c: (gst_message_parse_state_changed):
1166 more docs, fix compilation
1168 2005-10-09 Philippe Khalaf <burger@speedy.org>
1170 Fixed a few forgotten variables on previous commit
1172 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1174 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1175 Fix evil typefind crasher: getrange() might return a short
1176 buffer at the end of a file, but gst_type_find_peek() must
1177 either return the full data as requested or NULL, but
1178 never a short buffer.
1180 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1182 * gst/gstmessage.c: (gst_message_new_state_changed),
1183 (gst_message_parse_state_changed):
1185 don't use "new", it's a C++ keyword
1187 2005-10-08 Wim Taymans <wim@fluendo.com>
1189 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1190 * gst/gstelement.c: (gst_element_post_message):
1191 * gst/gstpipeline.c: (gst_pipeline_change_state):
1192 Small docs and debug updates.
1194 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1196 * docs/gst/gstreamer-sections.txt:
1197 * gst/gstelementfactory.c:
1202 2005-10-08 Wim Taymans <wim@fluendo.com>
1204 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1205 (gst_bin_dispose), (bin_bus_handler):
1206 Fix typos, add comments.
1207 Clear EOS list when going to PAUSED from any direction and do it
1208 in a threadsafe way.
1209 Get base time in a threadsafe way too.
1210 Fix confusing debug in the change_state function.
1211 Various other small cleanups.
1213 * gst/gstelement.c: (gst_element_post_message):
1214 Fix very verbose bus posting code.
1216 * gst/gstpipeline.c: (gst_pipeline_class_init),
1217 (gst_pipeline_set_property), (gst_pipeline_get_property),
1218 (gst_pipeline_change_state):
1219 Small ARG_ -> PROP_ cleanup
1221 2005-10-08 Wim Taymans <wim@fluendo.com>
1223 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1224 Do a less CPU demanding EOS check because we can.
1226 2005-10-08 Wim Taymans <wim@fluendo.com>
1228 * libs/gst/dataprotocol/dataprotocol.c:
1229 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1230 (gst_dp_packet_from_event):
1231 * libs/gst/dataprotocol/dataprotocol.h:
1232 * libs/gst/dataprotocol/dp-private.h:
1233 It's about time we bump the version number.
1234 Since event types don't fit in the guint8 anymore describing
1235 the payload type, make payload type 16 bits wide.
1237 2005-10-08 Wim Taymans <wim@fluendo.com>
1239 * docs/design/part-TODO.txt:
1240 * docs/design/part-clocks.txt:
1241 * docs/design/part-events.txt:
1242 * docs/design/part-gstbin.txt:
1243 * docs/design/part-gstelement.txt:
1244 * docs/design/part-gstpipeline.txt:
1245 * docs/design/part-live-source.txt:
1246 * docs/design/part-messages.txt:
1247 * docs/design/part-overview.txt:
1248 * docs/design/part-states.txt:
1251 2005-10-08 Wim Taymans <wim@fluendo.com>
1255 Fix event quark registration.
1256 Add some space between events so we can insert them in the
1259 2005-10-08 Wim Taymans <wim@fluendo.com>
1261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1262 (gst_base_sink_handle_buffer):
1269 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1270 (gst_queue_set_property), (gst_queue_get_property):
1272 Remove old unused properties.
1274 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1275 * docs/gst/gstreamer-sections.txt:
1278 * gst/gstminiobject.c:
1279 * gst/gstminiobject.h:
1283 lots of new docs and doc fixes
1285 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1287 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1289 * gst/gstregistry.c: (gst_registry_lookup_locked),
1290 (gst_registry_scan_path_level):
1291 * gst/gstregistryxml.c: (load_plugin):
1292 Only ever load one plugin for a given plugin basename.
1293 This ensures correct overriding of GST_PLUGIN_PATH over
1294 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1295 system installed plugins.
1297 2005-10-08 Wim Taymans <wim@fluendo.com>
1299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1300 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1301 Prepare for doing QOS.
1303 2005-10-08 Wim Taymans <wim@fluendo.com>
1305 * check/gst/gstbin.c: (GST_START_TEST):
1306 * check/pipelines/cleanup.c: (GST_START_TEST):
1307 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1308 Allow new clock message too.
1310 2005-10-08 Wim Taymans <wim@fluendo.com>
1312 * gst/gstmessage.c: (gst_message_new_error),
1313 (gst_message_new_warning), (gst_message_new_tag),
1314 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1315 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1316 (gst_message_new_segment_start), (gst_message_new_segment_done),
1317 (gst_message_parse_state_changed),
1318 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1319 (gst_message_parse_new_clock):
1321 Also carry the clock in question.
1323 2005-10-08 Wim Taymans <wim@fluendo.com>
1325 * gst/gstmessage.c: (gst_message_new_custom),
1326 (gst_message_new_eos), (gst_message_new_error),
1327 (gst_message_new_warning), (gst_message_new_tag),
1328 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1329 (gst_message_new_new_clock), (gst_message_new_segment_start),
1330 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1331 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1334 Added clock related messages.
1336 * gst/gstpipeline.c: (gst_pipeline_change_state):
1337 Post message when the clock changed.
1339 * tools/gst-launch.c: (event_loop):
1342 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1344 * tools/gst-inspect.c: (print_element_properties_info):
1345 Can't pass NULL strings to g_print() on windows.
1347 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1350 * docs/gst/Makefile.am:
1351 * docs/gst/gstreamer-docs.sgml:
1352 * docs/gst/running.xml:
1353 * docs/version.entities.in:
1354 add a chapter on running GStreamer.
1355 document GST_DEBUG and GST_PLUGIN* env vars
1357 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1362 remove PLUGINS_BUILDDIR stuff
1363 * gst/gst.c: (init_post):
1364 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1366 remove, it was condescending and not needed
1368 2005-10-08 Wim Taymans <wim@fluendo.com>
1370 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1371 (gst_base_sink_handle_object), (gst_base_sink_event),
1372 (gst_base_sink_wait), (gst_base_sink_handle_event),
1373 (gst_base_sink_change_state):
1374 * gst/base/gstbasesink.h:
1375 Repost EOS message while going to PLAYING if still EOS.
1376 Make sure that when receiving a FLUSH_START we don't attempt
1377 to sync on the clock anymore.
1379 2005-10-08 Wim Taymans <wim@fluendo.com>
1381 * tools/gst-launch.c: (event_loop):
1382 Better message printout.
1384 2005-10-08 Wim Taymans <wim@fluendo.com>
1386 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1387 (gst_bin_child_proxy_get_children_count):
1388 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1389 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1390 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1391 (gst_child_proxy_set_valist):
1392 * gst/parse/grammar.y:
1393 Make ChildProxy threadsafe and fix mem leaks.
1395 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1397 * gst/gst.c: (init_post):
1398 debug the GST_PLUGIN_ env vars
1400 2005-10-08 Wim Taymans <wim@fluendo.com>
1402 * check/gst/gstbin.c: (GST_START_TEST):
1403 * check/gst/gstmessage.c: (GST_START_TEST):
1404 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1405 * gst/gstelement.c: (gst_element_commit_state),
1406 (gst_element_lost_state):
1407 * gst/gstmessage.c: (gst_message_new_state_changed),
1408 (gst_message_parse_state_changed):
1410 * tools/gst-launch.c: (event_loop):
1411 Added extra field to STATE_CHANGE message with the pending
1412 state, which will be different from the new state soon.
1414 2005-10-08 Wim Taymans <wim@fluendo.com>
1416 * gst/gstbus.c: (gst_bus_pop):
1418 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1419 Small cleanups and doc updates.
1421 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1423 * gst/gst.c: (init_pre):
1424 * gst/gstbin.c: (gst_bin_add_func):
1425 log distributing clocks and base time
1426 * gst/gstregistry.c: (gst_registry_add_plugin),
1427 (gst_registry_scan_path_level), (gst_registry_scan_path):
1428 clean up the debugging output a little
1429 * gst/gstutils.c: (gst_element_state_get_name):
1430 warn about a memleak (I've actually seen this be used, though
1431 it was probably a bug)
1433 2005-10-07 Wim Taymans <wim@fluendo.com>
1435 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1436 (gst_base_src_init), (gst_base_src_default_newsegment),
1437 (gst_base_src_newsegment), (gst_base_src_do_seek),
1438 (gst_base_src_loop), (gst_base_src_start):
1439 * gst/base/gstbasesrc.h:
1440 Make the newsegment event customizable by subclasses.
1442 2005-10-07 Wim Taymans <wim@fluendo.com>
1444 * gst/gstevent.c: (gst_event_new_buffersize),
1445 (gst_event_parse_buffersize):
1447 New event for future idea.
1449 2005-10-07 Andy Wingo <wingo@pobox.com>
1451 * gst/gstelement.c (gst_element_post_message): Doc update.
1453 * docs/gst/gstreamer-sections.txt: Update.
1455 * gst/gstmessage.c (gst_message_new_application): Made into a
1456 function like honest API calls.
1457 (gst_message_new_element): New message type.
1459 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1461 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1462 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1465 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1466 NO_PREROLL from gst_element_change_state to fall through.
1468 2005-10-07 Wim Taymans <wim@fluendo.com>
1470 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1471 (gst_ghost_pad_do_activate_push):
1472 Activating a ghostpad with no internal pad in push mode
1475 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1478 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1479 Fixes compilation on Windows.
1481 2005-10-07 Michael Smith <msmith@fluendo.com>
1483 * tools/gst-inspect.c:
1484 Print out feature and plugin count at the end when printing out
1487 2005-10-04 Michael Smith <msmith@fluendo.com>
1489 * gst/gsterror.c: (_gst_stream_errors_init):
1490 Add another error string used in a few existing plugins.
1493 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1494 * tools/gst-inspect.c: (print_element_info):
1495 When a feature disappears from a plugin (and the feature exists in
1496 the cached registry file), things went horribly wrong. This isn't a
1497 complete fix, we should actually be removing the 'missing' features
1498 from the features list when we load the actual plugin. That's not
1501 2005-10-04 Johan Dahlin <johan@gnome.org>
1503 * check/gst/gstiterator.c: (GST_START_TEST):
1504 * gst/gstbin.c: (gst_bin_iterate_elements),
1505 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1506 * gst/gstelement.c: (gst_element_iterate_pads):
1507 * gst/gstformat.c: (gst_format_iterate_definitions):
1508 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1509 (gst_iterator_new_list), (gst_iterator_filter):
1510 * gst/gstiterator.h:
1511 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1512 Add a GType to GstIterator, update callsites and tests.
1514 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1516 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1517 give events a chance to be handled by event probes when the pad
1520 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1522 * gst/gstevent.c: (gst_event_type_get_name),
1523 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1525 add string representations for event types
1527 2005-10-06 Wim Taymans <wim@fluendo.com>
1529 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1530 Don't use NULL pointers.
1532 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1534 * gst/gst_private.h:
1538 * gst/gstpluginfeature.c:
1539 widen the debug category in output to fit the biggest one we have
1540 add a bus category and use it
1541 play with the colors
1542 fix up some categories
1544 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1546 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1547 add push activation of sink ghost pads.
1548 Andye, please verify
1550 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1552 * gst/gstutils.c: (gst_element_link_pads):
1553 fix a bug in the case where neither element has a pad
1554 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1555 add a test for that case
1557 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1559 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1560 emit have-data before checking for peers. This allows
1561 for probe handlers to connect elements. This helps autopluggers.
1562 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1564 add six checks, linked/unlinked with no/true/false probe
1566 2005-10-04 Wim Taymans <wim@fluendo.com>
1568 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1569 (gst_fake_sink_event), (gst_fake_sink_preroll),
1570 (gst_fake_sink_render), (gst_fake_sink_change_state):
1571 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1572 (gst_fake_src_get_property), (gst_fake_src_create),
1573 (gst_fake_src_stop):
1574 * gst/elements/gstidentity.c: (gst_identity_stop):
1575 Protect last_message with lock.
1577 2005-10-04 Edward Hervey <edward@fluendo.com>
1580 Added precision in the comments for GST_FORMAT_DEFAULT
1582 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1584 * tools/gst-launch.c: (main):
1585 Don't try to run erroneous pipelines.
1587 2005-10-04 Julien MOUTTE <julien@moutte.net>
1589 * gst/gstbus.c: We don't need this header.
1591 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1596 === release 0.9.3 ===
1598 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1602 Releasing 0.9.3, "Unregistered"
1604 2005-10-03 Andy Wingo <wingo@pobox.com>
1606 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1607 whereby calling a pad's activatepush() function can start a thread
1608 that starts to push or pull before the pad gets the FLUSHING flag
1609 unset. Hack around it by holding the stream lock until the flag is
1610 set. Need to replace this with a proper solution. Together with
1611 the ghost pad fixes, this fixes mp3 playing/tagreading.
1613 * docs/design/part-gstghostpad.txt: Add a note about activation of
1614 proxy pads outside of ghost pads.
1616 * gst/gstghostpad.c: Implement the ghost pad activation design.
1618 2005-10-02 Andy Wingo <wingo@pobox.com>
1620 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1621 It is volatile, after all.
1623 * docs/design/part-gstghostpad.txt: Flesh out activation with
1626 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1629 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1632 Fix (unused) AM_CONDITIONAL tests.
1634 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1636 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1638 * gst/gstutils.c: (gst_pad_query_convert):
1639 Add assertion that makes sure src_val is >=0, just like
1640 gst_query_new_convert() has. (#315895)
1642 2005-09-30 Edward Hervey <edward@fluendo.com>
1644 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1645 Let's not iterate pads we're not interested in, it avoids getting
1646 sky-high refcounts on sinkpad.
1648 2005-09-30 Wim Taymans <wim@fluendo.com>
1650 * gst/gstelement.c: (gst_element_set_state),
1651 (gst_element_change_state):
1652 Small tweak, element in ASYNC remains ASYNC.
1654 2005-09-30 Wim Taymans <wim@fluendo.com>
1656 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1657 Only error is an error.
1659 * gst/gstbin.c: (gst_bin_change_state):
1662 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1663 Also call pad_block in pad alloc.
1665 * gst/gstutils.c: (gst_flow_get_name):
1668 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1670 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1671 (gst_base_src_get_range):
1672 Fix documentation typos. Add some more debug info.
1674 2005-09-29 David Schleef <ds@schleef.org>
1676 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1677 more end-user friendly.
1678 * tools/gst-inspect.c: (main): Check if command-line argument is
1679 a file and attempt to load that file as a plugin.
1681 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1683 * check/gst/gstbin.c:
1684 * check/states/sinks.c:
1685 fix tests for the new warning
1686 * check/gst/gstpipeline.c:
1687 add a test for pipeline and bus interaction
1689 elements should be NULL if they get disposed; add a warning if not
1691 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1694 for 2.6 refcounting, make debug log more correct by printing
1695 the actual refcounts at the time of swap (Wim)
1697 2005-09-29 Andy Wingo <wingo@pobox.com>
1699 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1700 removes signal watches previously added via
1701 gst_bus_add_signal_watch.
1702 (gst_bus_add_signal_watch): Don't return the source id, just store
1703 it on the bus if there wasn't an id already.
1705 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1706 add_signal_watch and remove_signal_watch.
1708 2005-09-29 Edward Hervey <edward@fluendo.com>
1710 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1711 Better if we actually iterate the list :)
1713 2005-09-29 Wim Taymans <wim@fluendo.com>
1715 * check/gst/gstbin.c: (GST_START_TEST):
1716 Change for new bus API.
1718 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1719 (send_messages), (GST_START_TEST), (gstbus_suite):
1720 Change for new bus signal API.
1722 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1723 (gst_bus_source_prepare), (gst_bus_source_check),
1724 (gst_bus_create_watch), (gst_bus_add_watch_full),
1725 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1726 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1728 Remove support for multiple GSources operating on different
1729 message types as it is too complex and unneeded when using
1731 Added support for receiving signals from the bus.
1733 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1735 * docs/libs/tmpl/gstdataprotocol.sgml:
1736 * docs/manual/advanced-dataaccess.xml:
1737 * gst/elements/gstcapsfilter.c:
1739 rename filter-caps to caps property
1741 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1743 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1744 More robust fraction string parsing.
1746 * docs/pwg/appendix-porting.xml:
1747 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1749 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1751 * gst/gstcaps.c: (gst_caps_do_simplify):
1752 Thou shalt not free a structure and then continue using it
1753 in the next loop iteration.
1755 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1757 Add test case for caps simplification.
1759 2005-09-29 Wim Taymans <wim@fluendo.com>
1761 * check/gst/gstbin.c: (GST_START_TEST):
1764 2005-09-29 Wim Taymans <wim@fluendo.com>
1766 * check/gst/gstbin.c: (GST_START_TEST):
1769 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1770 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1771 (find_element), (gst_bin_sort_iterator_next),
1772 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1773 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1774 (gst_bin_change_state), (gst_bin_dispose):
1775 A bin does not have a bus, it gets the bus from the parent.
1777 * gst/gstelement.c: (gst_element_requires_clock),
1778 (gst_element_provides_clock), (gst_element_is_indexable),
1779 (gst_element_is_locked_state), (gst_element_change_state),
1780 (gst_element_set_bus_func):
1783 * gst/gstpipeline.c: (gst_pipeline_class_init),
1784 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1785 The pipeline provides a bus.
1787 2005-09-28 Johan Dahlin <johan@gnome.org>
1789 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1790 gst_structure_get_enum instead of gst_structure_get_int
1792 * gst/gststructure.c (gst_structure_get_enum): Impl.
1794 * gst/gststructure.h (gst_structure_get_enum): Add
1796 * docs/gst/gstreamer-sections.txt: Ditto
1798 * gst/gstmessage.c (gst_message_new_state_changed): Use
1799 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1800 which does introspection.
1801 Reviewed by Christian Schaller
1803 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1805 * gst/gstinfo.c: (gst_debug_log_default):
1806 don't do dummy g_strdup()s
1807 * libs/gst/controller/gstcontroller.c:
1808 (on_object_controlled_property_changed),
1809 (gst_controlled_property_new), (gst_controller_new_valist),
1810 (gst_controller_new_list),
1811 (gst_controller_remove_properties_valist), (gst_controller_set),
1812 (gst_controller_get), (gst_controller_sync_values),
1813 (gst_controller_get_value_array), (_gst_controller_class_init),
1814 (gst_controller_get_type):
1815 * libs/gst/controller/gstcontroller.h:
1816 * libs/gst/controller/gstinterpolation.c:
1817 (gst_controlled_property_find_timed_value_node):
1818 convert // to /**/ comments
1820 2005-09-28 Wim Taymans <wim@fluendo.com>
1822 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1823 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1824 (gst_bus_sync_signal_handler):
1826 Added async-message and sync-message signals to the bus.
1827 Added helper BusFunc to emit signals for all posted messages.
1829 * gst/gstmessage.c: (gst_message_type_get_name),
1830 (gst_message_type_to_quark), (gst_message_get_type):
1832 Register quarks for message names.
1834 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1836 * docs/libs/gstreamer-libs-sections.txt:
1837 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1838 (gst_controller_new_list):
1839 * libs/gst/controller/gstcontroller.h:
1840 added another constructor for language bindings
1842 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1844 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1848 * gst/gstinfo.c: (_gst_debug_init):
1849 slightly more readable color for refcount debugging
1851 2005-09-28 Wim Taymans <wim@fluendo.com>
1853 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1854 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1855 (find_element), (gst_bin_sort_iterator_next),
1856 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1857 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1858 (gst_bin_change_state), (gst_bin_dispose):
1859 Small doc fixes. get_clock -> provide_clock.
1861 * gst/gstelement.c: (gst_element_class_init),
1862 (gst_element_provides_clock), (gst_element_provide_clock),
1863 (gst_element_get_clock), (gst_element_commit_state),
1864 (gst_element_lost_state):
1866 Make get/set_clock() symetric. Add provide_clock vmethod since
1867 that is actually what this function does.
1869 * gst/gstpipeline.c: (gst_pipeline_class_init),
1870 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1871 (gst_pipeline_get_clock):
1872 get_clock -> provide_clock.
1874 2005-09-28 Andy Wingo <wingo@pobox.com>
1876 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1877 lieu of real docs...
1879 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1881 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
1883 * gst/elements/gstcapsfilter.c:
1884 * gst/elements/gstfakesink.c:
1885 * gst/elements/gstfakesrc.c:
1886 * gst/elements/gstfdsink.c:
1887 * gst/elements/gstfdsrc.c:
1888 * gst/elements/gstfilesink.c:
1889 * gst/elements/gstfilesrc.c:
1890 * gst/elements/gstidentity.c:
1891 * gst/elements/gsttee.c:
1892 * gst/elements/gsttypefindelement.c:
1893 Make element details static.
1895 2005-09-28 Wim Taymans <wim@fluendo.com>
1897 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1898 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1899 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1900 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1901 (gst_bin_change_state), (gst_bin_dispose):
1902 Some documentation updates.
1903 Clean up dispose handlers.
1905 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1906 * gst/gstpad.c: (gst_pad_dispose):
1907 Clean up dispose handler.
1909 * gst/gstpipeline.c: (gst_pipeline_change_state):
1910 Removed spurious UNLOCK.
1912 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1914 * docs/gst/gstreamer-sections.txt:
1915 * gst/base/gstbasesrc.h:
1920 * gst/gstpipeline.c:
1921 * gst/gstpipeline.h:
1924 added two new functions to the docs
1925 documents all undocumented GstXXXFlags
1926 completed some incomplete docs
1928 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1930 * gst/gstbin.c: (gst_bin_dispose):
1931 * gst/gstelement.c: (gst_element_dispose):
1932 remove now useless and leaky resurrection code in dispose
1933 * gst/base/gstbasesrc.c: (gst_base_src_init):
1934 * gst/gstelementfactory.c: (gst_element_factory_create):
1935 * gst/gstobject.c: (gst_object_set_parent):
1938 2005-09-27 Wim Taymans <wim@fluendo.com>
1940 * docs/design/part-TODO.txt:
1943 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1944 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1945 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1946 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1947 (gst_bin_change_state):
1949 Remove element variable, we keep element info in the iterator now.
1951 2005-09-27 Andy Wingo <wingo@pobox.com>
1953 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1956 2005-09-27 Wim Taymans <wim@fluendo.com>
1958 * check/gst/gstbin.c: (GST_START_TEST):
1959 Enable check that works now.
1961 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1962 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1963 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1964 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1965 (gst_bin_change_state):
1967 Redid the state change algorithm using a topological sort algo.
1968 Handles all cases correctly.
1969 Exposed iterator for state change order.
1972 Temp storage for state changes. Need to get rid of this soon.
1974 2005-09-27 Wim Taymans <wim@fluendo.com>
1976 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1977 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1978 (link_fold_func), (gst_pad_proxy_setcaps):
1979 Leak fixes, the fold functions need to unref the passed object and
1980 _get_parent_*() returns ref to parent.
1982 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1984 * check/gst/gstbuffer.c: (test_make_writable):
1985 Plug leak in test case and fix 'make check-valgrind'
1987 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1989 * gst/gstbuffer.c: (gst_subbuffer_init):
1990 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1991 works correctly in all circumstances (we could have just copied
1992 the parent buffer's readonly flag, but conceptually it seems
1993 cleaner to mark all subbuffers as read-only). (based on patch
1994 by Alessandro Decina, #314710).
1996 * check/gst/gstbuffer.c: (create_read_only_buffer),
1997 (test_make_writable), (test_subbuffer_make_writable),
1999 Add some tests for gst_buffer_make_writable().
2001 2005-09-27 Wim Taymans <wim@fluendo.com>
2003 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2004 use gst_object_has_ancestor().
2006 * gst/gstobject.c: (gst_object_has_ancestor):
2008 gst_object_has_ancestor() copied from gstbin.c as it is a
2011 * tests/instantiate/create.c: (create_all_elements):
2012 * tests/lat.c: (handoff_src), (handoff_sink):
2013 * tests/sched/runxml.c: (main):
2014 * tests/seeking/seeking1.c: (main):
2015 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2017 Fix compilation of some tests.
2019 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2022 Remove comment. GST_TYPE_G_ERROR is here to stay,
2023 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2026 2005-09-26 Wim Taymans <wim@fluendo.com>
2028 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2029 Added check that shows error in state change order.
2031 2005-09-26 Wim Taymans <wim@fluendo.com>
2033 * gst/gstbin.c: (gst_bin_change_state):
2034 Make state change function use 3 queues again, we were
2035 adding elements in the wrong order.
2037 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2040 * gst/gstpad.c: (gst_pad_dispose):
2041 Added some debug info first.
2043 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2045 * docs/design/draft-push-pull.txt:
2046 * docs/design/part-events.txt:
2047 * docs/design/part-overview.txt:
2048 * docs/design/part-scheduling.txt:
2049 Replace all _pull_region() with _pull_range()
2051 2005-09-26 Andy Wingo <wingo@pobox.com>
2053 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2055 * check/gst-libs/controller.c: Update for controller api change.
2058 * tests/Makefile.am:
2059 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2060 over by GLib bug 118439.
2062 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2063 routines to a function.
2065 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2067 * libs/gst/controller/gsthelper.c:
2068 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2069 (gst_object_sync_values): Renamed from sink_values. Ugh.
2071 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2073 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2074 Renamed from controller_key, as it is exported.
2076 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2078 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2083 * gst/gstpadtemplate.h:
2086 * gst/gstqueryutils.c:
2087 * gst/gstqueryutils.h:
2088 remove queryutils headers after moving the two used functions
2089 to gstquery. also fixes build problem for gstsiddec
2091 2005-09-26 Michael Smith <msmith@fluendo.com>
2093 * tools/gst-launch.1.in:
2094 Correct documentation in manpage of debug syntax
2096 2005-09-26 Wim Taymans <wim@fluendo.com>
2098 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2099 (gst_base_src_is_seekable), (gst_base_src_change_state):
2100 Some more debugging info.
2102 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2104 * docs/gst/gstreamer-sections.txt:
2105 * gst/base/gstbasetransform.h:
2109 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2111 * docs/gst/.cvsignore:
2112 * docs/gst/tmpl/.cvsignore:
2113 * docs/gst/tmpl/gstpipeline.sgml:
2114 * docs/gst/tmpl/gstplugin.sgml:
2115 * gst/gstpipeline.c:
2118 inlined the last two docs files
2119 removed the tmpl directory from cvs (no more conflicts here!)
2121 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2123 * docs/gst/gstreamer-sections.txt:
2124 * docs/gst/tmpl/.cvsignore:
2125 * docs/gst/tmpl/gstpad.sgml:
2126 * docs/gst/tmpl/gstpadtemplate.sgml:
2128 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2129 (gst_pad_finalize), (gst_pad_set_pad_template):
2131 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2132 (gst_pad_template_class_init), (gst_pad_template_init),
2133 (gst_pad_template_dispose), (name_is_valid),
2134 (gst_static_pad_template_get), (gst_pad_template_new),
2135 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2136 (gst_pad_template_pad_created):
2137 * gst/gstpadtemplate.h:
2138 inlined two more docs
2139 factored gstpadtemplate out of gstpad
2141 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2143 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2144 (test_children_state_change_order_semi_sink):
2145 Fix test case: we can't rely on a fixed state change order when
2146 going from READY => PAUSED because the sink might commit its
2147 new state first when the first buffer created by the source
2148 reaches the sink before the source has finished its change state.
2149 (Test case still fails at times, see #316856, comment 5 onwards)
2151 2005-09-24 Wim Taymans <wim@fluendo.com>
2153 * docs/design/part-events.txt:
2154 * docs/design/part-gstbus.txt:
2155 * docs/design/part-gstpipeline.txt:
2156 * docs/design/part-messages.txt:
2157 * docs/design/part-overview.txt:
2158 * docs/design/part-segments.txt:
2165 * gst/gstiterator.c:
2166 Various documentation updates.
2168 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2171 Well, that's embarassing. Luckily we weren't using
2172 GST_CLOCK_DIFF anywhere.
2174 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2176 * common/gtk-doc.mak:
2177 don't fail on building XML, FC4 slave shows a bunch of doc
2178 missing bits that I don't get
2180 * gst/gstpipeline.c:
2181 * gst/gststructure.c:
2184 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2186 * docs/design/part-gstbin.txt:
2187 * docs/design/part-gstbus.txt:
2189 Add blurb about how the bus goes into flushing mode and
2190 drops all messages when its bin goes from READY into NULL
2193 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2195 * docs/gst/gstreamer-sections.txt:
2196 * gst/gststructure.c: (gst_structure_get_clock_time):
2197 * gst/gststructure.h:
2198 add a method to get a GstClockTime out of a structure
2200 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2202 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2203 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2204 Added test to check state change order in bins (can still be made
2205 to fail here under heavy disk load; bails out with 'Push on pad
2206 fakesink:sink0, but it was not activated in push mode').
2208 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2209 Fix state change order when there is only a semi sink (#316856)
2211 * gst/gstbus.c: (gst_bus_class_init):
2212 Use _class_peek_parent(), not _class_ref(); fix docs to say
2213 'default main context' instead of 'mainloop' where that is
2216 * gst/gstelement.c: (gst_element_commit_state),
2217 (gst_element_set_state):
2218 Fix typos in debug messages
2220 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2223 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2224 * gst/gstpluginfeature.c:
2227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2228 change an assert into an error until it gets fixed properly
2230 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2232 * docs/gst/gstreamer-sections.txt:
2233 * docs/gst/tmpl/.cvsignore:
2234 * docs/gst/tmpl/gstelement.sgml:
2235 * docs/gst/tmpl/gstinfo.sgml:
2236 * docs/gst/tmpl/gstobject.sgml:
2241 * gst/gstobject.c: (gst_object_class_init):
2243 inlined 3 more biiiig doc files and added some missing docs on the fly
2245 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2247 * check/gst/.cvsignore:
2248 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2249 * gst/gstregistryxml.c: (load_plugin),
2250 (gst_registry_xml_save_plugin):
2251 put back source in registry. add checks for find_plugin.
2252 * testsuite/states/bin.c: (assert_state), (empty_bin),
2253 (test_adding_one_element), (main):
2254 * testsuite/states/locked.c: (main):
2255 some compile/run fixes
2257 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2259 * check/gst/gstvalue.c: (GST_START_TEST):
2260 fix leaks in the test itself
2262 2005-09-22 Wim Taymans <wim@fluendo.com>
2264 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2265 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2266 (gst_base_sink_query):
2267 Prepare for more accurate position reporting and query
2270 * gst/gstelement.c: (gst_element_send_event),
2271 (gst_element_set_state):
2274 2005-09-22 Wim Taymans <wim@fluendo.com>
2276 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2277 (gst_query_parse_segment):
2280 Add segment query for future use.
2282 2005-09-22 Wim Taymans <wim@fluendo.com>
2284 * gst/gstbin.c: (gst_bin_add_func):
2285 Some more debug info.
2287 * gst/gstelement.c: (gst_element_send_event):
2291 Don't know how flags got broken.
2296 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2298 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2299 Add simplistic test suite for GST_TYPE_DATE serialisation and
2302 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2304 * docs/gst/gstreamer-sections.txt:
2305 * gst/gststructure.c: (gst_structure_set_valist),
2306 (gst_structure_get_date):
2307 * gst/gststructure.h:
2308 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2309 (gst_date_copy), (gst_value_compare_date),
2310 (gst_value_serialize_date), (gst_value_deserialize_date),
2311 (gst_value_transform_date_string),
2312 (gst_value_transform_string_date), (_gst_value_initialize):
2314 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2315 bunch of utility functions along with a hack that checks that
2316 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2317 is required. Part of the grand scheme in #170777.
2319 2005-09-22 Andy Wingo <wingo@pobox.com>
2321 * gst/gstconfig.h.in: Psych out gtk-doc.
2323 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2325 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2327 * tools/gst-inspect.c (print_element_list): Plug some
2328 inconsequential leaks.
2330 * gst/gstregistry.c (gst_registry_get_default): Doc.
2332 * check/gst/gstplugin.c:
2333 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2334 * gst/gstelementfactory.c (gst_element_factory_create):
2335 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2338 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2339 (gst_plugin_feature_load): Doc, don't eat refs.
2341 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2342 (gst_plugin_list_free): Doc.
2343 (gst_plugin_load_file): Doc updates.
2345 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2346 accessors returning refcounted objects, return a ref.
2348 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2349 accessor for caps. IDEMPOTENCE. Oh yes.
2351 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2353 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2355 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2356 (_gst_debug_register_funcptr):
2357 Add mutex to serialise access to the hash table with
2358 the function pointer => function name string mapping;
2359 make that hash table static scope (#316809).
2361 * gst/registries/.cvsignore:
2362 Remove left-over file.
2364 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2366 * docs/pwg/appendix-porting.xml:
2367 And something about newsegment events and caps-on-buffers to
2368 the porting guide (feel free to improve).
2370 2005-09-21 Andy Wingo <wingo@pobox.com>
2372 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2373 data and event probes on the same pad.
2374 (test_buffer_probe_once): Test that removing probes from within
2375 the probe functions works.
2377 2005-09-21 Andy Wingo <wingo@pobox.com>
2379 * check/gst/gstutils.c: New file.
2380 (test_buffer_probe_n_times): A simple buffer probe test. More to
2383 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2384 have-data::buffer, not have-data.
2385 (gst_pad_add_event_probe): Likewise for have-data::event.
2386 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2387 peer' isn't quite right yet though.
2388 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2389 (gst_pad_remove_data_probe): Change to take the guint handler_id
2390 as their arg, not the function+data, which is more glib-like.
2392 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2393 the signal emission to indicate if the data is a buffer or an
2395 (gst_pad_get_type): Initialize buffer and event quarks.
2396 (gst_pad_class_init): have-data is now a detailed signal, yes it
2399 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2401 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2402 * gst/gstutils.c: (gst_util_set_value_from_string),
2403 (gst_util_set_object_arg):
2404 Don't put functional code in g_return_if_fail() or
2405 g_return_val_if_fail() statements, otherwise things will
2406 break when G_DISABLE_CHECKS is defined during compilation.
2408 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2410 * docs/gst/tmpl/.cvsignore:
2411 * docs/gst/tmpl/gstvalue.sgml:
2414 inlied another one and added some obvious docs
2416 2005-09-21 Wim Taymans <wim@fluendo.com>
2418 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2419 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2420 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2421 (gst_fdsrc_get_property), (gst_fdsrc_create):
2422 * gst/elements/gstfdsrc.h:
2423 Properly implement fdsrc. Removed signal and timeout,
2424 better implemented somewhere else.
2426 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2428 * docs/gst/tmpl/.cvsignore:
2429 * docs/gst/tmpl/gstimplementsinterface.sgml:
2430 * gst/gstinterface.c:
2433 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2435 * docs/gst/gstreamer-sections.txt:
2436 * docs/gst/tmpl/.cvsignore:
2437 * docs/gst/tmpl/gstenumtypes.sgml:
2438 remove obsolete doc file
2440 2005-09-21 David Schleef <ds@schleef.org>
2442 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2443 little beer, fix a little leak.
2445 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2447 * docs/gst/gstreamer-docs.sgml:
2448 * docs/gst/gstreamer-sections.txt:
2449 * docs/gst/tmpl/.cvsignore:
2454 * gst/gstindex.c: (gst_index_class_init):
2456 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2457 (gst_index_factory_class_init), (gst_index_factory_init),
2458 (gst_index_factory_finalize), (gst_index_factory_new),
2459 (gst_index_factory_destroy), (gst_index_factory_find),
2460 (gst_index_factory_create), (gst_index_factory_make):
2461 * gst/gstindexfactory.h:
2462 * gst/gstpluginfeature.c:
2463 * gst/gstpluginfeature.h:
2464 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2465 more docs inlined, splitted gstindex.{c,h}
2467 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2469 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2472 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2474 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2475 Set sync to FALSE by default.
2477 2005-09-20 Wim Taymans <wim@fluendo.com>
2479 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2480 (gst_base_sink_init):
2481 Make sync property settable from subclass.
2483 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2484 (gst_fake_sink_change_state):
2485 Set sync to FALSE by default.
2487 2005-09-20 Wim Taymans <wim@fluendo.com>
2489 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2490 * tools/gst-launch.c: (main):
2491 The timeout handler should have lower priority than the source
2492 so we don't timeout before popping a message with 0 timeout.
2493 Dump error messages after failed state change.
2495 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2497 * tools/gst-inspect.c: (print_element_properties_info):
2500 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2502 * check/gst/gstevent.c:
2503 * gst/elements/gstfakesink.c:
2504 * gst/elements/gstfakesink.h:
2505 remove the sync property from fakesink.
2506 has the side effect of setting sync TRUE
2507 for fakesink, which is a change. Anyone who knows how
2508 to fix this nicely in a GObject-y way, feel free.
2510 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2512 * docs/gst/gstreamer-docs.sgml:
2513 remove probe refsection
2515 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2517 * check/Makefile.am:
2518 disable valgrinding the controller test again
2519 * docs/gst/gstreamer-sections.txt:
2520 update for api-changes
2522 2005-09-20 Wim Taymans <wim@fluendo.com>
2524 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2525 (gst_base_sink_set_property), (gst_base_sink_get_property),
2526 (gst_base_sink_do_sync):
2527 * gst/base/gstbasesink.h:
2528 Added sync property to basesink to disable clock sync.
2530 2005-09-20 Andy Wingo <wingo@pobox.com>
2532 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2533 eating the caller's refcount.
2535 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2536 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2539 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2540 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2541 of GLib 2.8 public, so we can know which refcount to check in
2544 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2545 (gst_object_init): Only set the gst refcount if we're going ahead
2546 with the refcount hack.
2548 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2550 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2551 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2552 more leaks plumbed, added more debug-logging
2556 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2559 remove include of gstmemchunk.h
2561 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2563 * gst/gstclock.c: (_gst_clock_id_free):
2564 Commit from the Political Party For More Atomic CVS Commits,
2565 so that people don't waste too much of their day fishing
2566 out obvious leaks out of massive commits.
2567 Oh, and fix a pretty damn obvious leak in the memchunk
2570 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2572 * check/Makefile.am:
2573 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2574 plug mem-leak, re-add to valgrindable tests
2576 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2579 unbreak the build for those who have chronic arthritis
2580 and typing "make check" is just too taxing on the hands
2582 2005-09-20 Andy Wingo <wingo@pobox.com>
2584 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2585 really want it out, you should fix plugins at the same time.
2587 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2590 * docs/gst/gstreamer-sections.txt:
2592 added missing symbols to api docs
2593 disable ref-count hack if we have glib >= 2.8
2595 2005-09-19 David Schleef <ds@schleef.org>
2597 * docs/gst/Makefile.am: Ignore a few more internal headers
2598 * docs/gst/gstreamer-docs.sgml: Remove old sections
2599 * docs/gst/gstreamer-sections.txt: Remove old sections
2600 * docs/gst/tmpl/gstobject.sgml: update
2601 * docs/gst/tmpl/gstplugin.sgml: update
2602 * docs/gst/tmpl/gstpluginfeature.sgml: update
2603 * docs/random/ds/0.9-suggested-changes: update.
2604 * gst/Makefile.am: remove memchunk and trashstack, since they're
2606 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2607 * gst/gst.h: don't include some headers
2608 * gst/gstchildproxy.c: add gstmarshal.h
2609 * gst/gstclock.c: Don't use memchunks
2610 * gst/gstminiobject.c: Add some docs
2611 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2612 * gst/gstobject.h: same
2613 * gst/gstplugin.c: include gstmacros.h
2614 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2615 * gst/gstquery.c: don't use memchunks
2616 * gst/gstregistry.c: rename gst_registry_deinit()
2617 * gst/gstregistry.h: same
2619 2005-09-19 David Schleef <ds@schleef.org>
2621 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2622 * docs/libs/gstreamer-libs-sections.txt:
2623 * docs/libs/tmpl/gstgetbits.sgml:
2624 * docs/libs/tmpl/gstputbits.sgml:
2626 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2628 * win32/gstenumtypes.c:
2629 * win32/gstenumtypes.h:
2632 2005-09-19 Wim Taymans <wim@fluendo.com>
2634 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2635 Automatically PAUSE and RESUME a pipeline when a flushing seek
2638 2005-09-19 Andy Wingo <wingo@pobox.com>
2640 * gst/gstregistry.h: Spacing fixen.
2642 2005-09-19 Wim Taymans <wim@fluendo.com>
2644 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2645 Handle state change failure more correctly.
2647 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2649 * check/Makefile.am:
2650 * check/pipelines/cleanup.c: (run_pipeline):
2651 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2653 enable cleanup again after fixing the leak
2655 some more info on docs
2657 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2659 * check/Makefile.am:
2660 re-enable tests now that leaks are plugged
2662 * check/gst/gstbin.c:
2663 * check/gst/gstpipeline.c:
2664 add some more tests while fixing leaks
2666 make sure binaries are uptodate when valgrinding/gdbing
2668 * gst/gstelementfactory.c:
2669 remove a ref too many, and add a FIXME for when we get
2670 round to disposing of classes
2672 fix the refcounting when loading a plugin from a file and
2673 the code pretends that the pointer is the same even though
2674 of course it can change
2675 * gst/gstpluginfeature.c:
2676 unref plugins marked cached (a bit confusing as a name)
2677 as the docs state should be done
2678 various doc additions to explain refcounting
2679 * gst/gstregistry.c:
2680 * gst/gstregistryxml.c:
2683 2005-09-19 Wim Taymans <wim@fluendo.com>
2685 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2686 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2687 (send_messages), (GST_START_TEST), (gstbus_suite):
2688 * check/gst/gstpipeline.c: (GST_START_TEST):
2689 * check/pipelines/cleanup.c: (run_pipeline):
2690 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2692 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2693 (gst_bus_source_check), (gst_bus_source_dispatch),
2694 (gst_bus_create_watch), (gst_bus_add_watch_full),
2695 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2697 * tools/gst-launch.c: (event_loop):
2698 * tools/gst-md5sum.c: (event_loop):
2699 GstBusHandler -> GstBusFunc, return value has the same meaning as
2700 any other GSource (FALSE == remove source).
2701 _add_watch() and _add_watch_full() now take a MessageType mask to
2702 only handle specific types of messages.
2703 _poll() returns the GstMessage instead of the message type to avoid
2705 _have_pending() takes a MessageType mask now too.
2706 Added testsuite for multiple bus watches.
2707 Fix testsuites and applications for new bus API.
2709 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2711 * check/Makefile.am:
2712 mark a bunch of the tests as to fix until we fix them
2714 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2717 use GST_PLUGIN settings for valgrind tests as well, so we're
2718 valgrinding the correct thing
2719 * gst/gst.c: (init_post):
2722 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2724 * gst/gst.c: (init_post), (gst_deinit):
2725 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2726 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2727 * gst/gstindex.c: (gst_index_factory_class_init),
2728 (gst_index_factory_finalize):
2729 * gst/gstobject.c: (gst_object_dispose):
2730 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2731 (gst_plugin_load_file), (gst_plugin_desc_free):
2732 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2733 (gst_plugin_feature_finalize):
2734 * gst/gstregistry.c: (gst_registry_class_init),
2735 (gst_registry_init), (gst_registry_finalize),
2736 (gst_registry_get_default), (gst_registry_deinit):
2737 * gst/gstregistry.h:
2738 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2739 various cleanups and memleak plugging. make valgrind is happy now.
2741 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2744 add a check-valgrind target
2746 2005-09-18 David Schleef <ds@schleef.org>
2748 * tools/gst-inspect.c: Revert the GOption code.
2750 2005-09-17 David Schleef <ds@schleef.org>
2752 * check/Makefile.am: Fix environment variables.
2753 * check/gst/gstplugin.c: Fix for API changes.
2754 * tools/gst-inspect.c: Fix for API changes.
2755 * tools/gst-xmlinspect.c: Fix for API changes.
2756 * gst/gstelementfactory.c:
2759 * gst/gstpluginfeature.c:
2760 * gst/gstpluginfeature.h:
2761 * gst/gstregistry.c:
2762 * gst/gstregistry.h:
2763 * gst/gstregistryxml.c:
2764 * gst/gsttypefind.c:
2765 * gst/gsttypefindfactory.c:
2766 * gst/indexers/gstfileindex.c:
2767 * gst/indexers/gstmemindex.c:
2768 * gst/schedulers/Makefile.am:
2769 Change registry to keep track of both plugins and features,
2770 removing the feature tracking from plugins themselves.
2772 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2774 * check/Makefile.am:
2775 * tools/gst-register.1.in:
2778 2005-09-15 David Schleef <ds@schleef.org>
2780 * check/gst/gstplugin.c:
2781 * gst/gstelementfactory.c:
2783 * gst/gstpluginfeature.c:
2784 * gst/gstregistry.c:
2785 Getting tired of debugging. Disabled all the unreffing of
2786 plugins and features, which fixes the segfaults, but of
2787 course leaks like crazy. At least playbin works.
2789 2005-09-15 David Schleef <ds@schleef.org>
2791 * check/gst/gstplugin.c: (register_check_elements),
2792 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2794 * gst/elements/gsttypefindelement.c: Fix refcounting.
2795 * gst/gsttypefind.c:
2796 * gst/gsttypefindfactory.c:
2797 * gst/gsttypefindfactory.h:
2799 2005-09-15 David Schleef <ds@schleef.org>
2801 * gst/gstindex.c: get refcounting correct.
2802 * gst/gstregistry.c: Handle the case where a feature/plugin is
2805 2005-09-15 David Schleef <ds@schleef.org>
2807 * check/Makefile.am:
2808 * check/gst/gstplugin.c: Add test
2809 * gst/gstplugin.c: Fix problems noticed by testsuite
2811 * gst/gstregistry.c:
2812 * gst/gstregistry.h:
2814 2005-09-15 David Schleef <ds@schleef.org>
2816 * gst/gstplugin.c: Implement semi-decent recounting and locking
2817 in plugins and plugin features.
2819 * gst/gstpluginfeature.c:
2820 * gst/gstpluginfeature.h:
2821 * gst/gstregistry.c:
2823 2005-09-15 Michael Smith <msmith@fluendo.com>
2825 * gst/gstregistry.c: (gst_registry_get_feature_list):
2826 Implement this. Makes oggdemux work; decodebin still broken.
2828 2005-09-14 David Schleef <ds@schleef.org>
2830 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2832 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2833 * gst/check/Makefile.am:
2834 * libs/gst/controller/Makefile.am:
2835 * libs/gst/dataprotocol/Makefile.am:
2837 2005-09-14 David Schleef <ds@schleef.org>
2839 * configure.ac: Remove getbits library. Nothing uses it, and
2840 it should be in something like liboil if someone did want
2842 * libs/gst/Makefile.am:
2843 * libs/gst/getbits/Makefile.am:
2844 * libs/gst/getbits/gbtest.c:
2845 * libs/gst/getbits/getbits.c:
2846 * libs/gst/getbits/getbits.h:
2847 * libs/gst/getbits/gstgetbits_generic.c:
2848 * libs/gst/getbits/gstgetbits_i386.s:
2849 * libs/gst/getbits/gstgetbits_inl.h:
2851 2005-09-14 David Schleef <ds@schleef.org>
2853 * gst/Makefile.am: Dist glib-compat.h
2855 2005-09-14 David Schleef <ds@schleef.org>
2857 * configure.ac: Remove gst/registries, since it's no longer used.
2858 * gst/registries/Makefile.am:
2859 * gst/registries/gstlibxmlregistry.c:
2860 * gst/registries/gstlibxmlregistry.h:
2861 * gst/registries/gstxmlregistry.c:
2862 * gst/registries/gstxmlregistry.h:
2863 * gst/registries/registrytest.c:
2865 2005-09-14 David Schleef <ds@schleef.org>
2867 * gst/glib-compat.h:
2868 * gst/gstregistryxml.c:
2869 Convergence is near. Seriously.
2871 2005-09-14 David Schleef <ds@schleef.org>
2873 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2874 * gst/glib-compat.h:
2875 Attempt #4 to appease the buildbots.
2877 2005-09-14 David Schleef <ds@schleef.org>
2879 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2882 2005-09-14 David Schleef <ds@schleef.org>
2884 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2887 2005-09-14 David Schleef <ds@schleef.org>
2889 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2892 2005-09-14 David Schleef <ds@schleef.org>
2894 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2895 * gst/glib-compat.h: Add some functions that are in newer versions
2896 of glib than we care to require.
2897 * gst/gstregistryxml.c: Use them.
2899 2005-09-14 David Schleef <ds@schleef.org>
2901 * po/POTFILES.in: remove gst-register.c
2903 2005-09-14 David Schleef <ds@schleef.org>
2905 * docs/gst/gstreamer-docs.sgml:
2906 * docs/gst/gstreamer-sections.txt:
2907 * docs/gst/gstreamer.types:
2908 * docs/gst/tmpl/gstelement.sgml:
2909 * docs/gst/tmpl/gstplugin.sgml:
2910 * docs/gst/tmpl/gstpluginfeature.sgml:
2911 Documentation updates for registry changes.
2913 2005-09-14 David Schleef <ds@schleef.org>
2915 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2916 because we don't require glib-2.8.
2918 2005-09-14 David Schleef <ds@schleef.org>
2920 * gst/gstregistryxml.c: Added. Essentially moved out of the
2921 registries directory.
2923 2005-09-14 David Schleef <ds@schleef.org>
2925 * check/Makefile.am:
2926 * check/generic/states.c:
2930 * gst/gst_private.h:
2931 * gst/gstelementfactory.c:
2936 * gst/gstpluginfeature.c:
2937 * gst/gstpluginfeature.h:
2938 * gst/gstregistry.c:
2939 * gst/gstregistry.h:
2940 * gst/gstregistrypool.c: remove
2941 * gst/gstregistrypool.h: remove
2942 * gst/gsttypefind.c:
2943 * gst/gsttypefindfactory.c:
2945 * tools/Makefile.am:
2946 * tools/gst-compprep.c:
2947 * tools/gst-inspect.c:
2948 * tools/gst-register.c: remove
2949 * tools/gst-xmlinspect.c:
2950 Registry rewrite. Changes registry from being a file created
2951 by a tool into a simple cache file created automatically by
2952 libgstreamer. Removed gst-register (because it's no longer
2953 needed). Remove registry pools, because we only have one
2954 registry implementation (XML). Fix up other subsystems as
2957 2005-09-13 Michael Smith <msmith@fluendo.com>
2959 * gst/gstconfig.h.in:
2960 Don't Use windows linking attributes for MinGW. Fixes #316157
2962 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2964 * gst/gstutils.c: (set_state_async_thread_func),
2965 (gst_element_set_state_async):
2966 Apparently people think it's better if this function doesn't
2967 try to set the state to whatever state was asked for on the first
2968 call to this function for any object. Seriously.
2970 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2972 * check/gst/gstpipeline.c: (GST_START_TEST):
2973 * docs/gst/gstreamer-sections.txt:
2974 * gst/gstutils.c: (set_state_async_thread_func),
2975 (gst_element_set_state_async):
2977 add a "gst_element_set_state_async" method that
2978 sets the state and starts a thread to make sure the state
2979 change completes as best as it can
2981 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2983 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2984 codify design+behaviour in testsuite after discussion
2986 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2988 * docs/gst/tmpl/gstelement.sgml:
2989 * docs/manual/appendix-quotes.xml:
2991 * gst/gstelement.c: (gst_element_set_state):
2994 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2996 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2997 (gst_base_transform_prepare_output_buf),
2998 (gst_base_transform_handle_buffer):
2999 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3000 (gst_capsfilter_prepare_buf):
3001 Remove the requirement for sub-classes to call the parent
3002 implementation of prepare_output_buffer with a wrapper function.
3005 * gst/gsttagsetter.h:
3008 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3010 * docs/gst/gstreamer-sections.txt:
3013 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3015 * docs/gst/gstreamer-sections.txt:
3016 * docs/gst/tmpl/gstelement.sgml:
3017 * docs/gst/tmpl/gstplugin.sgml:
3018 * gst/gstminiobject.c:
3020 docs now stop throwing warnings
3022 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3024 * docs/gst/gstreamer-sections.txt:
3025 * docs/gst/gstreamer.types:
3026 * docs/gst/tmpl/gstpad.sgml:
3027 * docs/gst/tmpl/gsttypes.sgml:
3028 * gst/base/gstadapter.h:
3029 * gst/base/gstbasesink.h:
3030 * gst/base/gstbasesrc.h:
3040 * gst/gststructure.c:
3041 * gst/registries/gstlibxmlregistry.h:
3042 various documentation fixes
3044 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3046 * docs/gst/gstreamer-sections.txt:
3047 * docs/gst/tmpl/gstvalue.sgml:
3048 rearrange gstvalue section
3049 * gst/gstutils.c: (gst_element_state_get_name):
3051 * gst/gstvalue.c: (_gst_value_initialize):
3055 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3057 * check/gst-libs/controller.c:
3059 * gst/base/gstbasetransform.c:
3060 (gst_base_transform_default_prepare_buf),
3061 (gst_base_transform_handle_buffer):
3062 * gst/base/gstbasetransform.h:
3063 Some more basetransform changes and fixes to enable sub-classes
3064 that modify buffer metadata only.
3065 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3066 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3067 (gst_capsfilter_prepare_buf):
3068 If the output pad has fixed allowed caps and input buffers
3069 don't have any, set the fixed caps on outgoing buffers.
3071 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3072 * check/elements/identity.c: (GST_START_TEST):
3073 Make the error a little clearer when the test fails because
3074 identity made a copy of the buffer.
3075 * docs/gst/gstreamer-sections.txt:
3076 New symbols in gstbasetransform.h
3077 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3078 (gst_base_transform_init), (gst_base_transform_transform_size),
3079 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3080 (gst_base_transform_default_prepare_buf),
3081 (gst_base_transform_get_unit_size),
3082 (gst_base_transform_buffer_alloc),
3083 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3084 (gst_base_transform_change_state),
3085 (gst_base_transform_set_passthrough),
3086 (gst_base_transform_set_in_place),
3087 (gst_base_transform_is_in_place):
3088 * gst/base/gstbasetransform.h:
3089 Change BaseTransform to separate in_place operate from same_caps
3090 output. in_place implies that the element can perform the transform
3091 on incoming buffers in-place, even if the caps on the output are
3093 Sub-class elements can now implement special buffer allocation
3094 methods for outgoing buffers if they wish to.
3095 Big documentation addition.
3096 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3097 * gst/elements/gstelements.c:
3098 Changes for basetransform modifications.
3099 * gst/elements/Makefile.am:
3100 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3101 Compile fix. Extra debug output.
3103 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3105 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3107 add tests for valid pad naming
3108 * gst/check/gstcheck.c: (gst_check_log_message_func),
3109 (gst_check_log_critical_func):
3111 remove printing of code, it is fragile when the code contains
3112 % and the line number is enough info
3113 * gst/check/gstcheck.h:
3114 * gst/gstpad.c: (gst_pad_template_new):
3117 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3120 say what CHECK flags we use
3121 * docs/libs/gstreamer-libs.types:
3122 * libs/gst/controller/Makefile.am:
3123 * libs/gst/controller/gst-controller.c:
3124 * libs/gst/controller/gst-controller.h:
3125 * libs/gst/controller/gst-helper.c:
3126 * libs/gst/controller/gst-interpolation.c:
3127 * libs/gst/controller/gstcontroller.c:
3128 * libs/gst/controller/gsthelper.c:
3129 * libs/gst/controller/gstinterpolation.c:
3130 * tools/gst-inspect.c: (print_plugin_info):
3131 we don't use dashes in header names
3133 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3135 * check/Makefile.am:
3136 * check/gst/.cvsignore:
3137 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3138 (gst_pipeline_suite), (main):
3139 adding a test for pipelines and state changes
3140 * gst/gstutils.c: (get_state_func):
3142 * gstreamer.spec.in:
3145 2005-09-08 Michael Smith <msmith@fluendo.com>
3147 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3148 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3149 (gst_file_src_is_seekable), (gst_file_src_get_size),
3150 (gst_file_src_start):
3151 * gst/elements/gstfilesrc.h:
3152 Various fixes for unseekable, unmmapable, and non-normal files, so
3153 that fallback to read() rather than mmap() works.
3154 * gst/gstevent.c: (gst_event_new_newsegment):
3155 Allow newsegment events with segment_start == segment_end, as will
3156 correctly happen if you use filesrc on a zero-size file, for
3159 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3161 * gst/gstplugin.c: (gst_plugin_load_file):
3162 Call g_module_close when we don't load the module
3164 * gst/registries/gstlibxmlregistry.c:
3165 (gst_xml_registry_get_property):
3166 Port leak fix from 0.8
3168 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3170 * docs/gst/gstreamer-docs.sgml:
3171 * docs/gst/tmpl/.cvsignore:
3172 * docs/gst/tmpl/gsttrace.sgml:
3173 * docs/gst/tmpl/gsttrashstack.sgml:
3182 * gst/gsttaginterface.c:
3183 * gst/gsttaginterface.h:
3186 * gst/gsttagsetter.c:
3187 * gst/gsttagsetter.h:
3190 * gst/gsttrashstack.c:
3191 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3192 inlined docs for gsttrace, gsttrashstack
3194 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3197 * gst/elements/gstbufferstore.h:
3198 * gst/elements/gsttypefindelement.c:
3199 * gst/elements/gsttypefindelement.h:
3201 * gst/gsttypefind.c:
3202 * gst/gsttypefind.h:
3203 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3204 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3205 (gst_type_find_factory_dispose),
3206 (gst_type_find_factory_unload_thyself),
3207 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3208 (gst_type_find_factory_get_caps),
3209 (gst_type_find_factory_get_extensions),
3210 (gst_type_find_factory_call_function):
3211 * gst/gsttypefindfactory.h:
3212 * gst/registries/gstlibxmlregistry.c:
3213 * gst/registries/gstxmlregistry.c:
3214 splitted gsttypefind into gsttypefind, gsttypefindfactory
3216 2005-09-07 Andy Wingo <wingo@pobox.com>
3218 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3219 condition whereby the pad's task function is entered before the
3220 pad_mode variable was set.
3222 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3224 * gst/gstpad.c: (gst_pad_alloc_buffer):
3225 Catch misbehaving pad_alloc functions that don't
3226 set up caps and do it for them.
3228 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3230 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3232 * docs/gst/tmpl/.cvsignore:
3233 * docs/gst/tmpl/gstmemchunk.sgml:
3234 * docs/gst/tmpl/gstparse.sgml:
3235 * docs/gst/tmpl/gsttaglist.sgml:
3236 * docs/gst/tmpl/gsttagsetter.sgml:
3237 * docs/gst/tmpl/gsttypefind.sgml:
3238 * docs/gst/tmpl/gsttypefindfactory.sgml:
3239 * gst/gstmemchunk.c:
3242 * gst/gsttaginterface.c:
3243 * gst/gsttypefind.c:
3244 * gst/gsttypefind.h:
3247 === release 0.9.2 ===
3249 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3254 releasing 0.9.2, "South"
3256 2005-09-05 Andy Wingo <wingo@pobox.com>
3258 * gst/registries/gstxmlregistry.h:
3259 * gst/registries/gstxmlregistry.c: Um... resurrect...
3261 * gst/registries/gstxmlregistry.h:
3262 * gst/registries/gstxmlregistry.c: and update to newer API.
3263 Incidentally they should be a bit faster now that they don't have
3266 2005-09-05 Andy Wingo <wingo@pobox.com>
3268 * gst/registries/gstxmlregistry.h:
3269 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3270 replaced by the libxml registry a while back
3272 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3274 * docs/gst/tmpl/gstplugin.sgml:
3275 * gst/elements/gstelements.c:
3277 * gst/gstplugin.c: (gst_plugin_register_func),
3278 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3279 (gst_plugin_get_source):
3281 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3282 (gst_xml_registry_save_plugin):
3283 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3284 (gst_xml_registry_save_plugin):
3285 * tools/gst-inspect.c: (print_plugin_info):
3286 add a "source" plugin description field, to represent the source
3287 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3288 will set it to PACKAGE, which is automake's idea of the name of
3291 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3297 * docs/faq/Makefile.am:
3298 * docs/gst/tmpl/gstelement.sgml:
3299 * docs/gst/tmpl/gsttypes.sgml:
3300 * docs/htmlinstall.mak:
3301 * docs/manual/Makefile.am:
3302 * docs/pwg/Makefile.am:
3303 reorganize doc build a little
3304 split out docbook and gtk-doc stuff
3305 have two separate --enable's and enable them through autogen
3306 but disable by default in configure (to be similar to other
3308 * gstreamer.spec.in:
3309 clean up docs install
3329 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3331 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3334 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3335 (gst_fake_sink_change_state):
3336 Make state change function thread-safe.
3338 * gst/gstpad.c: (gst_pad_alloc_buffer):
3339 Set offset on generic buffer allocated by fallback.
3341 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3343 * docs/gst/gstreamer-sections.txt:
3344 * docs/gst/tmpl/gstelement.sgml:
3346 * libs/gst/controller/gst-controller.c:
3347 (gst_controlled_property_set_interpolation_mode),
3348 (gst_controlled_property_new),
3349 (gst_controller_find_controlled_property):
3350 run the wingo-magic script against the docs
3352 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3354 * docs/gst/gstreamer-docs.sgml:
3355 * docs/gst/gstreamer-sections.txt:
3356 * docs/gst/tmpl/.cvsignore:
3357 * docs/gst/tmpl/gstelementdetails.sgml:
3358 * docs/gst/tmpl/gstelementfactory.sgml:
3361 * gst/gstelementfactory.c:
3362 * gst/gstelementfactory.h:
3363 merged elementdetails docs into elementfactory docs
3366 2005-09-02 Andy Wingo <wingo@pobox.com>
3368 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3369 consider this enum an enum and not a flags.
3371 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3373 * docs/gst/gstreamer-docs.sgml:
3374 * docs/gst/tmpl/.cvsignore:
3375 * docs/gst/tmpl/gstghostpad.sgml:
3376 * docs/gst/tmpl/gstiterator.sgml:
3377 * docs/gst/tmpl/gstmacros.sgml:
3378 * docs/gst/tmpl/gstrealpad.sgml:
3379 * docs/gst/tmpl/gstregistry.sgml:
3380 * docs/gst/tmpl/gstregistrypool.sgml:
3381 * docs/gst/tmpl/gststructure.sgml:
3382 * docs/gst/tmpl/gstsystemclock.sgml:
3383 * docs/gst/tmpl/gsttrace.sgml:
3384 * gst/gstghostpad.c:
3386 * gst/gstmemchunk.c:
3387 * gst/gstmemchunk.h:
3389 * gst/gstregistry.c:
3390 * gst/gstregistrypool.c:
3391 * gst/gststructure.c:
3392 * gst/gstsystemclock.c:
3395 2005-09-02 Andy Wingo <wingo@pobox.com>
3397 * gst/gstelement.h (GstState): Renamed from GstElementState,
3398 changed to be a normal enum instead of flags.
3399 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3400 munged to be GST_STATE_CHANGE_*.
3401 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3402 work with the new state representation.
3403 (GstStateChange): New enumeration of possible state transitions.
3404 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3405 (GstElementClass::change_state): Pass the GstStateChange along as
3406 an argument. Helps language bindings, so they don't have to use
3407 tricky lock-needing macros like GST_STATE_CHANGE ().
3409 * scripts/update-states (file): New script. Run it on a file to
3410 update it for state naming and API changes. Updates files in
3413 * All files updated for the new API.
3415 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3417 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3418 * gst/gstutils.c: (gst_util_set_value_from_string),
3419 (gst_util_set_object_arg):
3420 fix a bunch of unchecked return values
3421 * tools/gst-complete.c: (main):
3422 * gstreamer.spec.in:
3425 2005-09-01 Wim Taymans <wim@fluendo.com>
3427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3428 (gst_base_sink_event), (gst_base_sink_do_sync),
3429 (gst_base_sink_handle_event):
3430 * gst/base/gstbasesink.h:
3431 Handle newsegments more correctly.
3436 * gst/gstevent.c: (gst_event_new_newsegment):
3437 A newsegment cannot have a start_time of -1
3439 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3441 * win32/gstenumtypes.c:
3442 * win32/gstenumtypes.h:
3445 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3447 * libs/gst/controller/gst-controller.c:
3448 (gst_controlled_property_set_interpolation_mode),
3449 (gst_controlled_property_new):
3452 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3454 * docs/faq/gst-uninstalled:
3459 * gst/gstutils.c: (gst_element_link_filtered):
3461 add gst_element_link_filtered
3463 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3465 * docs/gst/gstreamer-docs.sgml:
3466 * docs/gst/gstreamer-sections.txt:
3467 * docs/gst/tmpl/.cvsignore:
3468 * docs/gst/tmpl/gsterror.sgml:
3469 * docs/gst/tmpl/gstfilter.sgml:
3470 * docs/gst/tmpl/gsturihandler.sgml:
3471 * docs/gst/tmpl/gsturitype.sgml:
3472 * docs/gst/tmpl/gstutils.sgml:
3473 * docs/gst/tmpl/gstxml.sgml:
3481 inlined more docs, fixed double id-ref
3483 2005-08-31 Wim Taymans <wim@fluendo.com>
3485 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3486 (gst_base_transform_handle_buffer):
3487 Passthrough elements don't need the caps as they don't care.
3489 2005-08-31 Wim Taymans <wim@fluendo.com>
3491 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3492 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3493 Don't leak refcounts on buffers.
3495 2005-08-31 Wim Taymans <wim@fluendo.com>
3497 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3498 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3499 (gst_base_transform_chain), (gst_base_transform_change_state):
3500 * gst/base/gstbasetransform.h:
3501 Handle the case where we are not negotiated more gracefully.
3503 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3505 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3506 (gst_file_src_map_region):
3507 Set READONLY flag on mmap'ed buffers, otherwise
3508 gst_buffer_make_writable() won't work properly (#314708).
3510 2005-08-31 Wim Taymans <wim@fluendo.com>
3512 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3513 passthrough elements can even do inplace on non writable
3514 buffers (as they don't touch them).
3516 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3518 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3519 (gst_test_mono_source_set_property),
3520 (gst_test_mono_source_class_init), (GST_START_TEST),
3521 (gst_controller_suite):
3522 more tests (hehe I have the most)
3524 describe popping messages whenusing mulltiple sources
3525 * libs/gst/controller/gst-controller.c:
3526 (gst_controlled_property_set_interpolation_mode),
3527 (gst_controlled_property_new):
3528 * libs/gst/controller/gst-controller.h:
3529 * libs/gst/controller/gst-interpolation.c:
3530 implement boolean properties
3532 2005-08-31 Wim Taymans <wim@fluendo.com>
3534 * gst/gstminiobject.c: (gst_mini_object_ref):
3535 Cannot assert that the refcount has to be positive
3536 since a disposed object can be resurrected.
3538 2005-08-31 Wim Taymans <wim@fluendo.com>
3540 * gst/gstpad.c: (gst_pad_init):
3541 Revert change, need to first fix badly behaving
3544 2005-08-30 Wim Taymans <wim@fluendo.com>
3546 * check/elements/fakesrc.c: (setup_fakesrc):
3547 * check/elements/identity.c: (setup_identity):
3548 Activate pads before using them.
3550 2005-08-30 Wim Taymans <wim@fluendo.com>
3552 * gst/base/gstadapter.c: (gst_adapter_flush):
3553 Flushing out 0 bytes is ok for this function.
3555 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3556 no newsegment gives a warning and sets the start/stop to
3559 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3560 (gst_base_transform_set_passthrough):
3563 * gst/gstminiobject.c: (gst_mini_object_ref):
3564 Check refcount here too.
3566 * gst/gstpad.c: (gst_pad_init):
3567 Pads are initially flushing and refusing data.
3569 * gst/gstutils.c: (gst_element_link_pads_filtered):
3570 When adding a capsfilter element make sure it has the
3571 same state as the parent bin.
3573 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3575 * docs/gst/tmpl/.cvsignore:
3576 * docs/gst/tmpl/gstformat.sgml:
3577 * docs/gst/tmpl/gstversion.sgml:
3581 * gst/gstversion.h.in:
3582 more docs and two more inlined
3584 2005-08-30 Wim Taymans <wim@fluendo.com>
3586 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3587 Don't sync to clock.
3589 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3591 * docs/gst/gstreamer-sections.txt:
3592 ultral33t func10ns deserve to appear in the docs actually
3593 * docs/gst/tmpl/.cvsignore:
3594 * docs/gst/tmpl/gstcompat.sgml:
3595 * docs/gst/tmpl/gstconfig.sgml:
3596 * gst/check/gstcheck.c:
3598 * gst/gstconfig.h.in:
3601 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3603 * docs/gst/tmpl/.cvsignore:
3604 * docs/gst/tmpl/gstquery.sgml:
3605 * docs/gst/tmpl/gstutils.sgml:
3608 inlined and extended docs
3610 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3612 * check/gst-libs/controller.c: (GST_START_TEST),
3613 (gst_controller_suite):
3615 * docs/gst/tmpl/gstutils.sgml:
3616 * docs/libs/gstreamer-libs-sections.txt:
3617 * docs/libs/tmpl/gstdataprotocol.sgml:
3619 * examples/controller/audio-example.c: (main):
3620 controller example works now
3623 * tools/gst-inspect.c: (print_element_properties_info):
3624 show param spec flags
3626 2005-08-29 Andy Wingo <wingo@pobox.com>
3628 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3630 2005-08-28 Andy Wingo <wingo@pobox.com>
3632 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3633 as having two arguments instead of just one. Allows superclasses
3634 to access information on subclasses -- see the terrible for() loop
3635 in gtype.c:g_type_create_instance for the reason why. All callers
3638 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3640 * docs/design/part-messages.txt:
3642 * docs/gst/tmpl/.cvsignore:
3643 * docs/gst/tmpl/gstcaps.sgml:
3644 * docs/gst/tmpl/gstclock.sgml:
3651 added descriptions for bus and message
3652 inline caps and clock docs
3654 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3660 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3662 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3665 2005-08-26 Andy Wingo <wingo@pobox.com>
3667 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3668 element_set_state's return val.
3669 (test_2_elements): Add test that's been disabled for months.
3671 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3672 can-activate-pull properties.
3674 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3675 can-activate-pull properties. Implement is_seekable so fakesrc can
3676 operate in pull mode.
3678 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3680 (gst_base_sink_activate, gst_base_sink_activate_pull)
3681 (gst_base_sink_activate_push): Make activation mode choosing work.
3683 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3684 is right. Make pull mode work. Post an eos before pausing in pull
3686 (gst_base_sink_change_state): Pay attention to the core's
3687 change_state() return val.
3689 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3690 has-getrange properties. Cleanups.
3692 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3693 has_getrange and replace with can_activate_pull and
3696 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3697 locking comments. Remove has_loop, has_chain and replace with
3698 can_activate_pull and can_activate_push.
3700 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3703 * examples/Makefile.am:
3704 * examples/metadata/Makefile.am:
3705 * examples/metadata/read-metadata.c: (message_loop),
3706 (have_pad_handler), (make_pipeline), (print_tag), (main):
3707 Add metadata reading example that loops over a list of filenames,
3708 dumping any tags found.
3710 * gst/gstbus.c: (gst_bus_dispose):
3711 * gst/gstelement.c: (gst_element_dispose):
3712 Release a few potentially-held references in dispose.
3714 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3716 * docs/gst/tmpl/gstminiobject.sgml:
3717 do *not* add tmpl/*.sgml files to CVS!
3719 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3721 * libs/gst/bytestream/.cvsignore:
3722 * libs/gst/bytestream/Makefile.am:
3723 * libs/gst/bytestream/adapter.c:
3724 * libs/gst/bytestream/adapter.h:
3725 * libs/gst/bytestream/bytestream.c:
3726 * libs/gst/bytestream/bytestream.h:
3727 * libs/gst/bytestream/filepad.c:
3728 * libs/gst/bytestream/filepad.h:
3729 removing obsolete files
3731 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3733 * docs/gst/gstreamer-docs.sgml:
3734 * docs/libs/gstreamer-libs-docs.sgml:
3735 disabed additional index entries again, as this makes docs-gen just
3736 slow and they aren't useful yet
3737 * docs/libs/gstreamer-libs-sections.txt:
3738 little -section.txt cleanup for libs
3740 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3743 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3744 fix up some debugging
3745 (gst_base_transform_get_unit_size),
3746 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3747 (gst_base_transform_handle_buffer):
3748 * gst/base/gstbasetransform.h:
3749 handle and store timed NEWSEGMENT events so that subclasses that
3750 calculate time by counting samples have a segment_start time they
3751 need to add to their timestamps - see audioresample
3753 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3756 removed ';' from the end of macro defs
3757 * docs/gst/gstreamer-docs.sgml:
3758 * docs/gst/gstreamer-sections.txt:
3759 * docs/gst/tmpl/.cvsignore:
3761 * gst/gstelement.c: (gst_element_class_init),
3762 (gst_element_set_state), (activate_pads),
3763 (gst_element_save_thyself):
3764 * gst/gstevent.c: (gst_event_new_newsegment):
3766 * gst/gstiterator.c:
3767 * gst/gstiterator.h:
3770 * gst/gstutils.c: (gst_pad_query_convert):
3772 fixed parameter name mismatches between source, header and docs
3773 added some more docs, resolved the last batch of unused elements in
3774 docs (now someone needs to doc them)
3776 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3778 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3779 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3780 don't walk through the plugins backwards. Where is all this
3781 reversed logic coming from ?
3783 2005-08-25 Wim Taymans <wim@fluendo.com>
3785 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3786 (gst_base_transform_transform_size),
3787 (gst_base_transform_configure_caps),
3788 (gst_base_transform_get_unit_size),
3789 (gst_base_transform_buffer_alloc),
3790 (gst_base_transform_change_state):
3791 * gst/base/gstbasetransform.h:
3792 Cache caps unit_size.
3793 Make sure we cannot negotiate up and downstream at the
3796 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3798 * gst/gst.c: (init_pre), (init_post):
3799 register the installed plugin path after the env var
3800 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3801 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3802 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3803 directories, so the tests can prefer uninstalled over installed
3805 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3807 * gst/base/gstbasetransform.h:
3812 2005-08-25 Wim Taymans <wim@fluendo.com>
3814 * gst/gstbin.c: (bin_bus_handler):
3815 Be a bit more conservative about the posted message.
3817 * gst/gstbus.c: (gst_bus_post):
3818 Some cleanups, warn wrong return values.
3820 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3822 * check/gst/gstbin.c: (GST_START_TEST):
3823 * gst/gstbin.c: (bin_bus_handler):
3824 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3825 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3826 (gst_message_new_warning), (gst_message_new_tag),
3827 (gst_message_new_state_changed), (gst_message_new_segment_start),
3828 (gst_message_new_segment_done), (gst_message_new_custom):
3830 * tools/gst-launch.c: (event_loop):
3831 * tools/gst-md5sum.c: (event_loop):
3832 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3834 2005-08-25 Wim Taymans <wim@fluendo.com>
3836 * check/generic/states.c: (GST_START_TEST):
3837 Cleanup can be done at the end.
3839 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3840 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3841 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3842 Oh boy.. Thanks for finding this, Thomas.
3844 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3846 * docs/gst/gstreamer.types:
3849 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3851 * docs/gst/gstreamer-docs.sgml:
3852 * docs/gst/gstreamer-sections.txt:
3853 * docs/gst/tmpl/.cvsignore:
3855 * gst/gstiterator.c:
3857 * gst/registries/gstxmlregistry.h:
3858 added missing classes and symbols (123 more to go)
3859 removed removed symbols from section file
3860 fixed many doc-comments
3862 2005-08-24 Wim Taymans <wim@fluendo.com>
3864 * check/generic/states.c: (GST_START_TEST):
3865 Make sure all tasks are stopped.
3867 * check/gst/gstbin.c: (GST_START_TEST):
3868 Unref after usage for proper valgrinding.
3870 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3871 Really wait for the task to stop before destroying the
3874 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3875 (gst_queue_src_activate_push):
3876 Small cleanups. Don't stop the task when we did not start
3879 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3880 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3881 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3884 Protect the stream lock with the object lock.
3885 Disallow setting the stream lock when running.
3886 Add cleanup_all to wait for the threadpool to finish.
3887 Remove code to autoallocate a mutex if none was provided.
3888 Add _join() to wait for a task to stop.
3889 Protect the thread pool with a global lock.
3891 2005-08-24 Wim Taymans <wim@fluendo.com>
3893 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3894 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3895 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3896 * gst/base/gstbasesink.h:
3897 Handle newsegment events correctly.
3898 Drop buffers out of the segment range.
3900 2005-08-22 Andy Wingo <wingo@pobox.com>
3902 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3903 macro, implements an interface and gstimplementsinterface for a
3906 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3908 * check/Makefile.am:
3909 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3910 add a test that does a bunch of state changes on elements
3911 needs some fixing for valgrind
3912 * check/states/sinks.c: (gst_object_suite):
3915 add prototype for gst_caps_is_equal_fixed
3917 * gst/gstregistrypool.c:
3920 2005-08-24 Andy Wingo <wingo@pobox.com>
3922 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3923 convert a negative value. Doesn't make much sense. Mostly this is
3924 here to force callers to ensure -1 maps to -1.
3926 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3928 * docs/pwg/advanced-types.xml:
3929 Well done to Michael for catching my deliberate introduction
3930 of this spelling mistake.
3931 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3933 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3934 unlink pads before removing the element from the bin.
3936 2005-08-24 Andy Wingo <wingo@pobox.com>
3938 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3939 the same thing as GST_DEBUG=*:4.
3940 (parse_debug_level, parse_debug_category): New helper parsers.
3942 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3944 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3945 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3946 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3947 (gst_base_transform_buffer_alloc),
3948 (gst_base_transform_handle_buffer):
3949 use gboolean return values and pointers to size so we can use the
3950 full GST_BUFFER_SIZE range (guint) for buffer sizes
3951 use GstPadDirection for transform_caps
3952 * gst/base/gstbasetransform.h:
3953 rename get_size to get_unit_size since that's what it is
3954 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3955 use GstPadDirection for transform_caps
3956 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3958 cleanup and debugging
3960 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3962 * gst/gstelement.c: (gst_element_class_init),
3963 (gst_element_set_state), (activate_pads),
3964 (gst_element_save_thyself):
3965 * tools/gst-compprep.c: (main):
3966 * tools/gst-inspect.c: (print_element_properties_info):
3967 * tools/gst-xmlinspect.c: (print_element_properties):
3968 Fixed long standing mem-leak
3970 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3972 * check/gst/gstbin.c: (GST_START_TEST):
3973 * gst/gstbin.c: (bin_bus_handler):
3974 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3975 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3976 (gst_message_new_warning), (gst_message_new_tag),
3977 (gst_message_new_state_changed), (gst_message_new_segment_start),
3978 (gst_message_new_segment_done), (gst_message_new_custom):
3980 * tools/gst-launch.c: (event_loop):
3981 * tools/gst-md5sum.c: (event_loop):
3982 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3983 that applications can sensibly post custom messages with references
3984 to their own objects.
3986 2005-08-24 Andy Wingo <wingo@pobox.com>
3988 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3991 2005-08-24 Wim Taymans <wim@fluendo.com>
3993 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3994 (gst_base_transform_transform_caps),
3995 (gst_base_transform_transform_size),
3996 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3997 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3998 (gst_base_transform_handle_buffer):
3999 * gst/base/gstbasetransform.h:
4000 Many fixes and new features added by Thomas. Can now also do
4001 transforms with variable sizes and a custom fixate_caps function.
4003 2005-08-24 Wim Taymans <wim@fluendo.com>
4005 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4009 Cast to ClockTime before formatting to time.
4014 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4016 * check/gst-libs/controller.c: (GST_START_TEST),
4017 (gst_controller_suite):
4018 * docs/gst/tmpl/gstcaps.sgml:
4019 * docs/gst/tmpl/gstghostpad.sgml:
4020 * docs/gst/tmpl/gstquery.sgml:
4021 * docs/gst/tmpl/gstutils.sgml:
4022 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4023 (gst_object_sink_values), (gst_object_get_value_arrays),
4024 (gst_object_get_value_array):
4025 gracefully handle helper method calls to objects that are not beeing
4026 controlled, added test case for that
4028 2005-08-23 Wim Taymans <wim@fluendo.com>
4030 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4031 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4032 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4033 (gst_event_parse_qos), (gst_event_new_seek),
4034 (gst_event_parse_seek):
4036 Some more debugging output and doc cleanups.
4038 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4039 Fix possible deadlock.
4041 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4043 * docs/gst/gstreamer-docs.sgml:
4044 * docs/gst/gstreamer-sections.txt:
4045 * docs/gst/gstreamer.types:
4046 * docs/gst/tmpl/.cvsignore:
4051 added 100 symbols from gstreamer-unused.txt to the right sections
4052 fixed more broken comments
4053 added GstBus to docs
4055 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4057 * docs/gst/gstreamer-sections.txt:
4058 * docs/gst/tmpl/.cvsignore:
4059 * docs/gst/tmpl/gstbin.sgml:
4060 * docs/gst/tmpl/gstbuffer.sgml:
4061 * gst/base/gstbasesrc.c:
4062 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4065 * tools/gst-launch.1.in:
4066 inlined more doc comments, added missing comments and fixed comments
4069 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4071 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4075 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4077 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4078 * gst/gststructure.h:
4079 add a fixate function for booleans; add a FIXME that these func
4080 names should probably be gst_structure_fixate_*
4082 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4084 * docs/gst/gstreamer-docs.sgml:
4085 * docs/gst/gstreamer-sections.txt:
4087 * gst/gstbin.c: (gst_bin_get_type),
4088 (gst_bin_child_proxy_get_child_by_index),
4089 (gst_bin_child_proxy_get_children_count),
4090 (gst_bin_child_proxy_init):
4091 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4092 (gst_child_proxy_get_child_by_index),
4093 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4094 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4095 (gst_child_proxy_get), (gst_child_proxy_set_property),
4096 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4097 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4098 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4099 * gst/gstchildproxy.h:
4100 * gst/parse/grammar.y:
4101 * tools/gst-inspect.c: (print_interfaces),
4102 (print_element_properties_info), (print_element_info):
4103 ported gstchildproxy over from 0.8
4104 ported gst-inspect fixes and enhancements over from 0.8
4106 2005-08-22 Wim Taymans <wim@fluendo.com>
4108 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4109 (gst_base_transform_handle_buffer):
4110 Also call the transform function if we have ANY caps.
4112 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4115 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4117 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4118 Don't pretend to handle seek events if the source is not seekable
4120 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4123 Remove extra parameter to debug output
4125 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4126 (gst_base_src_do_seek), (gst_base_src_activate_push):
4127 Fix seek event handling.
4129 * gst/gstpipeline.c: (gst_pipeline_change_state):
4130 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4131 (gst_queue_src_activate_push):
4132 Don't start the src pad task on FLUSH_STOP if the pad
4136 2005-08-22 Wim Taymans <wim@fluendo.com>
4138 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4139 Added check for gst_static_caps_get() refcounting.
4141 2005-08-22 Wim Taymans <wim@fluendo.com>
4143 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4144 Make _static_caps_get() refcounting sane.
4146 * gst/gstelement.c: (gst_element_set_state):
4147 Add g_return_val_if_fail() to protect against segfaults.
4149 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4151 * docs/gst/tmpl/gstevent.sgml:
4154 inlined remaining docs, added missing doc comments
4156 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4158 * check/gst/gstbin.c: (GST_START_TEST):
4159 since we don't know when preroll is done, use refcount range
4161 * gst/check/gstcheck.h:
4162 add macro for checking refcount range
4164 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4166 * check/Makefile.am:
4167 clean up environment for when registry gets built versus
4168 when actual tests are run; valgrind seems to not report
4169 leaks if GST_PLUGIN_PATH is set to some specific values
4170 * check/gst/gstbin.c: (GST_START_TEST):
4171 add more refcounting checks; maybe this exposes a
4174 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4175 * gst/check/gstcheck.h:
4176 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4177 (gst_bin_change_state):
4178 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4179 add/fix debugging/whitespace
4181 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4183 * check/gst/gstevent.c: (event_probe), (test_event),
4185 Er, don't call gst_bin_watch_for_state_change you idiot.
4187 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4189 * check/Makefile.am:
4190 Use CHECK_CFLAGS and CHECK_LIBS
4191 * check/gst/gstevent.c: (event_probe), (test_event),
4194 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4195 (gst_base_src_start), (gst_base_src_stop),
4196 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4197 (gst_base_src_change_state):
4198 Sprinkle gst_base_src_stop liberally around error paths to fix
4199 problems reusing a source after failed state changes.
4200 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4201 (helper_find_suggest), (gst_type_find_helper):
4202 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4204 * docs/gst/tmpl/gstevent.sgml:
4205 Migrate part of the docs from the SGML file. Wait for ensonic to
4206 tell me how I did it wrong ;)
4207 * tools/gst-typefind.c: (main):
4208 Extra robustness to state changes between files.
4210 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4212 * check/Makefile.am:
4213 don't valgrind the controller test - it's leaking - Stefan, HELP
4214 * gst/check/gstcheck.c: (gst_check_message_error),
4215 (gst_check_chain_func), (gst_check_setup_element),
4216 (gst_check_teardown_element), (gst_check_setup_src_pad),
4217 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4218 (gst_check_teardown_sink_pad):
4219 * gst/check/gstcheck.h:
4220 add a bunch of methods to set up elements, and src and sink pads
4221 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4222 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4227 whitespace/doc fixes
4229 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4232 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4233 be handled by the application and not always printed as well
4235 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4237 * check/Makefile.am:
4239 * gst/check/gstcheck.c: (gst_check_message_error):
4240 * gst/check/gstcheck.h:
4241 add a fail_unless_equals_int
4242 add fail_unless for error messages
4244 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4246 * check/Makefile.am:
4248 * common/Makefile.am:
4251 factor out some of the common stuff so we can use it
4253 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4255 * check/Makefile.am:
4256 * check/gst/gstiterator.c: (GST_START_TEST):
4257 * check/gst/gstsystemclock.c: (GST_START_TEST),
4258 (gst_systemclock_suite):
4259 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4263 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4265 * check/elements/.cvsignore:
4266 * check/elements/gstfakesrc.c:
4267 rename to name of element
4268 * check/elements/identity.c: (chain_func), (event_func),
4269 (setup_identity), (cleanup_identity), (GST_START_TEST),
4270 (identity_suite), (main):
4271 add a test for identity
4272 * check/Makefile.am:
4273 * pkgconfig/Makefile.am:
4274 * pkgconfig/gstreamer-check.pc.in:
4275 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4279 move the check stuff to a library that gets installed
4280 * check/gst-libs/controller.c: (GST_START_TEST):
4281 * check/gst-libs/gdp.c:
4282 * check/gst/gst.c: (GST_START_TEST):
4283 * check/gst/gstbin.c:
4284 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4285 * check/gst/gstbus.c:
4286 * check/gst/gstcaps.c: (GST_START_TEST):
4287 * check/gst/gstelement.c:
4288 * check/gst/gstghostpad.c:
4289 * check/gst/gstiterator.c:
4290 * check/gst/gstmessage.c:
4291 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4292 * check/gst/gstobject.c:
4293 * check/gst/gstpad.c: (GST_START_TEST):
4294 * check/gst/gststructure.c: (GST_START_TEST):
4295 * check/gst/gstsystemclock.c: (GST_START_TEST),
4296 (gst_systemclock_suite):
4297 * check/gst/gsttag.c: (gst_tag_suite):
4298 * check/gst/gstvalue.c:
4299 * check/pipelines/cleanup.c:
4300 * check/pipelines/simple_launch_lines.c:
4301 * check/states/sinks.c:
4302 change include statement
4304 * docs/gst/gstreamer-sections.txt:
4305 * docs/gst/tmpl/gstpad.sgml:
4306 document more pad stuff
4307 * gst/gstminiobject.c: (gst_mini_object_ref),
4308 (gst_mini_object_unref):
4311 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4313 * docs/gst/tmpl/gst.sgml:
4315 eliminate another tmpl file, fix spelling in the long-description
4317 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4319 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4320 (test_event), (timediff), (gstevents_suite):
4321 Should fix build on 64-bit arch's
4323 2005-08-18 Andy Wingo <wingo@pobox.com>
4325 Make sure that when a pipeline goes to PLAYING, that data has
4326 actually hit the sink.
4328 * check/states/sinks.c (test_sink): A sink that doesn't get any
4329 data shouldn't return SUCCESS for going to either PLAYING or
4330 PAUSED. Test also the return values on the way back down.
4332 * gst/gstelement.c (gst_element_set_state): When changing the
4333 state of an element currently changing state asynchronously, go to
4334 lost-state after commiting the pending state. Makes future calls
4335 to get_state continue to return ASYNC.
4337 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4338 ASYNC when going to PLAYING if we still don't have preroll, as can
4339 happen with live sources.
4341 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4343 * docs/pwg/advanced-types.xml:
4344 Hack long paragraph into 2 chunks as a workaround for buggy
4345 jadetex version in sid and breezy that loops infinitely and
4348 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4350 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4351 (test_event), (timediff), (gstevents_suite):
4352 Provide more error margin in clock measurements to allow for
4353 g_get_current_time inaccuracies.
4355 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4357 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4358 (test_event), (timediff), (gstevents_suite):
4359 Fix error message output so I might be able to tell why the
4360 test works here but fails on the build farm.
4362 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4364 * check/Makefile.am:
4365 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4366 (test_event), (timediff), (gstevents_suite), (main):
4369 * docs/design/part-seeking.txt:
4372 * docs/gst/tmpl/gstevent.sgml:
4373 * docs/gst/tmpl/gstfakesrc.sgml:
4376 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4377 Treat a buffer-without-newsegment the same as a receiving
4378 a newsegment not in time format, and disable syncing to the clock
4381 * gst/gstbus.c: (gst_bus_set_sync_handler):
4382 Assert if anyone tries to replace the existing sync_handler for bus,
4383 as only the owner should be setting it.
4386 Have a fixed set of custom event enums with events identified by
4387 their structure name (as in 0.8), rather than a free-for-all
4388 allowing collisions between enum values from different plugins.
4390 * gst/gstpad.c: (gst_pad_class_init):
4393 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4394 Handle out-of-band downstream events from the sending thread.
4396 2005-08-17 Andy Wingo <wingo@pobox.com>
4398 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4399 play-timeout==0 to mean no timeout at all. In that case, don't
4400 bother with a get_state or a warning, just return directly, even
4403 * gst/base/gstbasetransform.c: Debug changes.
4406 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4407 ensure bins post state change messages. A bit of a hack but I can't
4408 think of a way to avoid it.
4410 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4412 2005-08-16 Andy Wingo <wingo@pobox.com>
4414 * gst/base/gstadapter.h:
4415 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4416 peek() but you own the data. Not terribly efficient atm.
4418 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4420 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4421 (gst_element_found_tags):
4423 Add two utility functions for tag handling.
4425 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4427 * docs/manual/advanced-dataaccess.xml:
4428 * docs/manual/basics-helloworld.xml:
4429 Fix docs to use _bin_add() before _link(), which fixes the examples
4430 with recent core versions (reported by Madhan Raj M
4431 <raj_madan@rediffmail.com>, #313199).
4433 2005-08-16 Wim Taymans <wim@fluendo.com>
4435 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4436 Added subtract checks.
4438 * docs/design/part-events.txt:
4439 Some more docs about newsegment
4441 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4444 * gst/gstcaps.c: (gst_caps_to_string):
4445 Add comments, cleanups.
4447 * gst/gstelement.c: (gst_element_save_thyself):
4450 * gst/gstvalue.c: (gst_value_collect_int_range),
4451 (gst_string_unwrap), (gst_value_union_int_int_range),
4452 (gst_value_union_int_range_int_range),
4453 (gst_value_intersect_int_int_range),
4454 (gst_value_intersect_int_range_int_range),
4455 (gst_value_intersect_double_double_range),
4456 (gst_value_intersect_double_range_double_range),
4457 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4458 (gst_value_subtract_int_range_int),
4459 (gst_value_subtract_double_range_double),
4460 (gst_value_subtract_double_range_double_range),
4461 (gst_value_subtract_from_list), (gst_value_subtract_list),
4462 (gst_value_can_compare), (gst_value_compare_fraction):
4463 Cleanups, add comments, remove unneeded asserts.
4465 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4467 * tools/gst-launch.c: (event_loop):
4468 don't convert NULL structures to strings
4470 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4472 * docs/gst/gstreamer-sections.txt:
4473 made some defines private
4474 * docs/gst/tmpl/gstconfig.sgml:
4475 * docs/gst/tmpl/gstqueue.sgml:
4476 * docs/gst/tmpl/gsttaglist.sgml:
4477 * docs/gst/tmpl/gsttypes.sgml:
4478 * docs/gst/tmpl/gstutils.sgml:
4479 * docs/pwg/appendix-porting.xml:
4480 * gst/base/gstbasesink.h:
4481 * gst/base/gstbasesrc.c:
4482 * gst/base/gstbasesrc.h:
4483 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4484 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4485 * gst/gstelement.c: (gst_element_class_init):
4486 * gst/gstpad.c: (gst_pad_class_init):
4487 * gst/gstqueue.c: (gst_queue_class_init):
4488 * gst/gstxml.c: (gst_xml_class_init):
4489 documented all undocumented signal inline
4490 * libs/gst/controller/gst-controller.h:
4493 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4495 * docs/pwg/appendix-porting.xml:
4496 Document _set_link_function -> _set_setcaps_function.
4498 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4500 * check/Makefile.am:
4501 add a .check target for running the check
4502 * check/gst-libs/controller.c: (GST_START_TEST):
4504 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4505 complete checks for gstbuffer; would be nice if I could get the
4506 gcov stuff to work so I can see if I actually completed gstbuffer.c
4508 add ASSERT_BUFFER_REFCOUNT
4510 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4512 * docs/gst/gstreamer-sections.txt:
4513 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4515 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4516 spew out a warning if a tag that is already registered
4517 is re-registered, unless it is re-registered with a
4518 different type (#308438).
4520 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4522 * docs/pwg/appendix-porting.xml:
4523 * docs/pwg/building-state.xml:
4524 Add some paragraphs about state changes in 0.9 to the PWG
4525 and the porting guide, in particular about the new meaning
4526 of GST_STATE_PAUSED and how to write state change functions
4527 with concurrent access by multiple threads in mind.
4529 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4531 * docs/gst/gstreamer-docs.sgml:
4532 * docs/libs/gstreamer-libs-docs.sgml:
4533 added deprecation and since indexes
4534 * libs/gst/controller/gst-controller.c:
4535 * libs/gst/controller/gst-helper.c:
4539 2005-08-11 Wim Taymans <wim@fluendo.com>
4541 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4542 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4543 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4544 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4545 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4546 (gst_ghost_pad_set_target):
4547 Actually implement (re)setting the target on a ghostpad
4548 as described in the docs.
4550 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4552 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4553 Check whether GST_DEBUG_NO_COLOR environment variable is
4554 set and disable coloured debug output if that is the case.
4556 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4558 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4559 (gst_type_find_helper):
4560 The memory returned by gst_type_find_peek() needs to
4561 stay valid until the end of a typefind function, and
4562 typefind functions may keep results from different
4563 offsets around, so we can't just unref the buffer from
4564 the previous _peek(), but have to save all buffers
4565 returned by _peek() until typefinding is done and only
4568 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4570 * docs/gst/gstreamer-sections.txt:
4572 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4574 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4576 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4577 Fix a pretty good memleak.
4579 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4581 * gst/gstiterator.h:
4582 Fix wrong include and 'make distcheck'.
4584 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4586 * gst/gstbin.c: (bin_bus_handler):
4587 Use gst_element_post_message() instead.
4589 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4591 * gst/base/gstadapter.h:
4592 * gst/base/gstbasesink.h:
4593 * gst/base/gstbasesrc.h:
4594 * gst/base/gstbasetransform.h:
4595 * gst/base/gstcollectpads.h:
4596 * gst/base/gstpushsrc.h:
4597 * gst/gstiterator.h:
4598 Add padding to our base elements' class and instance structs and
4599 to GstIterator (you will need to rebuild all plugins and apps!)
4601 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4603 * gst/gstbin.c: (bin_bus_handler):
4604 Make default message forwarding from child->bus to bin->bus
4605 threadsafe and make it not emit warnings if the parent has no bus.
4607 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4609 * gst/gstelement.c: (activate_pads):
4610 On paused->ready, set pad->caps to NULL, as is the documented
4611 behaviour in this state change. Fixes playback of series of
4612 media files when visualization is enabled in Totem.
4614 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4616 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4617 Allow NULL as filter-caps (which means "any").
4619 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4621 * docs/libs/gstreamer-libs-sections.txt:
4622 * libs/gst/controller/gst-controller.c:
4623 * libs/gst/controller/gst-controller.h:
4624 * libs/gst/controller/gst-helper.c:
4625 adding more entries to the docs and fix small doc-bugs
4627 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4629 * docs/gst/gstreamer-docs.sgml:
4630 * docs/gst/gstreamer-sections.txt:
4631 * docs/gst/gstreamer.types:
4632 * docs/gst/tmpl/gstbasesink.sgml:
4633 * docs/gst/tmpl/gstbasesrc.sgml:
4634 * docs/gst/tmpl/gstbasetransform.sgml:
4635 * docs/gst/tmpl/gstfakesrc.sgml:
4636 * gst/base/gstcollectpads.c:
4637 * gst/base/gstcollectpads.h:
4638 * libs/gst/controller/gst-controller.c:
4639 * libs/gst/controller/gst-controller.h:
4640 * libs/gst/controller/gst-helper.c:
4641 * libs/gst/controller/gst-interpolation.c:
4642 * libs/gst/controller/lib.c:
4643 added long/short desc for controller docs
4644 added collectpads base class docs
4645 added correct includes to base-class docs
4647 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4649 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4650 (gst_test_mono_source_set_property),
4651 (gst_test_mono_source_class_init), (GST_START_TEST),
4652 (gst_controller_suite):
4653 * docs/gst/gstreamer-docs.sgml:
4654 * docs/gst/gstreamer-sections.txt:
4655 * docs/gst/gstreamer.types:
4656 * docs/libs/gstreamer-libs-docs.sgml:
4657 * docs/libs/gstreamer-libs-sections.txt:
4658 * gst/base/gstadapter.c:
4659 * libs/gst/controller/gst-controller.c:
4660 (gst_controlled_property_new), (gst_controlled_property_free),
4661 (gst_controller_new_valist),
4662 (gst_controller_remove_properties_valist),
4663 (gst_controller_sink_values), (_gst_controller_finalize):
4664 * libs/gst/controller/gst-controller.h:
4665 * libs/gst/controller/gst-helper.c:
4666 (gst_object_control_properties), (gst_object_uncontrol_properties),
4667 (gst_object_get_controller), (gst_object_set_controller),
4668 (gst_object_sink_values), (gst_object_get_value_arrays),
4669 (gst_object_get_value_array):
4670 more tests (and fixes) for the controller
4671 more docs for the controller
4672 integrated companies docs for the adapter
4674 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4676 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4677 (GST_START_TEST), (fakesrc_suite):
4678 add tests for sizetype
4680 2005-08-04 Andy Wingo <wingo@pobox.com>
4682 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4683 fixes buffer_alloc proxying among other things.
4685 * gst/base/gstbasetransform.c:
4686 * gst/base/gstbasetransform.h:
4687 Revert patch to gstbasetransform from 7-28 removing
4690 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4691 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4692 Semantics changed, should return not the size of the output buffer
4693 but the byte size of a buffer with a given caps.
4695 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4697 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4698 out) are not the pad caps until setcaps finishes.
4699 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4700 not-in-place case as well. Deal with changing from in-place to
4701 not-in-place within calling pad_alloc_buffer. Still a bit
4702 concerned about the overhead here...
4704 2005-08-03 Andy Wingo <wingo@pobox.com>
4706 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4707 fixating is an error.
4709 2005-08-04 Edward Hervey <edward@fluendo.com>
4711 * gst/base/gstadapter.h:
4712 Added gst_adapter_get_type() to the header
4714 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4716 * check/Makefile.am:
4717 * check/gst-libs/controller.c:
4718 * libs/gst/controller/gst-controller.c:
4719 (gst_controller_new_valist):
4720 added check test suite for the controller
4721 * gst/base/gstpushsrc.c:
4724 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4726 * docs/gst/Makefile.am:
4727 * docs/gst/gstreamer-docs.sgml:
4728 * docs/gst/gstreamer-sections.txt:
4729 * docs/gst/gstreamer.types:
4730 * docs/gst/tmpl/gstfakesrc.sgml:
4732 * gst/base/gstbasesink.c:
4733 * gst/base/gstbasesink.h:
4734 * gst/base/gstbasesrc.c:
4735 * gst/base/gstbasesrc.h:
4736 * gst/base/gstbasetransform.c:
4737 * gst/base/gstpushsrc.c:
4738 * gst/base/gstpushsrc.h:
4739 add short/long description docs to base classes
4740 add pushsrc to the docs
4741 remove consolidated doc fragments
4743 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4746 * docs/libs/Makefile.am:
4747 * docs/libs/gstreamer-libs-docs.sgml:
4748 * docs/libs/gstreamer-libs-sections.txt:
4749 * docs/libs/gstreamer-libs.types:
4750 * examples/Makefile.am:
4751 * examples/controller/.cvsignore:
4752 * examples/controller/Makefile.am:
4753 * examples/controller/audio-example.c: (main):
4754 * libs/gst/Makefile.am:
4755 * libs/gst/controller/.cvsignore:
4756 * libs/gst/controller/Makefile.am:
4757 * libs/gst/controller/gst-controller.c:
4758 (on_object_controlled_property_changed), (gst_timed_value_compare),
4759 (gst_timed_value_find),
4760 (gst_controlled_property_set_interpolation_mode),
4761 (gst_controlled_property_new), (gst_controlled_property_free),
4762 (gst_controller_find_controlled_property),
4763 (gst_controller_new_valist), (gst_controller_new),
4764 (gst_controller_remove_properties_valist),
4765 (gst_controller_remove_properties), (gst_controller_set),
4766 (gst_controller_set_from_list), (gst_controller_unset),
4767 (gst_controller_get), (gst_controller_get_all),
4768 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4769 (gst_controller_get_value_array),
4770 (gst_controller_set_interpolation_mode),
4771 (_gst_controller_finalize), (_gst_controller_init),
4772 (_gst_controller_class_init), (gst_controller_get_type):
4773 * libs/gst/controller/gst-controller.h:
4774 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4775 (g_object_uncontrol_properties), (g_object_get_controller),
4776 (g_object_set_controller), (g_object_sink_values),
4777 (g_object_get_value_arrays), (g_object_get_value_array):
4778 * libs/gst/controller/gst-interpolation.c:
4779 (gst_controlled_property_find_timed_value_node),
4780 (interpolate_none_get), (interpolate_trigger_get),
4781 (interpolate_trigger_get_value_array):
4782 * libs/gst/controller/lib.c: (gst_controller_init):
4783 * pkgconfig/Makefile.am:
4784 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4785 * pkgconfig/gstreamer-control.pc.in:
4786 * testsuite/Makefile.am:
4787 * testsuite/controller/.cvsignore:
4788 * testsuite/controller/Makefile.am:
4789 * testsuite/controller/interpolator.c: (main):
4790 added controller code
4791 removed dparam pc files
4793 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4794 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4795 (gst_collectpads_stop):
4796 Broadcast the condition when shutting down, to make sure we wake all
4797 threads up. Shut down pads on finalize, for safety.
4799 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4800 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4801 (gst_base_transform_handle_buffer),
4802 (gst_base_transform_change_state):
4803 Handle PAUSED->READY->PAUSED transition after negotiation
4805 * gst/gstmessage.c: (gst_message_init):
4806 Extra piece of debug for new messages.
4808 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4811 * docs/gst/tmpl/gstbasesrc.sgml:
4812 * docs/gst/tmpl/gstelement.sgml:
4813 * docs/gst/tmpl/gstevent.sgml:
4814 * docs/gst/tmpl/gstfakesrc.sgml:
4815 * docs/gst/tmpl/gstformat.sgml:
4816 * docs/gst/tmpl/gstghostpad.sgml:
4817 * docs/gst/tmpl/gstpad.sgml:
4818 * docs/gst/tmpl/gstquery.sgml:
4819 * docs/gst/tmpl/gststructure.sgml:
4820 * docs/gst/tmpl/gsttaglist.sgml:
4821 * docs/gst/tmpl/gstvalue.sgml:
4822 * docs/libs/gstreamer-libs-docs.sgml:
4823 * docs/libs/gstreamer-libs-sections.txt:
4824 * docs/libs/gstreamer-libs.types:
4825 * libs/gst/Makefile.am:
4826 * libs/gst/control/.cvsignore:
4827 * libs/gst/control/Makefile.am:
4828 * libs/gst/control/control.c:
4829 * libs/gst/control/control.h:
4830 * libs/gst/control/dparam.c:
4831 * libs/gst/control/dparam.h:
4832 * libs/gst/control/dparam_smooth.c:
4833 * libs/gst/control/dparam_smooth.h:
4834 * libs/gst/control/dparamcommon.h:
4835 * libs/gst/control/dparammanager.c:
4836 * libs/gst/control/dparammanager.h:
4837 * libs/gst/control/dplinearinterp.c:
4838 * libs/gst/control/dplinearinterp.h:
4839 * libs/gst/control/unitconvert.c:
4840 * libs/gst/control/unitconvert.h:
4841 * testsuite/Makefile.am:
4842 * testsuite/dynparams/.cvsignore:
4843 * testsuite/dynparams/Makefile.am:
4844 * testsuite/dynparams/dparamstest.c:
4845 * tools/Makefile.am:
4846 * tools/gst-inspect.c: (print_element_info), (main):
4847 * tools/gst-xmlinspect.c: (print_element_info), (main):
4848 deactivate and remove dparams (libgstcontrol)
4850 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4852 * gst/elements/gsttypefindelement.c:
4853 (gst_type_find_element_have_type), (gst_type_find_element_init),
4854 (stop_typefinding), (gst_type_find_element_handle_event),
4855 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4856 * gst/elements/gsttypefindelement.h:
4857 Set caps on all outgoing buffers, not just the first one.
4859 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4861 * gst/elements/gsttypefindelement.c:
4862 (gst_type_find_element_have_type),
4863 (gst_type_find_element_check_set_buffer_caps),
4864 (gst_type_find_element_init), (stop_typefinding),
4865 (gst_type_find_element_handle_event),
4866 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4867 * gst/elements/gsttypefindelement.h:
4868 Set caps on first outgoing buffer when we've found the type.
4870 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4872 * docs/gst/gstreamer-docs.sgml:
4873 * docs/gst/gstreamer-sections.txt:
4874 * docs/gst/tmpl/gstscheduler.sgml:
4875 * docs/gst/tmpl/gstschedulerfactory.sgml:
4876 Remove some old cruft from docs.
4878 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
4881 Fix inline docs for GstPadLinkReturn.
4883 * gst/gststructure.c: (gst_structure_has_name):
4884 * gst/gststructure.h:
4885 * docs/gst/gstreamer-sections.txt:
4886 New API: gst_structure_has_name().
4888 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
4891 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4892 and _LARGEFILE_SOURCE in config.h as required. Do not
4893 export those flags in our .pc files any longer (#142209).
4895 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4897 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4898 (gst_file_sink_do_seek), (gst_file_sink_event),
4899 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4900 Redo seek/tell calls with large file support in mind; add some
4901 debugging messages; add log message that tells us when large
4902 file support is unavailable or not enabled for some reason.
4904 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4905 Add log message that tells us when large file support
4906 is unavailable or not enabled for some reason.
4908 2005-07-29 Wim Taymans <wim@fluendo.com>
4910 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4911 Added test for removing an element with ghostpad from a bin.
4912 Fixed test as current implementation does the right thing.
4914 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4915 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4916 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4917 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4918 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4919 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4920 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4921 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4922 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4923 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4924 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4925 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4926 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4927 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4928 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4929 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4930 * gst/gstghostpad.h:
4931 Clean up ghostpads, remove properties for internal stuff.
4934 Prepare for switching targets, not all use cases work yet.
4936 2005-07-29 Wim Taymans <wim@fluendo.com>
4938 * docs/design/part-gstghostpad.txt:
4941 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4942 (gst_bin_remove_func):
4943 Unlinking pads while holding the bin LOCK is not a good
4946 * gst/gstpad.c: (gst_pad_class_init),
4947 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4948 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4949 No prob setting template after creating the pad.
4951 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4953 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4954 (gst_bus_peek), (gst_bus_source_dispatch),
4955 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4956 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4957 gst_bus_poll may be called from other threads. Handle
4958 this nicely by not making poll_data disappear off the
4959 stack once gst_bus_poll returns.
4960 gst_bus_peek now increments the refcount on the returned
4963 2005-07-29 Wim Taymans <wim@fluendo.com>
4965 * docs/design/part-gstghostpad.txt:
4966 Overview of current GhostPad datastructures and use
4967 cases for changing the target.
4969 2005-07-28 Wim Taymans <wim@fluendo.com>
4971 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4972 Added checks for hierarchy consistency whan adding linked
4975 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4976 Added check to test element scheduling without bin/pipeline.
4978 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4979 First add elements to bin, then link.
4981 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4982 (gst_bin_remove_func):
4983 Unlink pads from elements added/removed from bin to maintain
4984 hierarchy consistency.
4986 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4988 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4989 (gst_base_transform_handle_buffer):
4990 * gst/base/gstbasetransform.h:
4991 Remove broken delay_configure (fixes renegotiation of software
4992 scaling pipelines); remove some leftover printf()s.
4994 2005-07-28 Wim Taymans <wim@fluendo.com>
4996 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4997 Added some more tests for wrong hierarchy
4999 * docs/design/part-overview.txt:
5002 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5005 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5006 (gst_element_dispose):
5009 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5010 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5011 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5012 (gst_pad_set_caps), (gst_pad_send_event):
5013 Check for correct hierarchy when linking pads. Moving to
5014 strict requirement for ghostpads when linking elements in
5018 Clean ups. Added WRONG_HIERARCHY return value.
5020 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5022 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5023 Better debug if no transform is possible.
5025 2005-07-27 Wim Taymans <wim@fluendo.com>
5027 * docs/random/wtay/network-transp:
5030 2005-07-27 Wim Taymans <wim@fluendo.com>
5032 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5033 (gst_dp_event_from_packet):
5034 Fix serialization of seek events.
5036 2005-07-27 Wim Taymans <wim@fluendo.com>
5038 * check/gst-libs/gdp.c: (GST_START_TEST):
5039 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5040 Fix compilation and fix event serialization.
5042 2005-07-27 Wim Taymans <wim@fluendo.com>
5045 * docs/design/part-TODO.txt:
5046 * docs/design/part-events.txt:
5049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5050 (gst_base_sink_event), (gst_base_sink_do_sync),
5051 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5052 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5053 (gst_base_src_do_seek), (gst_base_src_event_handler),
5054 (gst_base_src_loop):
5055 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5056 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5057 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5058 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5059 (gst_base_transform_set_passthrough),
5060 (gst_base_transform_is_passthrough):
5061 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5062 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5068 * gst/gstelement.c: (gst_element_seek):
5070 Update gst_element_seek.
5072 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5073 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5074 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5075 (gst_event_new_eos), (gst_event_new_newsegment),
5076 (gst_event_parse_newsegment), (gst_event_new_tag),
5077 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5078 (gst_event_parse_qos), (gst_event_new_seek),
5079 (gst_event_parse_seek), (gst_event_new_navigation):
5081 Make GstEvent use GstStructure. Add parsing code, make sure the
5082 API is sufficiently generic.
5083 Mark possible directions of events and serialization.
5085 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5086 (_gst_message_copy), (gst_message_new_segment_start),
5087 (gst_message_new_segment_done), (gst_message_new_custom),
5088 (gst_message_parse_segment_start),
5089 (gst_message_parse_segment_done):
5092 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5093 (gst_pad_set_caps), (gst_pad_send_event):
5094 Update for new events.
5095 Catch events sent in wrong directions.
5097 * gst/gstqueue.c: (gst_queue_link_src),
5098 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5099 (gst_queue_handle_src_query):
5104 Remove event code from this file.
5106 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5107 (gst_dp_event_from_packet):
5110 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5112 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5113 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5114 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5115 Make debugging actually useful.
5117 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5119 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5120 (gst_pad_fixate_caps):
5121 Implement default fixation once again, so that gst_pad_fixate()
5122 actually does anything at all. This probably needs to be some
5123 sort of a last resort, and use profile-based fixation first, but
5124 since that doesn't exist yet, this is the best we have. Fixes
5125 visualization in Totem.
5127 2005-07-22 Wim Taymans <wim@fluendo.com>
5129 * docs/design/part-events.txt:
5132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5133 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5134 (gst_base_sink_activate_pull):
5137 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5138 (gst_fake_src_create):
5139 Fix handoff marshall.
5141 * gst/elements/gstidentity.c: (gst_identity_class_init),
5142 (gst_identity_transform_ip):
5143 We're a real inplace element.
5145 * gst/gstbus.c: (gst_bus_post):
5146 Added some comments.
5148 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5149 * tests/muxing/case1.c: (main):
5150 * tests/sched/dynamic-pipeline.c: (main):
5151 * tests/sched/interrupt1.c: (main):
5152 * tests/sched/interrupt2.c: (main):
5153 * tests/sched/interrupt3.c: (main):
5154 * tests/sched/runxml.c: (main):
5155 * tests/sched/sched-stress.c: (main):
5156 * tests/seeking/seeking1.c: (event_received), (main):
5157 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5159 * tests/threadstate/threadstate3.c: (main):
5160 * tests/threadstate/threadstate4.c: (main):
5161 * tests/threadstate/threadstate5.c: (main):
5164 2005-07-21 Wim Taymans <wim@fluendo.com>
5166 * docs/design/part-seeking.txt:
5167 Some small additions.
5169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5170 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5171 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5172 * gst/base/gstbasesink.h:
5173 discont values are gint64, handle the math correctly.
5175 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5176 Make the basesrc report error if the source pad is not linked.
5178 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5179 (gst_queue_loop), (gst_queue_handle_src_query),
5180 (gst_queue_src_activate_push):
5181 Make queue collect data even if the srcpad is not linked.
5182 Start pushing out data as soon as it is linked.
5184 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5186 Added gst_flow_get_name() to ease error reporting.
5188 2005-07-20 Wim Taymans <wim@fluendo.com>
5190 * gst/gstmessage.c: (gst_message_new_segment_start),
5191 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5192 (gst_message_parse_segment_done):
5194 Added a bunch of messages for advanced seeking.
5196 * gst/parse/grammar.y:
5197 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5198 (gst_dpman_state_changed):
5199 Fix some new-pad -> pad-added signals
5201 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5203 * docs/manual/appendix-porting.xml:
5204 * docs/pwg/appendix-porting.xml:
5205 Document new-pad/state-change signal renames and the FixedList
5208 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5210 * docs/manual/advanced-autoplugging.xml:
5211 * docs/manual/basics-helloworld.xml:
5212 * docs/manual/basics-pads.xml:
5213 * docs/random/ds/0.9-suggested-changes:
5214 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5219 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5220 (gst_structure_parse_array), (gst_structure_parse_value):
5221 * gst/gstvalue.c: (gst_type_is_fixed),
5222 (gst_value_list_prepend_value), (gst_value_list_append_value),
5223 (gst_value_list_get_size), (gst_value_list_get_value),
5224 (gst_value_transform_array_string), (gst_value_serialize_array),
5225 (gst_value_deserialize_array), (gst_value_intersect_array),
5226 (gst_value_is_fixed), (_gst_value_initialize):
5228 GstElement::new-pad -> pad-added, GstElement::state-change ->
5229 state-changed, GstValueFixedList -> GstValueArray, add format and
5230 flags as their own arguments in gst_element_seek() (should improve
5231 "bindeability"), remove function generators since they don't work
5232 under a whole bunch of compilers (they were deprecated already
5235 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5237 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5238 (_gst_debug_register_funcptr):
5240 Fix illegal cast on some platforms (#309253).
5242 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5244 * gst/gstmessage.c: (gst_message_new_custom):
5246 Add _new_custom, make _new_application a macro to _new_custom.
5248 2005-07-20 Wim Taymans <wim@fluendo.com>
5250 * gst/base/gstbasesrc.c: (gst_base_src_init),
5251 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5252 * gst/base/gstbasesrc.h:
5253 Add a gboolean to decide when to push out a discont.
5255 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5256 (gst_queue_loop), (gst_queue_handle_src_query),
5257 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5258 (gst_queue_set_property), (gst_queue_get_property):
5261 * tests/threadstate/threadstate1.c: (main):
5262 Make a thread test compile and run... very silly..
5265 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5267 * docs/manual/appendix-porting.xml:
5268 Mention removal of libgstgconf-0.9.la and existence of gconf
5271 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5273 * docs/pwg/advanced-clock.xml:
5274 * docs/pwg/appendix-porting.xml:
5275 * docs/pwg/intro-preface.xml:
5276 * docs/pwg/other-base.xml:
5277 * docs/pwg/other-manager.xml:
5278 * docs/pwg/other-nton.xml:
5279 * docs/pwg/other-ntoone.xml:
5280 * docs/pwg/other-oneton.xml:
5282 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5283 demuxer), remove n-to-n (was never written), fix some code examples
5284 and links and update the porting section to include all this.
5286 2005-07-19 Wim Taymans <wim@fluendo.com>
5288 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5289 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5290 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5291 (gst_queue_src_activate_push), (gst_queue_change_state),
5292 (gst_queue_get_property):
5294 Propagate GstFlowReturn more intelligently upstream and output
5295 an ERROR/EOS when streaming stopped due to fatal error.
5297 2005-07-19 Wim Taymans <wim@fluendo.com>
5299 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5300 Don't block forever for the state change to complete, the
5301 pipeline already did with a sensible timeout.
5303 2005-07-19 Wim Taymans <wim@fluendo.com>
5305 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5306 Make sure we never call the create function is we
5309 2005-07-19 Andy Wingo <wingo@pobox.com>
5311 * gst/parse/parse.l: Attempt to solve bug #172815.
5313 2005-07-19 Wim Taymans <wim@fluendo.com>
5315 * docs/design/part-clocks.txt:
5316 * docs/design/part-events.txt:
5317 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5319 Only update the seeking values when we are not
5322 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5324 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5325 Oops, ignore the result of gst_pad_push_event here.
5327 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5329 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5330 (gst_base_src_activate_push):
5331 Send discont event from the loop function, as pads
5332 aren't activated yet in the activate_push handler.
5334 * gst/gstbin.c: (bin_bus_handler):
5335 Don't leak element name.
5337 2005-07-18 Andy Wingo <wingo@pobox.com>
5339 * configure.ac: Use AS_LIBTOOL_TAGS.
5341 2005-07-18 Wim Taymans <wim@fluendo.com>
5343 * docs/gst/gstreamer.types:
5344 Remove deleted types.
5346 2005-07-18 Wim Taymans <wim@fluendo.com>
5348 * check/elements/gstfakesrc.c: (GST_START_TEST):
5351 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5352 (init_popt_callback):
5354 * gst/gst_private.h:
5355 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5356 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5359 * gst/gstconfig.h.in:
5360 * gst/gstelement.c: (gst_element_class_init),
5361 (gst_element_set_base_time), (gst_element_get_base_time),
5362 (iterator_fold_with_resync), (gst_element_change_state),
5363 (gst_element_dispose), (gst_element_get_bus):
5365 * gst/gstelementfactory.h:
5366 * gst/gsterror.c: (_gst_core_errors_init):
5369 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5371 * gst/gstinfo.c: (_gst_debug_init):
5372 * gst/gstmessage.c: (_gst_message_copy):
5374 * gst/gstminiobject.h:
5377 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5378 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5381 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5382 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5383 (gst_pipeline_get_last_stream_time):
5384 * gst/gstpipeline.h:
5385 * gst/gstpluginfeature.h:
5387 * gst/gstscheduler.c:
5388 * gst/gstscheduler.h:
5389 * gst/gststructure.h:
5390 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5391 (gst_task_finalize), (gst_task_func), (gst_task_create),
5392 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5393 (gst_task_stop), (gst_task_pause):
5395 * gst/gsttypefind.h:
5397 * gst/registries/gstlibxmlregistry.c: (load_feature),
5398 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5399 * gst/registries/gstxmlregistry.c:
5400 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5401 * gst/schedulers/threadscheduler.c:
5402 * libs/gst/control/dparammanager.h:
5403 * tools/gst-inspect.c: (print_element_list),
5404 (print_plugin_features), (print_element_features):
5405 * tools/gst-xmlinspect.c: (print_element_list),
5406 (print_plugin_info), (main):
5407 Removed plugable schedulers.
5408 Removed Scheduler/Manager from elements.
5409 Removed gsttypes.h, rearranged includes.
5410 Removed dependency pad<->element, element<>pipeline, and
5411 various others, fix includes.
5412 implement gst_pad_get_parent() with gst_object_get_parent()
5413 Make GstTask sefcontained.
5414 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5416 Fix endless loop in iterator_fold_with_resync.
5419 2005-07-18 Wim Taymans <wim@fluendo.com>
5425 2005-07-18 Wim Taymans <wim@fluendo.com>
5430 2005-07-18 Wim Taymans <wim@fluendo.com>
5436 2005-07-18 Wim Taymans <wim@fluendo.com>
5438 * docs/design/part-dynamic.txt:
5439 * docs/design/part-events.txt:
5440 * docs/design/part-seeking.txt:
5441 Some more docs in the works.
5443 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5444 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5445 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5446 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5447 (gst_base_transform_handle_buffer),
5448 (gst_base_transform_sink_activate_push),
5449 (gst_base_transform_src_activate_pull),
5450 (gst_base_transform_set_passthrough),
5451 (gst_base_transform_is_passthrough):
5454 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5457 * gst/gstevent.c: (gst_event_finalize):
5460 * gst/gstutils.c: (gst_element_unlink),
5461 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5462 (gst_pad_proxy_setcaps):
5464 Add _get_parent_element() to get a pads parent as an element.
5466 2005-07-18 Wim Taymans <wim@fluendo.com>
5468 * check/gst/gstbin.c: (GST_START_TEST):
5471 2005-07-18 Wim Taymans <wim@fluendo.com>
5473 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5474 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5475 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5476 (gst_base_sink_event), (gst_base_sink_do_sync),
5477 (gst_base_sink_chain), (gst_base_sink_loop),
5478 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5479 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5481 Fix logic for returning ASYNC when not prerolled.
5483 2005-07-18 Wim Taymans <wim@fluendo.com>
5485 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5486 Fix nasty refcount bug.
5488 2005-07-16 Philippe Khalaf <burger@speedy.org>
5490 * gst/elements/gstfdsrc.c:
5491 * gst/elements/gstfdsrc.h:
5492 * gst/elements/gstelements.c:
5493 * gst/elements/Makefile.am:
5494 Ported fdsrc to 0.9.
5496 2005-07-16 Wim Taymans <wim@fluendo.com>
5498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5499 (gst_base_sink_do_sync):
5502 2005-07-16 Wim Taymans <wim@fluendo.com>
5504 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5505 (gst_base_sink_event), (gst_base_sink_get_times),
5506 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5507 * gst/base/gstbasesink.h:
5508 Store and use discont values when syncing buffers as described
5511 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5512 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5513 (gst_base_src_activate_push):
5514 Push discont event when starting.
5516 * gst/elements/gstidentity.c: (gst_identity_transform):
5519 * gst/gstbin.c: (gst_bin_change_state):
5520 Small cleanups in base_time distribution.
5522 * gst/gstelement.c: (gst_element_set_base_time),
5523 (gst_element_get_base_time), (gst_element_change_state):
5525 Added methods for the base_time of the element.
5528 * gst/gstpipeline.c: (gst_pipeline_send_event),
5529 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5530 (gst_pipeline_get_last_stream_time):
5531 * gst/gstpipeline.h:
5533 Handle seeking as described in design doc, remove stream_time
5535 Cleanups clock and stream_time selection code. Added accessors
5536 for the stream_time.
5539 2005-07-16 Andy Wingo <wingo@pobox.com>
5541 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5544 2005-07-16 Wim Taymans <wim@fluendo.com>
5546 * check/gst/gstbin.c: (GST_START_TEST):
5547 Make elements silent as the deep_notify refs the
5548 parent, which might make the test fail.
5550 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5551 Don't hold the lock for too long.
5553 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5555 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5556 Don't unref the caps we passed to gst_caps_make_writable() after
5557 passing them. gst_caps_make_writable() will do that for us.
5559 2005-07-15 Andy Wingo <wingo@pobox.com>
5561 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5564 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5565 own marshalling function for the handoff signal. Properly type the
5566 buffer as a buffer. Fixes some warnings. Should do a more general
5568 (gst_identity_class_init): Plug into the right marshaller.
5570 2005-07-15 Wim Taymans <wim@fluendo.com>
5572 * docs/design/part-TODO.txt:
5573 * docs/design/part-clocks.txt:
5574 * docs/design/part-element-sink.txt:
5575 * docs/design/part-events.txt:
5576 * docs/design/part-gstpipeline.txt:
5577 Updated docs, mostly DISCONT related.
5579 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5581 * docs/pwg/building-pads.xml:
5582 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5584 2005-07-15 Andy Wingo <wingo@pobox.com>
5586 * tools/gst-typefind.c: Update, add copyright block.
5588 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5589 Normalize and truncate caps before fixation.
5592 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5593 discards all but the first structure from its argument.
5595 2005-07-15 Wim Taymans <wim@fluendo.com>
5597 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5598 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5599 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5600 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5601 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5602 (gst_base_transform_chain), (gst_base_transform_change_state),
5603 (gst_base_transform_set_passthrough),
5604 (gst_base_transform_is_passthrough):
5605 * gst/base/gstbasetransform.h:
5606 Make passthrough work using the bufferpools.
5607 Changed API a bit, subclasses have to write into a buffer
5608 provided by the base class.
5609 More debug info in nego functions.
5611 * gst/elements/gstidentity.c: (gst_identity_init),
5612 (gst_identity_transform):
5613 Port to new base class.
5615 2005-07-15 Wim Taymans <wim@fluendo.com>
5617 * gst/gstmessage.c: (gst_message_new_state_changed):
5618 * tools/gst-launch.c: (event_loop), (main):
5619 Totally dump messages in -launch with the -m option.
5620 Fix message name for State messages,
5622 2005-07-14 Wim Taymans <wim@fluendo.com>
5624 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5625 Post error messages on errors.
5627 2005-07-14 Wim Taymans <wim@fluendo.com>
5629 * gst/gstcaps.c: (gst_caps_do_simplify):
5633 Define error for stream stopped.
5635 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5636 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5637 Do proper return values.
5639 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5640 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5641 (gst_pad_get_range):
5642 Better return values.
5645 Reorganise return values, add macro to check for fatal errors.
5647 * gst/gstqueue.c: (gst_queue_chain):
5648 Return proper GstFlowReturn values,
5650 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5652 * docs/gst/gstreamer-sections.txt:
5653 * docs/gst/gstreamer.types:
5654 * docs/gst/tmpl/gst.sgml:
5655 * docs/gst/tmpl/gstbasesink.sgml:
5656 * docs/gst/tmpl/gstbasesrc.sgml:
5657 * docs/gst/tmpl/gstbasetransform.sgml:
5658 * docs/gst/tmpl/gstbin.sgml:
5659 * docs/gst/tmpl/gstbuffer.sgml:
5660 * docs/gst/tmpl/gstcaps.sgml:
5661 * docs/gst/tmpl/gstclock.sgml:
5662 * docs/gst/tmpl/gstcompat.sgml:
5663 * docs/gst/tmpl/gstconfig.sgml:
5664 * docs/gst/tmpl/gstelement.sgml:
5665 * docs/gst/tmpl/gstelementdetails.sgml:
5666 * docs/gst/tmpl/gstelementfactory.sgml:
5667 * docs/gst/tmpl/gstenumtypes.sgml:
5668 * docs/gst/tmpl/gsterror.sgml:
5669 * docs/gst/tmpl/gstevent.sgml:
5670 * docs/gst/tmpl/gstfakesink.sgml:
5671 * docs/gst/tmpl/gstfakesrc.sgml:
5672 * docs/gst/tmpl/gstfilesink.sgml:
5673 * docs/gst/tmpl/gstfilesrc.sgml:
5674 * docs/gst/tmpl/gstfilter.sgml:
5675 * docs/gst/tmpl/gstformat.sgml:
5676 * docs/gst/tmpl/gstghostpad.sgml:
5677 * docs/gst/tmpl/gstimplementsinterface.sgml:
5678 * docs/gst/tmpl/gstindex.sgml:
5679 * docs/gst/tmpl/gstindexfactory.sgml:
5680 * docs/gst/tmpl/gstinfo.sgml:
5681 * docs/gst/tmpl/gstiterator.sgml:
5682 * docs/gst/tmpl/gstmacros.sgml:
5683 * docs/gst/tmpl/gstmemchunk.sgml:
5684 * docs/gst/tmpl/gstminiobject.sgml:
5685 * docs/gst/tmpl/gstobject.sgml:
5686 * docs/gst/tmpl/gstpad.sgml:
5687 * docs/gst/tmpl/gstpadtemplate.sgml:
5688 * docs/gst/tmpl/gstparse.sgml:
5689 * docs/gst/tmpl/gstpipeline.sgml:
5690 * docs/gst/tmpl/gstplugin.sgml:
5691 * docs/gst/tmpl/gstpluginfeature.sgml:
5692 * docs/gst/tmpl/gstquery.sgml:
5693 * docs/gst/tmpl/gstqueue.sgml:
5694 * docs/gst/tmpl/gstregistry.sgml:
5695 * docs/gst/tmpl/gstregistrypool.sgml:
5696 * docs/gst/tmpl/gstscheduler.sgml:
5697 * docs/gst/tmpl/gstschedulerfactory.sgml:
5698 * docs/gst/tmpl/gststructure.sgml:
5699 * docs/gst/tmpl/gstsystemclock.sgml:
5700 * docs/gst/tmpl/gsttaglist.sgml:
5701 * docs/gst/tmpl/gsttagsetter.sgml:
5702 * docs/gst/tmpl/gsttrace.sgml:
5703 * docs/gst/tmpl/gsttrashstack.sgml:
5704 * docs/gst/tmpl/gsttypefind.sgml:
5705 * docs/gst/tmpl/gsttypefindfactory.sgml:
5706 * docs/gst/tmpl/gsttypes.sgml:
5707 * docs/gst/tmpl/gsturihandler.sgml:
5708 * docs/gst/tmpl/gsturitype.sgml:
5709 * docs/gst/tmpl/gstutils.sgml:
5710 * docs/gst/tmpl/gstvalue.sgml:
5711 * docs/gst/tmpl/gstversion.sgml:
5712 * docs/gst/tmpl/gstxml.sgml:
5713 * docs/libs/tmpl/gstcontrol.sgml:
5714 * docs/libs/tmpl/gstdataprotocol.sgml:
5715 * docs/libs/tmpl/gstdparam.sgml:
5716 * docs/libs/tmpl/gstdplinint.sgml:
5717 * docs/libs/tmpl/gstdpman.sgml:
5718 * docs/libs/tmpl/gstdpsmooth.sgml:
5719 * docs/libs/tmpl/gstgetbits.sgml:
5720 * docs/libs/tmpl/gstunitconvert.sgml:
5721 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5722 (gst_push_src_base_init), (gst_push_src_class_init),
5723 (gst_push_src_init), (gst_push_src_create):
5724 * gst/base/gstpushsrc.h:
5725 * gst/elements/gstelements.c:
5726 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5727 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5728 (gst_fake_sink_init), (gst_fake_sink_set_property),
5729 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5730 (gst_fake_sink_event), (gst_fake_sink_preroll),
5731 (gst_fake_sink_render), (gst_fake_sink_change_state):
5732 * gst/elements/gstfakesink.h:
5733 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5734 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5735 (gst_fake_src_base_init), (gst_fake_src_class_init),
5736 (gst_fake_src_init), (gst_fake_src_event_handler),
5737 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5738 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5739 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5740 (gst_fake_src_create_buffer), (gst_fake_src_create),
5741 (gst_fake_src_start), (gst_fake_src_stop):
5742 * gst/elements/gstfakesrc.h:
5743 * gst/elements/gstfilesink.c: (_do_init),
5744 (gst_file_sink_base_init), (gst_file_sink_class_init),
5745 (gst_file_sink_init), (gst_file_sink_dispose),
5746 (gst_file_sink_set_location), (gst_file_sink_set_property),
5747 (gst_file_sink_get_property), (gst_file_sink_open_file),
5748 (gst_file_sink_close_file), (gst_file_sink_query),
5749 (gst_file_sink_event), (gst_file_sink_render),
5750 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5751 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5752 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5753 * gst/elements/gstfilesink.h:
5754 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5755 (gst_file_src_class_init), (gst_file_src_init),
5756 (gst_file_src_finalize), (gst_file_src_set_location),
5757 (gst_file_src_set_property), (gst_file_src_get_property),
5758 (gst_file_src_map_region), (gst_file_src_map_small_region),
5759 (gst_file_src_create_mmap), (gst_file_src_create_read),
5760 (gst_file_src_create), (gst_file_src_is_seekable),
5761 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5762 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5763 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5764 (gst_file_src_uri_handler_init):
5765 * gst/elements/gstfilesrc.h:
5766 more autistic cleanliness in functions/names/defines
5768 2005-07-13 Andy Wingo <wingo@pobox.com>
5770 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5771 source couldn't negotiate.
5773 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5777 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5778 function. I am channeling Hades. Put your boots on suckers!!!
5780 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5782 * testsuite/caps/Makefile.am:
5783 * testsuite/caps/value_compare.c:
5784 * testsuite/caps/value_intersect.c:
5785 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5786 move two testsuite apps over to the check dir
5788 2005-07-12 Wim Taymans <wim@fluendo.com>
5790 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5791 Added more debug info in the negotiate process.
5794 Prepare for segment playback.
5796 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5802 * tools/gst-launch.c: (main):
5803 NULL pipeline on errors.
5805 2005-07-12 Andy Wingo <wingo@pobox.com>
5807 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5808 not it comes from a malloc region. Make sure our copy gets freed.
5810 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5812 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5813 * check/gst/gstmessage.c: (GST_START_TEST):
5814 * check/gst/gststructure.c: (GST_START_TEST),
5815 (gst_structure_suite), (main):
5817 * gst/gstelement.c: (gst_element_message_full):
5818 clean up GError and debug string now that they get copied
5819 * gst/gstmessage.c: (gst_message_new_error),
5820 (gst_message_new_warning), (gst_message_parse_error),
5821 (gst_message_parse_warning):
5822 use GST_TYPE_G_ERROR for structure_new, and take copies of
5823 arguments, so that we don't mess up refcounting
5825 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5827 * check/Makefile.am:
5828 add per-test valgrind targets
5829 * check/gst-libs/gdp.c: (GST_START_TEST),
5830 (gst_data_protocol_suite), (main):
5833 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5835 * check/Makefile.am:
5836 instate more valgrindable tests
5837 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5838 (GST_START_TEST), (fakesrc_suite):
5839 * check/gst/gstpad.c: (GST_START_TEST):
5840 * check/gst/gststructure.c: (GST_START_TEST):
5842 * docs/gst/tmpl/gstminiobject.sgml:
5843 * gst/gstpad.c: (gst_pad_finalize):
5844 fix the static mutex leak
5846 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5848 * check/Makefile.am:
5849 add two more tests for valgrinding
5850 * check/gst/gstvalue.c: (GST_START_TEST):
5851 test refcount of deserialized buffer, found a leak
5852 * docs/gst/gstreamer-docs.sgml:
5853 * docs/gst/gstreamer-sections.txt:
5854 * docs/gst/gstreamer.types:
5855 * docs/gst/tmpl/gstminiobject.sgml:
5856 add miniobject to docs
5857 * gst/gstminiobject.c:
5859 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5860 (gst_string_unwrap):
5861 fix a hard-to-find invalid write for one of the tests
5862 fix a leak for deserialized buffers
5864 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5866 * docs/pwg/advanced-events.xml:
5867 * docs/pwg/advanced-request.xml:
5868 * docs/pwg/advanced-scheduling.xml:
5869 * docs/pwg/appendix-porting.xml:
5870 * docs/pwg/building-boiler.xml:
5871 * docs/pwg/intro-preface.xml:
5872 * docs/pwg/other-ntoone.xml:
5873 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5874 of example code and explanation for pad activation, loop() and
5875 getrange() functions and a bit more. Remove old comments pointing
5877 * examples/pwg/Makefile.am:
5878 Add loop/getrange examples.
5880 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5883 check for valgrind binary + some fixes
5885 valgrind suppressions for the tests
5886 * check/Makefile.am:
5887 add a valgrind: target that valgrinds the unit tests
5888 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5889 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5890 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5891 * check/gst/gstghostpad.c:
5893 * check/gst/gstdata.c:
5895 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5896 (thread_unref), (gst_mini_object_suite), (main):
5898 * gst/gst.c: (gst_deinit):
5900 add a method to clean up.
5901 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5902 (gst_system_clock_obtain):
5903 allow for disposing the system clock.
5904 * tools/gst-launch.c: (main):
5907 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5909 * docs/gst/tmpl/gstbasesrc.sgml:
5910 * docs/gst/tmpl/gstfakesrc.sgml:
5911 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5912 (gst_base_src_init), (gst_base_src_set_property),
5913 (gst_base_src_get_property), (gst_base_src_get_range),
5914 (gst_base_src_start):
5915 * gst/base/gstbasesrc.h:
5916 add num-buffers property
5917 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5918 (gst_fakesrc_init), (gst_fakesrc_set_property),
5919 (gst_fakesrc_get_property), (gst_fakesrc_create),
5920 (gst_fakesrc_start):
5921 remove num-buffers property
5923 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5925 * docs/gst/gstreamer-sections.txt:
5926 * docs/gst/tmpl/gstbasesink.sgml:
5927 * docs/gst/tmpl/gstbasesrc.sgml:
5928 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5929 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5930 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5931 (gst_base_sink_set_property), (gst_base_sink_get_property),
5932 (gst_base_sink_handle_object), (gst_base_sink_event),
5933 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5934 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5935 (gst_base_sink_loop), (gst_base_sink_deactivate),
5936 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5937 (gst_base_sink_change_state):
5938 * gst/base/gstbasesink.h:
5939 * gst/base/gstbasesrc.h:
5940 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5941 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5942 (gst_filesink_init):
5943 more macro splitting
5945 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5947 * gst/gstelement.c: (gst_element_get_bus):
5949 * tools/gst-launch.c: (check_intr), (event_loop):
5952 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5954 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5957 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5959 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5960 (gst_base_src_finalize):
5961 add finalize method and clean up properly
5962 * gst/gstpipeline.c: (gst_pipeline_dispose):
5965 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5967 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5969 add more things to check
5970 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5974 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5976 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5977 (GST_START_TEST), (fakesrc_suite):
5978 * check/gst-libs/gdp.c: (GST_START_TEST):
5979 * check/gst/gst.c: (GST_START_TEST):
5980 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5981 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5982 * check/gst/gstbus.c: (GST_START_TEST):
5983 * check/gst/gstcaps.c: (GST_START_TEST):
5984 * check/gst/gstdata.c: (GST_START_TEST):
5985 * check/gst/gstelement.c: (GST_START_TEST):
5986 * check/gst/gstghostpad.c: (GST_START_TEST):
5987 * check/gst/gstiterator.c: (GST_START_TEST):
5988 * check/gst/gstmessage.c: (GST_START_TEST):
5989 * check/gst/gstobject.c: (GST_START_TEST):
5990 * check/gst/gstpad.c: (GST_START_TEST):
5991 * check/gst/gststructure.c: (GST_START_TEST):
5992 * check/gst/gstsystemclock.c: (GST_START_TEST),
5993 (gst_systemclock_suite):
5994 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5995 * check/gst/gstvalue.c: (GST_START_TEST):
5996 * check/pipelines/cleanup.c: (GST_START_TEST):
5997 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5998 * check/states/sinks.c: (GST_START_TEST):
5999 * check/gstcheck.c: (gst_check_init):
6001 add debugging category
6002 use GST_START_TEST now, so we add a debug line
6004 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6006 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6007 add test for state change message on a bin
6008 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6010 * gst/gstbin.c: (gst_bin_init):
6011 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6012 * gst/gstelement.c: (gst_element_post_message),
6013 (gst_element_set_state):
6014 * gst/gstelementfactory.c: (gst_element_factory_create):
6015 * gst/gstmessage.c: (gst_message_new):
6016 * gst/gstscheduler.c:
6017 various debugging additions and cleanups
6019 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6021 * check/Makefile.am:
6022 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6024 adding tests for elements
6025 * gst/gstelement.c: (gst_element_dispose):
6027 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6029 * gst/registries/gstlibxmlregistry.c: (load_feature):
6030 plug more leaks. A simple gst_init() now is leakfree, yay.
6032 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6034 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6035 (gst_xml_registry_load):
6036 plug another memleak
6038 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6041 use GST_SET_ERROR_CFLAGS
6043 change to ERROR_CFLAGS
6045 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6048 make GST_ERROR_CFLAGS overridable and re-enable Werror
6050 add a note about error CFLAGS
6051 * docs/gst/tmpl/gstfakesrc.sgml:
6052 * gst/elements/gstfakesrc.c:
6053 comment out some unused code
6054 * gst/gst.c: (split_and_iterate):
6055 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6059 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6061 * common/Makefile.am:
6062 * common/gtk-doc.mak:
6063 * docs/gst/Makefile.am:
6064 factor out gtk-doc.mak
6066 2005-07-07 Wim Taymans <wim@fluendo.com>
6068 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6069 (gst_thread_scheduler_dispose):
6070 Unlock the STREAM_LOCK completely.
6072 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6074 * check/Makefile.am:
6075 * check/elements/.cvsignore:
6076 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6077 (START_TEST), (fakesrc_suite), (main):
6078 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6079 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6080 (gst_fakesrc_create), (gst_fakesrc_start):
6081 * gst/elements/gstfakesrc.h:
6082 adding a first element test
6084 2005-07-07 Andy Wingo <wingo@pobox.com>
6086 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6089 2005-07-07 Wim Taymans <wim@fluendo.com>
6095 2005-07-07 Wim Taymans <wim@fluendo.com>
6097 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6098 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6099 Allow subclasses to implement their own negotiation.
6101 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6103 * docs/design/part-gstbin.txt:
6104 * docs/design/part-gstpipeline.txt:
6105 Update design notes to reflect the movement of
6106 responsibility for bus handling from GstPipeline to
6109 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6112 Remove unnecessary queue2/3/4 examples.
6114 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6116 * examples/Makefile.am:
6117 * examples/helloworld/helloworld.c: (event_loop), (main):
6118 * examples/queue/queue.c: (event_loop), (main):
6119 * examples/queue2/queue2.c: (main):
6120 Update a couple of the examples to work again.
6122 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6123 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6124 Spelling corrections and extra debug.
6126 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6127 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6128 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6130 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6131 (gst_pipeline_change_state):
6132 * gst/gstpipeline.h:
6133 Move the bus handler for children to the GstBin, and create a
6134 separate bus for receiving messages from children to the one the
6135 bus sends 'upwards' on.
6137 2005-07-06 Wim Taymans <wim@fluendo.com>
6140 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6141 (gst_base_sink_handle_object), (gst_base_sink_loop),
6142 (gst_base_sink_change_state):
6143 * gst/base/gstbasesink.h:
6144 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6145 (gst_base_src_init), (gst_base_src_setcaps),
6146 (gst_base_src_getcaps), (gst_base_src_loop),
6147 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6148 (gst_base_src_start), (gst_base_src_change_state):
6149 * gst/base/gstbasesrc.h:
6150 Make basesrc negotiate.
6151 Handle the case where preroll fails in basesink.
6154 2005-07-06 Wim Taymans <wim@fluendo.com>
6156 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6157 Implement the fixate function.
6158 Clean up acceptcaps.
6160 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6162 * docs/pwg/building-filterfactory.xml:
6164 Remove never-written filter-factory chapter; I'll add the various
6165 base classes to part 4 ("other element types") later on.
6167 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6169 * docs/pwg/advanced-negotiation.xml:
6170 * docs/pwg/building-boiler.xml:
6171 * docs/pwg/building-pads.xml:
6173 * examples/pwg/Makefile.am:
6174 Add a chapter on caps negotiation, simplify the original code
6175 samples a bit w.r.t. caps negotiation, add link to the advanced
6176 section. Add a bunch of examples showing different use cases of
6177 different types of caps negotiation. Upstream renegotiation isn't
6178 fully documented yet since nobody knows how that works.
6180 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6182 * check/gst/gstpad.c:
6184 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6185 if pad has no parent, return NULL as list of internal links
6187 2005-07-05 Andy Wingo <wingo@pobox.com>
6189 * gst/elements/gstfilesrc.c:
6190 * gst/elements/gstfakesrc.c:
6191 * gst/base/gstpushsrc.c:
6192 * gst/base/gstbasesrc.h:
6193 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6195 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6198 better report generation target (lcov needs a patch)
6200 2005-07-05 Andy Wingo <wingo@pobox.com>
6202 * gst/elements, testsuite: Null if we got it...
6204 2005-07-05 Wim Taymans <wim@fluendo.com>
6207 * libs/gst/dataprotocol/Makefile.am:
6208 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6209 * libs/gst/dataprotocol/dataprotocol.h:
6210 * pkgconfig/Makefile.am:
6211 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6212 * pkgconfig/gstreamer-dataprotocol.pc.in:
6213 Ported dataprotol to 0.9.
6214 Added pkgconfig files.
6216 2005-07-05 Andy Wingo <wingo@pobox.com>
6218 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6219 Default to returning TRUE for the case when tranform_caps returns
6220 a fixed caps, like for identity or volume.
6222 * check/gst/gstbus.c (pound_bus_with_messages):
6223 * check/gst/gstmessage.c (START_TEST):
6224 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6227 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6228 logic weaks here: always run transform_caps, trying passthrough
6229 operation only if the original caps intersects with the transform.
6231 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6232 source and sink caps.
6234 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6235 Intersect the peer caps with the pad template before going into
6237 (gst_base_transform_transform_caps): More debugging.
6239 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6242 2005-07-04 Edward Hervey <edward@fluendo.com>
6246 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6249 2005-07-04 Andy Wingo <wingo@pobox.com>
6251 * check/gst/gstpad.c: Only set explicit caps on pads.
6253 2005-07-01 Andy Wingo <wingo@pobox.com>
6255 * tests/network-clock.scm: Commentary update.
6257 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6258 Didn't really make sense, not implementable with basetransform,
6260 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6261 attempt at implementing the sync property, needs an unlock method.
6263 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6264 New func, by default returns the same caps (the identity
6266 (gst_base_transform_getcaps): Uses transform_caps to return
6268 (gst_base_transform_setcaps): Complicated logic to get caps on
6269 both pads, even if they are different, and to call set_caps once
6270 for every time both pads get their caps set.
6271 (gst_base_transform_handle_buffer): Give the ref to the transform
6272 function. Allows in-place modification of the buffer.
6274 * gst/base/gstbasetransform.h (transform_caps): New class method.
6275 Given caps on one side, what can I do on the other.
6276 (set_caps): Take two caps, one for each side of the element.
6279 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6280 caps in place. This is safe because we can check the mutability of
6281 the caps, and a good idea because fixate functions are just called
6282 as a matter of last resort. (Not actually implemented.)
6283 (gst_pad_set_caps): If the caps we're setting is actually the same
6284 as the existing pad caps, just update the pointer without calling
6285 setcaps. Assert that caps is either NULL or fixed, as per the
6288 * gst/gstghostpad.c: Update for fixate changes.
6290 2005-07-02 Andy Wingo <wingo@pobox.com>
6293 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6294 two refcounts makes it immutable, which is enough. Doc more.
6296 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6298 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6299 Put the mini_object into GValue as a mini_object,
6300 not a gpointer, since that's how we declared
6303 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6305 * examples/pwg/Makefile.am:
6308 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6310 * docs/pwg/building-testapp.xml:
6312 * examples/pwg/Makefile.am:
6315 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6318 * examples/Makefile.am:
6319 * examples/pwg/Makefile.am:
6320 * examples/pwg/extract.pl:
6321 Enable building the PWG examples.
6322 * docs/pwg/advanced-interfaces.xml:
6323 Add URI interface stub.
6324 * docs/pwg/advanced-types.xml:
6325 * docs/pwg/other-autoplugger.xml:
6326 * docs/pwg/appendix-porting.xml:
6328 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6329 * docs/pwg/building-boiler.xml:
6330 * docs/pwg/building-chainfn.xml:
6331 * docs/pwg/building-pads.xml:
6332 * docs/pwg/building-props.xml:
6333 * docs/pwg/building-state.xml:
6334 * docs/pwg/building-testapp.xml:
6335 Update the building-*.xml parts for 0.9 changes. All examples
6336 code blocks compile in examples/pwg/*.
6338 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6340 * docs/manual/advanced-autoplugging.xml:
6341 * docs/manual/appendix-checklist.xml:
6342 * docs/manual/appendix-integration.xml:
6343 * docs/manual/highlevel-components.xml:
6344 Fix playbin/decodebin examples, update docs a bit, mention bus
6345 instead of signals in various places, mention kmplayer and
6346 kaffeine since they have a working GStreamer backend in the KDE
6349 2005-06-30 Wim Taymans <wim@fluendo.com>
6352 * docs/design/draft-ghostpads.txt:
6353 * docs/design/draft-push-pull.txt:
6354 * docs/design/draft-query.txt:
6355 * docs/design/part-TODO.txt:
6356 * docs/design/part-query.txt:
6357 Added CHANGES-0.9 doc, updated status of other docs.
6362 2005-06-30 Wim Taymans <wim@fluendo.com>
6364 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6365 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6366 (gst_base_sink_change_state):
6367 * gst/base/gstbasesink.h:
6368 Some tweaks, only EOS and a buffer complete a preroll.
6370 2005-06-30 Andy Wingo <wingo@pobox.com>
6372 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6373 activate_push down to the internal pad as well.
6375 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6377 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6379 * gst/gsttaginterface.c:
6380 Some documentation fixes (#307394 and #307397).
6382 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6384 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6386 * gst/gstvalue.c: (gst_value_intersect_list):
6387 Fix memleak (#309125).
6389 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6391 * docs/manual/advanced-dataaccess.xml:
6392 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6393 * docs/manual/basics-pads.xml:
6394 Add reference for filtered caps to above chapter.
6396 2005-06-30 Wim Taymans <wim@fluendo.com>
6398 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6399 (gst_bin_change_state):
6401 Lame attempt at making the state change function a bit
6404 2005-06-30 Wim Taymans <wim@fluendo.com>
6406 * docs/design/part-clocks.txt:
6407 * docs/design/part-element-sink.txt:
6408 * docs/design/part-events.txt:
6409 * docs/design/part-preroll.txt:
6410 * docs/design/part-states.txt:
6411 Some more tweeks and additions to the docs.
6413 2005-06-30 Wim Taymans <wim@fluendo.com>
6415 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6416 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6417 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6418 (gst_pad_check_pull_range), (gst_pad_get_range),
6419 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6421 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6422 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6423 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6424 (gst_pad_remove_buffer_probe):
6425 Removed atomic operations, use existing LOCK.
6426 Move exception handling out of main code path.
6428 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6430 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6431 (silly_return_true_function), (gst_pad_class_init),
6432 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6433 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6434 (gst_pad_send_event):
6435 Fix accumulator, add default value by using _emitv() instead
6436 of _emit() for signal emission.
6438 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6440 * docs/manual/advanced-dataaccess.xml:
6441 * examples/manual/Makefile.am:
6443 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6446 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6448 * gst/elements/gstfilesink.c: (gst_filesink_render):
6449 Simplify code so that we don't have to handle short
6450 writes and return GST_FLOW_ERROR if an error occured.
6452 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6454 * docs/gst/gstreamer-docs.sgml:
6457 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6459 * docs/gst/gstreamer-sections.txt:
6460 * docs/gst/tmpl/gstpad.sgml:
6461 * docs/gst/tmpl/gstprobe.sgml:
6463 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6464 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6465 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6466 (gst_pad_push_event), (gst_pad_send_event):
6468 * gst/gstutils.c: (gst_pad_add_data_probe),
6469 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6470 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6471 (gst_pad_remove_buffer_probe):
6473 Remove old probes, add new g-signal-based probes and some utility
6476 2005-06-29 Edward Hervey <edward@fluendo.com>
6478 * gst/gstelementfactory.c:
6481 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6482 the definition to the header file.
6484 2005-06-29 Andy Wingo <wingo@pobox.com>
6486 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6487 plugins from the source directory.
6489 2005-06-29 Wim Taymans <wim@fluendo.com>
6491 * docs/gst/tmpl/gstbuffer.sgml:
6492 * docs/gst/tmpl/gstclock.sgml:
6493 Some fixings for blantently wrong text.
6495 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6497 * check/Makefile.am:
6498 * gst/gst.c: (add_path_func), (init_pre):
6499 * gst/gstregistry.c: (gst_registry_add_path):
6500 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6501 only scan the GST_PLUGIN_PATH locations, and not add
6504 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6506 * docs/gst/gstreamer-sections.txt:
6507 * docs/gst/tmpl/gstbasesrc.sgml:
6514 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6516 * docs/manual/advanced-autoplugging.xml:
6517 Fix autoplugging example.
6519 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6521 * docs/manual/advanced-autoplugging.xml:
6522 * docs/manual/mime-world.fig:
6523 Try to get autoplugging working, fix type detection. Fix text
6524 in hello-world image.
6526 2005-06-29 Wim Taymans <wim@fluendo.com>
6528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6529 (gst_base_sink_change_state):
6533 map SIGNAL and BROADCAST to the right function.
6536 Remove redundant braces.
6538 * gst/gstpad.c: (gst_pad_set_caps):
6539 Don't call setcaps function when reseting caps to NULL.
6541 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6542 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6543 (gst_system_clock_id_unschedule):
6544 Use BROADCAST as this is what we do.
6546 2005-06-29 Wim Taymans <wim@fluendo.com>
6548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6549 We are actually prerolling before commiting the state
6552 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6554 * docs/manual/advanced-clocks.xml:
6555 * docs/manual/advanced-interfaces.xml:
6556 * docs/manual/advanced-metadata.xml:
6557 * docs/manual/advanced-position.xml:
6558 * docs/manual/advanced-schedulers.xml:
6559 * docs/manual/advanced-threads.xml:
6560 * docs/manual/appendix-porting.xml:
6561 * docs/manual/basics-bins.xml:
6562 * docs/manual/basics-bus.xml:
6563 * docs/manual/basics-elements.xml:
6564 * docs/manual/basics-helloworld.xml:
6565 * docs/manual/basics-pads.xml:
6566 * docs/manual/highlevel-components.xml:
6567 * docs/manual/manual.xml:
6568 * docs/manual/thread.fig:
6569 Update (until threads/scheduling) Application Development Manual;
6570 remove GstThread, add GstBus, add simple porting checklist, add
6571 documentation for tag writing, clocks, make all examples until this
6572 part compile and run.
6573 * examples/manual/Makefile.am:
6574 Update from changes to Application Development Manual; add bus
6575 example, remove thread example.
6577 2005-06-28 Wim Taymans <wim@fluendo.com>
6579 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6580 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6581 (gst_bus_source_dispatch):
6582 Add debugging messages.
6583 Make internal methods static.
6584 Handle the case where the bus is flushed in the handler.
6586 * gst/gstelement.c: (gst_element_get_bus):
6587 Fix refcount in _get_bus();
6589 * gst/gstpipeline.c: (gst_pipeline_change_state),
6590 (gst_pipeline_get_clock_func):
6591 Clock refcounting fixes.
6592 Handle the case where preroll timed out more gracefully.
6594 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6595 Clean up the internal thread in dispose. This is needed
6596 for subclasses that actually get disposed.
6598 * gst/schedulers/threadscheduler.c:
6599 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6600 (gst_thread_scheduler_dispose):
6601 Free thread pool in dispose.
6603 2005-06-28 Andy Wingo <wingo@pobox.com>
6605 * tests/network-clock-utils.scm (debug, print-event): New utils.
6607 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6608 (*packet-loss*): Unified loss probability.
6609 (network-time): Report out-of-band events.
6611 * tests/plot-data: Add support for out-of-band events. Hack it
6612 into this script instead of passing it down the pipe; should fix
6615 2005-06-28 Wim Taymans <wim@fluendo.com>
6617 * docs/gst/gstreamer.types:
6618 * docs/gst/tmpl/gstbasesrc.sgml:
6619 * docs/gst/tmpl/gstpad.sgml:
6622 2005-06-28 Wim Taymans <wim@fluendo.com>
6624 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6625 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6626 (gst_proxy_pad_do_fixatecaps):
6627 Correctly proxy the check_pull_range function.
6629 2005-06-28 Andy Wingo <wingo@pobox.com>
6631 * tests/network-clock.scm: Removed need for slib.
6633 2005-06-28 Wim Taymans <wim@fluendo.com>
6635 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6636 (gst_basesink_preroll_queue_flush):
6637 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6638 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6639 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6640 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6641 (gst_proxy_pad_set_property):
6644 * gst/gstqueue.c: (gst_queue_init):
6645 The deprecated pad loop function is removed now.
6647 2005-06-28 Andy Wingo <wingo@pobox.com>
6649 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6650 New parameters, simulate network packet loss.
6652 * tests/network-clock-utils.scm: Initialize the RNG.
6654 2005-06-28 Wim Taymans <wim@fluendo.com>
6656 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6657 (gst_basesink_event), (gst_basesink_deactivate):
6658 Flushing the preroll queue always needs to unlock the waiters.
6660 2005-06-28 Edward Hervey <edward@fluendo.com>
6662 * gst/gstpipeline.c: (gst_pipeline_send_event):
6663 Wheen a seek was successful on a pipeline, set the stream_time to the
6664 seek offset in order to have a synchronized stream_time.
6666 2005-06-28 Wim Taymans <wim@fluendo.com>
6668 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6669 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6670 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6671 (gst_proxy_pad_do_fixatecaps):
6672 Call wrapper function instead of just calling the function
6673 pointers. This takes care of any locking and whatmore.
6675 2005-06-28 Wim Taymans <wim@fluendo.com>
6677 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6678 (gst_pad_pull_range):
6680 CONNECTED -> LINKED.
6682 2005-06-28 Andy Wingo <wingo@pobox.com>
6684 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6685 source-munging commit!!!
6687 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6688 (gst_object_sink): Take gpointer arguments, not GstObject --
6689 avoids casts. Like GLib.
6691 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6694 2005-06-27 Andy Wingo <wingo@pobox.com>
6696 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6699 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6700 returns a sorted copy of the trace list.
6701 (gst_alloc_trace_print_live): New API, only prints traces with
6702 live objects. Sort the list.
6703 (gst_alloc_trace_print_all): Sort the list.
6704 (gst_alloc_trace_print): Align columns.
6706 * gst/elements/gstttypefindelement.c:
6707 * gst/elements/gsttee.c:
6708 * gst/base/gstbasesrc.c:
6709 * gst/base/gstbasesink.c:
6710 * gst/base/gstbasetransform.c:
6711 * gst/gstqueue.c: Adapt for pad activation changes.
6713 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6715 (gst_pipeline_dispose): Drop ref on sched.
6717 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6718 (gst_pad_activate_default): Push mode by default.
6719 (pre_activate_switch, post_activate_switch): New stubs, things to
6720 do before and after switching activation modes on pads.
6721 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6722 the pad's activate function to choose which mode to activate.
6723 Shortcut on deactivation and call the right function directly.
6724 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6726 (gst_pad_activate_push): New API, same for push mode.
6727 (gst_pad_set_activate_function)
6728 (gst_pad_set_activatepull_function)
6729 (gst_pad_set_activatepush_function): Setters for new API.
6731 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6732 Trace all miniobjects.
6733 (gst_mini_object_make_writable): Unref the arg if we copy, like
6734 gst_caps_make_writable.
6736 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6738 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6739 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6740 Adapt for new pad API.
6742 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6745 * gst/gstelement.c (gst_element_iterate_src_pads)
6746 (gst_element_iterate_sink_pads): New API functions.
6748 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6749 should fold into gstiterator.c in some form.
6750 (gst_element_pads_activate): Simplified via use of fold and
6751 delegation of decisions to gstpad->activate.
6753 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6756 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6757 class once in init, like gstmessage. Didn't run into this issue
6758 but it seems correct. Don't initialize a trace, gstminiobject does
6761 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6762 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6764 (assert_live_count): New util function, uses alloc traces to check
6767 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6768 To be modified when unlink drops the internal pad.
6770 2005-06-27 Wim Taymans <wim@fluendo.com>
6772 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6773 (gst_bin_change_state):
6774 Cleanup the get_state() function a little, make sure it
6775 iterates the same set of elements.
6776 Added stub iterate_state_order().
6778 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6780 * docs/gst/gstreamer-docs.sgml:
6781 * docs/gst/gstreamer-sections.txt:
6782 * docs/gst/gstreamer.types:
6783 * docs/gst/tmpl/gstbasesink.sgml:
6784 * docs/gst/tmpl/gstbasesrc.sgml:
6785 * docs/gst/tmpl/gstbasetransform.sgml:
6786 * docs/gst/tmpl/gstelement.sgml:
6787 * docs/gst/tmpl/gstiterator.sgml:
6788 * gst/base/gstbasesrc.c:
6789 * gst/base/gstbasesrc.h:
6790 * gst/base/gstbasetransform.h:
6792 * gst/gstiterator.h:
6793 adding basetransform and iterator docs
6795 2005-06-27 Andy Wingo <wingo@pobox.com>
6797 * docs/design/part-activation.txt: Notes on how activation should
6798 work -- not quite implemented yet.
6800 2005-06-25 Wim Taymans <wim@fluendo.com>
6802 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6803 At least get the chain function correct, needs more
6806 2005-06-25 Wim Taymans <wim@fluendo.com>
6808 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6809 (gst_basesink_handle_object), (gst_basesink_event),
6810 (gst_basesink_do_sync), (gst_basesink_handle_event),
6811 (gst_basesink_change_state):
6813 Right, two problems here: ghostpads don't take locks and
6814 glib _rec_mutex_lock_full() with depth==0 still locks.
6815 Catch illegal locking and g_warn them.
6817 2005-06-25 Wim Taymans <wim@fluendo.com>
6819 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6820 Have to check for completion now...
6822 2005-06-25 Wim Taymans <wim@fluendo.com>
6824 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6825 (gst_basesink_handle_object), (gst_basesink_event),
6826 (gst_basesink_do_sync), (gst_basesink_handle_event),
6827 (gst_basesink_change_state):
6829 Unlock STREAM_LOCK whatever the recursion was.
6831 2005-06-25 Wim Taymans <wim@fluendo.com>
6833 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6834 (gst_basesink_preroll_queue_empty),
6835 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6836 (gst_basesink_event), (gst_basesink_do_sync),
6837 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6838 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6839 (gst_basesink_change_state):
6840 Reworked the base sink, handle event and buffer serialisation
6841 correctly and removed possible deadlock.
6842 Handle EOS correctly.
6844 2005-06-25 Wim Taymans <wim@fluendo.com>
6846 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6847 (gst_pipeline_change_state):
6848 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6849 Allow elements to post EOS in the state change function.
6850 Fix up -launch, make it exit the poll loop when the
6851 pipeline actually changed state.
6852 Fix up warning parsing in -launch.
6854 2005-06-25 Wim Taymans <wim@fluendo.com>
6856 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6857 (gst_tee_sink_activate):
6858 Core takes STREAM_LOCK for us now.
6860 2005-06-25 Wim Taymans <wim@fluendo.com>
6862 * gst/gstelement.c: (gst_element_get_state_func),
6863 (gst_element_set_state):
6865 * gst/gstmessage.c: (gst_message_parse_error),
6866 (gst_message_parse_warning):
6867 Keep track of current target state while performing a state
6868 change so that subclasses can do something interesting.
6869 Fix parsing of warning/error messages when GError is NULL.
6871 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6873 * docs/gst/Makefile.am:
6874 * docs/gst/gstreamer-docs.sgml:
6875 * docs/gst/gstreamer-sections.txt:
6876 * docs/gst/gstreamer.types:
6877 * docs/gst/tmpl/gstbasesink.sgml:
6878 * docs/gst/tmpl/gstbasesrc.sgml:
6879 * docs/gst/tmpl/gstbin.sgml:
6880 * docs/gst/tmpl/gstcompat.sgml:
6881 * docs/gst/tmpl/gstfakesink.sgml:
6882 * docs/gst/tmpl/gstfakesrc.sgml:
6883 * docs/gst/tmpl/gstfilesink.sgml:
6884 * docs/gst/tmpl/gstfilesrc.sgml:
6885 * docs/gst/tmpl/gstindex.sgml:
6886 * docs/manual/appendix-quotes.xml:
6887 * gst/base/gstbasesrc.h:
6888 * gst/elements/gstfakesrc.h:
6890 start pulling in base classes and elements in our docs
6892 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6894 * docs/gst/Makefile.am:
6895 * docs/libs/Makefile.am:
6896 fixed make distcheck with gtk-doc 1.3
6898 2005-06-23 Wim Taymans <wim@fluendo.com>
6900 * gst/gstelement.c: (gst_element_get_state_func),
6901 (gst_element_set_state), (gst_element_change_state):
6902 When the state did not change, also report NO_PREROLL
6905 2005-06-23 Wim Taymans <wim@fluendo.com>
6907 * gst/gstpad.c: (gst_pad_event_default):
6908 * gst/gstqueue.c: (gst_queue_loop):
6909 No unsafe task pausing please.
6911 2005-06-23 Wim Taymans <wim@fluendo.com>
6913 * gst/schedulers/threadscheduler.c:
6914 (gst_thread_scheduler_task_start),
6915 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6916 Ref the task before pushing it on the threadpool. This
6917 makes sure that we have a ref when the threadfunction is
6920 2005-06-23 Andy Wingo <wingo@pobox.com>
6922 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6923 offset is greater than the file's size.
6925 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6926 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6927 * gst/gstobject.c (gst_object_class_init): Make the class lock
6928 recursive. Wim won't let me drop deep_notify. Decodebin works
6931 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6932 internal pad, and hacks accordingly. Doesn't do it on the target
6933 pad because we change its caps. Probably catches all cases of
6935 (gst_ghost_pad_set_property): Connect to notify::caps as
6938 * tests/network-clock.scm (plot-simulation): Pipe data to the
6939 elite python skript.
6941 * tests/network-clock-utils.scm (define-parameter): New macro,
6942 defines a parameter that can be set via the command line.
6943 (set-parameter!, parse-parameter-arguments): Command line args
6946 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6949 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6951 * gst/elements/gsttypefindelement.c:
6952 (gst_type_find_element_handle_event):
6953 Don't restart typefinding on a discont.
6954 * gst/gstelement.c: (gst_element_set_state):
6956 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6957 Allow changing mode of an active pad.
6959 * gst/registries/gstlibxmlregistry.c: (load_feature):
6960 Don't cast a static pad template to a normal pad template.
6962 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6964 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6965 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6966 remove gst_strtoll completely, since it didn't actually do
6967 anything more than what g_ascii_strtoull already does.
6968 check for range errors when deserializing
6969 do a cast for the unsigned cases; but further fixing needs
6970 a decision on what the interpretation of "(int)" and
6971 deserialization should be for values that fall outside the
6972 type's boundaries (ie, refuse, or interpret as casting)
6974 2005-06-23 Wim Taymans <wim@fluendo.com>
6976 * check/Makefile.am:
6977 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6978 * docs/design/part-live-source.txt:
6979 * docs/design/part-states.txt:
6980 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6981 (gst_basesrc_set_live), (gst_basesrc_is_live),
6982 (gst_basesrc_get_range), (gst_basesrc_activate),
6983 (gst_basesrc_change_state):
6984 * gst/base/gstbasesrc.h:
6985 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6986 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6987 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6988 * gst/gstelement.c: (gst_element_get_state_func),
6989 (gst_element_set_state):
6992 * tools/gst-launch.c: (event_loop), (main):
6993 Added support for live sources and other elements that
6995 Updated design docs, added live-source design doc.
6996 Implemented live source functionality in basesrc
6997 Fix error condition in _bin_get_state()
6998 Implement live source handling in -launch.
6999 Added check for live sources.
7000 Fixed case in GstBin where elements were changed state
7004 2005-06-23 Andy Wingo <wingo@pobox.com>
7006 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7009 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7010 gst_caps_replace takes care of this for us.
7012 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7013 gst_pad_set_caps on the target, not just its setcaps() function.
7015 * tests/network-clock.scm:
7016 * tests/network-clock-utils.scm: A network clock simulator.
7017 Something of an algorithmic testbed before doing something in C.
7019 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7021 * check/Makefile.am:
7022 * check/gst/capslist.h:
7023 copy over from 0.8, and add two with bitmasks specified with
7025 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7026 add test to parse everything from capslist.h
7027 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7029 add test for structure deserialization
7030 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7031 add tests for deserialization of strings to int types
7032 * gst/gststructure.c: (gst_structure_nth_field_name):
7033 * gst/gststructure.h:
7034 add a way to get the name of a field referenced by index
7035 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7036 instead of checking if the resulting long long lies between
7037 min and max, we check if the long long would fit into
7038 a number of bytes for the final type.
7039 This fixes cases where a string represents 2^32 - 1, which
7040 when cast to int would be the (valid) -1, but is bigger than
7043 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7045 * gst/parse/grammar.y:
7046 add a log line for type deserialization
7048 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * check/gst/gstvalue.c: (START_TEST):
7051 * gst/gstvalue.c: (gst_value_deserialize):
7052 return long long, not int, so gint64 deserialization actually
7053 works. Is there any flag that makes the compiler check this ?
7056 2005-06-22 Wim Taymans <wim@fluendo.com>
7059 Added convenience macros for setting buffers in GValue.
7061 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7063 * check/gst/.cvsignore:
7064 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7065 add a test deserializing int64, and comment part out because
7068 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7070 * check/Makefile.am:
7071 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7072 * testsuite/Makefile.am:
7073 * testsuite/caps/Makefile.am:
7074 * testsuite/caps/value_serialize.c:
7075 * testsuite/test_gst_init.c:
7076 move a value_serialize test over
7078 2005-06-20 Wim Taymans <wim@fluendo.com>
7083 * gst/gstvalue.c: (gst_value_compare_buffer),
7084 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7085 (gst_value_compare_flags), (gst_value_serialize_flags),
7086 (gst_value_deserialize_flags), (_gst_value_initialize):
7087 Fix serialisation of buffers, they are not boxed types anymore
7089 2005-06-20 Wim Taymans <wim@fluendo.com>
7091 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7092 Testcase to show error in buffer-on-caps serialisation.
7094 2005-06-20 Andy Wingo <wingo@pobox.com>
7096 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7097 will be adding to later.
7099 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7100 if its socks fill with rocks.
7101 (gst_system_clock_obtain): Set the name on object construction.
7102 Avoid double-checked locking.
7104 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7106 * gst/gsturi.c: (gst_element_make_from_uri):
7107 Fix potential endless loop.
7109 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7111 * check/Makefile.am:
7113 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7115 move over from testsuite dir and clean up
7118 * testsuite/Makefile.am:
7119 * testsuite/tags/.cvsignore:
7120 * testsuite/tags/Makefile.am:
7121 * testsuite/tags/merge.c:
7122 remove testsuite/tags
7124 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7126 * docs/gst/gstreamer-sections.txt:
7127 * docs/gst/tmpl/gstenumtypes.sgml:
7128 * win32/gstenumtypes.c:
7129 clean up documentation build a little
7131 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7134 add macros for checking refcounts on objects and caps
7135 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7136 add some more unit tests
7137 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7138 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7139 fix leaked refcounts (I hope :)) so unittest works
7143 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7145 * configure.ac: back to HEAD
7147 === release 0.9.1 ===
7149 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7155 2005-06-17 Andy Wingo <wingo@pobox.com>
7157 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7158 assert; it's always possible that the pad gets deactivated in
7159 between the checks in gstpad.c and the implementation. Rely on
7160 finish_preroll() to return a FLUSHING or similar instead of on the
7163 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7164 clock and post an EOS message if we come out of finish_preroll in
7167 2005-06-16 David Schleef <ds@schleef.org>
7169 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7170 (gst_capsfilter_set_property): Allow NULL as possible value
7171 for filter_caps property, indicating GST_CAPS_ANY.
7173 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7175 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7177 * gst/schedulers/Makefile.am:
7179 * gstreamer.spec.in:
7182 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7184 * gstreamer.spec.in:
7187 2005-06-08 Andy Wingo <wingo@pobox.com>
7189 * gst/gstutils.c: RPAD fixes all around.
7190 (gst_element_link_pads): Refcounting fixes.
7192 * tools/gst-inspect.c:
7193 * tools/gst-xmlinspect.c:
7195 * gst/base/gsttypefindhelper.c:
7196 * gst/base/gstbasesink.c:
7197 * gst/gstqueue.c: RPAD fixes.
7199 * gst/gstghostpad.h:
7200 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7201 pads. The tricky thing is they provide both source and sink
7202 interfaces, since they proxy the internal pad for the external
7203 pad, and vice versa. Implement with lower-level ProxyPad objects,
7204 with the interior proxy pad as a child of the exterior ghost pad.
7205 Should write a doc on this.
7207 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7208 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7211 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7212 pads are real pads. No ghost pads in this file. Not documenting
7213 the myriad s/RPAD/PAD/ and REALIZE fixes.
7214 (gst_pad_class_init): Add properties for "direction" and
7215 "template". Both are construct-only, so they can't change during
7216 the life of the pad. Fixes properly deriving from GstPad.
7217 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7218 derived objects, just set properties when creating the objects via
7220 (gst_pad_get_parent): Implement as a function, return NULL if the
7221 parent is not an element.
7222 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7223 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7225 * gst/gstobject.c (gst_object_class_init): Make name a construct
7226 property. Don't set it in the object init.
7228 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7229 with UNKNOWN direction.
7230 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7231 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7232 (gst_element_remove_pad): Remove ghost-pad special cases.
7233 (gst_element_pads_activate): Remove rpad cruft.
7235 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7236 catch the pad's-parent-not-an-element case.
7238 * gst/gst.h: Include gstghostpad.h.
7240 * gst/gst.c (init_post): No more real, ghost pads.
7242 * gst/Makefile.am: Add gstghostpad.[ch].
7244 * check/Makefile.am:
7245 * check/gst/gstbin.c:
7246 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7247 into a bin creates ghost pads, and that the refcounts are right.
7248 Partly moved from gstbin.c.
7250 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7252 * check/gst-libs/.cvsignore:
7253 * check/gst/.cvsignore:
7254 * check/pipelines/.cvsignore:
7256 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7257 (START_TEST), (cleanup_suite), (main):
7258 add some tests related to cleanup after running pipelines
7260 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7262 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7263 add a testsuite for GstBuffer
7265 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7267 * gst/gstminiobject.h:
7268 add defines for accessing the refcount
7270 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7272 * Makefile.am: added support for html unit test coverage reports
7274 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7276 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7277 Free existing caps if the capsfilter changes. Add a FIXME about
7278 setting those caps on the pads.
7280 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7281 Before adding a ghost pad to a parent bin, check that there isn't
7282 already one for the element on the bin. Prevents infinite recursion
7283 when using decodebin in parse pipelines. Andy says he'll rewrite the
7284 way this works anyway, so ignore the hack.
7286 2005-06-02 Andy Wingo <wingo@pobox.com>
7288 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7289 file size, pass it on to the type find helper.
7291 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7292 segment_start and segment_end properly according to the seek
7293 method. Segment_end is still a bit flaky because offset can be
7294 negative for CUR and END cases, but it takes -1 as an "unset"
7297 2005-06-02 Wim Taymans <wim@fluendo.com>
7299 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7300 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7301 (gst_basesink_activate):
7302 * gst/base/gstbasesink.h:
7303 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7304 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7305 (gst_pad_query), (gst_pad_start_task):
7307 * gst/gstqueue.c: (gst_queue_bufferalloc),
7308 (gst_queue_handle_sink_event), (gst_queue_chain):
7309 Bufferalloc: return GstFlowReturn to more accuratly report
7310 why allocation failed.
7312 2005-06-02 Wim Taymans <wim@fluendo.com>
7314 * gst/gstpipeline.c: (gst_pipeline_send_event):
7315 Take snapshot of state without blocking.
7317 2005-06-02 Wim Taymans <wim@fluendo.com>
7319 * docs/design/part-TODO.txt:
7320 * docs/design/part-caps.txt:
7321 * docs/design/part-clocks.txt:
7322 * docs/design/part-negotiation.txt:
7323 * docs/design/part-preroll.txt:
7326 2005-05-30 Wim Taymans <wim@fluendo.com>
7328 * gst/elements/gstidentity.c: (gst_identity_event),
7329 (gst_identity_transform), (gst_identity_get_property):
7330 Protect last_message property as it is accessed from
7333 2005-05-30 Wim Taymans <wim@fluendo.com>
7335 * gst/gstelement.c: (gst_element_init),
7336 (gst_element_pads_activate), (gst_element_change_state):
7337 Slicker pad activation code.
7339 2005-05-30 Wim Taymans <wim@fluendo.com>
7343 * gst/gstelementfactory.h:
7345 Move elementfactory methods to separate .h file.
7347 2005-05-30 Wim Taymans <wim@fluendo.com>
7349 * docs/design/part-overview.txt:
7350 * gst/gstsystemclock.h:
7351 Small typo fixes, doc updates.
7353 2005-05-30 Wim Taymans <wim@fluendo.com>
7355 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7356 (init_popt_callback):
7357 Remove cpu-opt flag.
7359 2005-05-30 Wim Taymans <wim@fluendo.com>
7361 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7362 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7364 Avoid typechecking in places where not needed.
7365 Added accessor for malloc_data.
7367 2005-05-30 Wim Taymans <wim@fluendo.com>
7369 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7370 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7371 (gst_pad_configure_sink), (gst_pad_configure_src),
7372 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7373 (gst_pad_start_task):
7374 Propagate errors from _set_caps() in configure_src/sink
7375 functions instead of returning TRUE.
7376 FLUSH events can travel up and downstream
7379 2005-05-30 Wim Taymans <wim@fluendo.com>
7381 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7382 (gst_basesink_activate):
7383 Handle EOS in preroll.
7385 2005-05-30 Wim Taymans <wim@fluendo.com>
7387 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7388 (gst_queue_loop), (gst_queue_handle_src_event):
7389 Remove old pieces of code
7390 Flushing the queue in an upstream event is a very bad idea.
7392 2005-05-26 Andy Wingo <wingo@pobox.com>
7394 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7395 gst_value_set_mini_object so as to add a ref on the object (which
7396 will be removed when the value is unset).
7398 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7399 arg type in ::handoff.
7401 * gst/gstelement.c (gst_element_change_state): Also deactivate
7402 pads in READY->NULL, just in case the element didn't make it to
7403 PAUSED. Wingo tested, Wim approved.
7405 2005-05-26 Wim Taymans <wim@fluendo.com>
7407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7408 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7409 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7410 A flushing pad cannot be used to alloc_buffer from.
7412 2005-05-26 Wim Taymans <wim@fluendo.com>
7414 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7415 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7416 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7417 (gst_bus_create_watch), (gst_bus_add_watch_full):
7419 Implement a real GSource and use g_main_context_wakeup() to
7420 signal new messages instead of the socketpair.
7422 2005-05-25 Wim Taymans <wim@fluendo.com>
7424 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7425 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7426 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7427 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7428 (gst_pad_send_event), (gst_pad_start_task):
7429 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7430 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7431 (gst_queue_sink_activate), (gst_queue_src_activate),
7432 (gst_queue_change_state):
7434 Fix state changes for non sinks. We now change sinks, then elements
7435 with unconnected srcpads, then the rest.
7436 More efficient queue unlocking in flush and state changes.
7437 Set the pad activate mode even if it does not have an activate
7440 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7442 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7443 Don't go in pull mode for non-seekable sources.
7444 * gst/elements/gsttypefindelement.h:
7445 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7446 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7447 (free_entry), (stop_typefinding),
7448 (gst_type_find_element_handle_event), (find_peek),
7449 (gst_type_find_element_chain), (do_pull_typefind),
7450 (gst_type_find_element_change_state):
7451 Allow typefinding (w/o seeking) in push-mode, simplified version
7453 * gst/gstutils.c: (gst_buffer_join):
7455 gst_buffer_join() from 0.8.
7457 2005-05-25 Wim Taymans <wim@fluendo.com>
7459 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7460 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7461 (gst_pad_send_event), (gst_pad_start_task):
7462 Disable attempt at mode switching until it is figured out.
7464 2005-05-25 Wim Taymans <wim@fluendo.com>
7466 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7467 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7468 (gst_basesink_finish_preroll), (gst_basesink_chain),
7469 (gst_basesink_loop), (gst_basesink_activate),
7470 (gst_basesink_change_state):
7471 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7472 (gst_basesrc_get_range), (gst_basesrc_loop),
7473 (gst_basesrc_activate):
7474 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7475 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7476 (gst_real_pad_init), (gst_real_pad_set_property),
7477 (gst_real_pad_get_property), (gst_pad_set_active),
7478 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7479 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7480 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7481 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7482 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7483 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7484 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7485 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7486 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7487 (gst_pad_stop_task):
7489 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7490 (gst_queue_loop), (gst_queue_src_activate):
7491 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7492 (gst_task_get_state):
7494 * gst/schedulers/threadscheduler.c:
7495 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7496 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7498 Remove ACTIVE pad flag, use FLUSHING everywhere
7499 Added _pad_chain(), _pad_get_range() to call chain/getrange
7501 Add locks around IS_FLUSHING when reading.
7502 Take STREAM lock in chain(), get_range() functions so plugins
7503 don't need to take it anymore.
7507 2005-05-25 Wim Taymans <wim@fluendo.com>
7509 * tools/gst-launch.c: (event_loop):
7510 Unref message after using its contents instead of
7513 2005-05-24 Wim Taymans <wim@fluendo.com>
7515 * docs/design/draft-ghostpads.txt:
7516 * docs/design/draft-push-pull.txt:
7517 * docs/design/draft-query.txt:
7518 * docs/design/part-overview.txt:
7519 Docs updates, added general overview doc.
7521 2005-05-21 David Schleef <ds@schleef.org>
7523 * docs/gst/tmpl/old/GstBin.sgml:
7524 * docs/gst/tmpl/old/GstBuffer.sgml:
7525 * docs/gst/tmpl/old/GstCaps.sgml:
7526 * docs/gst/tmpl/old/GstClock.sgml:
7527 * docs/gst/tmpl/old/GstCompat.sgml:
7528 * docs/gst/tmpl/old/GstData.sgml:
7529 * docs/gst/tmpl/old/GstElement.sgml:
7530 * docs/gst/tmpl/old/GstEvent.sgml:
7531 * docs/gst/tmpl/old/GstIndex.sgml:
7532 * docs/gst/tmpl/old/GstStructure.sgml:
7533 * docs/gst/tmpl/old/GstTag.sgml:
7534 * docs/gst/tmpl/old/cothreads.sgml:
7535 * docs/gst/tmpl/old/cothreads_compat.sgml:
7536 * docs/gst/tmpl/old/gettext.sgml:
7537 * docs/gst/tmpl/old/gobject2gtk.sgml:
7538 * docs/gst/tmpl/old/grammar.tab.sgml:
7539 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7540 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7541 * docs/gst/tmpl/old/gst_private.sgml:
7542 * docs/gst/tmpl/old/gstaggregator.sgml:
7543 * docs/gst/tmpl/old/gstarch.sgml:
7544 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7545 * docs/gst/tmpl/old/gstbufferstore.sgml:
7546 * docs/gst/tmpl/old/gstdata_private.sgml:
7547 * docs/gst/tmpl/old/gstdisksink.sgml:
7548 * docs/gst/tmpl/old/gstdisksrc.sgml:
7549 * docs/gst/tmpl/old/gstelementfactory.sgml:
7550 * docs/gst/tmpl/old/gstextratypes.sgml:
7551 * docs/gst/tmpl/old/gstfakesink.sgml:
7552 * docs/gst/tmpl/old/gstfakesrc.sgml:
7553 * docs/gst/tmpl/old/gstfdsink.sgml:
7554 * docs/gst/tmpl/old/gstfdsrc.sgml:
7555 * docs/gst/tmpl/old/gstfilesink.sgml:
7556 * docs/gst/tmpl/old/gstfilesrc.sgml:
7557 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7558 * docs/gst/tmpl/old/gstidentity.sgml:
7559 * docs/gst/tmpl/old/gstindexfactory.sgml:
7560 * docs/gst/tmpl/old/gstmarshal.sgml:
7561 * docs/gst/tmpl/old/gstmd5sink.sgml:
7562 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7563 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7564 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7565 * docs/gst/tmpl/old/gstpipefilter.sgml:
7566 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7567 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7568 * docs/gst/tmpl/old/gstshaper.sgml:
7569 * docs/gst/tmpl/old/gstspider.sgml:
7570 * docs/gst/tmpl/old/gstspideridentity.sgml:
7571 * docs/gst/tmpl/old/gststatistics.sgml:
7572 * docs/gst/tmpl/old/gsttee.sgml:
7573 * docs/gst/tmpl/old/gsttimecache.sgml:
7574 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7575 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7576 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7577 * docs/gst/tmpl/old/types.sgml:
7578 I didn't intend to add these or check them in.
7580 2005-05-19 David Schleef <ds@schleef.org>
7582 * configure.ac: Use -no-common everywhere. In a sane world, it
7583 would be the default in libtool, because without it, you can't
7584 build DLLs on Windows.
7585 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7586 * docs/gst/gstreamer-sections.txt:
7587 * docs/gst/tmpl/gstcpu.sgml:
7588 * docs/gst/tmpl/gstdata.sgml:
7589 * docs/gst/tmpl/gstthread.sgml:
7591 2005-05-19 David Schleef <ds@schleef.org>
7593 * gst/gstminiobject.c: (gst_value_set_mini_object),
7594 (gst_value_take_mini_object), (gst_value_get_mini_object):
7595 * gst/gstminiobject.h: Add GValue set/get functions.
7597 2005-05-19 Wim Taymans <wim@fluendo.com>
7599 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7600 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7601 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7603 * gst/gstbus.c: (gst_bus_post):
7604 * gst/gstelement.c: (gst_element_get_random_pad):
7605 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7606 Make subbufer unref the parent in finalize.
7607 some more debugging info.
7610 2005-05-19 Wim Taymans <wim@fluendo.com>
7612 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7613 (gst_basesink_init), (gst_basesink_finalize),
7614 (gst_basesink_activate), (gst_basesink_change_state):
7615 Don't free preroll queue too early.
7617 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7621 Hi, I'm outdated. Please shoot me.
7623 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7625 * gst/gstpipeline.c: (gst_pipeline_send_event):
7626 Do not access variables after they have been deleted.
7628 2005-05-19 Wim Taymans <wim@fluendo.com>
7630 * tools/gst-inspect.c: (print_plugin_features):
7631 A plugin feature does unfortunatly not use the
7634 2005-05-18 Wim Taymans <wim@fluendo.com>
7636 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7637 Port _span() functions to new subbuffers.
7639 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7641 * gst/gstbin.c: (gst_bin_add_func):
7642 Fix clock settery in bins when adding kids after the clock has
7645 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7647 * gst/elements/gstidentity.c: (gst_identity_class_init):
7648 Workaround until signals support GstMiniObject.
7650 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7653 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7655 2005-05-18 Wim Taymans <wim@fluendo.com>
7657 * gst/base/Makefile.am:
7658 * gst/base/gstadapter.c: (gst_adapter_base_init),
7659 (gst_adapter_class_init), (gst_adapter_init),
7660 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7661 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7662 (gst_adapter_flush), (gst_adapter_available),
7663 (gst_adapter_available_fast):
7664 * gst/base/gstadapter.h:
7665 Ported and added adapter to the base classes.
7667 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7671 Make sure the class is reffed/unreffed once before threads can be
7672 used. Fixes #304551.
7674 2005-05-17 Wim Taymans <wim@fluendo.com>
7676 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7677 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7678 * gst/gstminiobject.c: (gst_mini_object_get_type),
7679 (gst_mini_object_free):
7680 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7681 (gst_pad_push), (gst_pad_push_event):
7682 * gst/gstqueue.c: (gst_queue_change_state):
7683 Don't queue buffers in basesink when we are flushing.
7684 Unref buffer when flushing in basesink.
7685 Flush queue when going to READY
7686 Unref buffer when _push() returns an error.
7687 Don't free MiniObject instance when refcount is incremented
7688 in _finalize() so that we can recover objects.
7690 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7692 * docs/manual/advanced-schedulers.xml:
7693 * docs/manual/appendix-checklist.xml:
7694 * docs/pwg/advanced-clock.xml:
7695 * docs/pwg/advanced-interfaces.xml:
7696 * docs/pwg/advanced-request.xml:
7697 * docs/pwg/advanced-types.xml:
7698 * docs/pwg/intro-preface.xml:
7699 * examples/plugins/example.c: (gst_example_get_type),
7700 (gst_example_class_init), (gst_example_chain),
7701 (gst_example_set_property), (gst_example_get_property),
7702 (gst_example_change_state), (plugin_init):
7703 * examples/plugins/example.h:
7706 2005-05-17 Wim Taymans <wim@fluendo.com>
7708 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7709 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7710 * gst/gstqueue.c: (gst_queue_change_state):
7711 Clear queue when going to READY.
7712 Remove IN_SETCAPS flag too.
7714 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7716 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7717 Remove implicit cast from gboolean to GstElementStateReturn;
7718 make sure we still return failure in paused => ready case if
7719 the parent class fails to change state and our own stop
7722 2005-05-17 Wim Taymans <wim@fluendo.com>
7724 * tools/gst-launch.c: (event_loop):
7725 Message was unreffed too soon.
7727 2005-05-16 Andy Wingo <wingo@pobox.com>
7729 * gst/gstbin.c (sink_iterator_filter): Err... um...
7731 * check/gst/gstbin.c (test_ghost_pads): New test for the
7732 ghosting-if-elements-not-in-same-bin behavior.
7734 2005-05-16 David Schleef <ds@schleef.org>
7736 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7737 accessing refcount directly.
7739 2005-05-15 David Schleef <ds@schleef.org>
7741 * check/Makefile.am: remove GstData checks
7742 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7743 * gst/Makefile.am: add miniobject, remove data
7744 * gst/gst.h: add miniobject, remove data
7745 * gst/gstdata.c: remove
7746 * gst/gstdata.h: remove
7747 * gst/gstdata_private.h: remove
7748 * gst/gsttypes.h: remove GstEvent and GstMessage
7749 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7750 * gst/gstmarshal.list: change BOXED -> OBJECT
7752 Implement GstMiniObject.
7753 * gst/gstminiobject.c:
7754 * gst/gstminiobject.h:
7756 Modify to be subclasses of GstMiniObject.
7757 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7758 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7759 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7760 (gst_subbuffer_get_type), (gst_subbuffer_init),
7761 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7764 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7765 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7766 (_gst_event_copy), (gst_event_new):
7768 * gst/gstmessage.c: (_gst_message_initialize),
7769 (gst_message_get_type), (gst_message_class_init),
7770 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7771 (gst_message_new), (gst_message_new_error),
7772 (gst_message_new_warning), (gst_message_new_tag),
7773 (gst_message_new_state_changed), (gst_message_new_application):
7775 * gst/gstprobe.c: (gst_probe_perform),
7776 (gst_probe_dispatcher_dispatch):
7778 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7779 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7780 (_gst_query_copy), (gst_query_new):
7782 Update elements for GstData -> GstMiniObject changes
7784 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7785 (gst_queue_chain), (gst_queue_loop):
7786 * gst/elements/gstbufferstore.c:
7787 (gst_buffer_store_add_buffer_func),
7788 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7789 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7790 (gst_fakesink_render):
7791 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7792 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7793 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7794 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7795 (gst_filesrc_create_read):
7796 * gst/elements/gstidentity.c: (gst_identity_class_init):
7797 * gst/elements/gsttypefindelement.c:
7798 (gst_type_find_element_src_event), (free_entry_buffers),
7799 (gst_type_find_element_handle_event):
7800 * libs/gst/dataprotocol/dataprotocol.c:
7801 (gst_dp_header_from_buffer):
7802 * libs/gst/dataprotocol/dataprotocol.h:
7803 * libs/gst/dataprotocol/dp-private.h:
7805 2005-05-15 David Schleef <ds@schleef.org>
7807 * gst/elements/gstelements.c: Don't include headers that were
7810 2005-05-15 David Schleef <ds@schleef.org>
7812 * gst/elements/Makefile.am: Remove some elements that don't
7813 need to be in the core (or even exist at all).
7814 * gst/elements/gstaggregator.c:
7815 * gst/elements/gstaggregator.h:
7816 * gst/elements/gstmd5sink.c:
7817 * gst/elements/gstmd5sink.h:
7818 * gst/elements/gstmultifilesrc.c:
7819 * gst/elements/gstmultifilesrc.h:
7820 * gst/elements/gstpipefilter.c:
7821 * gst/elements/gstpipefilter.h:
7822 * gst/elements/gstshaper.c:
7823 * gst/elements/gstshaper.h:
7824 * gst/elements/gststatistics.c:
7825 * gst/elements/gststatistics.h:
7826 * po/POTFILES.in: Remove above files.
7828 2005-05-14 Andy Wingo <wingo@pobox.com>
7830 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7831 so as to get the refs right.
7832 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7833 unreffing objects that don't pass the filter.
7835 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7836 gst_element_set_bus.
7837 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7838 normal cases, this will destroy the bus.
7840 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7843 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7846 2005-05-13 Andy Wingo <wingo@pobox.com>
7848 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7849 gst_pad_link, call pad_link_maybe_ghosting,
7850 (pad_link_maybe_ghosting): Links pads, making sure that the
7851 elements being linked are in the same bin.
7852 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7853 Helpers for pad_link_maybe_ghosting.
7855 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7858 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7860 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7862 * docs/design/part-element-source.txt:
7865 2005-05-12 Wim Taymans <wim@fluendo.com>
7867 * gst/base/gstbasesink.c: (gst_basesink_init),
7868 (gst_basesink_activate):
7869 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7870 (gst_basesrc_is_seekable):
7871 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7872 (bin_element_is_sink), (gst_bin_change_state):
7873 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7875 Identify sinks by their flag to avoid overly complicated
7877 Do state changes even for elements not reachable from the
7879 BaseSink is a sink now :)
7880 Some more debugging info in the basesrc.
7883 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7885 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7886 Implement _query on a bin, similar to _send_event.
7888 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
7890 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7891 Discont event offset format should be GST_FORMAT_BYTES,
7892 not GST_FORMAT_TIME.
7894 2005-05-12 Wim Taymans <wim@fluendo.com>
7896 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7897 Same fix as Ronald's but without the signal.
7899 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7901 * gst/gstutils.c: (gst_element_query_position):
7902 No, an element is not a pad.
7904 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7906 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7907 (gst_bin_get_state):
7908 If a child is removed from a bin while we remove the child from
7909 the bin and while we're retrieving its state, signal this to the
7910 get_state function so we abort the wait (instead of waiting for
7911 a timeout) and can immediately re-iterate over all other elements.
7913 2005-05-12 Wim Taymans <wim@fluendo.com>
7915 * gst/base/Makefile.am:
7916 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7917 (gst_basesrc_start):
7918 * gst/base/gstbasesrc.h:
7919 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7920 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7921 (gst_pushsrc_init), (gst_pushsrc_create):
7922 * gst/base/gstpushsrc.h:
7923 Added is_seekable to BaseSrc
7924 Added simple PushSrc.
7926 2005-05-11 Wim Taymans <wim@fluendo.com>
7928 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7929 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7930 (gst_element_link_pads), (gst_element_query_position),
7931 (gst_element_query_convert), (intersect_caps_func),
7932 (gst_pad_query_position), (gst_pad_query_convert):
7933 Fix refcounting in utils function.
7934 No point in trying to activate a pad when it's added, it could
7935 be added from the state change function and then we deadlock, the
7936 element has to decide what to do.
7938 2005-05-10 Andy Wingo <wingo@pobox.com>
7940 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7941 *all* the arguments.
7943 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7944 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7945 lock (according to the docs -- if this is wrong change the docs).
7947 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7948 flush messages in the NULL state.
7950 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7951 message immediately and return.
7952 (gst_bus_set_flushing): New function. If a bus is flushing, it
7953 flushes out any queued messages and immediately unrefs new
7954 messages. This is so when an element goes to NULL, all of the
7955 unhandled messages coming from it can be freed, and their
7956 references to the element dropped. In other words: message source
7957 ref considered harmful :P
7959 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7960 we're finished with it.
7962 * gst/gstmessage.c (gst_message_new_state_changed):
7964 2005-05-10 Wim Taymans <wim@fluendo.com>
7966 * gst/gstvalue.c: (gst_value_compare_flags),
7967 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7968 (_gst_value_initialize):
7969 Added flags serialize/deserialize/compare code.
7971 2005-05-09 Andy Wingo <wingo@pobox.com>
7973 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7974 Intersect the peer's caps with our caps.
7976 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7978 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7979 * gst/elements/gsttypefindelement.c: (find_peek):
7980 Handle negative offsets better. Fixes decodebin.
7982 2005-05-09 Wim Taymans <wim@fluendo.com>
7984 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7985 (gst_base_transform_event):
7986 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7987 Implement accept_caps.
7988 Fix silly lock/unlock mismatch in base class.
7990 2005-05-09 Wim Taymans <wim@fluendo.com>
7992 * docs/design/draft-push-pull.txt:
7993 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7994 * gst/elements/gstfilesink.c: (gst_filesink_init),
7995 (gst_filesink_query):
7996 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7997 (gst_type_find_handle_src_query), (find_element_get_length):
7998 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8002 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8003 (gst_real_pad_get_caps_unlocked),
8004 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8005 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8006 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8007 (gst_real_pad_dispose), (gst_real_pad_finalize),
8008 (gst_pad_load_and_link), (gst_pad_save_thyself),
8009 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8010 (gst_pad_check_pull_range), (gst_pad_pull_range),
8011 (gst_pad_template_get_type), (gst_pad_template_class_init),
8012 (gst_pad_template_init), (gst_pad_template_dispose),
8013 (name_is_valid), (gst_static_pad_template_get),
8014 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8015 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8016 (gst_pad_get_element_private), (gst_pad_start_task),
8017 (gst_pad_pause_task), (gst_pad_stop_task),
8018 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8019 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8020 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8021 (gst_ghost_pad_new):
8023 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8024 (gst_query_new_position), (gst_query_set_position),
8025 (gst_query_parse_position), (gst_query_new_convert),
8026 (gst_query_set_convert), (gst_query_parse_convert):
8028 * gst/gstqueryutils.c:
8029 * gst/gstqueryutils.h:
8030 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8031 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8032 (gst_queue_handle_src_query):
8033 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8034 (gst_element_query_position), (gst_element_query_convert),
8035 (intersect_caps_func), (gst_pad_query_position),
8036 (gst_pad_query_convert):
8038 * tools/gst-inspect.c: (print_pad_info):
8039 * tools/gst-xmlinspect.c: (print_element_info):
8040 Remove old query functions. Ported old code.
8041 Added position/convert helper functions to gstutils.
8042 Reordered gstpad.c code, grouping relevant things.
8043 Remove gst_message_new(), always need to speficy a specific
8047 2005-05-09 Andy Wingo <wingo@pobox.com>
8049 * gst/gstiterator.h: Add some includes.
8051 * gst/gstqueryutils.h: Include more headers.
8054 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8055 some uses of gst_pad_query.
8057 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8058 NULL out parameters.
8059 (gst_query_new_position): New proc, allocates a new position
8062 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8063 gstqueryutils.c to the build.
8065 * gst/gststructure.c (gst_structure_set_valist): Implement with
8066 the generic G_VALUE_COLLECT.
8068 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8070 * gst/Makefile.am: (gst_headers):
8071 Added gstqueryutils.h to the list of headers to install, that was
8072 a 'nachty' move wingo :)
8074 2005-05-06 Andy Wingo <wingo@pobox.com>
8077 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8078 GstData, init a memchunk.
8079 (standard_definitions): Add a few query types, deprecate a few.
8080 (gst_query_get_type): New proc.
8081 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8083 (gst_query_new_application, gst_query_get_structure): New public
8086 * docs/design/draft-query.txt: Removed LINKS from the query types,
8087 because all the rest can be dispatched to other pads -- seemed
8088 ugly to have a query that couldn't be dispatched. internal_links
8089 is fine as a pad method.
8091 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8092 in gstpad.c, but maintain binary compatibility for the moment.
8093 Will fix before 0.9 is out.
8095 * gst/gstqueryutils.c:
8096 * gst/gstqueryutils.h: New files, implement 3 methods for each
8097 query type: parse_query, parse_response, and set. Probably need an
8100 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8102 * gst/elements/gstfilesink.c (gst_filesink_query2):
8103 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8104 query_types, and formats methods.
8106 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8107 (gst_pad_set_query2_function): New functions.
8108 (gst_real_pad_init): Set query2_default as the default query2
8109 function. Basically just dispatches to internally linked pads.
8113 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8114 without using the atomic operations. Only one thread can possibly
8115 be accessing the data at this point. Changed so as to avoid
8116 gst_atomic operations.
8118 2005-05-06 Wim Taymans <wim@fluendo.com>
8120 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8121 Also set caps if we use the fallback buffer alloc.
8123 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8125 * docs/gst/Makefile.am:
8126 * docs/gst/gstreamer-docs.sgml:
8127 * docs/gst/gstreamer-sections.txt:
8128 * docs/gst/tmpl/gstatomic.sgml:
8129 * docs/gst/tmpl/gstmemchunk.sgml:
8130 * testsuite/elements/struct_i386.h:
8131 * win32/GStreamer.vcproj:
8133 Purge GstAtomic stuff from docs and win32 makefiles as well
8135 2005-05-06 Wim Taymans <wim@fluendo.com>
8137 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8138 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8139 * gst/gstpad.c: (gst_pad_peer_get_caps):
8140 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8141 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8142 (gst_queue_src_activate), (gst_queue_change_state):
8144 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8145 (intersect_caps_func):
8146 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8147 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8148 Some fixes for the peer_get_caps() change.
8150 2005-05-06 Wim Taymans <wim@fluendo.com>
8152 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8153 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8154 (gst_basesink_activate):
8155 Actually do something with error codes returned from the push
8158 2005-05-06 Wim Taymans <wim@fluendo.com>
8160 * docs/design/part-element-sink.txt:
8161 * docs/design/part-element-source.txt:
8162 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8163 (gst_basesink_event), (gst_basesink_activate):
8164 * gst/base/gstbasesink.h:
8165 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8166 (gst_basesrc_activate):
8167 * gst/base/gstbasesrc.h:
8168 * gst/gstelement.c: (gst_element_pads_activate):
8169 Some more documentation.
8170 Fixed scheduling decision in _pads_activate().
8172 2005-05-05 Andy Wingo <wingo@pobox.com>
8174 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8177 2005-05-05 Wim Taymans <wim@fluendo.com>
8179 * gst/base/Makefile.am:
8180 * gst/base/gstbasesink.h:
8181 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8182 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8183 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8184 (gst_collectpads_class_init), (gst_collectpads_init),
8185 (gst_collectpads_finalize), (gst_collectpads_new),
8186 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8187 (find_pad), (gst_collectpads_remove_pad),
8188 (gst_collectpads_is_active), (gst_collectpads_collect),
8189 (gst_collectpads_collect_range), (gst_collectpads_start),
8190 (gst_collectpads_stop), (gst_collectpads_peek),
8191 (gst_collectpads_pop), (gst_collectpads_available),
8192 (gst_collectpads_read), (gst_collectpads_flush),
8193 (gst_collectpads_chain):
8194 * gst/base/gstcollectpads.h:
8195 * gst/elements/Makefile.am:
8196 * gst/elements/gstelements.c:
8197 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8198 (gst_fakesink_get_times), (gst_fakesink_event),
8199 (gst_fakesink_preroll), (gst_fakesink_render):
8200 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8201 (gst_filesink_init), (gst_filesink_set_location),
8202 (gst_filesink_open_file), (gst_filesink_close_file),
8203 (gst_filesink_pad_query), (gst_filesink_event),
8204 (gst_filesink_render), (gst_filesink_change_state):
8205 * gst/elements/gstfilesink.h:
8206 Added object to help in making collect pad based elements.
8208 Make event function in sink baseclass return gboolean.
8210 2005-05-05 Wim Taymans <wim@fluendo.com>
8212 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8213 (gst_bin_get_by_name):
8215 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8216 (gst_clock_finalize):
8217 * gst/gstdata.c: (gst_data_replace):
8219 * gst/gstelement.c: (gst_element_request_pad),
8220 (gst_element_pads_activate):
8221 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8223 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8224 (gst_pad_set_checkgetrange_function),
8225 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8226 (gst_pad_check_pull_range), (gst_pad_pull_range),
8227 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8228 (gst_pad_pause_task), (gst_pad_stop_task):
8229 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8230 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8231 Fix name lookup in GstBin.
8232 Added _data_replace() function and _buffer_replace()
8233 Use finalize method to clean up clock.
8234 Fix refcounting on request pads.
8235 Fix pad schedule mode error.
8236 Some more object refcounting debug info,
8239 2005-05-04 Andy Wingo <wingo@pobox.com>
8241 * check/Makefile.am:
8242 * docs/gst/tmpl/gstatomic.sgml:
8243 * docs/gst/tmpl/gstplugin.sgml:
8244 * gst/base/gstbasesink.c: (gst_basesink_activate):
8245 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8246 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8247 (gst_basesrc_query), (gst_basesrc_set_property),
8248 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8249 (gst_basesrc_activate):
8250 * gst/base/gstbasesrc.h:
8251 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8252 (gst_base_transform_src_activate):
8253 * gst/elements/gstelements.c:
8254 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8255 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8256 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8257 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8258 (gst_type_find_element_checkgetrange),
8259 (gst_type_find_element_activate):
8260 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8261 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8262 (gst_caps_load_thyself):
8263 * gst/gstelement.c: (gst_element_pads_activate),
8264 (gst_element_save_thyself), (gst_element_restore_thyself):
8265 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8266 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8268 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8269 (gst_xml_parse_file), (gst_xml_parse_memory),
8270 (gst_xml_get_element), (gst_xml_make_element):
8271 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8272 (_file_index_id_save_xml), (gst_file_index_commit):
8273 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8274 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8276 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8277 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8278 * tools/gst-complete.c: (main):
8279 * tools/gst-compprep.c: (main):
8280 * tools/gst-inspect.c: (print_element_properties_info):
8281 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8282 * tools/gst-xmlinspect.c: (print_element_properties):
8285 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8287 * gst/gstplugin.c: (gst_plugin_check_module),
8288 (gst_plugin_check_file), (gst_plugin_load_file):
8289 apply patch from #172526 to make register work on MacOSX
8291 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8293 * docs/gst/tmpl/gstconfig.sgml:
8294 * gst/gstconfig.h.in:
8295 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8296 * testsuite/debug/printf_extension.c: (main):
8297 Do not use GST_PTR_FORMAT on pointers to types with
8298 sizeof < sizeof(gpointer). Fixes test on 64-bit
8299 * testsuite/elements/property.h:
8300 use correct printf format
8302 2005-05-02 Wim Taymans <wim@fluendo.com>
8304 * docs/design/draft-push-pull.txt:
8305 * docs/design/draft-query.txt:
8306 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8307 (gst_basesrc_start):
8308 Added draft for new query API.
8309 Added draft for better selecting scheduling methods.
8310 Make basesrc ignore length if the subclass does not support
8313 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8316 possible fixes for automake-1.5 - _LIBADD is reserved
8318 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8320 * docs/faq/Makefile.am:
8321 * docs/manual/Makefile.am:
8323 * docs/pwg/Makefile.am:
8325 possible fixes for automake-1.5
8327 2005-04-28 Wim Taymans <wim@fluendo.com>
8329 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8330 (gst_basesink_pad_getcaps), (gst_basesink_init),
8331 (gst_basesink_do_sync):
8332 * gst/gstclock.c: (gst_clock_entry_new):
8333 * gst/gstevent.c: (gst_event_discont_get_value):
8334 * gst/gstpipeline.c: (pipeline_bus_handler),
8335 (gst_pipeline_change_state):
8336 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8337 Better debugging of clocking info.
8338 Allow NULL values when getting discont values.
8340 2005-04-27 Wim Taymans <wim@fluendo.com>
8342 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8343 * check/gst/gstpad.c: (gst_pad_suite):
8344 Increase timeout for checks.
8346 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8348 * check/Makefile.am:
8349 fix the broken rule for cleanup. Apparently this rule is
8350 only needed on FC2, so maybe this warrants further autotool
8353 2005-04-26 Wim Taymans <wim@fluendo.com>
8355 * gst/gsttrashstack.h:
8356 Ooohh. a nasty one! After having a failed pop() from the stack,
8357 it's possible that the stack is empty. In that case, don't
8358 follow the NULL pointer.
8360 2005-04-25 Wim Taymans <wim@fluendo.com>
8362 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8363 (gst_pad_set_checkgetrange_function),
8364 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8365 (gst_pad_check_pull_range), (gst_pad_pull_range),
8366 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8367 (gst_pad_pause_task), (gst_pad_stop_task):
8368 * gst/gstplugin.c: (gst_plugin_load):
8370 Remove gst_library_load as it does more harm than good with
8371 the new g_module flags.
8372 Revert bogus caps template check in pad linking, pad caps
8373 are important when linking not the template, which is more
8374 general than the current caps.
8376 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8378 * gst/autoplug/.cvsignore:
8379 * gst/autoplug/Makefile.am:
8380 * gst/autoplug/gstsearchfuncs.c:
8381 * gst/autoplug/gstsearchfuncs.h:
8382 * gst/autoplug/gstspider.c:
8383 * gst/autoplug/gstspider.h:
8384 * gst/autoplug/gstspideridentity.c:
8385 * gst/autoplug/gstspideridentity.h:
8386 * gst/autoplug/spidertest.c:
8389 2005-04-25 Wim Taymans <wim@fluendo.com>
8391 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8392 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8393 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8394 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8396 Added stubs for unimplemented functions.
8398 2005-04-24 David Schleef <ds@schleef.org>
8400 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8403 2005-04-24 David Schleef <ds@schleef.org>
8405 Convert everything from GstAtomicInt to g_atomic_int_*, and
8410 * gst/gstatomic_impl.h:
8418 * gst/gstdata_private.h:
8425 * gst/gststructure.c:
8426 * gst/gststructure.h:
8427 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8430 2005-04-24 David Schleef <ds@schleef.org>
8432 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8433 make the regressions tests work. Remove some code that is no
8435 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8436 Disable warning for pads without templates.
8438 2005-04-24 David Schleef <ds@schleef.org>
8440 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8441 functions that handle filtered links.
8442 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8444 * gst/gstutils.c: Fix/remove utility functions that handle
8447 * gst/gstvalue.c: Add serialization/deserialization of caps
8448 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8449 requires fixing so that the filter caps notation creates
8450 a capsfilter element and sets the filter_caps property. I
8451 think everyone probably wants to keep the shorthand notation.
8452 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8453 * docs/gst/tmpl/gstpad.sgml:
8455 * gst/elements/gstelements.c: Register capsfilter element.
8456 * gst/Makefile.am: fix spacing
8457 * docs/random/ds/0.9-suggested-changes: random
8459 2005-04-23 David Schleef <ds@schleef.org>
8461 * gst/elements/Makefile.am:
8462 * gst/elements/gstcapsfilter.c: New element that acts like an
8463 identity, but filters caps. Will eventually replace filtered
8464 caps in pad linking.
8465 * gst/gstutils.c: (gst_element_create_all_pads): New function
8466 to create all the ALWAYS pads that are registered with an
8467 element class. This functionality should eventually be
8468 merged in with GstElement initialization.
8470 * testsuite/trigger/README: part of trigger test code that should
8471 have been checked in a long time ago.
8473 2005-04-23 David Schleef <ds@schleef.org>
8475 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8476 needed with new versions of libtool (nobody will confirm this),
8477 and hard to carry around.
8478 * gst/autoplug/Makefile.am:
8479 * gst/base/Makefile.am:
8480 * gst/elements/Makefile.am:
8481 * gst/indexers/Makefile.am:
8482 * gst/schedulers/Makefile.am:
8483 * libs/gst/bytestream/Makefile.am:
8484 * libs/gst/control/Makefile.am:
8485 * libs/gst/dataprotocol/Makefile.am:
8486 * libs/gst/getbits/Makefile.am:
8488 2005-04-21 Wim Taymans <wim@fluendo.com>
8490 * docs/design/draft-push-pull.txt:
8491 * docs/design/part-MT-refcounting.txt:
8492 * docs/design/part-TODO.txt:
8493 * docs/design/part-caps.txt:
8494 * docs/design/part-events.txt:
8495 * docs/design/part-gstbus.txt:
8496 * docs/design/part-gstpipeline.txt:
8497 * docs/design/part-messages.txt:
8498 * docs/design/part-push-pull.txt:
8499 * docs/design/part-query.txt:
8502 2005-04-21 Wim Taymans <wim@fluendo.com>
8504 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8505 (gst_message_new), (gst_message_new_error),
8506 (gst_message_new_warning), (gst_message_new_tag),
8507 (gst_message_new_state_changed), (gst_message_new_application),
8508 (gst_message_get_structure):
8510 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8511 (gst_structure_copy_conditional):
8512 Use parent refcount in GstMessage to ensure GstStructure
8514 Cleaned up headers a bit.
8517 2005-04-20 Wim Taymans <wim@fluendo.com>
8519 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8520 (gst_basesink_pad_getcaps), (gst_basesink_init),
8521 (gst_basesink_chain_unlocked):
8522 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8523 (gst_type_find_helper):
8524 * gst/elements/gsttypefindelement.c:
8525 (gst_type_find_element_have_type), (gst_type_find_element_init),
8526 (stop_typefinding), (gst_type_find_element_handle_event),
8527 (find_suggest), (gst_type_find_element_chain),
8528 (gst_type_find_element_checkgetrange),
8529 (gst_type_find_element_getrange), (do_typefind),
8530 (gst_type_find_element_activate):
8531 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8532 (gst_buffer_default_free), (gst_buffer_default_copy),
8533 (gst_buffer_set_caps):
8534 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8536 * gst/gstmessage.c: (gst_message_new),
8537 (gst_message_new_state_changed):
8538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8539 (gst_pad_set_checkgetrange_function),
8540 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8541 (gst_pad_set_caps), (gst_pad_check_pull_range),
8542 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8544 * gst/gsttypefind.c: (gst_type_find_register):
8545 Make gst_caps_replace() work like other _replace() functions.
8546 Use _caps_replace() where possible.
8547 Make sure _message_new() initialises its field.
8548 Add gst_static_pad_template_get_caps()
8551 2005-04-18 Andy Wingo <wingo@pobox.com>
8553 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8554 on the peer, not the pad. I think that was a typo. Pass an extra
8555 arg to see if random access is possible. Activate the pads as
8556 PULL_RANGE if possible.
8558 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8560 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8561 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8564 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8566 * docs/faq/using.xml:
8567 Add note on gstreamer-properties (#154996).
8569 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8571 * docs/random/bbb/optional-properties:
8572 Some analysis on optional properties.
8574 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8576 * docs/gst/tmpl/gstelementfactory.sgml:
8578 * gst/gstelementfactory.c: (gst_element_factory_init),
8579 (gst_element_factory_cleanup), (gst_element_register),
8580 (__gst_element_factory_add_static_pad_template),
8581 (gst_element_factory_get_static_pad_templates),
8582 (gst_element_factory_can_src_caps),
8583 (gst_element_factory_can_sink_caps):
8584 * gst/registries/Makefile.am:
8585 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8586 (gst_xml_registry_class_init), (gst_xml_registry_init),
8587 (gst_xml_registry_new), (gst_xml_registry_set_property),
8588 (gst_xml_registry_get_property), (get_time), (make_dir),
8589 (gst_xml_registry_get_perms_func),
8590 (plugin_times_older_than_recurse), (plugin_times_older_than),
8591 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8592 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8593 (add_to_char_array), (read_string), (read_uint), (read_enum),
8594 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8595 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8596 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8597 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8598 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8599 (gst_xml_registry_rebuild):
8600 * gst/registries/gstlibxmlregistry.h:
8601 * tools/gst-compprep.c: (main):
8602 * tools/gst-inspect.c: (print_pad_templates_info):
8603 * tools/gst-xmlinspect.c: (print_element_info):
8604 Use libxml2 for registry parsing, use staticpadtemplates in
8605 elementfactories. Makes gst_init() +/- 10x faster.
8607 2005-04-12 Wim Taymans <wim@fluendo.com>
8609 * gst/base/Makefile.am:
8610 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8611 (gst_basesink_pad_getcaps), (gst_basesink_init),
8612 (gst_basesink_event), (gst_basesink_change_state):
8613 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8614 (gst_basesrc_init), (gst_basesrc_query),
8615 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8616 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8617 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8618 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8619 (gst_basesrc_stop), (gst_basesrc_activate),
8620 (gst_basesrc_change_state):
8621 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8622 (helper_find_suggest), (gst_type_find_helper):
8623 * gst/base/gsttypefindhelper.h:
8624 * gst/elements/Makefile.am:
8625 * gst/elements/gstelements.c:
8626 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8627 (gst_fakesink_get_times), (gst_fakesink_event),
8628 (gst_fakesink_preroll), (gst_fakesink_render):
8629 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8630 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8631 (gst_fakesrc_get_property), (gst_fakesrc_create),
8632 (gst_fakesrc_start), (gst_fakesrc_stop):
8633 * gst/elements/gstfakesrc.h:
8634 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8635 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8636 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8637 (gst_filesrc_create_read), (gst_filesrc_create),
8638 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8639 (gst_filesrc_start):
8640 * gst/elements/gsttypefindelement.c:
8641 (gst_type_find_element_have_type), (gst_type_find_element_init),
8642 (start_typefinding), (stop_typefinding), (push_buffer_store),
8643 (gst_type_find_element_handle_event),
8644 (gst_type_find_element_chain),
8645 (gst_type_find_element_checkgetrange),
8646 (gst_type_find_element_getrange), (do_typefind),
8647 (gst_type_find_element_activate),
8648 (gst_type_find_element_change_state):
8649 * gst/elements/gsttypefindelement.h:
8650 * gst/gstpipeline.c: (pipeline_bus_handler):
8651 Added typefind helper.
8652 Small preroll fix in the base sink.
8653 Disable typefind code in basesrc.
8654 Crude port of typefindelement.
8658 2005-04-11 Wim Taymans <wim@fluendo.com>
8660 * check/gst/gstbus.c: (gstbus_suite):
8661 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8663 Fix up the timeout so that the test does not fail.
8665 2005-04-06 Wim Taymans <wim@fluendo.com>
8668 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8669 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8670 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8671 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8672 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8673 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8674 (gst_basesrc_stop), (gst_basesrc_activate),
8675 (gst_basesrc_change_state), (basesrc_find_peek),
8676 (basesrc_find_suggest), (gst_basesrc_type_find):
8677 * gst/base/gstbasesrc.h:
8678 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8679 (gst_filesrc_class_init), (gst_filesrc_init),
8680 (gst_filesrc_finalize), (gst_filesrc_set_location),
8681 (gst_filesrc_set_property), (gst_filesrc_get_property),
8682 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8683 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8684 (gst_filesrc_create_read), (gst_filesrc_create),
8685 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8686 * gst/elements/gstfilesrc.h:
8687 * gst/gstelement.c: (gst_element_get_state_func),
8688 (gst_element_lost_state), (gst_element_pads_activate):
8689 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8690 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8691 (gst_pad_pull_range):
8693 More work on the generic source base class, implement seeking,
8695 Make filesrc extend the base source class.
8696 Added gst_pad_set_checkgetrange_function to GstPad.
8698 2005-04-06 Andy Wingo <wingo@pobox.com>
8700 * pkgconfig/gstreamer-base.pc.in:
8701 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8703 * pkgconfig/Makefile.am:
8704 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8706 2005-04-04 Wim Taymans <wim@fluendo.com>
8708 * gst/base/Makefile.am:
8710 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8711 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8712 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8713 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8714 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8715 (gst_basesrc_base_init), (gst_basesrc_class_init),
8716 (gst_basesrc_init), (gst_basesrc_get_formats),
8717 (gst_basesrc_get_query_types), (gst_basesrc_query),
8718 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8719 (gst_basesrc_set_property), (gst_basesrc_get_property),
8720 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8721 (gst_basesrc_loop), (gst_basesrc_activate),
8722 (gst_basesrc_change_state):
8723 * gst/base/gstbasesrc.h:
8724 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8725 (gst_fakesrc_class_init), (gst_fakesrc_init),
8726 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8727 (gst_fakesrc_get_property), (gst_fakesrc_create):
8728 * gst/elements/gstfakesrc.h:
8729 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8730 (gst_filesrc_open_file), (gst_filesrc_loop),
8731 (gst_filesrc_activate), (filesrc_find_peek),
8732 (gst_filesrc_type_find):
8733 Made base source class, make fakesrc extend it.
8734 Add comments to basesink class.
8735 Some filesrc cleanup.
8737 2005-03-31 David Schleef <ds@schleef.org>
8739 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8740 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8741 expected to link against libgstreamer.
8742 * gst/base/Makefile.am: link against libgstreamer
8743 * gst/elements/Makefile.am: same
8745 2005-03-31 Andy Wingo <wingo@pobox.com>
8747 * tests/instantiate/Makefile.am:
8748 * tests/instantiate/caps.c: Add test to test speed of caps copy
8751 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8752 GMemChunk to be fair.
8754 * gst/gsttrashstack.h: Remove warning about using the fallback
8755 trash stack implementation, it's still faster than malloc.
8757 2005-03-30 Andy Wingo <wingo@pobox.com>
8759 * tests/complexity.c: Add a copyright.
8761 2005-03-31 Wim Taymans <wim@fluendo.com>
8763 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8764 (gst_base_transform_class_init), (gst_base_transform_init),
8765 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8766 (gst_base_transform_get_property),
8767 (gst_base_transform_sink_activate),
8768 (gst_base_transform_src_activate),
8769 (gst_base_transform_change_state):
8770 * gst/base/gstbasetransform.h:
8771 * gst/elements/gstidentity.c: (gst_identity_class_init),
8772 (gst_identity_event), (gst_identity_check_perfect),
8773 (gst_identity_transform), (gst_identity_start),
8774 (gst_identity_stop):
8775 Added start/stop methods to transform base class so subclasses
8776 don't need to deal with state changes even.
8778 2005-03-31 Wim Taymans <wim@fluendo.com>
8780 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8781 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8783 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8784 (gst_pad_pull_range):
8785 Added rate to the discont event to prepare for variable speed
8786 and reverse playback.
8788 2005-03-29 David Schleef <ds@schleef.org>
8791 * testsuite/trigger/Makefile.am:
8792 * testsuite/trigger/trigger.c: A little example program to show
8793 how trigger-based elements can work.
8795 2005-03-29 Wim Taymans <wim@fluendo.com>
8797 * gst/base/Makefile.am:
8799 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8800 (gst_basesink_base_init), (gst_basesink_class_init),
8801 (gst_basesink_pad_getcaps), (gst_basesink_init),
8802 (gst_basesink_activate), (gst_basesink_change_state):
8803 * gst/base/gstbasesink.h:
8804 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8805 (gst_base_transform_base_init), (gst_base_transform_finalize),
8806 (gst_base_transform_class_init), (gst_base_transform_init),
8807 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8808 (gst_base_transform_event), (gst_base_transform_getrange),
8809 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8810 (gst_base_transform_set_property),
8811 (gst_base_transform_get_property),
8812 (gst_base_transform_sink_activate),
8813 (gst_base_transform_src_activate),
8814 (gst_base_transform_change_state):
8815 * gst/base/gstbasetransform.h:
8816 * gst/elements/gstidentity.c: (gst_identity_finalize),
8817 (gst_identity_class_init), (gst_identity_init),
8818 (gst_identity_event), (gst_identity_check_perfect),
8819 (gst_identity_transform), (gst_identity_set_property),
8820 (gst_identity_get_property), (gst_identity_change_state):
8821 * gst/elements/gstidentity.h:
8822 * gst/gstelement.c: (gst_element_get_state_func),
8823 (gst_element_lost_state), (gst_element_pads_activate):
8824 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8825 (gst_pad_check_pull_range), (gst_pad_pull_range):
8827 Simplify pad activation.
8828 Added function to check if pull_range can be performed.
8829 Error out when pulling inactive or flushing pads.
8830 Removed const from refcounted types as it does not make sense.
8831 Simplify pad templates in basesink
8832 Added base class for simple 1-to-1 transforms.
8833 Make identity subclass the base transform.
8835 2005-03-29 Andy Wingo <wingo@pobox.com>
8837 * docs/libs/gstreamer-libs-overrides.txt:
8838 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8839 really don't understand what's going on, but like whatever. I want
8842 * docs/gst/Makefile.am:
8843 * docs/libs/Makefile.am: Dist the overrides files.
8845 * check/Makefile.am (clean-local): Remove .libs directories.
8847 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8848 elements to EXTRA_DIST, so po/ files are happy.
8850 * po/POTFILES.in: Er, remove it here.
8852 * po/POTFILES: Remove gstspider.c.
8854 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8856 * docs/libs/gstreamer-libs-docs.sgml:
8857 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8860 * tests/complexity.c (main): Set the length of the preroll queue
8861 on the sinks to prevent a lockup.
8863 * libs/gst/dataprotocol/Makefile.am:
8864 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8865 the same as the one in check/gst-libs/gdp.c.
8867 * po/, docs/gst/: Commit automatic changes to docs and po files.
8869 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8870 the versioned libgstbase.
8872 * check/Makefile.am: Depend on an unversioned gst-register, seems
8873 to make autoconf happier.
8875 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8877 2005-03-28 Wim Taymans <wim@fluendo.com>
8880 * docs/design/part-gstelement.txt:
8881 * docs/design/part-negotiation.txt:
8882 * docs/design/part-preroll.txt:
8883 * docs/design/part-scheduling.txt:
8884 * docs/design/part-states.txt:
8886 * gst/base/Makefile.am:
8888 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8889 (gst_basesink_base_init), (gst_basesink_class_init),
8890 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8891 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8892 (gst_basesink_set_pad_functions),
8893 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8894 (gst_basesink_set_property), (gst_basesink_get_property),
8895 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8896 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8897 (gst_basesink_preroll_queue_push),
8898 (gst_basesink_preroll_queue_empty),
8899 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8900 (gst_basesink_event), (gst_basesink_get_times),
8901 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8902 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8903 (gst_basesink_loop), (gst_basesink_activate),
8904 (gst_basesink_change_state):
8905 * gst/base/gstbasesink.h:
8906 * gst/elements/Makefile.am:
8907 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8908 (gst_fakesink_class_init), (gst_fakesink_init),
8909 (gst_fakesink_set_property), (gst_fakesink_get_property),
8910 (gst_fakesink_get_times), (gst_fakesink_event),
8911 (gst_fakesink_preroll), (gst_fakesink_render),
8912 (gst_fakesink_change_state):
8913 * gst/elements/gstfakesink.h:
8914 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8915 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8916 * gst/gstelement.c: (gst_element_add_pad),
8917 (gst_element_get_state_func), (gst_element_abort_state),
8918 (gst_element_commit_state), (gst_element_lost_state),
8919 (gst_element_set_state), (gst_element_pads_activate):
8920 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8921 * gst/gstpipeline.c: (gst_pipeline_send_event),
8922 (gst_pipeline_change_state):
8923 Added state change code.
8925 Added sink base class, make fakesink extend the base class.
8926 Small cleanups in GstPipeline.
8928 2005-03-26 David Schleef <ds@schleef.org>
8930 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8931 is broken and should be implemented in a different library.
8932 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8933 * gst/gst.h: remove gstcpu.h
8934 * gst/gstcpu.c: remove
8935 * gst/gstcpu.h: remove
8936 * gst/Makefile.am.future: Remove this file. It's ancient.
8938 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8940 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8941 (gst_bin_send_event):
8942 Add default event/set_manager handlers. The set_manager handler
8943 takes care that the manager is distributed over kids that were
8944 already in the bin before the manager was set. The event handler
8945 is a utility virtual function that sends the event over all sinks,
8946 so that gst_element_send_event (bin, event); has the expected
8948 * gst/gstpad.c: (gst_pad_event_default):
8949 Re-install default event handling for discontinuities, so that
8950 seeking works without requiring hacks in applications or extra
8952 * gst/gstpipeline.c: (gst_pipeline_class_init),
8953 (gst_pipeline_send_event):
8954 Half hack, half utility: set a pipeline to PAUSED for seek events,
8955 since that is the only way we can guarantee a/v sync. Means that
8956 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8957 and it "just works".
8959 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8961 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8962 Lock/unlock mismatch.
8964 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8966 * docs/faq/gst-uninstalled:
8967 add gst-plugins-base
8968 * docs/gst/Makefile.am:
8969 don't error out until docs are fixed
8970 * docs/gst/gstreamer.types:
8973 2005-03-22 Wim Taymans <wim@fluendo.com>
8975 * check/Makefile.am:
8976 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8977 * gst/gststructure.c: (gst_structure_set_valist),
8978 (gst_structure_copy_conditional):
8979 Activated more tests.
8981 Added G_TYPE_POINTER to GstStructure.
8984 2005-03-22 Wim Taymans <wim@fluendo.com>
8986 * docs/design/part-TODO.txt:
8987 * docs/design/part-events.txt:
8988 * docs/design/part-gstbin.txt:
8989 * docs/design/part-gstbus.txt:
8990 * docs/design/part-gstpipeline.txt:
8991 * docs/design/part-messages.txt:
8996 2005-03-21 Wim Taymans <wim@fluendo.com>
8998 * gst/gstbus.c: (gst_bus_post):
8999 Fix copy-and-paste error.
9001 2005-03-21 Wim Taymans <wim@fluendo.com>
9003 * check/Makefile.am:
9005 * gst/elements/Makefile.am:
9006 * gst/elements/gstelements.c:
9007 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9008 (gst_fakesink_event), (gst_fakesink_chain):
9009 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9010 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9011 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9012 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9013 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9014 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9015 (gst_fakesrc_loop), (gst_fakesrc_activate),
9016 (gst_fakesrc_change_state):
9017 * gst/elements/gstfakesrc.h:
9018 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9019 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9020 (gst_filesrc_open_file), (gst_filesrc_loop),
9021 (gst_filesrc_activate), (gst_filesrc_change_state),
9022 (filesrc_find_peek), (filesrc_find_suggest),
9023 (gst_filesrc_type_find):
9024 * gst/elements/gstidentity.c: (gst_identity_finalize),
9025 (gst_identity_class_init), (gst_identity_init),
9026 (gst_identity_proxy_getcaps), (identity_queue_push),
9027 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9028 (gst_identity_getrange), (gst_identity_chain),
9029 (gst_identity_sink_loop), (gst_identity_src_loop),
9030 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9031 (gst_identity_set_property), (gst_identity_get_property),
9032 (gst_identity_change_state):
9033 * gst/elements/gstidentity.h:
9034 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9035 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9036 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9037 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9038 (gst_tee_sink_activate):
9039 * gst/elements/gsttee.h:
9040 * gst/gst.c: (gst_register_core_elements), (init_post):
9042 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9043 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9044 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9045 (gst_bin_change_state):
9047 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9048 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9049 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9050 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9051 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9052 (bus_watch_callback), (bus_watch_destroy),
9053 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9054 (poll_timeout), (gst_bus_poll):
9058 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9059 (gst_element_post_message), (gst_element_message_full),
9060 (gst_element_get_state_func), (gst_element_get_state),
9061 (gst_element_abort_state), (gst_element_commit_state),
9062 (gst_element_lost_state), (gst_element_set_state),
9063 (gst_element_pads_activate), (gst_element_change_state),
9064 (gst_element_dispose), (gst_element_set_manager_func),
9065 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9066 (gst_element_set_manager), (gst_element_get_manager),
9067 (gst_element_set_bus), (gst_element_get_bus),
9068 (gst_element_set_scheduler), (gst_element_get_scheduler):
9070 * gst/gstevent.c: (gst_event_new_segment_seek),
9071 (gst_event_new_flush):
9073 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9074 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9075 (gst_message_new_eos), (gst_message_new_error),
9076 (gst_message_new_warning), (gst_message_new_tag),
9077 (gst_message_new_state_changed), (gst_message_new_application),
9078 (gst_message_get_structure), (gst_message_parse_tag),
9079 (gst_message_parse_state_changed), (gst_message_parse_error),
9080 (gst_message_parse_warning):
9082 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9083 (gst_real_pad_set_property), (gst_pad_set_active),
9084 (gst_pad_is_active), (gst_pad_set_blocked_async),
9085 (gst_pad_set_blocked), (gst_pad_is_blocked),
9086 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9087 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9088 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9089 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9090 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9091 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9092 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9093 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9094 (gst_pad_set_caps), (gst_pad_configure_sink),
9095 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9096 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9097 (gst_real_pad_dispose), (gst_real_pad_finalize),
9098 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9099 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9100 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9102 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9103 (pipeline_bus_handler), (gst_pipeline_change_state),
9104 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9105 * gst/gstpipeline.h:
9107 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9108 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9109 (gst_queue_link_src), (gst_queue_bufferalloc),
9110 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9111 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9112 (gst_queue_loop), (gst_queue_handle_src_event),
9113 (gst_queue_handle_src_query), (gst_queue_src_activate),
9114 (gst_queue_change_state):
9116 * gst/gstscheduler.c: (gst_scheduler_init),
9117 (gst_scheduler_dispose), (gst_scheduler_create_task),
9118 (gst_scheduler_factory_create):
9119 * gst/gstscheduler.h:
9120 * gst/gststructure.c: (gst_structure_get_type),
9121 (gst_structure_copy_conditional):
9122 * gst/gststructure.h:
9123 * gst/gsttaginterface.h:
9124 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9125 (gst_task_init), (gst_task_dispose), (gst_task_create),
9126 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9132 * gst/schedulers/Makefile.am:
9133 * gst/schedulers/cothreads_compat.h:
9134 * gst/schedulers/entryscheduler.c:
9135 * gst/schedulers/faircothreads.c:
9136 * gst/schedulers/faircothreads.h:
9137 * gst/schedulers/fairscheduler.c:
9138 * gst/schedulers/gstbasicscheduler.c:
9139 * gst/schedulers/gstoptimalscheduler.c:
9140 * gst/schedulers/gthread-cothreads.h:
9141 * gst/schedulers/threadscheduler.c:
9142 (gst_thread_scheduler_task_get_type),
9143 (gst_thread_scheduler_task_class_init),
9144 (gst_thread_scheduler_task_init),
9145 (gst_thread_scheduler_task_start),
9146 (gst_thread_scheduler_task_stop),
9147 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9148 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9149 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9150 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9152 * libs/gst/Makefile.am:
9153 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9154 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9155 (gst_file_pad_parent_set):
9156 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9157 (gst_dp_event_from_packet):
9158 * tests/complexity.c: (main):
9159 * tests/mass_elements.c: (main):
9160 * testsuite/states/locked.c: (message_received), (main):
9161 * testsuite/states/parent.c: (main):
9162 * tools/gst-inspect.c: (print_element_flag_info),
9163 (print_implementation_info), (print_pad_info):
9164 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9166 * tools/gst-md5sum.c: (event_loop), (main):
9167 * tools/gst-typefind.c: (main):
9168 * tools/gst-xmlinspect.c: (print_element_info):
9170 Added GstBus for mainloop integration.
9171 Added GstMessage for sending notifications on the bus.
9172 Added GstTask as an abstraction for pipeline entry points.
9175 Simplified GstQueue for multithreaded core.
9176 Made _link threadsafe, removed old capsnego.
9177 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9178 Added pad blocking functions.
9179 Reworked scheduling functions in GstPad to prepare for
9180 scheduling updates soon.
9181 Moved events out of data stream.
9182 Simplified GstEvent types.
9183 Added return values to push/pull.
9184 Removed clocking from GstElement.
9185 Added prototypes for state change function for next merge.
9186 Removed iterate from bins and state change management.
9187 Fixed some elements, disabled others for now.
9188 Fixed -inspect and -launch.
9189 Added check for GstBus.
9191 2005-03-10 Wim Taymans <wim@fluendo.com>
9193 * docs/design/part-MT-refcounting.txt:
9194 * docs/design/part-clocks.txt:
9195 * docs/design/part-gstelement.txt:
9196 * docs/design/part-gstobject.txt:
9197 * docs/design/part-standards.txt:
9198 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9199 (gst_bin_remove_func), (gst_bin_remove):
9203 * testsuite/clock/clock1.c: (main):
9204 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9206 * testsuite/dlopen/loadgst.c: (do_test):
9207 * testsuite/refcounting/bin.c: (add_remove_test1),
9208 (add_remove_test2), (main):
9209 * testsuite/refcounting/element.c: (main):
9210 * testsuite/refcounting/element_pad.c: (main):
9211 * testsuite/refcounting/pad.c: (main):
9212 * tools/gst-launch.c: (sigint_handler_sighandler):
9213 * tools/gst-typefind.c: (main):
9215 Added doc about clock.
9216 removed gst_bin_iterate_recurse_up(), marked methods
9218 Fix more testsuites.
9220 2005-03-09 Wim Taymans <wim@fluendo.com>
9222 * gst/gstpad.c: (gst_pad_get_direction),
9223 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9224 (gst_pad_collect_valist):
9225 * testsuite/bins/interface.c: (main):
9226 * testsuite/caps/audioscale.c: (test_caps):
9227 * testsuite/caps/caps.c: (test1), (test2), (test3):
9228 * testsuite/caps/deserialize.c: (main):
9229 * testsuite/caps/enumcaps.c: (main):
9230 * testsuite/caps/filtercaps.c: (main):
9231 * testsuite/caps/intersect2.c: (main):
9232 * testsuite/caps/random.c: (main):
9233 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9234 * testsuite/caps/sets.c: (check_caps):
9235 * testsuite/caps/simplify.c: (check_caps), (main):
9236 * testsuite/caps/subtract.c: (check_caps):
9237 Fix _pad_get_direction wrt ghostpads.
9240 2005-03-09 Wim Taymans <wim@fluendo.com>
9242 * check/Makefile.am:
9243 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9244 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9245 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9246 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9247 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9248 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9249 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9250 (bin_element_is_sink), (gst_bin_iterate_sinks),
9251 (gst_bin_iterate_all_by_interface):
9253 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9254 (gst_element_change_state), (gst_element_dispose),
9255 (gst_element_finalize), (gst_element_set_loop_function):
9257 * gst/gstiterator.c: (find_custom_fold_func):
9258 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9259 (gst_pad_collectv), (gst_pad_collect_valist),
9260 (gst_pad_template_new):
9261 * gst/gstpipeline.c: (gst_pipeline_class_init),
9262 (gst_pipeline_dispose), (gst_pipeline_set_property),
9263 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9264 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9265 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9267 * gst/schedulers/entryscheduler.c:
9268 * gst/schedulers/gstbasicscheduler.c:
9269 (gst_basic_scheduler_cothreaded_chain),
9270 (gst_basic_scheduler_chain_add_element):
9271 * testsuite/bins/interface.c: (main):
9273 Added GstSystemClock test.
9274 Implemented clock distribution code in GstBin.
9275 Implemented iterate sinks method for future use.
9276 Rearranged gstelement.h
9277 Fix GstIterator comparison bug.
9278 Moved some code to GstPipeline, mostly clocking related.
9280 2005-03-09 Wim Taymans <wim@fluendo.com>
9283 * gst/gst_private.h:
9284 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9285 (gst_bin_remove_func), (gst_bin_remove),
9286 (gst_bin_get_by_name_recurse_up):
9287 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9288 (gst_clock_id_compare_func), (gst_clock_id_wait),
9289 (gst_clock_id_wait_async), (gst_clock_init),
9290 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9292 * gst/gstinfo.c: (_gst_debug_init):
9294 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9295 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9297 Bump version number, we're now 0.9.0
9298 Add future debugging category.
9299 Fix NULL _unref() in _get_by_name_recurse_up
9303 2005-03-08 Wim Taymans <wim@fluendo.com>
9305 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9306 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9307 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9308 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9309 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9310 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9311 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9312 * gst/elements/gstidentity.c: (gst_identity_class_init):
9313 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9314 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9315 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9316 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9317 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9319 * gst/gstelement.c: (gst_element_class_init),
9320 (gst_element_base_class_init), (gst_element_init),
9321 (gst_element_get_random_pad), (gst_element_wait_state_change),
9322 (gst_element_change_state), (gst_element_dispose),
9323 (gst_element_finalize), (gst_element_set_loop_function):
9325 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9326 * gst/gstthread.c: (gst_thread_class_init),
9327 (gst_thread_release_children_locks), (gst_thread_change_state):
9328 * gst/schedulers/gstbasicscheduler.c:
9329 (gst_basic_scheduler_loopfunc_wrapper),
9330 (gst_basic_scheduler_chain_wrapper),
9331 (gst_basic_scheduler_src_wrapper),
9332 (gst_basic_scheduler_remove_element):
9333 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9334 Remove threadsafe properties. Fix elements because GObject
9335 complains when installing a property before declaring a
9336 set/get_property handler.
9337 Rearrange gstelement.h file, use STATE macros for state locks.
9338 Free mutexes in the finalize method instead of dispose.
9340 2005-03-08 Wim Taymans <wim@fluendo.com>
9342 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9343 * gst/gstthread.c: (gst_thread_release_children_locks):
9344 Added parentage check.
9345 Fix build og GstThread again.
9347 2005-03-08 Wim Taymans <wim@fluendo.com>
9349 * docs/design/part-MT-refcounting.txt:
9350 * docs/design/part-conventions.txt:
9351 * docs/design/part-gstobject.txt:
9352 * docs/design/part-relations.txt:
9353 * docs/design/part-standards.txt:
9354 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9355 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9356 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9357 (gst_bin_iterate_all_by_interface):
9360 * gst/gstelement.c: (gst_element_class_init),
9361 (gst_element_change_state), (gst_element_set_loop_function):
9363 * gst/gstiterator.c:
9364 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9365 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9366 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9367 (gst_object_set_parent), (gst_object_unparent),
9368 (gst_object_check_uniqueness):
9370 Docs updates, clean up some headers.
9372 2005-03-07 Wim Taymans <wim@fluendo.com>
9375 * check/Makefile.am:
9376 * check/gst-libs/.cvsignore:
9377 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9378 * check/gst/.cvsignore:
9379 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9380 (START_TEST), (gstbus_suite), (main):
9381 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9382 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9383 (gst_data_suite), (main):
9384 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9385 (add_fold_func), (gstiterator_suite), (main):
9386 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9387 (thread_name_object), (thread_name_object_default),
9388 (gst_object_name_compare), (gst_object_suite), (main):
9389 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9390 (gst_pad_suite), (main):
9391 * check/gstcheck.c: (gst_check_log_message_func),
9392 (gst_check_log_critical_func), (gst_check_init):
9394 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9395 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9398 2005-03-07 Wim Taymans <wim@fluendo.com>
9400 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9401 (gst_list_iterator_next), (gst_list_iterator_resync),
9402 (gst_list_iterator_free), (gst_iterator_new_list),
9403 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9404 (gst_iterator_free), (gst_iterator_push), (filter_next),
9405 (filter_resync), (filter_uninit), (filter_free),
9406 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9407 (gst_iterator_foreach), (find_custom_fold_func),
9408 (gst_iterator_find_custom):
9409 * gst/gstiterator.h:
9410 Added missing files.
9412 2005-03-07 Wim Taymans <wim@fluendo.com>
9416 * docs/design/part-MT-refcounting.txt:
9417 * docs/design/part-conventions.txt:
9418 * docs/design/part-gstobject.txt:
9419 * docs/design/part-relations.txt:
9420 * examples/mixer/mixer.c: (main):
9421 * examples/thread/thread.c: (eos), (main):
9423 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9424 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9425 (gst_spider_plug_from_srcpad):
9426 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9427 (gst_spider_identity_change_state),
9428 (gst_spider_identity_sink_loop_type_finding):
9429 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9430 * gst/elements/gstidentity.c: (gst_identity_init):
9431 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9432 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9433 * gst/elements/gsttypefindelement.c: (free_entry):
9436 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9437 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9438 (gst_bin_set_index), (gst_bin_set_element_sched),
9439 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9440 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9441 (gst_bin_iterate_elements), (iterate_child_recurse),
9442 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9443 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9444 (compare_interface), (gst_bin_get_by_interface),
9445 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9447 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9448 (gst_buffer_default_free), (gst_buffer_default_copy),
9449 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9450 (gst_buffer_create_sub):
9452 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9453 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9454 (gst_caps_unref), (gst_static_caps_get),
9455 (gst_caps_remove_and_get_structure), (gst_caps_append),
9456 (gst_caps_append_structure), (gst_caps_remove_structure),
9457 (gst_caps_copy_nth), (gst_caps_set_simple),
9458 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9459 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9460 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9461 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9462 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9463 (gst_caps_structure_figure_out_union),
9464 (gst_caps_switch_structures), (gst_caps_do_simplify),
9465 (gst_caps_replace), (gst_caps_from_string),
9466 (gst_caps_copy_conditional):
9468 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9469 (_gst_clock_id_free), (gst_clock_id_unref),
9470 (gst_clock_id_compare_func), (gst_clock_id_wait),
9471 (gst_clock_id_wait_async), (gst_clock_class_init),
9472 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9473 (gst_clock_get_time), (gst_clock_set_time_adjust),
9474 (gst_clock_set_property), (gst_clock_get_property):
9477 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9478 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9480 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9481 (gst_element_requires_clock), (gst_element_provides_clock),
9482 (gst_element_set_clock), (gst_element_clock_wait),
9483 (gst_element_wait), (gst_element_set_time_delay),
9484 (gst_element_is_indexable), (gst_element_add_pad),
9485 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9486 (pad_compare_name), (gst_element_get_static_pad),
9487 (gst_element_request_pad), (gst_element_get_request_pad),
9488 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9489 (gst_element_class_get_pad_template_list),
9490 (gst_element_class_get_pad_template), (gst_element_error_func),
9491 (gst_element_get_random_pad), (gst_element_get_event_masks),
9492 (gst_element_send_event), (gst_element_seek),
9493 (gst_element_get_query_types), (gst_element_query),
9494 (gst_element_get_formats), (gst_element_convert),
9495 (gst_element_is_locked_state), (gst_element_set_locked_state),
9496 (gst_element_sync_state_with_parent), (gst_element_change_state),
9497 (gst_element_finalize), (gst_element_yield),
9498 (gst_element_interrupt), (gst_element_set_scheduler),
9499 (gst_element_get_scheduler), (gst_element_set_loop_function):
9502 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9503 (gst_format_get_by_nick), (gst_format_get_details),
9504 (gst_format_iterate_definitions):
9506 * gst/gstindex.c: (gst_index_gtype_resolver):
9509 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9510 (gst_mem_chunk_free):
9511 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9512 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9513 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9514 (gst_object_dispatch_properties_changed),
9515 (gst_object_set_name_default), (gst_object_set_name),
9516 (gst_object_get_name), (gst_object_set_name_prefix),
9517 (gst_object_get_name_prefix), (gst_object_set_parent),
9518 (gst_object_get_parent), (gst_object_unparent),
9519 (gst_object_check_uniqueness), (gst_object_save_thyself),
9520 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9521 (gst_object_set_property), (gst_object_get_property),
9522 (gst_object_get_path_string):
9524 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9525 (gst_real_pad_init), (gst_real_pad_get_property),
9526 (gst_pad_custom_new), (gst_pad_get_direction),
9527 (gst_pad_set_active), (gst_pad_is_active),
9528 (gst_pad_set_event_function), (gst_pad_is_linked),
9529 (gst_pad_link_free), (gst_pad_link_intersect),
9530 (gst_pad_link_fixate), (gst_pad_set_caps),
9531 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9532 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9533 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9534 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9535 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9536 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9537 (gst_pad_realize), (gst_pad_get_allowed_caps),
9538 (gst_real_pad_dispose), (gst_real_pad_finalize),
9539 (gst_pad_collectv), (gst_pad_collect_valist),
9540 (gst_pad_template_dispose), (gst_pad_template_new),
9541 (gst_pad_get_internal_links):
9543 * gst/gstpipeline.c: (gst_pipeline_dispose),
9544 (gst_pipeline_change_state):
9545 * gst/gstpipeline.h:
9547 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9548 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9549 * gst/gstpluginfeature.h:
9550 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9551 * gst/gstquery.c: (_gst_query_type_initialize),
9552 (gst_query_type_register), (gst_query_type_get_by_nick),
9553 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9555 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9556 * gst/gstscheduler.c: (gst_scheduler_add_element),
9557 (gst_scheduler_factory_create):
9558 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9559 (gst_structure_free), (gst_structure_set_name),
9560 (gst_structure_id_set_value), (gst_structure_set_value),
9561 (gst_structure_set_valist), (gst_structure_remove_field),
9562 (gst_structure_remove_fields),
9563 (gst_structure_remove_fields_valist),
9564 (gst_structure_remove_all_fields), (gst_structure_foreach),
9565 (gst_structure_map_in_place),
9566 (gst_caps_structure_fixate_field_nearest_int),
9567 (gst_caps_structure_fixate_field_nearest_double):
9568 * gst/gststructure.h:
9569 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9570 (gst_system_clock_init), (gst_system_clock_dispose),
9571 (gst_system_clock_async_thread),
9572 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9573 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9574 * gst/gstsystemclock.h:
9575 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9576 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9577 * gst/gsttaginterface.c:
9578 * gst/gstthread.c: (gst_thread_dispose),
9579 (gst_thread_release_children_locks), (gst_thread_change_state),
9580 (gst_thread_main_loop):
9581 * gst/gsttrashstack.h:
9582 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9584 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9585 (gst_element_request_pad), (gst_element_get_pad_from_template),
9586 (gst_element_request_compatible_pad),
9587 (gst_element_get_compatible_pad_filtered),
9588 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9589 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9590 (gst_element_link_many), (gst_element_link),
9591 (gst_element_link_pads), (gst_element_unlink_pads),
9592 (gst_element_unlink_many), (gst_element_unlink),
9593 (gst_pad_can_link_filtered), (gst_pad_can_link),
9594 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9595 (gst_object_default_error), (gst_bin_add_many),
9596 (gst_bin_remove_many), (gst_element_populate_std_props),
9597 (gst_element_class_install_std_props), (gst_buffer_merge),
9598 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9599 (link_fold_func), (gst_pad_proxy_setcaps):
9601 * gst/gstvalue.c: (gst_value_deserialize_string):
9602 * gst/parse/grammar.y:
9603 * gst/schedulers/gstbasicscheduler.c:
9604 (gst_basic_scheduler_cothreaded_chain),
9605 (gst_basic_scheduler_chain_recursive_add),
9606 (gst_basic_scheduler_pad_link):
9607 * gst/schedulers/gstoptimalscheduler.c:
9608 (get_group_schedule_function),
9609 (gst_opt_scheduler_state_transition),
9610 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9611 * libs/gst/bytestream/bytestream.c:
9612 * libs/gst/dataprotocol/dataprotocol.c:
9613 (gst_dp_header_from_buffer):
9616 * tests/threadstate/threadstate2.c: (eos):
9617 * tools/gst-compprep.c: (main):
9618 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9619 (print_pad_info), (print_children_info):
9620 * tools/gst-launch.c: (idle_func), (main):
9621 * tools/gst-md5sum.c: (idle_func), (main):
9622 * tools/gst-xmlinspect.c: (print_element_info):
9623 First THREADED backport attempt, focusing on adding locks and
9624 making sure the API is threadsafe. Needs more work. More docs
9627 2005-02-24 Andy Wingo <wingo@pobox.com>
9629 * tests/bench-complexity.scm:
9630 * tests/complexity.gnuplot: New files, good for running complexity
9633 * tests/Makefile.am:
9634 * tests/complexity.c: New test, sets up N elements, at each level
9635 teeing into M streams per element. Eeeenteresting.
9637 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9638 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9639 running bench-mass_elements.scm.
9641 * tests/bench-mass_elements.scm: New script, runs mass_elements
9642 for various numbers of identities, outputting the results to a
9643 file. Requires guile 1.6. Just for testing.
9645 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9647 * gst/schedulers/fairscheduler.c:
9648 compile with debug disabled
9650 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9653 hunting season on 0.9 is now OPEN