1 2005-10-12 Andy Wingo <wingo@pobox.com>
3 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4 there is no task. Shouldn't affect any code, as nothing in our
5 plugins checks this return value.
6 (gst_pad_stop_task): Also take the stream lock if the pad has no
9 2005-10-12 Wim Taymans <wim@fluendo.com>
11 * gst/gstpad.c: (pre_activate), (post_activate),
12 (gst_pad_activate_pull), (gst_pad_activate_push):
13 Cleanup activation code. Reset old state if
16 2005-10-12 Wim Taymans <wim@fluendo.com>
18 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19 (gst_base_sink_change_state):
20 No need to prerol after receiving EOS.
22 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
24 * gst/elements/gstidentity.c: (gst_identity_event):
25 Print events more verbosely.
27 2005-10-12 Wim Taymans <wim@fluendo.com>
30 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
31 * check/states/sinks2.c:
32 Moved sinks2 testcode in sinks check.
34 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
35 (gst_bin_remove_func), (gst_bin_recalc_state),
36 (gst_bin_change_state_func), (bin_bus_handler):
37 Fix potential race condition when _get_state() iterated over an
38 ASYNC element right before it posted a state completion.
43 * gst/gstevent.c: (gst_event_new_newsegment),
44 (gst_event_parse_newsegment):
45 A playback rate of 0.0 is not allowed.
47 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
49 * win32/common/config.h:
50 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
51 (_trewinddir), (_ttelldir), (_tseekdir):
52 * win32/common/dirent.h:
53 * win32/common/gtchar.h:
54 * win32/common/libgstbase.def:
55 * win32/common/libgstreamer.def:
56 * win32/vs6/grammar.dsp:
57 * win32/vs6/gst_inspect.dsp:
58 * win32/vs6/gst_launch.dsp:
59 * win32/vs6/gstreamer.dsw:
60 * win32/vs6/libgstbase.dsp:
61 * win32/vs6/libgstelements.dsp:
62 * win32/vs6/libgstreamer.dsp:
63 Visual Studio 6 project files, and a new common directory.
66 2005-10-11 Wim Taymans <wim@fluendo.com>
68 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
69 (gst_base_sink_do_sync), (gst_base_sink_query),
70 (gst_base_sink_change_state):
71 * gst/base/gstbasesink.h:
72 Correctly parse newsegment info.
74 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
76 * gst/gst.c: (init_post):
77 split plugin paths correctly
79 2005-10-11 Wim Taymans <wim@fluendo.com>
81 * check/gst/gstevent.c: (GST_START_TEST):
82 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
83 (gst_base_sink_change_state):
84 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
85 * gst/base/gstbasetransform.c: (gst_base_transform_event):
86 * gst/elements/gstfilesink.c: (gst_file_sink_event):
87 * gst/gstevent.c: (gst_event_new_newsegment),
88 (gst_event_parse_newsegment):
90 Added extra flag to newsegment for future API freeze.
91 Updated check and base elements.
93 2005-10-11 Julien MOUTTE <julien@moutte.net>
95 * gst/base/gstcollectpads.c: (gst_collectpads_init),
96 (gst_collectpads_add_pad), (gst_collectpads_pop),
97 (gst_collectpads_event), (gst_collectpads_chain):
98 * gst/base/gstcollectpads.h: Handle EOS correctly.
100 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
102 * tools/gst-launch.c: (main):
105 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
107 * gst/gst-i18n-lib.h:
108 check for ENABLE_NLS, not GETTEXT_PACKAGE
109 * gst/gstregistry.c: (gst_registry_add_plugin),
110 (gst_registry_scan_path_level),
111 (_gst_registry_remove_cache_plugins):
112 protect possibly NULL strings
114 config.h already included before
115 * tools/gst-inspect.c: (main):
116 sys/wait.h also doesn´t exist on mingw, so change the ifdef check
117 check for ENABLE_NLS, not GETTEXT_PACKAGE
118 * tools/gst-launch.c: (main):
119 check for ENABLE_NLS, not GETTEXT_PACKAGE
121 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
124 if we don't have glib, fail before testing 2.8
125 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
126 fix a leak, should fix plugins-base testsuite
128 2005-10-11 Andy Wingo <wingo@pobox.com>
130 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
131 take the mode we're going to as an arg. Go head and set the mode
132 and flushing flags now, so that if the activate function starts a
133 thread all the flags will be in the right state.
134 (post_activate): Renamed also. Just handle making sure streaming
135 finishes for the deactivation case, and setting the deactivated
137 (gst_pad_set_active): Complain loudly if deactivation fails.
138 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
139 (gst_pad_activate_push): Adapt to pre/post_activate changes,
140 remove the terrible hack.
142 2005-10-11 Wim Taymans <wim@fluendo.com>
144 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
145 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
146 (gst_bin_recalc_state), (gst_bin_change_state_func),
147 (gst_bin_dispose), (bin_bus_handler):
149 Prepare to make current EOS message queue more generic.
152 * gst/gstevent.c: (gst_event_new_newsegment),
153 (gst_event_parse_newsegment):
155 Rename base to stream_time.
160 2005-10-11 Wim Taymans <wim@fluendo.com>
162 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
163 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
164 (gst_bin_change_state_func), (bin_bus_handler):
166 Work on proper clock selection.
168 2005-10-11 Edward Hervey <edward@fluendo.com>
170 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
171 * libs/gst/controller/gstcontroller.h:
172 Added GList* version of _remove_properties() in order to be able to wrap
175 2005-10-11 Wim Taymans <wim@fluendo.com>
177 * docs/design/part-states.txt:
180 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
181 (gst_bin_change_state_func), (bin_bus_handler):
182 Doc updates. Don't distribute the same clock over and over again.
188 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
189 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
190 (gst_pad_send_event):
192 Make probe emission threadsafe again.
193 Register quarks and move _get_name() from utils.
196 * gst/gstpipeline.c: (gst_pipeline_class_init),
197 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
198 Only redistribute the clock of it changed.
200 * gst/gstsystemclock.h:
205 Moved the _flow_get_name() to GstPad.
207 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
209 * check/gst-libs/gdp.c: (GST_START_TEST):
210 * check/gst/gstcaps.c: (GST_START_TEST):
211 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
212 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
213 (gst_dp_packet_from_caps):
214 fix more valgrind warnings before turning up the heat
216 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
218 * gst/parse/grammar.y:
219 some cleanup before the hacking
221 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
223 * gst/base/gstbasesrc.c: (gst_base_src_query):
225 * gst/gstutils.c: (gst_guint64_to_gdouble),
226 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
228 externalize, basesrc uses it
229 obviously the implementation needs testing
231 2005-10-10 Wim Taymans <wim@fluendo.com>
233 * tests/sched/Makefile.am:
234 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
235 (make_pipeline3), (make_pipeline4), (print_elem), (main):
237 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
239 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
240 apparently converting from guint64 to double is not implemented
243 2005-10-10 Wim Taymans <wim@fluendo.com>
246 * check/generic/states.c: (GST_START_TEST):
247 * check/gst/gstbin.c: (GST_START_TEST):
248 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
249 * check/states/sinks.c: (GST_START_TEST):
250 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
252 Check fixes, use API as stated in design docs, remove hacks.
254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
255 (gst_base_sink_change_state):
256 Catch stopping our task while we're shutting down.
258 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
259 (gst_bin_remove_func), (gst_bin_get_state_func),
260 (gst_bin_recalc_state), (gst_bin_change_state_func),
263 * gst/gstelement.c: (gst_element_init),
264 (gst_element_get_state_func), (gst_element_abort_state),
265 (gst_element_commit_state), (gst_element_lost_state),
266 (gst_element_set_state), (gst_element_change_state),
267 (gst_element_change_state_func):
269 New state change algorithm (see #318116)
271 * gst/gstpipeline.c: (gst_pipeline_class_init),
272 (gst_pipeline_init), (gst_pipeline_set_property),
273 (gst_pipeline_get_property), (do_pipeline_seek),
274 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
276 Remove crude state change hacks.
281 * tools/gst-launch.c: (main):
282 Fixes for state change. Needs some more work to fully use the
285 2005-10-10 Andy Wingo <wingo@pobox.com>
287 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
289 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
290 this flag, but it's not even in GLib 2.6. Odd. Hack around the
293 2005-10-10 Tim-Philipp MĂĽller <tim at centricular dot net>
295 * gst/gstiterator.c: (gst_iterator_new):
296 Fix my previous commit: GTypes passed to gst_iterator_new()
297 can be fundamental types.
299 2005-10-10 Wim Taymans <wim@fluendo.com>
301 * gst/gstelement.c: (gst_element_iterate_pad_list),
302 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
303 (gst_element_iterate_sink_pads):
304 Use src/sink pads lists for the respective iterators instead
307 2005-10-10 Andy Wingo <wingo@pobox.com>
309 Merged in popt removal + GOption addition patch from Ronald, bug
312 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
313 GstElement macros around, remove popt-related symbols, add goption
316 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
318 * docs/gst/Makefile.am:
319 * docs/libs/Makefile.am: No POPT_CFLAGS.
321 * examples/manual/Makefile.am:
322 * docs/manual/basics-init.xml: Doc updates with an example.
324 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
325 (gst_init), (parse_one_option), (parse_goption_arg):
326 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
327 bit of hand merging and debugging to get the GOption stuff working
332 * tools/gst-inspect.c: (main):
333 * tools/gst-launch.c: (main):
334 * tools/gst-run.c: (main):
335 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
337 2005-10-10 Tim-Philipp MĂĽller <tim at centricular dot net>
339 * gst/gstiterator.c: (gst_iterator_new):
340 Add assertions to make sure passed GType is likely to really
341 be a GType (as the compiler won't catch it if the size and
342 GType arguments get mixed up, see #318447).
344 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
346 Reviewed by: Tim-Philipp MĂĽller <tim at centricular dot net>
348 * gst/gstbin.c: (gst_bin_iterate_sorted):
349 Pass GType and size arguments to gst_iterator_new() in the right
350 order (maybe we should make _new() take the GType as first argument
351 just like _new_list()?) (#318447).
354 2005-10-10 Wim Taymans <wim@fluendo.com>
356 * gst/gstelement.c: (gst_element_finalize):
357 And free the GStaticRecMutex too
359 2005-10-10 Andy Wingo <wingo@pobox.com>
361 * gst/gstelement.c (gst_element_init, gst_element_finalize):
362 Allocate and free the mutex properly.
364 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
366 (GstElement): The state_lock is now recursive. Rebuild your
367 plugins, suckers. Old macros adapted.
369 * docs/gst/gstreamer-sections.txt: Doc updates.
372 * gst/gstutils.c (g_static_rec_cond_timed_wait)
373 (g_static_rec_cond_wait): Ported from state changes patch, while
374 we wait on bug #317802 to be solved in a well-distributed GLib.
376 * gst/gstelement.c (gst_element_change_state_func): Renamed from
377 gst_element_change_state, variable name changes.
378 (gst_element_change_state): Split out of gst_element_set_state in
379 preparation for the state change merge. Doesn't pay attention to
380 the 'transition' argument.
381 (gst_element_set_state): Updates, hopefully purely cosmetic.
382 (gst_element_sync_state_with_parent): MT-safety. Ported from the
384 (gst_element_get_state_func): Renamed from get_state, cosmetic
387 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
389 * gst/elements/gstelements.c:
390 * win32/GStreamer.vcproj:
392 * win32/dirent.c: (_tseekdir):
393 * win32/gst-inspect.vcproj:
394 * win32/gst-launch.vcproj:
396 * win32/gstelements.vcproj:
397 * win32/gstenumtypes.c: (gst_object_flags_get_type):
398 * win32/gstreamer.def:
400 updates for the win32 build (patch from Sebastien Moutte)
402 2005-10-10 Andy Wingo <wingo@pobox.com>
404 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
405 gst_bin_get_state, cleaned up (but no logic changes).
406 (bin_element_is_sink): Comment updates.
407 (sink_iterator_filter): Remove needless cast.
408 (gst_bin_iterate_sinks): Doc update.
409 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
410 cleaned up (but no logic changes).
412 * check/states/sinks.c (test_src_sink): Cleanups from the state
414 (test_livesrc_sink): Sync on the state.
416 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
417 the state change patch.
419 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
422 * check/gst/gstbin.c: Merge in some style fixes and additional
423 checks from Wim's state change patch.
425 2005-10-10 Tim-Philipp MĂĽller <tim at centricular dot net>
427 * gst/base/gsttypefindhelper.c: (helper_find_peek),
428 (gst_type_find_helper):
429 Check whether we have the requested data already in our list of
430 cached buffers before pulling a new buffer; also make the buffer
431 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
433 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
438 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
439 don't use long long, it's not portable. Replacing with
440 gint64 seems to work; let's hope no skeletons fall out of the closet.
442 2005-10-10 Andy Wingo <wingo@pobox.com>
444 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
446 2005-10-09 Stefan Kost <ensonic@users.sf.net>
448 * docs/gst/gstreamer-sections.txt:
453 * gst/gstmessage.c: (gst_message_parse_state_changed):
456 more docs, fix compilation
458 2005-10-09 Philippe Khalaf <burger@speedy.org>
460 Fixed a few forgotten variables on previous commit
462 2005-10-09 Tim-Philipp MĂĽller <tim at centricular dot net>
464 * gst/base/gsttypefindhelper.c: (helper_find_peek):
465 Fix evil typefind crasher: getrange() might return a short
466 buffer at the end of a file, but gst_type_find_peek() must
467 either return the full data as requested or NULL, but
468 never a short buffer.
470 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
472 * gst/gstmessage.c: (gst_message_new_state_changed),
473 (gst_message_parse_state_changed):
475 don't use "new", it's a C++ keyword
477 2005-10-08 Wim Taymans <wim@fluendo.com>
479 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
480 * gst/gstelement.c: (gst_element_post_message):
481 * gst/gstpipeline.c: (gst_pipeline_change_state):
482 Small docs and debug updates.
484 2005-10-08 Stefan Kost <ensonic@users.sf.net>
486 * docs/gst/gstreamer-sections.txt:
487 * gst/gstelementfactory.c:
492 2005-10-08 Wim Taymans <wim@fluendo.com>
494 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
495 (gst_bin_dispose), (bin_bus_handler):
496 Fix typos, add comments.
497 Clear EOS list when going to PAUSED from any direction and do it
499 Get base time in a threadsafe way too.
500 Fix confusing debug in the change_state function.
501 Various other small cleanups.
503 * gst/gstelement.c: (gst_element_post_message):
504 Fix very verbose bus posting code.
506 * gst/gstpipeline.c: (gst_pipeline_class_init),
507 (gst_pipeline_set_property), (gst_pipeline_get_property),
508 (gst_pipeline_change_state):
509 Small ARG_ -> PROP_ cleanup
511 2005-10-08 Wim Taymans <wim@fluendo.com>
513 * gst/gstbin.c: (is_eos), (bin_bus_handler):
514 Do a less CPU demanding EOS check because we can.
516 2005-10-08 Wim Taymans <wim@fluendo.com>
518 * libs/gst/dataprotocol/dataprotocol.c:
519 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
520 (gst_dp_packet_from_event):
521 * libs/gst/dataprotocol/dataprotocol.h:
522 * libs/gst/dataprotocol/dp-private.h:
523 It's about time we bump the version number.
524 Since event types don't fit in the guint8 anymore describing
525 the payload type, make payload type 16 bits wide.
527 2005-10-08 Wim Taymans <wim@fluendo.com>
529 * docs/design/part-TODO.txt:
530 * docs/design/part-clocks.txt:
531 * docs/design/part-events.txt:
532 * docs/design/part-gstbin.txt:
533 * docs/design/part-gstelement.txt:
534 * docs/design/part-gstpipeline.txt:
535 * docs/design/part-live-source.txt:
536 * docs/design/part-messages.txt:
537 * docs/design/part-overview.txt:
538 * docs/design/part-states.txt:
541 2005-10-08 Wim Taymans <wim@fluendo.com>
545 Fix event quark registration.
546 Add some space between events so we can insert them in the
549 2005-10-08 Wim Taymans <wim@fluendo.com>
551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
552 (gst_base_sink_handle_buffer):
559 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
560 (gst_queue_set_property), (gst_queue_get_property):
562 Remove old unused properties.
564 2005-10-08 Stefan Kost <ensonic@users.sf.net>
565 * docs/gst/gstreamer-sections.txt:
568 * gst/gstminiobject.c:
569 * gst/gstminiobject.h:
573 lots of new docs and doc fixes
575 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
577 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
579 * gst/gstregistry.c: (gst_registry_lookup_locked),
580 (gst_registry_scan_path_level):
581 * gst/gstregistryxml.c: (load_plugin):
582 Only ever load one plugin for a given plugin basename.
583 This ensures correct overriding of GST_PLUGIN_PATH over
584 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
585 system installed plugins.
587 2005-10-08 Wim Taymans <wim@fluendo.com>
589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
590 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
591 Prepare for doing QOS.
593 2005-10-08 Wim Taymans <wim@fluendo.com>
595 * check/gst/gstbin.c: (GST_START_TEST):
596 * check/pipelines/cleanup.c: (GST_START_TEST):
597 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
598 Allow new clock message too.
600 2005-10-08 Wim Taymans <wim@fluendo.com>
602 * gst/gstmessage.c: (gst_message_new_error),
603 (gst_message_new_warning), (gst_message_new_tag),
604 (gst_message_new_state_changed), (gst_message_new_clock_provide),
605 (gst_message_new_clock_lost), (gst_message_new_new_clock),
606 (gst_message_new_segment_start), (gst_message_new_segment_done),
607 (gst_message_parse_state_changed),
608 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
609 (gst_message_parse_new_clock):
611 Also carry the clock in question.
613 2005-10-08 Wim Taymans <wim@fluendo.com>
615 * gst/gstmessage.c: (gst_message_new_custom),
616 (gst_message_new_eos), (gst_message_new_error),
617 (gst_message_new_warning), (gst_message_new_tag),
618 (gst_message_new_state_changed), (gst_message_new_clock_provide),
619 (gst_message_new_new_clock), (gst_message_new_segment_start),
620 (gst_message_new_segment_done), (gst_message_parse_state_changed),
621 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
624 Added clock related messages.
626 * gst/gstpipeline.c: (gst_pipeline_change_state):
627 Post message when the clock changed.
629 * tools/gst-launch.c: (event_loop):
632 2005-10-08 Tim-Philipp MĂĽller <tim at centricular dot net>
634 * tools/gst-inspect.c: (print_element_properties_info):
635 Can't pass NULL strings to g_print() on windows.
637 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
640 * docs/gst/Makefile.am:
641 * docs/gst/gstreamer-docs.sgml:
642 * docs/gst/running.xml:
643 * docs/version.entities.in:
644 add a chapter on running GStreamer.
645 document GST_DEBUG and GST_PLUGIN* env vars
647 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
652 remove PLUGINS_BUILDDIR stuff
653 * gst/gst.c: (init_post):
654 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
656 remove, it was condescending and not needed
658 2005-10-08 Wim Taymans <wim@fluendo.com>
660 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
661 (gst_base_sink_handle_object), (gst_base_sink_event),
662 (gst_base_sink_wait), (gst_base_sink_handle_event),
663 (gst_base_sink_change_state):
664 * gst/base/gstbasesink.h:
665 Repost EOS message while going to PLAYING if still EOS.
666 Make sure that when receiving a FLUSH_START we don't attempt
667 to sync on the clock anymore.
669 2005-10-08 Wim Taymans <wim@fluendo.com>
671 * tools/gst-launch.c: (event_loop):
672 Better message printout.
674 2005-10-08 Wim Taymans <wim@fluendo.com>
676 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
677 (gst_bin_child_proxy_get_children_count):
678 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
679 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
680 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
681 (gst_child_proxy_set_valist):
682 * gst/parse/grammar.y:
683 Make ChildProxy threadsafe and fix mem leaks.
685 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
687 * gst/gst.c: (init_post):
688 debug the GST_PLUGIN_ env vars
690 2005-10-08 Wim Taymans <wim@fluendo.com>
692 * check/gst/gstbin.c: (GST_START_TEST):
693 * check/gst/gstmessage.c: (GST_START_TEST):
694 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
695 * gst/gstelement.c: (gst_element_commit_state),
696 (gst_element_lost_state):
697 * gst/gstmessage.c: (gst_message_new_state_changed),
698 (gst_message_parse_state_changed):
700 * tools/gst-launch.c: (event_loop):
701 Added extra field to STATE_CHANGE message with the pending
702 state, which will be different from the new state soon.
704 2005-10-08 Wim Taymans <wim@fluendo.com>
706 * gst/gstbus.c: (gst_bus_pop):
708 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
709 Small cleanups and doc updates.
711 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
713 * gst/gst.c: (init_pre):
714 * gst/gstbin.c: (gst_bin_add_func):
715 log distributing clocks and base time
716 * gst/gstregistry.c: (gst_registry_add_plugin),
717 (gst_registry_scan_path_level), (gst_registry_scan_path):
718 clean up the debugging output a little
719 * gst/gstutils.c: (gst_element_state_get_name):
720 warn about a memleak (I've actually seen this be used, though
721 it was probably a bug)
723 2005-10-07 Wim Taymans <wim@fluendo.com>
725 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
726 (gst_base_src_init), (gst_base_src_default_newsegment),
727 (gst_base_src_newsegment), (gst_base_src_do_seek),
728 (gst_base_src_loop), (gst_base_src_start):
729 * gst/base/gstbasesrc.h:
730 Make the newsegment event customizable by subclasses.
732 2005-10-07 Wim Taymans <wim@fluendo.com>
734 * gst/gstevent.c: (gst_event_new_buffersize),
735 (gst_event_parse_buffersize):
737 New event for future idea.
739 2005-10-07 Andy Wingo <wingo@pobox.com>
741 * gst/gstelement.c (gst_element_post_message): Doc update.
743 * docs/gst/gstreamer-sections.txt: Update.
745 * gst/gstmessage.c (gst_message_new_application): Made into a
746 function like honest API calls.
747 (gst_message_new_element): New message type.
749 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
751 * check/elements/fakesrc.c (test_no_preroll): New check, checks
752 that setting a live fakesrc to PAUSED returns NO_PREROLL both
755 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
756 NO_PREROLL from gst_element_change_state to fall through.
758 2005-10-07 Wim Taymans <wim@fluendo.com>
760 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
761 (gst_ghost_pad_do_activate_push):
762 Activating a ghostpad with no internal pad in push mode
765 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
768 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
769 Fixes compilation on Windows.
771 2005-10-07 Michael Smith <msmith@fluendo.com>
773 * tools/gst-inspect.c:
774 Print out feature and plugin count at the end when printing out
777 2005-10-04 Michael Smith <msmith@fluendo.com>
779 * gst/gsterror.c: (_gst_stream_errors_init):
780 Add another error string used in a few existing plugins.
783 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
784 * tools/gst-inspect.c: (print_element_info):
785 When a feature disappears from a plugin (and the feature exists in
786 the cached registry file), things went horribly wrong. This isn't a
787 complete fix, we should actually be removing the 'missing' features
788 from the features list when we load the actual plugin. That's not
791 2005-10-04 Johan Dahlin <johan@gnome.org>
793 * check/gst/gstiterator.c: (GST_START_TEST):
794 * gst/gstbin.c: (gst_bin_iterate_elements),
795 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
796 * gst/gstelement.c: (gst_element_iterate_pads):
797 * gst/gstformat.c: (gst_format_iterate_definitions):
798 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
799 (gst_iterator_new_list), (gst_iterator_filter):
801 * gst/gstquery.c: (gst_query_type_iterate_definitions):
802 Add a GType to GstIterator, update callsites and tests.
804 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
806 * gst/gstpad.c: (gst_pad_event_default_dispatch):
807 give events a chance to be handled by event probes when the pad
810 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
812 * gst/gstevent.c: (gst_event_type_get_name),
813 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
815 add string representations for event types
817 2005-10-06 Wim Taymans <wim@fluendo.com>
819 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
820 Don't use NULL pointers.
822 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
828 * gst/gstpluginfeature.c:
829 widen the debug category in output to fit the biggest one we have
830 add a bus category and use it
832 fix up some categories
834 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
836 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
837 add push activation of sink ghost pads.
840 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
842 * gst/gstutils.c: (gst_element_link_pads):
843 fix a bug in the case where neither element has a pad
844 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
845 add a test for that case
847 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
849 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
850 emit have-data before checking for peers. This allows
851 for probe handlers to connect elements. This helps autopluggers.
852 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
854 add six checks, linked/unlinked with no/true/false probe
856 2005-10-04 Wim Taymans <wim@fluendo.com>
858 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
859 (gst_fake_sink_event), (gst_fake_sink_preroll),
860 (gst_fake_sink_render), (gst_fake_sink_change_state):
861 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
862 (gst_fake_src_get_property), (gst_fake_src_create),
864 * gst/elements/gstidentity.c: (gst_identity_stop):
865 Protect last_message with lock.
867 2005-10-04 Edward Hervey <edward@fluendo.com>
870 Added precision in the comments for GST_FORMAT_DEFAULT
872 2005-10-04 Tim-Philipp MĂĽller <tim at centricular dot net>
874 * tools/gst-launch.c: (main):
875 Don't try to run erroneous pipelines.
877 2005-10-04 Julien MOUTTE <julien@moutte.net>
879 * gst/gstbus.c: We don't need this header.
881 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
886 === release 0.9.3 ===
888 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
892 Releasing 0.9.3, "Unregistered"
894 2005-10-03 Andy Wingo <wingo@pobox.com>
896 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
897 whereby calling a pad's activatepush() function can start a thread
898 that starts to push or pull before the pad gets the FLUSHING flag
899 unset. Hack around it by holding the stream lock until the flag is
900 set. Need to replace this with a proper solution. Together with
901 the ghost pad fixes, this fixes mp3 playing/tagreading.
903 * docs/design/part-gstghostpad.txt: Add a note about activation of
904 proxy pads outside of ghost pads.
906 * gst/gstghostpad.c: Implement the ghost pad activation design.
908 2005-10-02 Andy Wingo <wingo@pobox.com>
910 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
911 It is volatile, after all.
913 * docs/design/part-gstghostpad.txt: Flesh out activation with
916 * gst/base/gstbasesrc.c (gst_base_src_init): Use
919 2005-10-02 Tim-Philipp MĂĽller <tim at centricular dot net>
922 Fix (unused) AM_CONDITIONAL tests.
924 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
926 Reviewed by: Tim-Philipp MĂĽller <tim at centricular dot net>
928 * gst/gstutils.c: (gst_pad_query_convert):
929 Add assertion that makes sure src_val is >=0, just like
930 gst_query_new_convert() has. (#315895)
932 2005-09-30 Edward Hervey <edward@fluendo.com>
934 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
935 Let's not iterate pads we're not interested in, it avoids getting
936 sky-high refcounts on sinkpad.
938 2005-09-30 Wim Taymans <wim@fluendo.com>
940 * gst/gstelement.c: (gst_element_set_state),
941 (gst_element_change_state):
942 Small tweak, element in ASYNC remains ASYNC.
944 2005-09-30 Wim Taymans <wim@fluendo.com>
946 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
947 Only error is an error.
949 * gst/gstbin.c: (gst_bin_change_state):
952 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
953 Also call pad_block in pad alloc.
955 * gst/gstutils.c: (gst_flow_get_name):
958 2005-09-29 Tim-Philipp MĂĽller <tim at centricular dot net>
960 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
961 (gst_base_src_get_range):
962 Fix documentation typos. Add some more debug info.
964 2005-09-29 David Schleef <ds@schleef.org>
966 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
967 more end-user friendly.
968 * tools/gst-inspect.c: (main): Check if command-line argument is
969 a file and attempt to load that file as a plugin.
971 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
973 * check/gst/gstbin.c:
974 * check/states/sinks.c:
975 fix tests for the new warning
976 * check/gst/gstpipeline.c:
977 add a test for pipeline and bus interaction
979 elements should be NULL if they get disposed; add a warning if not
981 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
984 for 2.6 refcounting, make debug log more correct by printing
985 the actual refcounts at the time of swap (Wim)
987 2005-09-29 Andy Wingo <wingo@pobox.com>
989 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
990 removes signal watches previously added via
991 gst_bus_add_signal_watch.
992 (gst_bus_add_signal_watch): Don't return the source id, just store
993 it on the bus if there wasn't an id already.
995 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
996 add_signal_watch and remove_signal_watch.
998 2005-09-29 Edward Hervey <edward@fluendo.com>
1000 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1001 Better if we actually iterate the list :)
1003 2005-09-29 Wim Taymans <wim@fluendo.com>
1005 * check/gst/gstbin.c: (GST_START_TEST):
1006 Change for new bus API.
1008 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1009 (send_messages), (GST_START_TEST), (gstbus_suite):
1010 Change for new bus signal API.
1012 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1013 (gst_bus_source_prepare), (gst_bus_source_check),
1014 (gst_bus_create_watch), (gst_bus_add_watch_full),
1015 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1016 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1018 Remove support for multiple GSources operating on different
1019 message types as it is too complex and unneeded when using
1021 Added support for receiving signals from the bus.
1023 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1025 * docs/libs/tmpl/gstdataprotocol.sgml:
1026 * docs/manual/advanced-dataaccess.xml:
1027 * gst/elements/gstcapsfilter.c:
1029 rename filter-caps to caps property
1031 2005-09-29 Tim-Philipp MĂĽller <tim at centricular dot net>
1033 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1034 More robust fraction string parsing.
1036 * docs/pwg/appendix-porting.xml:
1037 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1039 2005-09-29 Tim-Philipp MĂĽller <tim at centricular dot net>
1041 * gst/gstcaps.c: (gst_caps_do_simplify):
1042 Thou shalt not free a structure and then continue using it
1043 in the next loop iteration.
1045 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1047 Add test case for caps simplification.
1049 2005-09-29 Wim Taymans <wim@fluendo.com>
1051 * check/gst/gstbin.c: (GST_START_TEST):
1054 2005-09-29 Wim Taymans <wim@fluendo.com>
1056 * check/gst/gstbin.c: (GST_START_TEST):
1059 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1060 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1061 (find_element), (gst_bin_sort_iterator_next),
1062 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1063 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1064 (gst_bin_change_state), (gst_bin_dispose):
1065 A bin does not have a bus, it gets the bus from the parent.
1067 * gst/gstelement.c: (gst_element_requires_clock),
1068 (gst_element_provides_clock), (gst_element_is_indexable),
1069 (gst_element_is_locked_state), (gst_element_change_state),
1070 (gst_element_set_bus_func):
1073 * gst/gstpipeline.c: (gst_pipeline_class_init),
1074 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1075 The pipeline provides a bus.
1077 2005-09-28 Johan Dahlin <johan@gnome.org>
1079 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1080 gst_structure_get_enum instead of gst_structure_get_int
1082 * gst/gststructure.c (gst_structure_get_enum): Impl.
1084 * gst/gststructure.h (gst_structure_get_enum): Add
1086 * docs/gst/gstreamer-sections.txt: Ditto
1088 * gst/gstmessage.c (gst_message_new_state_changed): Use
1089 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1090 which does introspection.
1091 Reviewed by Christian Schaller
1093 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1095 * gst/gstinfo.c: (gst_debug_log_default):
1096 don't do dummy g_strdup()s
1097 * libs/gst/controller/gstcontroller.c:
1098 (on_object_controlled_property_changed),
1099 (gst_controlled_property_new), (gst_controller_new_valist),
1100 (gst_controller_new_list),
1101 (gst_controller_remove_properties_valist), (gst_controller_set),
1102 (gst_controller_get), (gst_controller_sync_values),
1103 (gst_controller_get_value_array), (_gst_controller_class_init),
1104 (gst_controller_get_type):
1105 * libs/gst/controller/gstcontroller.h:
1106 * libs/gst/controller/gstinterpolation.c:
1107 (gst_controlled_property_find_timed_value_node):
1108 convert // to /**/ comments
1110 2005-09-28 Wim Taymans <wim@fluendo.com>
1112 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1113 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1114 (gst_bus_sync_signal_handler):
1116 Added async-message and sync-message signals to the bus.
1117 Added helper BusFunc to emit signals for all posted messages.
1119 * gst/gstmessage.c: (gst_message_type_get_name),
1120 (gst_message_type_to_quark), (gst_message_get_type):
1122 Register quarks for message names.
1124 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1126 * docs/libs/gstreamer-libs-sections.txt:
1127 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1128 (gst_controller_new_list):
1129 * libs/gst/controller/gstcontroller.h:
1130 added another constructor for language bindings
1132 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1134 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1138 * gst/gstinfo.c: (_gst_debug_init):
1139 slightly more readable color for refcount debugging
1141 2005-09-28 Wim Taymans <wim@fluendo.com>
1143 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1144 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1145 (find_element), (gst_bin_sort_iterator_next),
1146 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1147 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1148 (gst_bin_change_state), (gst_bin_dispose):
1149 Small doc fixes. get_clock -> provide_clock.
1151 * gst/gstelement.c: (gst_element_class_init),
1152 (gst_element_provides_clock), (gst_element_provide_clock),
1153 (gst_element_get_clock), (gst_element_commit_state),
1154 (gst_element_lost_state):
1156 Make get/set_clock() symetric. Add provide_clock vmethod since
1157 that is actually what this function does.
1159 * gst/gstpipeline.c: (gst_pipeline_class_init),
1160 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1161 (gst_pipeline_get_clock):
1162 get_clock -> provide_clock.
1164 2005-09-28 Andy Wingo <wingo@pobox.com>
1166 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1167 lieu of real docs...
1169 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1171 2005-09-28 Tim-Philipp MĂĽller <tim at centricular dot net>
1173 * gst/elements/gstcapsfilter.c:
1174 * gst/elements/gstfakesink.c:
1175 * gst/elements/gstfakesrc.c:
1176 * gst/elements/gstfdsink.c:
1177 * gst/elements/gstfdsrc.c:
1178 * gst/elements/gstfilesink.c:
1179 * gst/elements/gstfilesrc.c:
1180 * gst/elements/gstidentity.c:
1181 * gst/elements/gsttee.c:
1182 * gst/elements/gsttypefindelement.c:
1183 Make element details static.
1185 2005-09-28 Wim Taymans <wim@fluendo.com>
1187 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1188 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1189 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1190 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1191 (gst_bin_change_state), (gst_bin_dispose):
1192 Some documentation updates.
1193 Clean up dispose handlers.
1195 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1196 * gst/gstpad.c: (gst_pad_dispose):
1197 Clean up dispose handler.
1199 * gst/gstpipeline.c: (gst_pipeline_change_state):
1200 Removed spurious UNLOCK.
1202 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1204 * docs/gst/gstreamer-sections.txt:
1205 * gst/base/gstbasesrc.h:
1210 * gst/gstpipeline.c:
1211 * gst/gstpipeline.h:
1214 added two new functions to the docs
1215 documents all undocumented GstXXXFlags
1216 completed some incomplete docs
1218 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1220 * gst/gstbin.c: (gst_bin_dispose):
1221 * gst/gstelement.c: (gst_element_dispose):
1222 remove now useless and leaky resurrection code in dispose
1223 * gst/base/gstbasesrc.c: (gst_base_src_init):
1224 * gst/gstelementfactory.c: (gst_element_factory_create):
1225 * gst/gstobject.c: (gst_object_set_parent):
1228 2005-09-27 Wim Taymans <wim@fluendo.com>
1230 * docs/design/part-TODO.txt:
1233 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1234 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1235 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1236 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1237 (gst_bin_change_state):
1239 Remove element variable, we keep element info in the iterator now.
1241 2005-09-27 Andy Wingo <wingo@pobox.com>
1243 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1246 2005-09-27 Wim Taymans <wim@fluendo.com>
1248 * check/gst/gstbin.c: (GST_START_TEST):
1249 Enable check that works now.
1251 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1252 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1253 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1254 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1255 (gst_bin_change_state):
1257 Redid the state change algorithm using a topological sort algo.
1258 Handles all cases correctly.
1259 Exposed iterator for state change order.
1262 Temp storage for state changes. Need to get rid of this soon.
1264 2005-09-27 Wim Taymans <wim@fluendo.com>
1266 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1267 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1268 (link_fold_func), (gst_pad_proxy_setcaps):
1269 Leak fixes, the fold functions need to unref the passed object and
1270 _get_parent_*() returns ref to parent.
1272 2005-09-27 Tim-Philipp MĂĽller <tim at centricular dot net>
1274 * check/gst/gstbuffer.c: (test_make_writable):
1275 Plug leak in test case and fix 'make check-valgrind'
1277 2005-09-27 Tim-Philipp MĂĽller <tim at centricular dot net>
1279 * gst/gstbuffer.c: (gst_subbuffer_init):
1280 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1281 works correctly in all circumstances (we could have just copied
1282 the parent buffer's readonly flag, but conceptually it seems
1283 cleaner to mark all subbuffers as read-only). (based on patch
1284 by Alessandro Decina, #314710).
1286 * check/gst/gstbuffer.c: (create_read_only_buffer),
1287 (test_make_writable), (test_subbuffer_make_writable),
1289 Add some tests for gst_buffer_make_writable().
1291 2005-09-27 Wim Taymans <wim@fluendo.com>
1293 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1294 use gst_object_has_ancestor().
1296 * gst/gstobject.c: (gst_object_has_ancestor):
1298 gst_object_has_ancestor() copied from gstbin.c as it is a
1301 * tests/instantiate/create.c: (create_all_elements):
1302 * tests/lat.c: (handoff_src), (handoff_sink):
1303 * tests/sched/runxml.c: (main):
1304 * tests/seeking/seeking1.c: (main):
1305 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1307 Fix compilation of some tests.
1309 2005-09-27 Tim-Philipp MĂĽller <tim at centricular dot net>
1312 Remove comment. GST_TYPE_G_ERROR is here to stay,
1313 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1316 2005-09-26 Wim Taymans <wim@fluendo.com>
1318 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1319 Added check that shows error in state change order.
1321 2005-09-26 Wim Taymans <wim@fluendo.com>
1323 * gst/gstbin.c: (gst_bin_change_state):
1324 Make state change function use 3 queues again, we were
1325 adding elements in the wrong order.
1327 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1330 * gst/gstpad.c: (gst_pad_dispose):
1331 Added some debug info first.
1333 2005-09-26 Tim-Philipp MĂĽller <tim at centricular dot net>
1335 * docs/design/draft-push-pull.txt:
1336 * docs/design/part-events.txt:
1337 * docs/design/part-overview.txt:
1338 * docs/design/part-scheduling.txt:
1339 Replace all _pull_region() with _pull_range()
1341 2005-09-26 Andy Wingo <wingo@pobox.com>
1343 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1345 * check/gst-libs/controller.c: Update for controller api change.
1348 * tests/Makefile.am:
1349 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1350 over by GLib bug 118439.
1352 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1353 routines to a function.
1355 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1357 * libs/gst/controller/gsthelper.c:
1358 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1359 (gst_object_sync_values): Renamed from sink_values. Ugh.
1361 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1363 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1364 Renamed from controller_key, as it is exported.
1366 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1368 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
1373 * gst/gstpadtemplate.h:
1376 * gst/gstqueryutils.c:
1377 * gst/gstqueryutils.h:
1378 remove queryutils headers after moving the two used functions
1379 to gstquery. also fixes build problem for gstsiddec
1381 2005-09-26 Michael Smith <msmith@fluendo.com>
1383 * tools/gst-launch.1.in:
1384 Correct documentation in manpage of debug syntax
1386 2005-09-26 Wim Taymans <wim@fluendo.com>
1388 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1389 (gst_base_src_is_seekable), (gst_base_src_change_state):
1390 Some more debugging info.
1392 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1394 * docs/gst/gstreamer-sections.txt:
1395 * gst/base/gstbasetransform.h:
1399 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1401 * docs/gst/.cvsignore:
1402 * docs/gst/tmpl/.cvsignore:
1403 * docs/gst/tmpl/gstpipeline.sgml:
1404 * docs/gst/tmpl/gstplugin.sgml:
1405 * gst/gstpipeline.c:
1408 inlined the last two docs files
1409 removed the tmpl directory from cvs (no more conflicts here!)
1411 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1413 * docs/gst/gstreamer-sections.txt:
1414 * docs/gst/tmpl/.cvsignore:
1415 * docs/gst/tmpl/gstpad.sgml:
1416 * docs/gst/tmpl/gstpadtemplate.sgml:
1418 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1419 (gst_pad_finalize), (gst_pad_set_pad_template):
1421 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1422 (gst_pad_template_class_init), (gst_pad_template_init),
1423 (gst_pad_template_dispose), (name_is_valid),
1424 (gst_static_pad_template_get), (gst_pad_template_new),
1425 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1426 (gst_pad_template_pad_created):
1427 * gst/gstpadtemplate.h:
1428 inlined two more docs
1429 factored gstpadtemplate out of gstpad
1431 2005-09-24 Tim-Philipp MĂĽller <tim at centricular dot net>
1433 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1434 (test_children_state_change_order_semi_sink):
1435 Fix test case: we can't rely on a fixed state change order when
1436 going from READY => PAUSED because the sink might commit its
1437 new state first when the first buffer created by the source
1438 reaches the sink before the source has finished its change state.
1439 (Test case still fails at times, see #316856, comment 5 onwards)
1441 2005-09-24 Wim Taymans <wim@fluendo.com>
1443 * docs/design/part-events.txt:
1444 * docs/design/part-gstbus.txt:
1445 * docs/design/part-gstpipeline.txt:
1446 * docs/design/part-messages.txt:
1447 * docs/design/part-overview.txt:
1448 * docs/design/part-segments.txt:
1455 * gst/gstiterator.c:
1456 Various documentation updates.
1458 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
1461 Well, that's embarassing. Luckily we weren't using
1462 GST_CLOCK_DIFF anywhere.
1464 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1466 * common/gtk-doc.mak:
1467 don't fail on building XML, FC4 slave shows a bunch of doc
1468 missing bits that I don't get
1470 * gst/gstpipeline.c:
1471 * gst/gststructure.c:
1474 2005-09-23 Tim-Philipp MĂĽller <tim at centricular dot net>
1476 * docs/design/part-gstbin.txt:
1477 * docs/design/part-gstbus.txt:
1479 Add blurb about how the bus goes into flushing mode and
1480 drops all messages when its bin goes from READY into NULL
1483 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1485 * docs/gst/gstreamer-sections.txt:
1486 * gst/gststructure.c: (gst_structure_get_clock_time):
1487 * gst/gststructure.h:
1488 add a method to get a GstClockTime out of a structure
1490 2005-09-23 Tim-Philipp MĂĽller <tim at centricular dot net>
1492 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1493 (test_children_state_change_order_semi_sink), (gst_bin_suite):
1494 Added test to check state change order in bins (can still be made
1495 to fail here under heavy disk load; bails out with 'Push on pad
1496 fakesink:sink0, but it was not activated in push mode').
1498 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1499 Fix state change order when there is only a semi sink (#316856)
1501 * gst/gstbus.c: (gst_bus_class_init):
1502 Use _class_peek_parent(), not _class_ref(); fix docs to say
1503 'default main context' instead of 'mainloop' where that is
1506 * gst/gstelement.c: (gst_element_commit_state),
1507 (gst_element_set_state):
1508 Fix typos in debug messages
1510 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1513 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1514 * gst/gstpluginfeature.c:
1517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1518 change an assert into an error until it gets fixed properly
1520 2005-09-23 Stefan Kost <ensonic@users.sf.net>
1522 * docs/gst/gstreamer-sections.txt:
1523 * docs/gst/tmpl/.cvsignore:
1524 * docs/gst/tmpl/gstelement.sgml:
1525 * docs/gst/tmpl/gstinfo.sgml:
1526 * docs/gst/tmpl/gstobject.sgml:
1531 * gst/gstobject.c: (gst_object_class_init):
1533 inlined 3 more biiiig doc files and added some missing docs on the fly
1535 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1537 * check/gst/.cvsignore:
1538 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1539 * gst/gstregistryxml.c: (load_plugin),
1540 (gst_registry_xml_save_plugin):
1541 put back source in registry. add checks for find_plugin.
1542 * testsuite/states/bin.c: (assert_state), (empty_bin),
1543 (test_adding_one_element), (main):
1544 * testsuite/states/locked.c: (main):
1545 some compile/run fixes
1547 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1549 * check/gst/gstvalue.c: (GST_START_TEST):
1550 fix leaks in the test itself
1552 2005-09-22 Wim Taymans <wim@fluendo.com>
1554 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1555 (gst_base_sink_send_event), (gst_base_sink_peer_query),
1556 (gst_base_sink_query):
1557 Prepare for more accurate position reporting and query
1560 * gst/gstelement.c: (gst_element_send_event),
1561 (gst_element_set_state):
1564 2005-09-22 Wim Taymans <wim@fluendo.com>
1566 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1567 (gst_query_parse_segment):
1570 Add segment query for future use.
1572 2005-09-22 Wim Taymans <wim@fluendo.com>
1574 * gst/gstbin.c: (gst_bin_add_func):
1575 Some more debug info.
1577 * gst/gstelement.c: (gst_element_send_event):
1581 Don't know how flags got broken.
1586 2005-09-22 Tim-Philipp MĂĽller <tim at centricular dot net>
1588 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1589 Add simplistic test suite for GST_TYPE_DATE serialisation and
1592 2005-09-22 Tim-Philipp MĂĽller <tim at centricular dot net>
1594 * docs/gst/gstreamer-sections.txt:
1595 * gst/gststructure.c: (gst_structure_set_valist),
1596 (gst_structure_get_date):
1597 * gst/gststructure.h:
1598 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1599 (gst_date_copy), (gst_value_compare_date),
1600 (gst_value_serialize_date), (gst_value_deserialize_date),
1601 (gst_value_transform_date_string),
1602 (gst_value_transform_string_date), (_gst_value_initialize):
1604 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1605 bunch of utility functions along with a hack that checks that
1606 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1607 is required. Part of the grand scheme in #170777.
1609 2005-09-22 Andy Wingo <wingo@pobox.com>
1611 * gst/gstconfig.h.in: Psych out gtk-doc.
1613 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1615 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1617 * tools/gst-inspect.c (print_element_list): Plug some
1618 inconsequential leaks.
1620 * gst/gstregistry.c (gst_registry_get_default): Doc.
1622 * check/gst/gstplugin.c:
1623 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1624 * gst/gstelementfactory.c (gst_element_factory_create):
1625 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1628 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1629 (gst_plugin_feature_load): Doc, don't eat refs.
1631 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1632 (gst_plugin_list_free): Doc.
1633 (gst_plugin_load_file): Doc updates.
1635 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1636 accessors returning refcounted objects, return a ref.
1638 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1639 accessor for caps. IDEMPOTENCE. Oh yes.
1641 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1643 Reviewed by: Tim-Philipp MĂĽller <tim at centricular dot net>
1645 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1646 (_gst_debug_register_funcptr):
1647 Add mutex to serialise access to the hash table with
1648 the function pointer => function name string mapping;
1649 make that hash table static scope (#316809).
1651 * gst/registries/.cvsignore:
1652 Remove left-over file.
1654 2005-09-21 Tim-Philipp MĂĽller <tim at centricular dot net>
1656 * docs/pwg/appendix-porting.xml:
1657 And something about newsegment events and caps-on-buffers to
1658 the porting guide (feel free to improve).
1660 2005-09-21 Andy Wingo <wingo@pobox.com>
1662 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1663 data and event probes on the same pad.
1664 (test_buffer_probe_once): Test that removing probes from within
1665 the probe functions works.
1667 2005-09-21 Andy Wingo <wingo@pobox.com>
1669 * check/gst/gstutils.c: New file.
1670 (test_buffer_probe_n_times): A simple buffer probe test. More to
1673 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1674 have-data::buffer, not have-data.
1675 (gst_pad_add_event_probe): Likewise for have-data::event.
1676 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1677 peer' isn't quite right yet though.
1678 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1679 (gst_pad_remove_data_probe): Change to take the guint handler_id
1680 as their arg, not the function+data, which is more glib-like.
1682 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1683 the signal emission to indicate if the data is a buffer or an
1685 (gst_pad_get_type): Initialize buffer and event quarks.
1686 (gst_pad_class_init): have-data is now a detailed signal, yes it
1689 2005-09-21 Tim-Philipp MĂĽller <tim at centricular dot net>
1691 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1692 * gst/gstutils.c: (gst_util_set_value_from_string),
1693 (gst_util_set_object_arg):
1694 Don't put functional code in g_return_if_fail() or
1695 g_return_val_if_fail() statements, otherwise things will
1696 break when G_DISABLE_CHECKS is defined during compilation.
1698 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1700 * docs/gst/tmpl/.cvsignore:
1701 * docs/gst/tmpl/gstvalue.sgml:
1704 inlied another one and added some obvious docs
1706 2005-09-21 Wim Taymans <wim@fluendo.com>
1708 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1709 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1710 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1711 (gst_fdsrc_get_property), (gst_fdsrc_create):
1712 * gst/elements/gstfdsrc.h:
1713 Properly implement fdsrc. Removed signal and timeout,
1714 better implemented somewhere else.
1716 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1718 * docs/gst/tmpl/.cvsignore:
1719 * docs/gst/tmpl/gstimplementsinterface.sgml:
1720 * gst/gstinterface.c:
1723 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1725 * docs/gst/gstreamer-sections.txt:
1726 * docs/gst/tmpl/.cvsignore:
1727 * docs/gst/tmpl/gstenumtypes.sgml:
1728 remove obsolete doc file
1730 2005-09-21 David Schleef <ds@schleef.org>
1732 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1733 little beer, fix a little leak.
1735 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1737 * docs/gst/gstreamer-docs.sgml:
1738 * docs/gst/gstreamer-sections.txt:
1739 * docs/gst/tmpl/.cvsignore:
1744 * gst/gstindex.c: (gst_index_class_init):
1746 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1747 (gst_index_factory_class_init), (gst_index_factory_init),
1748 (gst_index_factory_finalize), (gst_index_factory_new),
1749 (gst_index_factory_destroy), (gst_index_factory_find),
1750 (gst_index_factory_create), (gst_index_factory_make):
1751 * gst/gstindexfactory.h:
1752 * gst/gstpluginfeature.c:
1753 * gst/gstpluginfeature.h:
1754 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1755 more docs inlined, splitted gstindex.{c,h}
1757 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1759 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1762 2005-09-20 Tim-Philipp MĂĽller <tim at centricular dot net>
1764 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1765 Set sync to FALSE by default.
1767 2005-09-20 Wim Taymans <wim@fluendo.com>
1769 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1770 (gst_base_sink_init):
1771 Make sync property settable from subclass.
1773 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1774 (gst_fake_sink_change_state):
1775 Set sync to FALSE by default.
1777 2005-09-20 Wim Taymans <wim@fluendo.com>
1779 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1780 * tools/gst-launch.c: (main):
1781 The timeout handler should have lower priority than the source
1782 so we don't timeout before popping a message with 0 timeout.
1783 Dump error messages after failed state change.
1785 2005-09-20 Tim-Philipp MĂĽller <tim at centricular dot net>
1787 * tools/gst-inspect.c: (print_element_properties_info):
1790 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1792 * check/gst/gstevent.c:
1793 * gst/elements/gstfakesink.c:
1794 * gst/elements/gstfakesink.h:
1795 remove the sync property from fakesink.
1796 has the side effect of setting sync TRUE
1797 for fakesink, which is a change. Anyone who knows how
1798 to fix this nicely in a GObject-y way, feel free.
1800 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1802 * docs/gst/gstreamer-docs.sgml:
1803 remove probe refsection
1805 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1807 * check/Makefile.am:
1808 disable valgrinding the controller test again
1809 * docs/gst/gstreamer-sections.txt:
1810 update for api-changes
1812 2005-09-20 Wim Taymans <wim@fluendo.com>
1814 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1815 (gst_base_sink_set_property), (gst_base_sink_get_property),
1816 (gst_base_sink_do_sync):
1817 * gst/base/gstbasesink.h:
1818 Added sync property to basesink to disable clock sync.
1820 2005-09-20 Andy Wingo <wingo@pobox.com>
1822 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1823 eating the caller's refcount.
1825 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1826 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1829 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1830 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1831 of GLib 2.8 public, so we can know which refcount to check in
1834 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1835 (gst_object_init): Only set the gst refcount if we're going ahead
1836 with the refcount hack.
1838 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1840 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1841 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1842 more leaks plumbed, added more debug-logging
1846 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1849 remove include of gstmemchunk.h
1851 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1853 * gst/gstclock.c: (_gst_clock_id_free):
1854 Commit from the Political Party For More Atomic CVS Commits,
1855 so that people don't waste too much of their day fishing
1856 out obvious leaks out of massive commits.
1857 Oh, and fix a pretty damn obvious leak in the memchunk
1860 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1862 * check/Makefile.am:
1863 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1864 plug mem-leak, re-add to valgrindable tests
1866 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1869 unbreak the build for those who have chronic arthritis
1870 and typing "make check" is just too taxing on the hands
1872 2005-09-20 Andy Wingo <wingo@pobox.com>
1874 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1875 really want it out, you should fix plugins at the same time.
1877 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1880 * docs/gst/gstreamer-sections.txt:
1882 added missing symbols to api docs
1883 disable ref-count hack if we have glib >= 2.8
1885 2005-09-19 David Schleef <ds@schleef.org>
1887 * docs/gst/Makefile.am: Ignore a few more internal headers
1888 * docs/gst/gstreamer-docs.sgml: Remove old sections
1889 * docs/gst/gstreamer-sections.txt: Remove old sections
1890 * docs/gst/tmpl/gstobject.sgml: update
1891 * docs/gst/tmpl/gstplugin.sgml: update
1892 * docs/gst/tmpl/gstpluginfeature.sgml: update
1893 * docs/random/ds/0.9-suggested-changes: update.
1894 * gst/Makefile.am: remove memchunk and trashstack, since they're
1896 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1897 * gst/gst.h: don't include some headers
1898 * gst/gstchildproxy.c: add gstmarshal.h
1899 * gst/gstclock.c: Don't use memchunks
1900 * gst/gstminiobject.c: Add some docs
1901 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1902 * gst/gstobject.h: same
1903 * gst/gstplugin.c: include gstmacros.h
1904 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1905 * gst/gstquery.c: don't use memchunks
1906 * gst/gstregistry.c: rename gst_registry_deinit()
1907 * gst/gstregistry.h: same
1909 2005-09-19 David Schleef <ds@schleef.org>
1911 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1912 * docs/libs/gstreamer-libs-sections.txt:
1913 * docs/libs/tmpl/gstgetbits.sgml:
1914 * docs/libs/tmpl/gstputbits.sgml:
1916 2005-09-19 Tim-Philipp MĂĽller <tim at centricular dot net>
1918 * win32/gstenumtypes.c:
1919 * win32/gstenumtypes.h:
1922 2005-09-19 Wim Taymans <wim@fluendo.com>
1924 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1925 Automatically PAUSE and RESUME a pipeline when a flushing seek
1928 2005-09-19 Andy Wingo <wingo@pobox.com>
1930 * gst/gstregistry.h: Spacing fixen.
1932 2005-09-19 Wim Taymans <wim@fluendo.com>
1934 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1935 Handle state change failure more correctly.
1937 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1939 * check/Makefile.am:
1940 * check/pipelines/cleanup.c: (run_pipeline):
1941 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1943 enable cleanup again after fixing the leak
1945 some more info on docs
1947 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1949 * check/Makefile.am:
1950 re-enable tests now that leaks are plugged
1952 * check/gst/gstbin.c:
1953 * check/gst/gstpipeline.c:
1954 add some more tests while fixing leaks
1956 make sure binaries are uptodate when valgrinding/gdbing
1958 * gst/gstelementfactory.c:
1959 remove a ref too many, and add a FIXME for when we get
1960 round to disposing of classes
1962 fix the refcounting when loading a plugin from a file and
1963 the code pretends that the pointer is the same even though
1964 of course it can change
1965 * gst/gstpluginfeature.c:
1966 unref plugins marked cached (a bit confusing as a name)
1967 as the docs state should be done
1968 various doc additions to explain refcounting
1969 * gst/gstregistry.c:
1970 * gst/gstregistryxml.c:
1973 2005-09-19 Wim Taymans <wim@fluendo.com>
1975 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1976 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1977 (send_messages), (GST_START_TEST), (gstbus_suite):
1978 * check/gst/gstpipeline.c: (GST_START_TEST):
1979 * check/pipelines/cleanup.c: (run_pipeline):
1980 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1982 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1983 (gst_bus_source_check), (gst_bus_source_dispatch),
1984 (gst_bus_create_watch), (gst_bus_add_watch_full),
1985 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1987 * tools/gst-launch.c: (event_loop):
1988 * tools/gst-md5sum.c: (event_loop):
1989 GstBusHandler -> GstBusFunc, return value has the same meaning as
1990 any other GSource (FALSE == remove source).
1991 _add_watch() and _add_watch_full() now take a MessageType mask to
1992 only handle specific types of messages.
1993 _poll() returns the GstMessage instead of the message type to avoid
1995 _have_pending() takes a MessageType mask now too.
1996 Added testsuite for multiple bus watches.
1997 Fix testsuites and applications for new bus API.
1999 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2001 * check/Makefile.am:
2002 mark a bunch of the tests as to fix until we fix them
2004 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2007 use GST_PLUGIN settings for valgrind tests as well, so we're
2008 valgrinding the correct thing
2009 * gst/gst.c: (init_post):
2012 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2014 * gst/gst.c: (init_post), (gst_deinit):
2015 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2016 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2017 * gst/gstindex.c: (gst_index_factory_class_init),
2018 (gst_index_factory_finalize):
2019 * gst/gstobject.c: (gst_object_dispose):
2020 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2021 (gst_plugin_load_file), (gst_plugin_desc_free):
2022 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2023 (gst_plugin_feature_finalize):
2024 * gst/gstregistry.c: (gst_registry_class_init),
2025 (gst_registry_init), (gst_registry_finalize),
2026 (gst_registry_get_default), (gst_registry_deinit):
2027 * gst/gstregistry.h:
2028 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2029 various cleanups and memleak plugging. make valgrind is happy now.
2031 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2034 add a check-valgrind target
2036 2005-09-18 David Schleef <ds@schleef.org>
2038 * tools/gst-inspect.c: Revert the GOption code.
2040 2005-09-17 David Schleef <ds@schleef.org>
2042 * check/Makefile.am: Fix environment variables.
2043 * check/gst/gstplugin.c: Fix for API changes.
2044 * tools/gst-inspect.c: Fix for API changes.
2045 * tools/gst-xmlinspect.c: Fix for API changes.
2046 * gst/gstelementfactory.c:
2049 * gst/gstpluginfeature.c:
2050 * gst/gstpluginfeature.h:
2051 * gst/gstregistry.c:
2052 * gst/gstregistry.h:
2053 * gst/gstregistryxml.c:
2054 * gst/gsttypefind.c:
2055 * gst/gsttypefindfactory.c:
2056 * gst/indexers/gstfileindex.c:
2057 * gst/indexers/gstmemindex.c:
2058 * gst/schedulers/Makefile.am:
2059 Change registry to keep track of both plugins and features,
2060 removing the feature tracking from plugins themselves.
2062 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2064 * check/Makefile.am:
2065 * tools/gst-register.1.in:
2068 2005-09-15 David Schleef <ds@schleef.org>
2070 * check/gst/gstplugin.c:
2071 * gst/gstelementfactory.c:
2073 * gst/gstpluginfeature.c:
2074 * gst/gstregistry.c:
2075 Getting tired of debugging. Disabled all the unreffing of
2076 plugins and features, which fixes the segfaults, but of
2077 course leaks like crazy. At least playbin works.
2079 2005-09-15 David Schleef <ds@schleef.org>
2081 * check/gst/gstplugin.c: (register_check_elements),
2082 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2084 * gst/elements/gsttypefindelement.c: Fix refcounting.
2085 * gst/gsttypefind.c:
2086 * gst/gsttypefindfactory.c:
2087 * gst/gsttypefindfactory.h:
2089 2005-09-15 David Schleef <ds@schleef.org>
2091 * gst/gstindex.c: get refcounting correct.
2092 * gst/gstregistry.c: Handle the case where a feature/plugin is
2095 2005-09-15 David Schleef <ds@schleef.org>
2097 * check/Makefile.am:
2098 * check/gst/gstplugin.c: Add test
2099 * gst/gstplugin.c: Fix problems noticed by testsuite
2101 * gst/gstregistry.c:
2102 * gst/gstregistry.h:
2104 2005-09-15 David Schleef <ds@schleef.org>
2106 * gst/gstplugin.c: Implement semi-decent recounting and locking
2107 in plugins and plugin features.
2109 * gst/gstpluginfeature.c:
2110 * gst/gstpluginfeature.h:
2111 * gst/gstregistry.c:
2113 2005-09-15 Michael Smith <msmith@fluendo.com>
2115 * gst/gstregistry.c: (gst_registry_get_feature_list):
2116 Implement this. Makes oggdemux work; decodebin still broken.
2118 2005-09-14 David Schleef <ds@schleef.org>
2120 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2122 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2123 * gst/check/Makefile.am:
2124 * libs/gst/controller/Makefile.am:
2125 * libs/gst/dataprotocol/Makefile.am:
2127 2005-09-14 David Schleef <ds@schleef.org>
2129 * configure.ac: Remove getbits library. Nothing uses it, and
2130 it should be in something like liboil if someone did want
2132 * libs/gst/Makefile.am:
2133 * libs/gst/getbits/Makefile.am:
2134 * libs/gst/getbits/gbtest.c:
2135 * libs/gst/getbits/getbits.c:
2136 * libs/gst/getbits/getbits.h:
2137 * libs/gst/getbits/gstgetbits_generic.c:
2138 * libs/gst/getbits/gstgetbits_i386.s:
2139 * libs/gst/getbits/gstgetbits_inl.h:
2141 2005-09-14 David Schleef <ds@schleef.org>
2143 * gst/Makefile.am: Dist glib-compat.h
2145 2005-09-14 David Schleef <ds@schleef.org>
2147 * configure.ac: Remove gst/registries, since it's no longer used.
2148 * gst/registries/Makefile.am:
2149 * gst/registries/gstlibxmlregistry.c:
2150 * gst/registries/gstlibxmlregistry.h:
2151 * gst/registries/gstxmlregistry.c:
2152 * gst/registries/gstxmlregistry.h:
2153 * gst/registries/registrytest.c:
2155 2005-09-14 David Schleef <ds@schleef.org>
2157 * gst/glib-compat.h:
2158 * gst/gstregistryxml.c:
2159 Convergence is near. Seriously.
2161 2005-09-14 David Schleef <ds@schleef.org>
2163 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2164 * gst/glib-compat.h:
2165 Attempt #4 to appease the buildbots.
2167 2005-09-14 David Schleef <ds@schleef.org>
2169 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2172 2005-09-14 David Schleef <ds@schleef.org>
2174 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2177 2005-09-14 David Schleef <ds@schleef.org>
2179 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2182 2005-09-14 David Schleef <ds@schleef.org>
2184 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2185 * gst/glib-compat.h: Add some functions that are in newer versions
2186 of glib than we care to require.
2187 * gst/gstregistryxml.c: Use them.
2189 2005-09-14 David Schleef <ds@schleef.org>
2191 * po/POTFILES.in: remove gst-register.c
2193 2005-09-14 David Schleef <ds@schleef.org>
2195 * docs/gst/gstreamer-docs.sgml:
2196 * docs/gst/gstreamer-sections.txt:
2197 * docs/gst/gstreamer.types:
2198 * docs/gst/tmpl/gstelement.sgml:
2199 * docs/gst/tmpl/gstplugin.sgml:
2200 * docs/gst/tmpl/gstpluginfeature.sgml:
2201 Documentation updates for registry changes.
2203 2005-09-14 David Schleef <ds@schleef.org>
2205 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2206 because we don't require glib-2.8.
2208 2005-09-14 David Schleef <ds@schleef.org>
2210 * gst/gstregistryxml.c: Added. Essentially moved out of the
2211 registries directory.
2213 2005-09-14 David Schleef <ds@schleef.org>
2215 * check/Makefile.am:
2216 * check/generic/states.c:
2220 * gst/gst_private.h:
2221 * gst/gstelementfactory.c:
2226 * gst/gstpluginfeature.c:
2227 * gst/gstpluginfeature.h:
2228 * gst/gstregistry.c:
2229 * gst/gstregistry.h:
2230 * gst/gstregistrypool.c: remove
2231 * gst/gstregistrypool.h: remove
2232 * gst/gsttypefind.c:
2233 * gst/gsttypefindfactory.c:
2235 * tools/Makefile.am:
2236 * tools/gst-compprep.c:
2237 * tools/gst-inspect.c:
2238 * tools/gst-register.c: remove
2239 * tools/gst-xmlinspect.c:
2240 Registry rewrite. Changes registry from being a file created
2241 by a tool into a simple cache file created automatically by
2242 libgstreamer. Removed gst-register (because it's no longer
2243 needed). Remove registry pools, because we only have one
2244 registry implementation (XML). Fix up other subsystems as
2247 2005-09-13 Michael Smith <msmith@fluendo.com>
2249 * gst/gstconfig.h.in:
2250 Don't Use windows linking attributes for MinGW. Fixes #316157
2252 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2254 * gst/gstutils.c: (set_state_async_thread_func),
2255 (gst_element_set_state_async):
2256 Apparently people think it's better if this function doesn't
2257 try to set the state to whatever state was asked for on the first
2258 call to this function for any object. Seriously.
2260 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2262 * check/gst/gstpipeline.c: (GST_START_TEST):
2263 * docs/gst/gstreamer-sections.txt:
2264 * gst/gstutils.c: (set_state_async_thread_func),
2265 (gst_element_set_state_async):
2267 add a "gst_element_set_state_async" method that
2268 sets the state and starts a thread to make sure the state
2269 change completes as best as it can
2271 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2273 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2274 codify design+behaviour in testsuite after discussion
2276 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2278 * docs/gst/tmpl/gstelement.sgml:
2279 * docs/manual/appendix-quotes.xml:
2281 * gst/gstelement.c: (gst_element_set_state):
2284 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2286 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2287 (gst_base_transform_prepare_output_buf),
2288 (gst_base_transform_handle_buffer):
2289 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2290 (gst_capsfilter_prepare_buf):
2291 Remove the requirement for sub-classes to call the parent
2292 implementation of prepare_output_buffer with a wrapper function.
2295 * gst/gsttagsetter.h:
2298 2005-09-11 Stefan Kost <ensonic@users.sf.net>
2300 * docs/gst/gstreamer-sections.txt:
2303 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2305 * docs/gst/gstreamer-sections.txt:
2306 * docs/gst/tmpl/gstelement.sgml:
2307 * docs/gst/tmpl/gstplugin.sgml:
2308 * gst/gstminiobject.c:
2310 docs now stop throwing warnings
2312 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2314 * docs/gst/gstreamer-sections.txt:
2315 * docs/gst/gstreamer.types:
2316 * docs/gst/tmpl/gstpad.sgml:
2317 * docs/gst/tmpl/gsttypes.sgml:
2318 * gst/base/gstadapter.h:
2319 * gst/base/gstbasesink.h:
2320 * gst/base/gstbasesrc.h:
2330 * gst/gststructure.c:
2331 * gst/registries/gstlibxmlregistry.h:
2332 various documentation fixes
2334 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2336 * docs/gst/gstreamer-sections.txt:
2337 * docs/gst/tmpl/gstvalue.sgml:
2338 rearrange gstvalue section
2339 * gst/gstutils.c: (gst_element_state_get_name):
2341 * gst/gstvalue.c: (_gst_value_initialize):
2345 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
2347 * check/gst-libs/controller.c:
2349 * gst/base/gstbasetransform.c:
2350 (gst_base_transform_default_prepare_buf),
2351 (gst_base_transform_handle_buffer):
2352 * gst/base/gstbasetransform.h:
2353 Some more basetransform changes and fixes to enable sub-classes
2354 that modify buffer metadata only.
2355 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2356 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2357 (gst_capsfilter_prepare_buf):
2358 If the output pad has fixed allowed caps and input buffers
2359 don't have any, set the fixed caps on outgoing buffers.
2361 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
2362 * check/elements/identity.c: (GST_START_TEST):
2363 Make the error a little clearer when the test fails because
2364 identity made a copy of the buffer.
2365 * docs/gst/gstreamer-sections.txt:
2366 New symbols in gstbasetransform.h
2367 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2368 (gst_base_transform_init), (gst_base_transform_transform_size),
2369 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2370 (gst_base_transform_default_prepare_buf),
2371 (gst_base_transform_get_unit_size),
2372 (gst_base_transform_buffer_alloc),
2373 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2374 (gst_base_transform_change_state),
2375 (gst_base_transform_set_passthrough),
2376 (gst_base_transform_set_in_place),
2377 (gst_base_transform_is_in_place):
2378 * gst/base/gstbasetransform.h:
2379 Change BaseTransform to separate in_place operate from same_caps
2380 output. in_place implies that the element can perform the transform
2381 on incoming buffers in-place, even if the caps on the output are
2383 Sub-class elements can now implement special buffer allocation
2384 methods for outgoing buffers if they wish to.
2385 Big documentation addition.
2386 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2387 * gst/elements/gstelements.c:
2388 Changes for basetransform modifications.
2389 * gst/elements/Makefile.am:
2390 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2391 Compile fix. Extra debug output.
2393 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2395 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2397 add tests for valid pad naming
2398 * gst/check/gstcheck.c: (gst_check_log_message_func),
2399 (gst_check_log_critical_func):
2401 remove printing of code, it is fragile when the code contains
2402 % and the line number is enough info
2403 * gst/check/gstcheck.h:
2404 * gst/gstpad.c: (gst_pad_template_new):
2407 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2410 say what CHECK flags we use
2411 * docs/libs/gstreamer-libs.types:
2412 * libs/gst/controller/Makefile.am:
2413 * libs/gst/controller/gst-controller.c:
2414 * libs/gst/controller/gst-controller.h:
2415 * libs/gst/controller/gst-helper.c:
2416 * libs/gst/controller/gst-interpolation.c:
2417 * libs/gst/controller/gstcontroller.c:
2418 * libs/gst/controller/gsthelper.c:
2419 * libs/gst/controller/gstinterpolation.c:
2420 * tools/gst-inspect.c: (print_plugin_info):
2421 we don't use dashes in header names
2423 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2425 * check/Makefile.am:
2426 * check/gst/.cvsignore:
2427 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2428 (gst_pipeline_suite), (main):
2429 adding a test for pipelines and state changes
2430 * gst/gstutils.c: (get_state_func):
2432 * gstreamer.spec.in:
2435 2005-09-08 Michael Smith <msmith@fluendo.com>
2437 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2438 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2439 (gst_file_src_is_seekable), (gst_file_src_get_size),
2440 (gst_file_src_start):
2441 * gst/elements/gstfilesrc.h:
2442 Various fixes for unseekable, unmmapable, and non-normal files, so
2443 that fallback to read() rather than mmap() works.
2444 * gst/gstevent.c: (gst_event_new_newsegment):
2445 Allow newsegment events with segment_start == segment_end, as will
2446 correctly happen if you use filesrc on a zero-size file, for
2449 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2451 * gst/gstplugin.c: (gst_plugin_load_file):
2452 Call g_module_close when we don't load the module
2454 * gst/registries/gstlibxmlregistry.c:
2455 (gst_xml_registry_get_property):
2456 Port leak fix from 0.8
2458 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2460 * docs/gst/gstreamer-docs.sgml:
2461 * docs/gst/tmpl/.cvsignore:
2462 * docs/gst/tmpl/gsttrace.sgml:
2463 * docs/gst/tmpl/gsttrashstack.sgml:
2472 * gst/gsttaginterface.c:
2473 * gst/gsttaginterface.h:
2476 * gst/gsttagsetter.c:
2477 * gst/gsttagsetter.h:
2480 * gst/gsttrashstack.c:
2481 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2482 inlined docs for gsttrace, gsttrashstack
2484 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2487 * gst/elements/gstbufferstore.h:
2488 * gst/elements/gsttypefindelement.c:
2489 * gst/elements/gsttypefindelement.h:
2491 * gst/gsttypefind.c:
2492 * gst/gsttypefind.h:
2493 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2494 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2495 (gst_type_find_factory_dispose),
2496 (gst_type_find_factory_unload_thyself),
2497 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2498 (gst_type_find_factory_get_caps),
2499 (gst_type_find_factory_get_extensions),
2500 (gst_type_find_factory_call_function):
2501 * gst/gsttypefindfactory.h:
2502 * gst/registries/gstlibxmlregistry.c:
2503 * gst/registries/gstxmlregistry.c:
2504 splitted gsttypefind into gsttypefind, gsttypefindfactory
2506 2005-09-07 Andy Wingo <wingo@pobox.com>
2508 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2509 condition whereby the pad's task function is entered before the
2510 pad_mode variable was set.
2512 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2514 * gst/gstpad.c: (gst_pad_alloc_buffer):
2515 Catch misbehaving pad_alloc functions that don't
2516 set up caps and do it for them.
2518 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2520 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2522 * docs/gst/tmpl/.cvsignore:
2523 * docs/gst/tmpl/gstmemchunk.sgml:
2524 * docs/gst/tmpl/gstparse.sgml:
2525 * docs/gst/tmpl/gsttaglist.sgml:
2526 * docs/gst/tmpl/gsttagsetter.sgml:
2527 * docs/gst/tmpl/gsttypefind.sgml:
2528 * docs/gst/tmpl/gsttypefindfactory.sgml:
2529 * gst/gstmemchunk.c:
2532 * gst/gsttaginterface.c:
2533 * gst/gsttypefind.c:
2534 * gst/gsttypefind.h:
2537 === release 0.9.2 ===
2539 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
2544 releasing 0.9.2, "South"
2546 2005-09-05 Andy Wingo <wingo@pobox.com>
2548 * gst/registries/gstxmlregistry.h:
2549 * gst/registries/gstxmlregistry.c: Um... resurrect...
2551 * gst/registries/gstxmlregistry.h:
2552 * gst/registries/gstxmlregistry.c: and update to newer API.
2553 Incidentally they should be a bit faster now that they don't have
2556 2005-09-05 Andy Wingo <wingo@pobox.com>
2558 * gst/registries/gstxmlregistry.h:
2559 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2560 replaced by the libxml registry a while back
2562 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2564 * docs/gst/tmpl/gstplugin.sgml:
2565 * gst/elements/gstelements.c:
2567 * gst/gstplugin.c: (gst_plugin_register_func),
2568 (gst_plugin_desc_copy), (gst_plugin_desc_free),
2569 (gst_plugin_get_source):
2571 * gst/registries/gstlibxmlregistry.c: (load_plugin),
2572 (gst_xml_registry_save_plugin):
2573 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2574 (gst_xml_registry_save_plugin):
2575 * tools/gst-inspect.c: (print_plugin_info):
2576 add a "source" plugin description field, to represent the source
2577 module this plugin is a part of. By default GST_PLUGIN_DEFINE
2578 will set it to PACKAGE, which is automake's idea of the name of
2581 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2587 * docs/faq/Makefile.am:
2588 * docs/gst/tmpl/gstelement.sgml:
2589 * docs/gst/tmpl/gsttypes.sgml:
2590 * docs/htmlinstall.mak:
2591 * docs/manual/Makefile.am:
2592 * docs/pwg/Makefile.am:
2593 reorganize doc build a little
2594 split out docbook and gtk-doc stuff
2595 have two separate --enable's and enable them through autogen
2596 but disable by default in configure (to be similar to other
2598 * gstreamer.spec.in:
2599 clean up docs install
2619 2005-09-03 Tim-Philipp MĂĽller <tim at centricular dot net>
2621 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2624 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2625 (gst_fake_sink_change_state):
2626 Make state change function thread-safe.
2628 * gst/gstpad.c: (gst_pad_alloc_buffer):
2629 Set offset on generic buffer allocated by fallback.
2631 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2633 * docs/gst/gstreamer-sections.txt:
2634 * docs/gst/tmpl/gstelement.sgml:
2636 * libs/gst/controller/gst-controller.c:
2637 (gst_controlled_property_set_interpolation_mode),
2638 (gst_controlled_property_new),
2639 (gst_controller_find_controlled_property):
2640 run the wingo-magic script against the docs
2642 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2644 * docs/gst/gstreamer-docs.sgml:
2645 * docs/gst/gstreamer-sections.txt:
2646 * docs/gst/tmpl/.cvsignore:
2647 * docs/gst/tmpl/gstelementdetails.sgml:
2648 * docs/gst/tmpl/gstelementfactory.sgml:
2651 * gst/gstelementfactory.c:
2652 * gst/gstelementfactory.h:
2653 merged elementdetails docs into elementfactory docs
2656 2005-09-02 Andy Wingo <wingo@pobox.com>
2658 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2659 consider this enum an enum and not a flags.
2661 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2663 * docs/gst/gstreamer-docs.sgml:
2664 * docs/gst/tmpl/.cvsignore:
2665 * docs/gst/tmpl/gstghostpad.sgml:
2666 * docs/gst/tmpl/gstiterator.sgml:
2667 * docs/gst/tmpl/gstmacros.sgml:
2668 * docs/gst/tmpl/gstrealpad.sgml:
2669 * docs/gst/tmpl/gstregistry.sgml:
2670 * docs/gst/tmpl/gstregistrypool.sgml:
2671 * docs/gst/tmpl/gststructure.sgml:
2672 * docs/gst/tmpl/gstsystemclock.sgml:
2673 * docs/gst/tmpl/gsttrace.sgml:
2674 * gst/gstghostpad.c:
2676 * gst/gstmemchunk.c:
2677 * gst/gstmemchunk.h:
2679 * gst/gstregistry.c:
2680 * gst/gstregistrypool.c:
2681 * gst/gststructure.c:
2682 * gst/gstsystemclock.c:
2685 2005-09-02 Andy Wingo <wingo@pobox.com>
2687 * gst/gstelement.h (GstState): Renamed from GstElementState,
2688 changed to be a normal enum instead of flags.
2689 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2690 munged to be GST_STATE_CHANGE_*.
2691 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2692 work with the new state representation.
2693 (GstStateChange): New enumeration of possible state transitions.
2694 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2695 (GstElementClass::change_state): Pass the GstStateChange along as
2696 an argument. Helps language bindings, so they don't have to use
2697 tricky lock-needing macros like GST_STATE_CHANGE ().
2699 * scripts/update-states (file): New script. Run it on a file to
2700 update it for state naming and API changes. Updates files in
2703 * All files updated for the new API.
2705 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2707 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2708 * gst/gstutils.c: (gst_util_set_value_from_string),
2709 (gst_util_set_object_arg):
2710 fix a bunch of unchecked return values
2711 * tools/gst-complete.c: (main):
2712 * gstreamer.spec.in:
2715 2005-09-01 Wim Taymans <wim@fluendo.com>
2717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2718 (gst_base_sink_event), (gst_base_sink_do_sync),
2719 (gst_base_sink_handle_event):
2720 * gst/base/gstbasesink.h:
2721 Handle newsegments more correctly.
2726 * gst/gstevent.c: (gst_event_new_newsegment):
2727 A newsegment cannot have a start_time of -1
2729 2005-09-01 Tim-Philipp MĂĽller <tim at centricular dot net>
2731 * win32/gstenumtypes.c:
2732 * win32/gstenumtypes.h:
2735 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2737 * libs/gst/controller/gst-controller.c:
2738 (gst_controlled_property_set_interpolation_mode),
2739 (gst_controlled_property_new):
2742 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2744 * docs/faq/gst-uninstalled:
2749 * gst/gstutils.c: (gst_element_link_filtered):
2751 add gst_element_link_filtered
2753 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2755 * docs/gst/gstreamer-docs.sgml:
2756 * docs/gst/gstreamer-sections.txt:
2757 * docs/gst/tmpl/.cvsignore:
2758 * docs/gst/tmpl/gsterror.sgml:
2759 * docs/gst/tmpl/gstfilter.sgml:
2760 * docs/gst/tmpl/gsturihandler.sgml:
2761 * docs/gst/tmpl/gsturitype.sgml:
2762 * docs/gst/tmpl/gstutils.sgml:
2763 * docs/gst/tmpl/gstxml.sgml:
2771 inlined more docs, fixed double id-ref
2773 2005-08-31 Wim Taymans <wim@fluendo.com>
2775 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2776 (gst_base_transform_handle_buffer):
2777 Passthrough elements don't need the caps as they don't care.
2779 2005-08-31 Wim Taymans <wim@fluendo.com>
2781 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2782 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2783 Don't leak refcounts on buffers.
2785 2005-08-31 Wim Taymans <wim@fluendo.com>
2787 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2788 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2789 (gst_base_transform_chain), (gst_base_transform_change_state):
2790 * gst/base/gstbasetransform.h:
2791 Handle the case where we are not negotiated more gracefully.
2793 2005-08-31 Tim-Philipp MĂĽller <tim at centricular dot net>
2795 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2796 (gst_file_src_map_region):
2797 Set READONLY flag on mmap'ed buffers, otherwise
2798 gst_buffer_make_writable() won't work properly (#314708).
2800 2005-08-31 Wim Taymans <wim@fluendo.com>
2802 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2803 passthrough elements can even do inplace on non writable
2804 buffers (as they don't touch them).
2806 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2808 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2809 (gst_test_mono_source_set_property),
2810 (gst_test_mono_source_class_init), (GST_START_TEST),
2811 (gst_controller_suite):
2812 more tests (hehe I have the most)
2814 describe popping messages whenusing mulltiple sources
2815 * libs/gst/controller/gst-controller.c:
2816 (gst_controlled_property_set_interpolation_mode),
2817 (gst_controlled_property_new):
2818 * libs/gst/controller/gst-controller.h:
2819 * libs/gst/controller/gst-interpolation.c:
2820 implement boolean properties
2822 2005-08-31 Wim Taymans <wim@fluendo.com>
2824 * gst/gstminiobject.c: (gst_mini_object_ref):
2825 Cannot assert that the refcount has to be positive
2826 since a disposed object can be resurrected.
2828 2005-08-31 Wim Taymans <wim@fluendo.com>
2830 * gst/gstpad.c: (gst_pad_init):
2831 Revert change, need to first fix badly behaving
2834 2005-08-30 Wim Taymans <wim@fluendo.com>
2836 * check/elements/fakesrc.c: (setup_fakesrc):
2837 * check/elements/identity.c: (setup_identity):
2838 Activate pads before using them.
2840 2005-08-30 Wim Taymans <wim@fluendo.com>
2842 * gst/base/gstadapter.c: (gst_adapter_flush):
2843 Flushing out 0 bytes is ok for this function.
2845 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2846 no newsegment gives a warning and sets the start/stop to
2849 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2850 (gst_base_transform_set_passthrough):
2853 * gst/gstminiobject.c: (gst_mini_object_ref):
2854 Check refcount here too.
2856 * gst/gstpad.c: (gst_pad_init):
2857 Pads are initially flushing and refusing data.
2859 * gst/gstutils.c: (gst_element_link_pads_filtered):
2860 When adding a capsfilter element make sure it has the
2861 same state as the parent bin.
2863 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2865 * docs/gst/tmpl/.cvsignore:
2866 * docs/gst/tmpl/gstformat.sgml:
2867 * docs/gst/tmpl/gstversion.sgml:
2871 * gst/gstversion.h.in:
2872 more docs and two more inlined
2874 2005-08-30 Wim Taymans <wim@fluendo.com>
2876 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2877 Don't sync to clock.
2879 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2881 * docs/gst/gstreamer-sections.txt:
2882 ultral33t func10ns deserve to appear in the docs actually
2883 * docs/gst/tmpl/.cvsignore:
2884 * docs/gst/tmpl/gstcompat.sgml:
2885 * docs/gst/tmpl/gstconfig.sgml:
2886 * gst/check/gstcheck.c:
2888 * gst/gstconfig.h.in:
2891 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2893 * docs/gst/tmpl/.cvsignore:
2894 * docs/gst/tmpl/gstquery.sgml:
2895 * docs/gst/tmpl/gstutils.sgml:
2898 inlined and extended docs
2900 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2902 * check/gst-libs/controller.c: (GST_START_TEST),
2903 (gst_controller_suite):
2905 * docs/gst/tmpl/gstutils.sgml:
2906 * docs/libs/gstreamer-libs-sections.txt:
2907 * docs/libs/tmpl/gstdataprotocol.sgml:
2909 * examples/controller/audio-example.c: (main):
2910 controller example works now
2913 * tools/gst-inspect.c: (print_element_properties_info):
2914 show param spec flags
2916 2005-08-29 Andy Wingo <wingo@pobox.com>
2918 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2920 2005-08-28 Andy Wingo <wingo@pobox.com>
2922 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2923 as having two arguments instead of just one. Allows superclasses
2924 to access information on subclasses -- see the terrible for() loop
2925 in gtype.c:g_type_create_instance for the reason why. All callers
2928 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2930 * docs/design/part-messages.txt:
2932 * docs/gst/tmpl/.cvsignore:
2933 * docs/gst/tmpl/gstcaps.sgml:
2934 * docs/gst/tmpl/gstclock.sgml:
2941 added descriptions for bus and message
2942 inline caps and clock docs
2944 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2950 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2952 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2955 2005-08-26 Andy Wingo <wingo@pobox.com>
2957 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2958 element_set_state's return val.
2959 (test_2_elements): Add test that's been disabled for months.
2961 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2962 can-activate-pull properties.
2964 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2965 can-activate-pull properties. Implement is_seekable so fakesrc can
2966 operate in pull mode.
2968 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2970 (gst_base_sink_activate, gst_base_sink_activate_pull)
2971 (gst_base_sink_activate_push): Make activation mode choosing work.
2973 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2974 is right. Make pull mode work. Post an eos before pausing in pull
2976 (gst_base_sink_change_state): Pay attention to the core's
2977 change_state() return val.
2979 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2980 has-getrange properties. Cleanups.
2982 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2983 has_getrange and replace with can_activate_pull and
2986 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2987 locking comments. Remove has_loop, has_chain and replace with
2988 can_activate_pull and can_activate_push.
2990 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2993 * examples/Makefile.am:
2994 * examples/metadata/Makefile.am:
2995 * examples/metadata/read-metadata.c: (message_loop),
2996 (have_pad_handler), (make_pipeline), (print_tag), (main):
2997 Add metadata reading example that loops over a list of filenames,
2998 dumping any tags found.
3000 * gst/gstbus.c: (gst_bus_dispose):
3001 * gst/gstelement.c: (gst_element_dispose):
3002 Release a few potentially-held references in dispose.
3004 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3006 * docs/gst/tmpl/gstminiobject.sgml:
3007 do *not* add tmpl/*.sgml files to CVS!
3009 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3011 * libs/gst/bytestream/.cvsignore:
3012 * libs/gst/bytestream/Makefile.am:
3013 * libs/gst/bytestream/adapter.c:
3014 * libs/gst/bytestream/adapter.h:
3015 * libs/gst/bytestream/bytestream.c:
3016 * libs/gst/bytestream/bytestream.h:
3017 * libs/gst/bytestream/filepad.c:
3018 * libs/gst/bytestream/filepad.h:
3019 removing obsolete files
3021 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3023 * docs/gst/gstreamer-docs.sgml:
3024 * docs/libs/gstreamer-libs-docs.sgml:
3025 disabed additional index entries again, as this makes docs-gen just
3026 slow and they aren't useful yet
3027 * docs/libs/gstreamer-libs-sections.txt:
3028 little -section.txt cleanup for libs
3030 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3033 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3034 fix up some debugging
3035 (gst_base_transform_get_unit_size),
3036 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3037 (gst_base_transform_handle_buffer):
3038 * gst/base/gstbasetransform.h:
3039 handle and store timed NEWSEGMENT events so that subclasses that
3040 calculate time by counting samples have a segment_start time they
3041 need to add to their timestamps - see audioresample
3043 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3046 removed ';' from the end of macro defs
3047 * docs/gst/gstreamer-docs.sgml:
3048 * docs/gst/gstreamer-sections.txt:
3049 * docs/gst/tmpl/.cvsignore:
3051 * gst/gstelement.c: (gst_element_class_init),
3052 (gst_element_set_state), (activate_pads),
3053 (gst_element_save_thyself):
3054 * gst/gstevent.c: (gst_event_new_newsegment):
3056 * gst/gstiterator.c:
3057 * gst/gstiterator.h:
3060 * gst/gstutils.c: (gst_pad_query_convert):
3062 fixed parameter name mismatches between source, header and docs
3063 added some more docs, resolved the last batch of unused elements in
3064 docs (now someone needs to doc them)
3066 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3068 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3069 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3070 don't walk through the plugins backwards. Where is all this
3071 reversed logic coming from ?
3073 2005-08-25 Wim Taymans <wim@fluendo.com>
3075 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3076 (gst_base_transform_transform_size),
3077 (gst_base_transform_configure_caps),
3078 (gst_base_transform_get_unit_size),
3079 (gst_base_transform_buffer_alloc),
3080 (gst_base_transform_change_state):
3081 * gst/base/gstbasetransform.h:
3082 Cache caps unit_size.
3083 Make sure we cannot negotiate up and downstream at the
3086 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3088 * gst/gst.c: (init_pre), (init_post):
3089 register the installed plugin path after the env var
3090 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3091 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3092 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3093 directories, so the tests can prefer uninstalled over installed
3095 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3097 * gst/base/gstbasetransform.h:
3102 2005-08-25 Wim Taymans <wim@fluendo.com>
3104 * gst/gstbin.c: (bin_bus_handler):
3105 Be a bit more conservative about the posted message.
3107 * gst/gstbus.c: (gst_bus_post):
3108 Some cleanups, warn wrong return values.
3110 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3112 * check/gst/gstbin.c: (GST_START_TEST):
3113 * gst/gstbin.c: (bin_bus_handler):
3114 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3115 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3116 (gst_message_new_warning), (gst_message_new_tag),
3117 (gst_message_new_state_changed), (gst_message_new_segment_start),
3118 (gst_message_new_segment_done), (gst_message_new_custom):
3120 * tools/gst-launch.c: (event_loop):
3121 * tools/gst-md5sum.c: (event_loop):
3122 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3124 2005-08-25 Wim Taymans <wim@fluendo.com>
3126 * check/generic/states.c: (GST_START_TEST):
3127 Cleanup can be done at the end.
3129 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3130 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3131 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3132 Oh boy.. Thanks for finding this, Thomas.
3134 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3136 * docs/gst/gstreamer.types:
3139 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3141 * docs/gst/gstreamer-docs.sgml:
3142 * docs/gst/gstreamer-sections.txt:
3143 * docs/gst/tmpl/.cvsignore:
3145 * gst/gstiterator.c:
3147 * gst/registries/gstxmlregistry.h:
3148 added missing classes and symbols (123 more to go)
3149 removed removed symbols from section file
3150 fixed many doc-comments
3152 2005-08-24 Wim Taymans <wim@fluendo.com>
3154 * check/generic/states.c: (GST_START_TEST):
3155 Make sure all tasks are stopped.
3157 * check/gst/gstbin.c: (GST_START_TEST):
3158 Unref after usage for proper valgrinding.
3160 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3161 Really wait for the task to stop before destroying the
3164 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3165 (gst_queue_src_activate_push):
3166 Small cleanups. Don't stop the task when we did not start
3169 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3170 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3171 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3174 Protect the stream lock with the object lock.
3175 Disallow setting the stream lock when running.
3176 Add cleanup_all to wait for the threadpool to finish.
3177 Remove code to autoallocate a mutex if none was provided.
3178 Add _join() to wait for a task to stop.
3179 Protect the thread pool with a global lock.
3181 2005-08-24 Wim Taymans <wim@fluendo.com>
3183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3184 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3185 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3186 * gst/base/gstbasesink.h:
3187 Handle newsegment events correctly.
3188 Drop buffers out of the segment range.
3190 2005-08-22 Andy Wingo <wingo@pobox.com>
3192 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3193 macro, implements an interface and gstimplementsinterface for a
3196 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3198 * check/Makefile.am:
3199 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3200 add a test that does a bunch of state changes on elements
3201 needs some fixing for valgrind
3202 * check/states/sinks.c: (gst_object_suite):
3205 add prototype for gst_caps_is_equal_fixed
3207 * gst/gstregistrypool.c:
3210 2005-08-24 Andy Wingo <wingo@pobox.com>
3212 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3213 convert a negative value. Doesn't make much sense. Mostly this is
3214 here to force callers to ensure -1 maps to -1.
3216 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3218 * docs/pwg/advanced-types.xml:
3219 Well done to Michael for catching my deliberate introduction
3220 of this spelling mistake.
3221 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3223 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3224 unlink pads before removing the element from the bin.
3226 2005-08-24 Andy Wingo <wingo@pobox.com>
3228 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3229 the same thing as GST_DEBUG=*:4.
3230 (parse_debug_level, parse_debug_category): New helper parsers.
3232 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3234 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3235 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3236 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3237 (gst_base_transform_buffer_alloc),
3238 (gst_base_transform_handle_buffer):
3239 use gboolean return values and pointers to size so we can use the
3240 full GST_BUFFER_SIZE range (guint) for buffer sizes
3241 use GstPadDirection for transform_caps
3242 * gst/base/gstbasetransform.h:
3243 rename get_size to get_unit_size since that's what it is
3244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3245 use GstPadDirection for transform_caps
3246 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3248 cleanup and debugging
3250 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3252 * gst/gstelement.c: (gst_element_class_init),
3253 (gst_element_set_state), (activate_pads),
3254 (gst_element_save_thyself):
3255 * tools/gst-compprep.c: (main):
3256 * tools/gst-inspect.c: (print_element_properties_info):
3257 * tools/gst-xmlinspect.c: (print_element_properties):
3258 Fixed long standing mem-leak
3260 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3262 * check/gst/gstbin.c: (GST_START_TEST):
3263 * gst/gstbin.c: (bin_bus_handler):
3264 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3265 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3266 (gst_message_new_warning), (gst_message_new_tag),
3267 (gst_message_new_state_changed), (gst_message_new_segment_start),
3268 (gst_message_new_segment_done), (gst_message_new_custom):
3270 * tools/gst-launch.c: (event_loop):
3271 * tools/gst-md5sum.c: (event_loop):
3272 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3273 that applications can sensibly post custom messages with references
3274 to their own objects.
3276 2005-08-24 Andy Wingo <wingo@pobox.com>
3278 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3281 2005-08-24 Wim Taymans <wim@fluendo.com>
3283 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3284 (gst_base_transform_transform_caps),
3285 (gst_base_transform_transform_size),
3286 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3287 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3288 (gst_base_transform_handle_buffer):
3289 * gst/base/gstbasetransform.h:
3290 Many fixes and new features added by Thomas. Can now also do
3291 transforms with variable sizes and a custom fixate_caps function.
3293 2005-08-24 Wim Taymans <wim@fluendo.com>
3295 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3299 Cast to ClockTime before formatting to time.
3304 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3306 * check/gst-libs/controller.c: (GST_START_TEST),
3307 (gst_controller_suite):
3308 * docs/gst/tmpl/gstcaps.sgml:
3309 * docs/gst/tmpl/gstghostpad.sgml:
3310 * docs/gst/tmpl/gstquery.sgml:
3311 * docs/gst/tmpl/gstutils.sgml:
3312 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3313 (gst_object_sink_values), (gst_object_get_value_arrays),
3314 (gst_object_get_value_array):
3315 gracefully handle helper method calls to objects that are not beeing
3316 controlled, added test case for that
3318 2005-08-23 Wim Taymans <wim@fluendo.com>
3320 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3321 (gst_event_new_newsegment), (gst_event_parse_newsegment),
3322 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3323 (gst_event_parse_qos), (gst_event_new_seek),
3324 (gst_event_parse_seek):
3326 Some more debugging output and doc cleanups.
3328 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3329 Fix possible deadlock.
3331 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3333 * docs/gst/gstreamer-docs.sgml:
3334 * docs/gst/gstreamer-sections.txt:
3335 * docs/gst/gstreamer.types:
3336 * docs/gst/tmpl/.cvsignore:
3341 added 100 symbols from gstreamer-unused.txt to the right sections
3342 fixed more broken comments
3343 added GstBus to docs
3345 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3347 * docs/gst/gstreamer-sections.txt:
3348 * docs/gst/tmpl/.cvsignore:
3349 * docs/gst/tmpl/gstbin.sgml:
3350 * docs/gst/tmpl/gstbuffer.sgml:
3351 * gst/base/gstbasesrc.c:
3352 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3355 * tools/gst-launch.1.in:
3356 inlined more doc comments, added missing comments and fixed comments
3359 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
3361 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3365 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3367 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3368 * gst/gststructure.h:
3369 add a fixate function for booleans; add a FIXME that these func
3370 names should probably be gst_structure_fixate_*
3372 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3374 * docs/gst/gstreamer-docs.sgml:
3375 * docs/gst/gstreamer-sections.txt:
3377 * gst/gstbin.c: (gst_bin_get_type),
3378 (gst_bin_child_proxy_get_child_by_index),
3379 (gst_bin_child_proxy_get_children_count),
3380 (gst_bin_child_proxy_init):
3381 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3382 (gst_child_proxy_get_child_by_index),
3383 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3384 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3385 (gst_child_proxy_get), (gst_child_proxy_set_property),
3386 (gst_child_proxy_set_valist), (gst_child_proxy_set),
3387 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3388 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3389 * gst/gstchildproxy.h:
3390 * gst/parse/grammar.y:
3391 * tools/gst-inspect.c: (print_interfaces),
3392 (print_element_properties_info), (print_element_info):
3393 ported gstchildproxy over from 0.8
3394 ported gst-inspect fixes and enhancements over from 0.8
3396 2005-08-22 Wim Taymans <wim@fluendo.com>
3398 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3399 (gst_base_transform_handle_buffer):
3400 Also call the transform function if we have ANY caps.
3402 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3405 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3407 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3408 Don't pretend to handle seek events if the source is not seekable
3410 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3413 Remove extra parameter to debug output
3415 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3416 (gst_base_src_do_seek), (gst_base_src_activate_push):
3417 Fix seek event handling.
3419 * gst/gstpipeline.c: (gst_pipeline_change_state):
3420 * gst/gstqueue.c: (gst_queue_handle_sink_event),
3421 (gst_queue_src_activate_push):
3422 Don't start the src pad task on FLUSH_STOP if the pad
3426 2005-08-22 Wim Taymans <wim@fluendo.com>
3428 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3429 Added check for gst_static_caps_get() refcounting.
3431 2005-08-22 Wim Taymans <wim@fluendo.com>
3433 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3434 Make _static_caps_get() refcounting sane.
3436 * gst/gstelement.c: (gst_element_set_state):
3437 Add g_return_val_if_fail() to protect against segfaults.
3439 2005-08-22 Stefan Kost <ensonic@users.sf.net>
3441 * docs/gst/tmpl/gstevent.sgml:
3444 inlined remaining docs, added missing doc comments
3446 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
3448 * check/gst/gstbin.c: (GST_START_TEST):
3449 since we don't know when preroll is done, use refcount range
3451 * gst/check/gstcheck.h:
3452 add macro for checking refcount range
3454 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3456 * check/Makefile.am:
3457 clean up environment for when registry gets built versus
3458 when actual tests are run; valgrind seems to not report
3459 leaks if GST_PLUGIN_PATH is set to some specific values
3460 * check/gst/gstbin.c: (GST_START_TEST):
3461 add more refcounting checks; maybe this exposes a
3464 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3465 * gst/check/gstcheck.h:
3466 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3467 (gst_bin_change_state):
3468 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3469 add/fix debugging/whitespace
3471 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3473 * check/gst/gstevent.c: (event_probe), (test_event),
3475 Er, don't call gst_bin_watch_for_state_change you idiot.
3477 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3479 * check/Makefile.am:
3480 Use CHECK_CFLAGS and CHECK_LIBS
3481 * check/gst/gstevent.c: (event_probe), (test_event),
3484 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3485 (gst_base_src_start), (gst_base_src_stop),
3486 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3487 (gst_base_src_change_state):
3488 Sprinkle gst_base_src_stop liberally around error paths to fix
3489 problems reusing a source after failed state changes.
3490 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3491 (helper_find_suggest), (gst_type_find_helper):
3492 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3494 * docs/gst/tmpl/gstevent.sgml:
3495 Migrate part of the docs from the SGML file. Wait for ensonic to
3496 tell me how I did it wrong ;)
3497 * tools/gst-typefind.c: (main):
3498 Extra robustness to state changes between files.
3500 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3502 * check/Makefile.am:
3503 don't valgrind the controller test - it's leaking - Stefan, HELP
3504 * gst/check/gstcheck.c: (gst_check_message_error),
3505 (gst_check_chain_func), (gst_check_setup_element),
3506 (gst_check_teardown_element), (gst_check_setup_src_pad),
3507 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3508 (gst_check_teardown_sink_pad):
3509 * gst/check/gstcheck.h:
3510 add a bunch of methods to set up elements, and src and sink pads
3511 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3512 * check/elements/identity.c: (setup_identity), (cleanup_identity),
3517 whitespace/doc fixes
3519 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3522 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3523 be handled by the application and not always printed as well
3525 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3527 * check/Makefile.am:
3529 * gst/check/gstcheck.c: (gst_check_message_error):
3530 * gst/check/gstcheck.h:
3531 add a fail_unless_equals_int
3532 add fail_unless for error messages
3534 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3536 * check/Makefile.am:
3538 * common/Makefile.am:
3541 factor out some of the common stuff so we can use it
3543 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3545 * check/Makefile.am:
3546 * check/gst/gstiterator.c: (GST_START_TEST):
3547 * check/gst/gstsystemclock.c: (GST_START_TEST),
3548 (gst_systemclock_suite):
3549 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3553 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3555 * check/elements/.cvsignore:
3556 * check/elements/gstfakesrc.c:
3557 rename to name of element
3558 * check/elements/identity.c: (chain_func), (event_func),
3559 (setup_identity), (cleanup_identity), (GST_START_TEST),
3560 (identity_suite), (main):
3561 add a test for identity
3562 * check/Makefile.am:
3563 * pkgconfig/Makefile.am:
3564 * pkgconfig/gstreamer-check.pc.in:
3565 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3569 move the check stuff to a library that gets installed
3570 * check/gst-libs/controller.c: (GST_START_TEST):
3571 * check/gst-libs/gdp.c:
3572 * check/gst/gst.c: (GST_START_TEST):
3573 * check/gst/gstbin.c:
3574 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3575 * check/gst/gstbus.c:
3576 * check/gst/gstcaps.c: (GST_START_TEST):
3577 * check/gst/gstelement.c:
3578 * check/gst/gstghostpad.c:
3579 * check/gst/gstiterator.c:
3580 * check/gst/gstmessage.c:
3581 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3582 * check/gst/gstobject.c:
3583 * check/gst/gstpad.c: (GST_START_TEST):
3584 * check/gst/gststructure.c: (GST_START_TEST):
3585 * check/gst/gstsystemclock.c: (GST_START_TEST),
3586 (gst_systemclock_suite):
3587 * check/gst/gsttag.c: (gst_tag_suite):
3588 * check/gst/gstvalue.c:
3589 * check/pipelines/cleanup.c:
3590 * check/pipelines/simple_launch_lines.c:
3591 * check/states/sinks.c:
3592 change include statement
3594 * docs/gst/gstreamer-sections.txt:
3595 * docs/gst/tmpl/gstpad.sgml:
3596 document more pad stuff
3597 * gst/gstminiobject.c: (gst_mini_object_ref),
3598 (gst_mini_object_unref):
3601 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3603 * docs/gst/tmpl/gst.sgml:
3605 eliminate another tmpl file, fix spelling in the long-description
3607 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3609 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3610 (test_event), (timediff), (gstevents_suite):
3611 Should fix build on 64-bit arch's
3613 2005-08-18 Andy Wingo <wingo@pobox.com>
3615 Make sure that when a pipeline goes to PLAYING, that data has
3616 actually hit the sink.
3618 * check/states/sinks.c (test_sink): A sink that doesn't get any
3619 data shouldn't return SUCCESS for going to either PLAYING or
3620 PAUSED. Test also the return values on the way back down.
3622 * gst/gstelement.c (gst_element_set_state): When changing the
3623 state of an element currently changing state asynchronously, go to
3624 lost-state after commiting the pending state. Makes future calls
3625 to get_state continue to return ASYNC.
3627 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3628 ASYNC when going to PLAYING if we still don't have preroll, as can
3629 happen with live sources.
3631 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3633 * docs/pwg/advanced-types.xml:
3634 Hack long paragraph into 2 chunks as a workaround for buggy
3635 jadetex version in sid and breezy that loops infinitely and
3638 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3640 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3641 (test_event), (timediff), (gstevents_suite):
3642 Provide more error margin in clock measurements to allow for
3643 g_get_current_time inaccuracies.
3645 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3647 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3648 (test_event), (timediff), (gstevents_suite):
3649 Fix error message output so I might be able to tell why the
3650 test works here but fails on the build farm.
3652 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3654 * check/Makefile.am:
3655 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3656 (test_event), (timediff), (gstevents_suite), (main):
3659 * docs/design/part-seeking.txt:
3662 * docs/gst/tmpl/gstevent.sgml:
3663 * docs/gst/tmpl/gstfakesrc.sgml:
3666 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3667 Treat a buffer-without-newsegment the same as a receiving
3668 a newsegment not in time format, and disable syncing to the clock
3671 * gst/gstbus.c: (gst_bus_set_sync_handler):
3672 Assert if anyone tries to replace the existing sync_handler for bus,
3673 as only the owner should be setting it.
3676 Have a fixed set of custom event enums with events identified by
3677 their structure name (as in 0.8), rather than a free-for-all
3678 allowing collisions between enum values from different plugins.
3680 * gst/gstpad.c: (gst_pad_class_init):
3683 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3684 Handle out-of-band downstream events from the sending thread.
3686 2005-08-17 Andy Wingo <wingo@pobox.com>
3688 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3689 play-timeout==0 to mean no timeout at all. In that case, don't
3690 bother with a get_state or a warning, just return directly, even
3693 * gst/base/gstbasetransform.c: Debug changes.
3696 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3697 ensure bins post state change messages. A bit of a hack but I can't
3698 think of a way to avoid it.
3700 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3702 2005-08-16 Andy Wingo <wingo@pobox.com>
3704 * gst/base/gstadapter.h:
3705 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3706 peek() but you own the data. Not terribly efficient atm.
3708 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3710 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3711 (gst_element_found_tags):
3713 Add two utility functions for tag handling.
3715 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3717 * docs/manual/advanced-dataaccess.xml:
3718 * docs/manual/basics-helloworld.xml:
3719 Fix docs to use _bin_add() before _link(), which fixes the examples
3720 with recent core versions (reported by Madhan Raj M
3721 <raj_madan@rediffmail.com>, #313199).
3723 2005-08-16 Wim Taymans <wim@fluendo.com>
3725 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3726 Added subtract checks.
3728 * docs/design/part-events.txt:
3729 Some more docs about newsegment
3731 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3734 * gst/gstcaps.c: (gst_caps_to_string):
3735 Add comments, cleanups.
3737 * gst/gstelement.c: (gst_element_save_thyself):
3740 * gst/gstvalue.c: (gst_value_collect_int_range),
3741 (gst_string_unwrap), (gst_value_union_int_int_range),
3742 (gst_value_union_int_range_int_range),
3743 (gst_value_intersect_int_int_range),
3744 (gst_value_intersect_int_range_int_range),
3745 (gst_value_intersect_double_double_range),
3746 (gst_value_intersect_double_range_double_range),
3747 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3748 (gst_value_subtract_int_range_int),
3749 (gst_value_subtract_double_range_double),
3750 (gst_value_subtract_double_range_double_range),
3751 (gst_value_subtract_from_list), (gst_value_subtract_list),
3752 (gst_value_can_compare), (gst_value_compare_fraction):
3753 Cleanups, add comments, remove unneeded asserts.
3755 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3757 * tools/gst-launch.c: (event_loop):
3758 don't convert NULL structures to strings
3760 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3762 * docs/gst/gstreamer-sections.txt:
3763 made some defines private
3764 * docs/gst/tmpl/gstconfig.sgml:
3765 * docs/gst/tmpl/gstqueue.sgml:
3766 * docs/gst/tmpl/gsttaglist.sgml:
3767 * docs/gst/tmpl/gsttypes.sgml:
3768 * docs/gst/tmpl/gstutils.sgml:
3769 * docs/pwg/appendix-porting.xml:
3770 * gst/base/gstbasesink.h:
3771 * gst/base/gstbasesrc.c:
3772 * gst/base/gstbasesrc.h:
3773 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3774 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3775 * gst/gstelement.c: (gst_element_class_init):
3776 * gst/gstpad.c: (gst_pad_class_init):
3777 * gst/gstqueue.c: (gst_queue_class_init):
3778 * gst/gstxml.c: (gst_xml_class_init):
3779 documented all undocumented signal inline
3780 * libs/gst/controller/gst-controller.h:
3783 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3785 * docs/pwg/appendix-porting.xml:
3786 Document _set_link_function -> _set_setcaps_function.
3788 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3790 * check/Makefile.am:
3791 add a .check target for running the check
3792 * check/gst-libs/controller.c: (GST_START_TEST):
3794 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3795 complete checks for gstbuffer; would be nice if I could get the
3796 gcov stuff to work so I can see if I actually completed gstbuffer.c
3798 add ASSERT_BUFFER_REFCOUNT
3800 2005-08-13 Tim-Philipp MĂĽller <tim at centricular dot net>
3802 * docs/gst/gstreamer-sections.txt:
3803 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3805 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3806 spew out a warning if a tag that is already registered
3807 is re-registered, unless it is re-registered with a
3808 different type (#308438).
3810 2005-08-12 Tim-Philipp MĂĽller <tim at centricular dot net>
3812 * docs/pwg/appendix-porting.xml:
3813 * docs/pwg/building-state.xml:
3814 Add some paragraphs about state changes in 0.9 to the PWG
3815 and the porting guide, in particular about the new meaning
3816 of GST_STATE_PAUSED and how to write state change functions
3817 with concurrent access by multiple threads in mind.
3819 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3821 * docs/gst/gstreamer-docs.sgml:
3822 * docs/libs/gstreamer-libs-docs.sgml:
3823 added deprecation and since indexes
3824 * libs/gst/controller/gst-controller.c:
3825 * libs/gst/controller/gst-helper.c:
3829 2005-08-11 Wim Taymans <wim@fluendo.com>
3831 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3832 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3833 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3834 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3835 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3836 (gst_ghost_pad_set_target):
3837 Actually implement (re)setting the target on a ghostpad
3838 as described in the docs.
3840 2005-08-10 Tim-Philipp MĂĽller <tim at centricular dot net>
3842 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3843 Check whether GST_DEBUG_NO_COLOR environment variable is
3844 set and disable coloured debug output if that is the case.
3846 2005-08-10 Tim-Philipp MĂĽller <tim at centricular dot net>
3848 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3849 (gst_type_find_helper):
3850 The memory returned by gst_type_find_peek() needs to
3851 stay valid until the end of a typefind function, and
3852 typefind functions may keep results from different
3853 offsets around, so we can't just unref the buffer from
3854 the previous _peek(), but have to save all buffers
3855 returned by _peek() until typefinding is done and only
3858 2005-08-09 Tim-Philipp MĂĽller <tim at centricular dot net>
3860 * docs/gst/gstreamer-sections.txt:
3862 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3864 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3866 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3867 Fix a pretty good memleak.
3869 2005-08-08 Tim-Philipp MĂĽller <tim at centricular dot net>
3871 * gst/gstiterator.h:
3872 Fix wrong include and 'make distcheck'.
3874 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3876 * gst/gstbin.c: (bin_bus_handler):
3877 Use gst_element_post_message() instead.
3879 2005-08-08 Tim-Philipp MĂĽller <tim at centricular dot net>
3881 * gst/base/gstadapter.h:
3882 * gst/base/gstbasesink.h:
3883 * gst/base/gstbasesrc.h:
3884 * gst/base/gstbasetransform.h:
3885 * gst/base/gstcollectpads.h:
3886 * gst/base/gstpushsrc.h:
3887 * gst/gstiterator.h:
3888 Add padding to our base elements' class and instance structs and
3889 to GstIterator (you will need to rebuild all plugins and apps!)
3891 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3893 * gst/gstbin.c: (bin_bus_handler):
3894 Make default message forwarding from child->bus to bin->bus
3895 threadsafe and make it not emit warnings if the parent has no bus.
3897 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3899 * gst/gstelement.c: (activate_pads):
3900 On paused->ready, set pad->caps to NULL, as is the documented
3901 behaviour in this state change. Fixes playback of series of
3902 media files when visualization is enabled in Totem.
3904 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3906 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3907 Allow NULL as filter-caps (which means "any").
3909 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3911 * docs/libs/gstreamer-libs-sections.txt:
3912 * libs/gst/controller/gst-controller.c:
3913 * libs/gst/controller/gst-controller.h:
3914 * libs/gst/controller/gst-helper.c:
3915 adding more entries to the docs and fix small doc-bugs
3917 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3919 * docs/gst/gstreamer-docs.sgml:
3920 * docs/gst/gstreamer-sections.txt:
3921 * docs/gst/gstreamer.types:
3922 * docs/gst/tmpl/gstbasesink.sgml:
3923 * docs/gst/tmpl/gstbasesrc.sgml:
3924 * docs/gst/tmpl/gstbasetransform.sgml:
3925 * docs/gst/tmpl/gstfakesrc.sgml:
3926 * gst/base/gstcollectpads.c:
3927 * gst/base/gstcollectpads.h:
3928 * libs/gst/controller/gst-controller.c:
3929 * libs/gst/controller/gst-controller.h:
3930 * libs/gst/controller/gst-helper.c:
3931 * libs/gst/controller/gst-interpolation.c:
3932 * libs/gst/controller/lib.c:
3933 added long/short desc for controller docs
3934 added collectpads base class docs
3935 added correct includes to base-class docs
3937 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3939 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3940 (gst_test_mono_source_set_property),
3941 (gst_test_mono_source_class_init), (GST_START_TEST),
3942 (gst_controller_suite):
3943 * docs/gst/gstreamer-docs.sgml:
3944 * docs/gst/gstreamer-sections.txt:
3945 * docs/gst/gstreamer.types:
3946 * docs/libs/gstreamer-libs-docs.sgml:
3947 * docs/libs/gstreamer-libs-sections.txt:
3948 * gst/base/gstadapter.c:
3949 * libs/gst/controller/gst-controller.c:
3950 (gst_controlled_property_new), (gst_controlled_property_free),
3951 (gst_controller_new_valist),
3952 (gst_controller_remove_properties_valist),
3953 (gst_controller_sink_values), (_gst_controller_finalize):
3954 * libs/gst/controller/gst-controller.h:
3955 * libs/gst/controller/gst-helper.c:
3956 (gst_object_control_properties), (gst_object_uncontrol_properties),
3957 (gst_object_get_controller), (gst_object_set_controller),
3958 (gst_object_sink_values), (gst_object_get_value_arrays),
3959 (gst_object_get_value_array):
3960 more tests (and fixes) for the controller
3961 more docs for the controller
3962 integrated companies docs for the adapter
3964 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3966 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3967 (GST_START_TEST), (fakesrc_suite):
3968 add tests for sizetype
3970 2005-08-04 Andy Wingo <wingo@pobox.com>
3972 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3973 fixes buffer_alloc proxying among other things.
3975 * gst/base/gstbasetransform.c:
3976 * gst/base/gstbasetransform.h:
3977 Revert patch to gstbasetransform from 7-28 removing
3980 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3981 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3982 Semantics changed, should return not the size of the output buffer
3983 but the byte size of a buffer with a given caps.
3985 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3987 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3988 out) are not the pad caps until setcaps finishes.
3989 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3990 not-in-place case as well. Deal with changing from in-place to
3991 not-in-place within calling pad_alloc_buffer. Still a bit
3992 concerned about the overhead here...
3994 2005-08-03 Andy Wingo <wingo@pobox.com>
3996 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3997 fixating is an error.
3999 2005-08-04 Edward Hervey <edward@fluendo.com>
4001 * gst/base/gstadapter.h:
4002 Added gst_adapter_get_type() to the header
4004 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4006 * check/Makefile.am:
4007 * check/gst-libs/controller.c:
4008 * libs/gst/controller/gst-controller.c:
4009 (gst_controller_new_valist):
4010 added check test suite for the controller
4011 * gst/base/gstpushsrc.c:
4014 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4016 * docs/gst/Makefile.am:
4017 * docs/gst/gstreamer-docs.sgml:
4018 * docs/gst/gstreamer-sections.txt:
4019 * docs/gst/gstreamer.types:
4020 * docs/gst/tmpl/gstfakesrc.sgml:
4022 * gst/base/gstbasesink.c:
4023 * gst/base/gstbasesink.h:
4024 * gst/base/gstbasesrc.c:
4025 * gst/base/gstbasesrc.h:
4026 * gst/base/gstbasetransform.c:
4027 * gst/base/gstpushsrc.c:
4028 * gst/base/gstpushsrc.h:
4029 add short/long description docs to base classes
4030 add pushsrc to the docs
4031 remove consolidated doc fragments
4033 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4036 * docs/libs/Makefile.am:
4037 * docs/libs/gstreamer-libs-docs.sgml:
4038 * docs/libs/gstreamer-libs-sections.txt:
4039 * docs/libs/gstreamer-libs.types:
4040 * examples/Makefile.am:
4041 * examples/controller/.cvsignore:
4042 * examples/controller/Makefile.am:
4043 * examples/controller/audio-example.c: (main):
4044 * libs/gst/Makefile.am:
4045 * libs/gst/controller/.cvsignore:
4046 * libs/gst/controller/Makefile.am:
4047 * libs/gst/controller/gst-controller.c:
4048 (on_object_controlled_property_changed), (gst_timed_value_compare),
4049 (gst_timed_value_find),
4050 (gst_controlled_property_set_interpolation_mode),
4051 (gst_controlled_property_new), (gst_controlled_property_free),
4052 (gst_controller_find_controlled_property),
4053 (gst_controller_new_valist), (gst_controller_new),
4054 (gst_controller_remove_properties_valist),
4055 (gst_controller_remove_properties), (gst_controller_set),
4056 (gst_controller_set_from_list), (gst_controller_unset),
4057 (gst_controller_get), (gst_controller_get_all),
4058 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4059 (gst_controller_get_value_array),
4060 (gst_controller_set_interpolation_mode),
4061 (_gst_controller_finalize), (_gst_controller_init),
4062 (_gst_controller_class_init), (gst_controller_get_type):
4063 * libs/gst/controller/gst-controller.h:
4064 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4065 (g_object_uncontrol_properties), (g_object_get_controller),
4066 (g_object_set_controller), (g_object_sink_values),
4067 (g_object_get_value_arrays), (g_object_get_value_array):
4068 * libs/gst/controller/gst-interpolation.c:
4069 (gst_controlled_property_find_timed_value_node),
4070 (interpolate_none_get), (interpolate_trigger_get),
4071 (interpolate_trigger_get_value_array):
4072 * libs/gst/controller/lib.c: (gst_controller_init):
4073 * pkgconfig/Makefile.am:
4074 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4075 * pkgconfig/gstreamer-control.pc.in:
4076 * testsuite/Makefile.am:
4077 * testsuite/controller/.cvsignore:
4078 * testsuite/controller/Makefile.am:
4079 * testsuite/controller/interpolator.c: (main):
4080 added controller code
4081 removed dparam pc files
4083 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4084 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4085 (gst_collectpads_stop):
4086 Broadcast the condition when shutting down, to make sure we wake all
4087 threads up. Shut down pads on finalize, for safety.
4089 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4090 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4091 (gst_base_transform_handle_buffer),
4092 (gst_base_transform_change_state):
4093 Handle PAUSED->READY->PAUSED transition after negotiation
4095 * gst/gstmessage.c: (gst_message_init):
4096 Extra piece of debug for new messages.
4098 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4101 * docs/gst/tmpl/gstbasesrc.sgml:
4102 * docs/gst/tmpl/gstelement.sgml:
4103 * docs/gst/tmpl/gstevent.sgml:
4104 * docs/gst/tmpl/gstfakesrc.sgml:
4105 * docs/gst/tmpl/gstformat.sgml:
4106 * docs/gst/tmpl/gstghostpad.sgml:
4107 * docs/gst/tmpl/gstpad.sgml:
4108 * docs/gst/tmpl/gstquery.sgml:
4109 * docs/gst/tmpl/gststructure.sgml:
4110 * docs/gst/tmpl/gsttaglist.sgml:
4111 * docs/gst/tmpl/gstvalue.sgml:
4112 * docs/libs/gstreamer-libs-docs.sgml:
4113 * docs/libs/gstreamer-libs-sections.txt:
4114 * docs/libs/gstreamer-libs.types:
4115 * libs/gst/Makefile.am:
4116 * libs/gst/control/.cvsignore:
4117 * libs/gst/control/Makefile.am:
4118 * libs/gst/control/control.c:
4119 * libs/gst/control/control.h:
4120 * libs/gst/control/dparam.c:
4121 * libs/gst/control/dparam.h:
4122 * libs/gst/control/dparam_smooth.c:
4123 * libs/gst/control/dparam_smooth.h:
4124 * libs/gst/control/dparamcommon.h:
4125 * libs/gst/control/dparammanager.c:
4126 * libs/gst/control/dparammanager.h:
4127 * libs/gst/control/dplinearinterp.c:
4128 * libs/gst/control/dplinearinterp.h:
4129 * libs/gst/control/unitconvert.c:
4130 * libs/gst/control/unitconvert.h:
4131 * testsuite/Makefile.am:
4132 * testsuite/dynparams/.cvsignore:
4133 * testsuite/dynparams/Makefile.am:
4134 * testsuite/dynparams/dparamstest.c:
4135 * tools/Makefile.am:
4136 * tools/gst-inspect.c: (print_element_info), (main):
4137 * tools/gst-xmlinspect.c: (print_element_info), (main):
4138 deactivate and remove dparams (libgstcontrol)
4140 2005-08-01 Tim-Philipp MĂĽller <tim at centricular dot net>
4142 * gst/elements/gsttypefindelement.c:
4143 (gst_type_find_element_have_type), (gst_type_find_element_init),
4144 (stop_typefinding), (gst_type_find_element_handle_event),
4145 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4146 * gst/elements/gsttypefindelement.h:
4147 Set caps on all outgoing buffers, not just the first one.
4149 2005-08-01 Tim-Philipp MĂĽller <tim at centricular dot net>
4151 * gst/elements/gsttypefindelement.c:
4152 (gst_type_find_element_have_type),
4153 (gst_type_find_element_check_set_buffer_caps),
4154 (gst_type_find_element_init), (stop_typefinding),
4155 (gst_type_find_element_handle_event),
4156 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4157 * gst/elements/gsttypefindelement.h:
4158 Set caps on first outgoing buffer when we've found the type.
4160 2005-08-01 Tim-Philipp MĂĽller <tim at centricular dot net>
4162 * docs/gst/gstreamer-docs.sgml:
4163 * docs/gst/gstreamer-sections.txt:
4164 * docs/gst/tmpl/gstscheduler.sgml:
4165 * docs/gst/tmpl/gstschedulerfactory.sgml:
4166 Remove some old cruft from docs.
4168 2005-07-31 Tim-Philipp MĂĽller <tim at centricular dot net>
4171 Fix inline docs for GstPadLinkReturn.
4173 * gst/gststructure.c: (gst_structure_has_name):
4174 * gst/gststructure.h:
4175 * docs/gst/gstreamer-sections.txt:
4176 New API: gst_structure_has_name().
4178 2005-07-30 Tim-Philipp MĂĽller <tim at centricular dot net>
4181 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4182 and _LARGEFILE_SOURCE in config.h as required. Do not
4183 export those flags in our .pc files any longer (#142209).
4185 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4187 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4188 (gst_file_sink_do_seek), (gst_file_sink_event),
4189 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4190 Redo seek/tell calls with large file support in mind; add some
4191 debugging messages; add log message that tells us when large
4192 file support is unavailable or not enabled for some reason.
4194 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4195 Add log message that tells us when large file support
4196 is unavailable or not enabled for some reason.
4198 2005-07-29 Wim Taymans <wim@fluendo.com>
4200 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4201 Added test for removing an element with ghostpad from a bin.
4202 Fixed test as current implementation does the right thing.
4204 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4205 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4206 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4207 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4208 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4209 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4210 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4211 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4212 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4213 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4214 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4215 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4216 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4217 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4218 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4219 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4220 * gst/gstghostpad.h:
4221 Clean up ghostpads, remove properties for internal stuff.
4224 Prepare for switching targets, not all use cases work yet.
4226 2005-07-29 Wim Taymans <wim@fluendo.com>
4228 * docs/design/part-gstghostpad.txt:
4231 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4232 (gst_bin_remove_func):
4233 Unlinking pads while holding the bin LOCK is not a good
4236 * gst/gstpad.c: (gst_pad_class_init),
4237 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4238 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4239 No prob setting template after creating the pad.
4241 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4243 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4244 (gst_bus_peek), (gst_bus_source_dispatch),
4245 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4246 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4247 gst_bus_poll may be called from other threads. Handle
4248 this nicely by not making poll_data disappear off the
4249 stack once gst_bus_poll returns.
4250 gst_bus_peek now increments the refcount on the returned
4253 2005-07-29 Wim Taymans <wim@fluendo.com>
4255 * docs/design/part-gstghostpad.txt:
4256 Overview of current GhostPad datastructures and use
4257 cases for changing the target.
4259 2005-07-28 Wim Taymans <wim@fluendo.com>
4261 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4262 Added checks for hierarchy consistency whan adding linked
4265 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4266 Added check to test element scheduling without bin/pipeline.
4268 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4269 First add elements to bin, then link.
4271 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4272 (gst_bin_remove_func):
4273 Unlink pads from elements added/removed from bin to maintain
4274 hierarchy consistency.
4276 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4278 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4279 (gst_base_transform_handle_buffer):
4280 * gst/base/gstbasetransform.h:
4281 Remove broken delay_configure (fixes renegotiation of software
4282 scaling pipelines); remove some leftover printf()s.
4284 2005-07-28 Wim Taymans <wim@fluendo.com>
4286 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4287 Added some more tests for wrong hierarchy
4289 * docs/design/part-overview.txt:
4292 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4295 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4296 (gst_element_dispose):
4299 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4300 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4301 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4302 (gst_pad_set_caps), (gst_pad_send_event):
4303 Check for correct hierarchy when linking pads. Moving to
4304 strict requirement for ghostpads when linking elements in
4308 Clean ups. Added WRONG_HIERARCHY return value.
4310 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4312 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4313 Better debug if no transform is possible.
4315 2005-07-27 Wim Taymans <wim@fluendo.com>
4317 * docs/random/wtay/network-transp:
4320 2005-07-27 Wim Taymans <wim@fluendo.com>
4322 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4323 (gst_dp_event_from_packet):
4324 Fix serialization of seek events.
4326 2005-07-27 Wim Taymans <wim@fluendo.com>
4328 * check/gst-libs/gdp.c: (GST_START_TEST):
4329 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4330 Fix compilation and fix event serialization.
4332 2005-07-27 Wim Taymans <wim@fluendo.com>
4335 * docs/design/part-TODO.txt:
4336 * docs/design/part-events.txt:
4339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4340 (gst_base_sink_event), (gst_base_sink_do_sync),
4341 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4342 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4343 (gst_base_src_do_seek), (gst_base_src_event_handler),
4344 (gst_base_src_loop):
4345 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4346 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4347 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4348 (gst_base_transform_event), (gst_base_transform_handle_buffer),
4349 (gst_base_transform_set_passthrough),
4350 (gst_base_transform_is_passthrough):
4351 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4352 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4358 * gst/gstelement.c: (gst_element_seek):
4360 Update gst_element_seek.
4362 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4363 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4364 (gst_event_new_flush_start), (gst_event_new_flush_stop),
4365 (gst_event_new_eos), (gst_event_new_newsegment),
4366 (gst_event_parse_newsegment), (gst_event_new_tag),
4367 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4368 (gst_event_parse_qos), (gst_event_new_seek),
4369 (gst_event_parse_seek), (gst_event_new_navigation):
4371 Make GstEvent use GstStructure. Add parsing code, make sure the
4372 API is sufficiently generic.
4373 Mark possible directions of events and serialization.
4375 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4376 (_gst_message_copy), (gst_message_new_segment_start),
4377 (gst_message_new_segment_done), (gst_message_new_custom),
4378 (gst_message_parse_segment_start),
4379 (gst_message_parse_segment_done):
4382 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4383 (gst_pad_set_caps), (gst_pad_send_event):
4384 Update for new events.
4385 Catch events sent in wrong directions.
4387 * gst/gstqueue.c: (gst_queue_link_src),
4388 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4389 (gst_queue_handle_src_query):
4394 Remove event code from this file.
4396 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4397 (gst_dp_event_from_packet):
4400 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4402 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4403 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4404 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4405 Make debugging actually useful.
4407 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4409 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4410 (gst_pad_fixate_caps):
4411 Implement default fixation once again, so that gst_pad_fixate()
4412 actually does anything at all. This probably needs to be some
4413 sort of a last resort, and use profile-based fixation first, but
4414 since that doesn't exist yet, this is the best we have. Fixes
4415 visualization in Totem.
4417 2005-07-22 Wim Taymans <wim@fluendo.com>
4419 * docs/design/part-events.txt:
4422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4423 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4424 (gst_base_sink_activate_pull):
4427 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4428 (gst_fake_src_create):
4429 Fix handoff marshall.
4431 * gst/elements/gstidentity.c: (gst_identity_class_init),
4432 (gst_identity_transform_ip):
4433 We're a real inplace element.
4435 * gst/gstbus.c: (gst_bus_post):
4436 Added some comments.
4438 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4439 * tests/muxing/case1.c: (main):
4440 * tests/sched/dynamic-pipeline.c: (main):
4441 * tests/sched/interrupt1.c: (main):
4442 * tests/sched/interrupt2.c: (main):
4443 * tests/sched/interrupt3.c: (main):
4444 * tests/sched/runxml.c: (main):
4445 * tests/sched/sched-stress.c: (main):
4446 * tests/seeking/seeking1.c: (event_received), (main):
4447 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4449 * tests/threadstate/threadstate3.c: (main):
4450 * tests/threadstate/threadstate4.c: (main):
4451 * tests/threadstate/threadstate5.c: (main):
4454 2005-07-21 Wim Taymans <wim@fluendo.com>
4456 * docs/design/part-seeking.txt:
4457 Some small additions.
4459 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4460 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4461 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4462 * gst/base/gstbasesink.h:
4463 discont values are gint64, handle the math correctly.
4465 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4466 Make the basesrc report error if the source pad is not linked.
4468 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4469 (gst_queue_loop), (gst_queue_handle_src_query),
4470 (gst_queue_src_activate_push):
4471 Make queue collect data even if the srcpad is not linked.
4472 Start pushing out data as soon as it is linked.
4474 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4476 Added gst_flow_get_name() to ease error reporting.
4478 2005-07-20 Wim Taymans <wim@fluendo.com>
4480 * gst/gstmessage.c: (gst_message_new_segment_start),
4481 (gst_message_new_segment_done), (gst_message_parse_segment_start),
4482 (gst_message_parse_segment_done):
4484 Added a bunch of messages for advanced seeking.
4486 * gst/parse/grammar.y:
4487 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4488 (gst_dpman_state_changed):
4489 Fix some new-pad -> pad-added signals
4491 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4493 * docs/manual/appendix-porting.xml:
4494 * docs/pwg/appendix-porting.xml:
4495 Document new-pad/state-change signal renames and the FixedList
4498 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4500 * docs/manual/advanced-autoplugging.xml:
4501 * docs/manual/basics-helloworld.xml:
4502 * docs/manual/basics-pads.xml:
4503 * docs/random/ds/0.9-suggested-changes:
4504 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4509 * gst/gststructure.c: (gst_structure_value_get_generic_type),
4510 (gst_structure_parse_array), (gst_structure_parse_value):
4511 * gst/gstvalue.c: (gst_type_is_fixed),
4512 (gst_value_list_prepend_value), (gst_value_list_append_value),
4513 (gst_value_list_get_size), (gst_value_list_get_value),
4514 (gst_value_transform_array_string), (gst_value_serialize_array),
4515 (gst_value_deserialize_array), (gst_value_intersect_array),
4516 (gst_value_is_fixed), (_gst_value_initialize):
4518 GstElement::new-pad -> pad-added, GstElement::state-change ->
4519 state-changed, GstValueFixedList -> GstValueArray, add format and
4520 flags as their own arguments in gst_element_seek() (should improve
4521 "bindeability"), remove function generators since they don't work
4522 under a whole bunch of compilers (they were deprecated already
4525 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4527 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4528 (_gst_debug_register_funcptr):
4530 Fix illegal cast on some platforms (#309253).
4532 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4534 * gst/gstmessage.c: (gst_message_new_custom):
4536 Add _new_custom, make _new_application a macro to _new_custom.
4538 2005-07-20 Wim Taymans <wim@fluendo.com>
4540 * gst/base/gstbasesrc.c: (gst_base_src_init),
4541 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4542 * gst/base/gstbasesrc.h:
4543 Add a gboolean to decide when to push out a discont.
4545 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4546 (gst_queue_loop), (gst_queue_handle_src_query),
4547 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4548 (gst_queue_set_property), (gst_queue_get_property):
4551 * tests/threadstate/threadstate1.c: (main):
4552 Make a thread test compile and run... very silly..
4555 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4557 * docs/manual/appendix-porting.xml:
4558 Mention removal of libgstgconf-0.9.la and existence of gconf
4561 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4563 * docs/pwg/advanced-clock.xml:
4564 * docs/pwg/appendix-porting.xml:
4565 * docs/pwg/intro-preface.xml:
4566 * docs/pwg/other-base.xml:
4567 * docs/pwg/other-manager.xml:
4568 * docs/pwg/other-nton.xml:
4569 * docs/pwg/other-ntoone.xml:
4570 * docs/pwg/other-oneton.xml:
4572 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4573 demuxer), remove n-to-n (was never written), fix some code examples
4574 and links and update the porting section to include all this.
4576 2005-07-19 Wim Taymans <wim@fluendo.com>
4578 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4579 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4580 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4581 (gst_queue_src_activate_push), (gst_queue_change_state),
4582 (gst_queue_get_property):
4584 Propagate GstFlowReturn more intelligently upstream and output
4585 an ERROR/EOS when streaming stopped due to fatal error.
4587 2005-07-19 Wim Taymans <wim@fluendo.com>
4589 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4590 Don't block forever for the state change to complete, the
4591 pipeline already did with a sensible timeout.
4593 2005-07-19 Wim Taymans <wim@fluendo.com>
4595 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4596 Make sure we never call the create function is we
4599 2005-07-19 Andy Wingo <wingo@pobox.com>
4601 * gst/parse/parse.l: Attempt to solve bug #172815.
4603 2005-07-19 Wim Taymans <wim@fluendo.com>
4605 * docs/design/part-clocks.txt:
4606 * docs/design/part-events.txt:
4607 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4609 Only update the seeking values when we are not
4612 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4614 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4615 Oops, ignore the result of gst_pad_push_event here.
4617 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4619 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4620 (gst_base_src_activate_push):
4621 Send discont event from the loop function, as pads
4622 aren't activated yet in the activate_push handler.
4624 * gst/gstbin.c: (bin_bus_handler):
4625 Don't leak element name.
4627 2005-07-18 Andy Wingo <wingo@pobox.com>
4629 * configure.ac: Use AS_LIBTOOL_TAGS.
4631 2005-07-18 Wim Taymans <wim@fluendo.com>
4633 * docs/gst/gstreamer.types:
4634 Remove deleted types.
4636 2005-07-18 Wim Taymans <wim@fluendo.com>
4638 * check/elements/gstfakesrc.c: (GST_START_TEST):
4641 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4642 (init_popt_callback):
4644 * gst/gst_private.h:
4645 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4646 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4649 * gst/gstconfig.h.in:
4650 * gst/gstelement.c: (gst_element_class_init),
4651 (gst_element_set_base_time), (gst_element_get_base_time),
4652 (iterator_fold_with_resync), (gst_element_change_state),
4653 (gst_element_dispose), (gst_element_get_bus):
4655 * gst/gstelementfactory.h:
4656 * gst/gsterror.c: (_gst_core_errors_init):
4659 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4661 * gst/gstinfo.c: (_gst_debug_init):
4662 * gst/gstmessage.c: (_gst_message_copy):
4664 * gst/gstminiobject.h:
4667 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4668 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4671 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4672 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4673 (gst_pipeline_get_last_stream_time):
4674 * gst/gstpipeline.h:
4675 * gst/gstpluginfeature.h:
4677 * gst/gstscheduler.c:
4678 * gst/gstscheduler.h:
4679 * gst/gststructure.h:
4680 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4681 (gst_task_finalize), (gst_task_func), (gst_task_create),
4682 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4683 (gst_task_stop), (gst_task_pause):
4685 * gst/gsttypefind.h:
4687 * gst/registries/gstlibxmlregistry.c: (load_feature),
4688 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4689 * gst/registries/gstxmlregistry.c:
4690 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4691 * gst/schedulers/threadscheduler.c:
4692 * libs/gst/control/dparammanager.h:
4693 * tools/gst-inspect.c: (print_element_list),
4694 (print_plugin_features), (print_element_features):
4695 * tools/gst-xmlinspect.c: (print_element_list),
4696 (print_plugin_info), (main):
4697 Removed plugable schedulers.
4698 Removed Scheduler/Manager from elements.
4699 Removed gsttypes.h, rearranged includes.
4700 Removed dependency pad<->element, element<>pipeline, and
4701 various others, fix includes.
4702 implement gst_pad_get_parent() with gst_object_get_parent()
4703 Make GstTask sefcontained.
4704 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4706 Fix endless loop in iterator_fold_with_resync.
4709 2005-07-18 Wim Taymans <wim@fluendo.com>
4715 2005-07-18 Wim Taymans <wim@fluendo.com>
4720 2005-07-18 Wim Taymans <wim@fluendo.com>
4726 2005-07-18 Wim Taymans <wim@fluendo.com>
4728 * docs/design/part-dynamic.txt:
4729 * docs/design/part-events.txt:
4730 * docs/design/part-seeking.txt:
4731 Some more docs in the works.
4733 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4734 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4735 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4736 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4737 (gst_base_transform_handle_buffer),
4738 (gst_base_transform_sink_activate_push),
4739 (gst_base_transform_src_activate_pull),
4740 (gst_base_transform_set_passthrough),
4741 (gst_base_transform_is_passthrough):
4744 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4747 * gst/gstevent.c: (gst_event_finalize):
4750 * gst/gstutils.c: (gst_element_unlink),
4751 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4752 (gst_pad_proxy_setcaps):
4754 Add _get_parent_element() to get a pads parent as an element.
4756 2005-07-18 Wim Taymans <wim@fluendo.com>
4758 * check/gst/gstbin.c: (GST_START_TEST):
4761 2005-07-18 Wim Taymans <wim@fluendo.com>
4763 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4764 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4765 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4766 (gst_base_sink_event), (gst_base_sink_do_sync),
4767 (gst_base_sink_chain), (gst_base_sink_loop),
4768 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4769 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4771 Fix logic for returning ASYNC when not prerolled.
4773 2005-07-18 Wim Taymans <wim@fluendo.com>
4775 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4776 Fix nasty refcount bug.
4778 2005-07-16 Philippe Khalaf <burger@speedy.org>
4780 * gst/elements/gstfdsrc.c:
4781 * gst/elements/gstfdsrc.h:
4782 * gst/elements/gstelements.c:
4783 * gst/elements/Makefile.am:
4784 Ported fdsrc to 0.9.
4786 2005-07-16 Wim Taymans <wim@fluendo.com>
4788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4789 (gst_base_sink_do_sync):
4792 2005-07-16 Wim Taymans <wim@fluendo.com>
4794 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4795 (gst_base_sink_event), (gst_base_sink_get_times),
4796 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4797 * gst/base/gstbasesink.h:
4798 Store and use discont values when syncing buffers as described
4801 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4802 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4803 (gst_base_src_activate_push):
4804 Push discont event when starting.
4806 * gst/elements/gstidentity.c: (gst_identity_transform):
4809 * gst/gstbin.c: (gst_bin_change_state):
4810 Small cleanups in base_time distribution.
4812 * gst/gstelement.c: (gst_element_set_base_time),
4813 (gst_element_get_base_time), (gst_element_change_state):
4815 Added methods for the base_time of the element.
4818 * gst/gstpipeline.c: (gst_pipeline_send_event),
4819 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4820 (gst_pipeline_get_last_stream_time):
4821 * gst/gstpipeline.h:
4823 Handle seeking as described in design doc, remove stream_time
4825 Cleanups clock and stream_time selection code. Added accessors
4826 for the stream_time.
4829 2005-07-16 Andy Wingo <wingo@pobox.com>
4831 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4834 2005-07-16 Wim Taymans <wim@fluendo.com>
4836 * check/gst/gstbin.c: (GST_START_TEST):
4837 Make elements silent as the deep_notify refs the
4838 parent, which might make the test fail.
4840 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4841 Don't hold the lock for too long.
4843 2005-07-16 Tim-Philipp MĂĽller <tim at centricular dot net>
4845 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4846 Don't unref the caps we passed to gst_caps_make_writable() after
4847 passing them. gst_caps_make_writable() will do that for us.
4849 2005-07-15 Andy Wingo <wingo@pobox.com>
4851 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4854 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4855 own marshalling function for the handoff signal. Properly type the
4856 buffer as a buffer. Fixes some warnings. Should do a more general
4858 (gst_identity_class_init): Plug into the right marshaller.
4860 2005-07-15 Wim Taymans <wim@fluendo.com>
4862 * docs/design/part-TODO.txt:
4863 * docs/design/part-clocks.txt:
4864 * docs/design/part-element-sink.txt:
4865 * docs/design/part-events.txt:
4866 * docs/design/part-gstpipeline.txt:
4867 Updated docs, mostly DISCONT related.
4869 2005-07-15 Tim-Philipp MĂĽller <tim at centricular dot net>
4871 * docs/pwg/building-pads.xml:
4872 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4874 2005-07-15 Andy Wingo <wingo@pobox.com>
4876 * tools/gst-typefind.c: Update, add copyright block.
4878 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4879 Normalize and truncate caps before fixation.
4882 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4883 discards all but the first structure from its argument.
4885 2005-07-15 Wim Taymans <wim@fluendo.com>
4887 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4888 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4889 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4890 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4891 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4892 (gst_base_transform_chain), (gst_base_transform_change_state),
4893 (gst_base_transform_set_passthrough),
4894 (gst_base_transform_is_passthrough):
4895 * gst/base/gstbasetransform.h:
4896 Make passthrough work using the bufferpools.
4897 Changed API a bit, subclasses have to write into a buffer
4898 provided by the base class.
4899 More debug info in nego functions.
4901 * gst/elements/gstidentity.c: (gst_identity_init),
4902 (gst_identity_transform):
4903 Port to new base class.
4905 2005-07-15 Wim Taymans <wim@fluendo.com>
4907 * gst/gstmessage.c: (gst_message_new_state_changed):
4908 * tools/gst-launch.c: (event_loop), (main):
4909 Totally dump messages in -launch with the -m option.
4910 Fix message name for State messages,
4912 2005-07-14 Wim Taymans <wim@fluendo.com>
4914 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4915 Post error messages on errors.
4917 2005-07-14 Wim Taymans <wim@fluendo.com>
4919 * gst/gstcaps.c: (gst_caps_do_simplify):
4923 Define error for stream stopped.
4925 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4926 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4927 Do proper return values.
4929 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4930 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4931 (gst_pad_get_range):
4932 Better return values.
4935 Reorganise return values, add macro to check for fatal errors.
4937 * gst/gstqueue.c: (gst_queue_chain):
4938 Return proper GstFlowReturn values,
4940 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4942 * docs/gst/gstreamer-sections.txt:
4943 * docs/gst/gstreamer.types:
4944 * docs/gst/tmpl/gst.sgml:
4945 * docs/gst/tmpl/gstbasesink.sgml:
4946 * docs/gst/tmpl/gstbasesrc.sgml:
4947 * docs/gst/tmpl/gstbasetransform.sgml:
4948 * docs/gst/tmpl/gstbin.sgml:
4949 * docs/gst/tmpl/gstbuffer.sgml:
4950 * docs/gst/tmpl/gstcaps.sgml:
4951 * docs/gst/tmpl/gstclock.sgml:
4952 * docs/gst/tmpl/gstcompat.sgml:
4953 * docs/gst/tmpl/gstconfig.sgml:
4954 * docs/gst/tmpl/gstelement.sgml:
4955 * docs/gst/tmpl/gstelementdetails.sgml:
4956 * docs/gst/tmpl/gstelementfactory.sgml:
4957 * docs/gst/tmpl/gstenumtypes.sgml:
4958 * docs/gst/tmpl/gsterror.sgml:
4959 * docs/gst/tmpl/gstevent.sgml:
4960 * docs/gst/tmpl/gstfakesink.sgml:
4961 * docs/gst/tmpl/gstfakesrc.sgml:
4962 * docs/gst/tmpl/gstfilesink.sgml:
4963 * docs/gst/tmpl/gstfilesrc.sgml:
4964 * docs/gst/tmpl/gstfilter.sgml:
4965 * docs/gst/tmpl/gstformat.sgml:
4966 * docs/gst/tmpl/gstghostpad.sgml:
4967 * docs/gst/tmpl/gstimplementsinterface.sgml:
4968 * docs/gst/tmpl/gstindex.sgml:
4969 * docs/gst/tmpl/gstindexfactory.sgml:
4970 * docs/gst/tmpl/gstinfo.sgml:
4971 * docs/gst/tmpl/gstiterator.sgml:
4972 * docs/gst/tmpl/gstmacros.sgml:
4973 * docs/gst/tmpl/gstmemchunk.sgml:
4974 * docs/gst/tmpl/gstminiobject.sgml:
4975 * docs/gst/tmpl/gstobject.sgml:
4976 * docs/gst/tmpl/gstpad.sgml:
4977 * docs/gst/tmpl/gstpadtemplate.sgml:
4978 * docs/gst/tmpl/gstparse.sgml:
4979 * docs/gst/tmpl/gstpipeline.sgml:
4980 * docs/gst/tmpl/gstplugin.sgml:
4981 * docs/gst/tmpl/gstpluginfeature.sgml:
4982 * docs/gst/tmpl/gstquery.sgml:
4983 * docs/gst/tmpl/gstqueue.sgml:
4984 * docs/gst/tmpl/gstregistry.sgml:
4985 * docs/gst/tmpl/gstregistrypool.sgml:
4986 * docs/gst/tmpl/gstscheduler.sgml:
4987 * docs/gst/tmpl/gstschedulerfactory.sgml:
4988 * docs/gst/tmpl/gststructure.sgml:
4989 * docs/gst/tmpl/gstsystemclock.sgml:
4990 * docs/gst/tmpl/gsttaglist.sgml:
4991 * docs/gst/tmpl/gsttagsetter.sgml:
4992 * docs/gst/tmpl/gsttrace.sgml:
4993 * docs/gst/tmpl/gsttrashstack.sgml:
4994 * docs/gst/tmpl/gsttypefind.sgml:
4995 * docs/gst/tmpl/gsttypefindfactory.sgml:
4996 * docs/gst/tmpl/gsttypes.sgml:
4997 * docs/gst/tmpl/gsturihandler.sgml:
4998 * docs/gst/tmpl/gsturitype.sgml:
4999 * docs/gst/tmpl/gstutils.sgml:
5000 * docs/gst/tmpl/gstvalue.sgml:
5001 * docs/gst/tmpl/gstversion.sgml:
5002 * docs/gst/tmpl/gstxml.sgml:
5003 * docs/libs/tmpl/gstcontrol.sgml:
5004 * docs/libs/tmpl/gstdataprotocol.sgml:
5005 * docs/libs/tmpl/gstdparam.sgml:
5006 * docs/libs/tmpl/gstdplinint.sgml:
5007 * docs/libs/tmpl/gstdpman.sgml:
5008 * docs/libs/tmpl/gstdpsmooth.sgml:
5009 * docs/libs/tmpl/gstgetbits.sgml:
5010 * docs/libs/tmpl/gstunitconvert.sgml:
5011 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5012 (gst_push_src_base_init), (gst_push_src_class_init),
5013 (gst_push_src_init), (gst_push_src_create):
5014 * gst/base/gstpushsrc.h:
5015 * gst/elements/gstelements.c:
5016 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5017 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5018 (gst_fake_sink_init), (gst_fake_sink_set_property),
5019 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5020 (gst_fake_sink_event), (gst_fake_sink_preroll),
5021 (gst_fake_sink_render), (gst_fake_sink_change_state):
5022 * gst/elements/gstfakesink.h:
5023 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5024 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5025 (gst_fake_src_base_init), (gst_fake_src_class_init),
5026 (gst_fake_src_init), (gst_fake_src_event_handler),
5027 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5028 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5029 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5030 (gst_fake_src_create_buffer), (gst_fake_src_create),
5031 (gst_fake_src_start), (gst_fake_src_stop):
5032 * gst/elements/gstfakesrc.h:
5033 * gst/elements/gstfilesink.c: (_do_init),
5034 (gst_file_sink_base_init), (gst_file_sink_class_init),
5035 (gst_file_sink_init), (gst_file_sink_dispose),
5036 (gst_file_sink_set_location), (gst_file_sink_set_property),
5037 (gst_file_sink_get_property), (gst_file_sink_open_file),
5038 (gst_file_sink_close_file), (gst_file_sink_query),
5039 (gst_file_sink_event), (gst_file_sink_render),
5040 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5041 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5042 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5043 * gst/elements/gstfilesink.h:
5044 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5045 (gst_file_src_class_init), (gst_file_src_init),
5046 (gst_file_src_finalize), (gst_file_src_set_location),
5047 (gst_file_src_set_property), (gst_file_src_get_property),
5048 (gst_file_src_map_region), (gst_file_src_map_small_region),
5049 (gst_file_src_create_mmap), (gst_file_src_create_read),
5050 (gst_file_src_create), (gst_file_src_is_seekable),
5051 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5052 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5053 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5054 (gst_file_src_uri_handler_init):
5055 * gst/elements/gstfilesrc.h:
5056 more autistic cleanliness in functions/names/defines
5058 2005-07-13 Andy Wingo <wingo@pobox.com>
5060 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5061 source couldn't negotiate.
5063 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5067 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5068 function. I am channeling Hades. Put your boots on suckers!!!
5070 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5072 * testsuite/caps/Makefile.am:
5073 * testsuite/caps/value_compare.c:
5074 * testsuite/caps/value_intersect.c:
5075 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5076 move two testsuite apps over to the check dir
5078 2005-07-12 Wim Taymans <wim@fluendo.com>
5080 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5081 Added more debug info in the negotiate process.
5084 Prepare for segment playback.
5086 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5092 * tools/gst-launch.c: (main):
5093 NULL pipeline on errors.
5095 2005-07-12 Andy Wingo <wingo@pobox.com>
5097 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5098 not it comes from a malloc region. Make sure our copy gets freed.
5100 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5102 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5103 * check/gst/gstmessage.c: (GST_START_TEST):
5104 * check/gst/gststructure.c: (GST_START_TEST),
5105 (gst_structure_suite), (main):
5107 * gst/gstelement.c: (gst_element_message_full):
5108 clean up GError and debug string now that they get copied
5109 * gst/gstmessage.c: (gst_message_new_error),
5110 (gst_message_new_warning), (gst_message_parse_error),
5111 (gst_message_parse_warning):
5112 use GST_TYPE_G_ERROR for structure_new, and take copies of
5113 arguments, so that we don't mess up refcounting
5115 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5117 * check/Makefile.am:
5118 add per-test valgrind targets
5119 * check/gst-libs/gdp.c: (GST_START_TEST),
5120 (gst_data_protocol_suite), (main):
5123 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5125 * check/Makefile.am:
5126 instate more valgrindable tests
5127 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5128 (GST_START_TEST), (fakesrc_suite):
5129 * check/gst/gstpad.c: (GST_START_TEST):
5130 * check/gst/gststructure.c: (GST_START_TEST):
5132 * docs/gst/tmpl/gstminiobject.sgml:
5133 * gst/gstpad.c: (gst_pad_finalize):
5134 fix the static mutex leak
5136 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5138 * check/Makefile.am:
5139 add two more tests for valgrinding
5140 * check/gst/gstvalue.c: (GST_START_TEST):
5141 test refcount of deserialized buffer, found a leak
5142 * docs/gst/gstreamer-docs.sgml:
5143 * docs/gst/gstreamer-sections.txt:
5144 * docs/gst/gstreamer.types:
5145 * docs/gst/tmpl/gstminiobject.sgml:
5146 add miniobject to docs
5147 * gst/gstminiobject.c:
5149 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5150 (gst_string_unwrap):
5151 fix a hard-to-find invalid write for one of the tests
5152 fix a leak for deserialized buffers
5154 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5156 * docs/pwg/advanced-events.xml:
5157 * docs/pwg/advanced-request.xml:
5158 * docs/pwg/advanced-scheduling.xml:
5159 * docs/pwg/appendix-porting.xml:
5160 * docs/pwg/building-boiler.xml:
5161 * docs/pwg/intro-preface.xml:
5162 * docs/pwg/other-ntoone.xml:
5163 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5164 of example code and explanation for pad activation, loop() and
5165 getrange() functions and a bit more. Remove old comments pointing
5167 * examples/pwg/Makefile.am:
5168 Add loop/getrange examples.
5170 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5173 check for valgrind binary + some fixes
5175 valgrind suppressions for the tests
5176 * check/Makefile.am:
5177 add a valgrind: target that valgrinds the unit tests
5178 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5179 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5180 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5181 * check/gst/gstghostpad.c:
5183 * check/gst/gstdata.c:
5185 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5186 (thread_unref), (gst_mini_object_suite), (main):
5188 * gst/gst.c: (gst_deinit):
5190 add a method to clean up.
5191 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5192 (gst_system_clock_obtain):
5193 allow for disposing the system clock.
5194 * tools/gst-launch.c: (main):
5197 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5199 * docs/gst/tmpl/gstbasesrc.sgml:
5200 * docs/gst/tmpl/gstfakesrc.sgml:
5201 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5202 (gst_base_src_init), (gst_base_src_set_property),
5203 (gst_base_src_get_property), (gst_base_src_get_range),
5204 (gst_base_src_start):
5205 * gst/base/gstbasesrc.h:
5206 add num-buffers property
5207 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5208 (gst_fakesrc_init), (gst_fakesrc_set_property),
5209 (gst_fakesrc_get_property), (gst_fakesrc_create),
5210 (gst_fakesrc_start):
5211 remove num-buffers property
5213 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5215 * docs/gst/gstreamer-sections.txt:
5216 * docs/gst/tmpl/gstbasesink.sgml:
5217 * docs/gst/tmpl/gstbasesrc.sgml:
5218 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5219 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5220 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5221 (gst_base_sink_set_property), (gst_base_sink_get_property),
5222 (gst_base_sink_handle_object), (gst_base_sink_event),
5223 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5224 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5225 (gst_base_sink_loop), (gst_base_sink_deactivate),
5226 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5227 (gst_base_sink_change_state):
5228 * gst/base/gstbasesink.h:
5229 * gst/base/gstbasesrc.h:
5230 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5231 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5232 (gst_filesink_init):
5233 more macro splitting
5235 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5237 * gst/gstelement.c: (gst_element_get_bus):
5239 * tools/gst-launch.c: (check_intr), (event_loop):
5242 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5244 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5247 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5249 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5250 (gst_base_src_finalize):
5251 add finalize method and clean up properly
5252 * gst/gstpipeline.c: (gst_pipeline_dispose):
5255 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5257 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5259 add more things to check
5260 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5264 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5266 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5267 (GST_START_TEST), (fakesrc_suite):
5268 * check/gst-libs/gdp.c: (GST_START_TEST):
5269 * check/gst/gst.c: (GST_START_TEST):
5270 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5271 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5272 * check/gst/gstbus.c: (GST_START_TEST):
5273 * check/gst/gstcaps.c: (GST_START_TEST):
5274 * check/gst/gstdata.c: (GST_START_TEST):
5275 * check/gst/gstelement.c: (GST_START_TEST):
5276 * check/gst/gstghostpad.c: (GST_START_TEST):
5277 * check/gst/gstiterator.c: (GST_START_TEST):
5278 * check/gst/gstmessage.c: (GST_START_TEST):
5279 * check/gst/gstobject.c: (GST_START_TEST):
5280 * check/gst/gstpad.c: (GST_START_TEST):
5281 * check/gst/gststructure.c: (GST_START_TEST):
5282 * check/gst/gstsystemclock.c: (GST_START_TEST),
5283 (gst_systemclock_suite):
5284 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5285 * check/gst/gstvalue.c: (GST_START_TEST):
5286 * check/pipelines/cleanup.c: (GST_START_TEST):
5287 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5288 * check/states/sinks.c: (GST_START_TEST):
5289 * check/gstcheck.c: (gst_check_init):
5291 add debugging category
5292 use GST_START_TEST now, so we add a debug line
5294 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5296 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5297 add test for state change message on a bin
5298 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5300 * gst/gstbin.c: (gst_bin_init):
5301 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5302 * gst/gstelement.c: (gst_element_post_message),
5303 (gst_element_set_state):
5304 * gst/gstelementfactory.c: (gst_element_factory_create):
5305 * gst/gstmessage.c: (gst_message_new):
5306 * gst/gstscheduler.c:
5307 various debugging additions and cleanups
5309 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5311 * check/Makefile.am:
5312 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5314 adding tests for elements
5315 * gst/gstelement.c: (gst_element_dispose):
5317 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5319 * gst/registries/gstlibxmlregistry.c: (load_feature):
5320 plug more leaks. A simple gst_init() now is leakfree, yay.
5322 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5324 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5325 (gst_xml_registry_load):
5326 plug another memleak
5328 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5331 use GST_SET_ERROR_CFLAGS
5333 change to ERROR_CFLAGS
5335 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5338 make GST_ERROR_CFLAGS overridable and re-enable Werror
5340 add a note about error CFLAGS
5341 * docs/gst/tmpl/gstfakesrc.sgml:
5342 * gst/elements/gstfakesrc.c:
5343 comment out some unused code
5344 * gst/gst.c: (split_and_iterate):
5345 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5349 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * common/Makefile.am:
5352 * common/gtk-doc.mak:
5353 * docs/gst/Makefile.am:
5354 factor out gtk-doc.mak
5356 2005-07-07 Wim Taymans <wim@fluendo.com>
5358 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5359 (gst_thread_scheduler_dispose):
5360 Unlock the STREAM_LOCK completely.
5362 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5364 * check/Makefile.am:
5365 * check/elements/.cvsignore:
5366 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5367 (START_TEST), (fakesrc_suite), (main):
5368 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5369 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5370 (gst_fakesrc_create), (gst_fakesrc_start):
5371 * gst/elements/gstfakesrc.h:
5372 adding a first element test
5374 2005-07-07 Andy Wingo <wingo@pobox.com>
5376 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5379 2005-07-07 Wim Taymans <wim@fluendo.com>
5385 2005-07-07 Wim Taymans <wim@fluendo.com>
5387 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5388 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5389 Allow subclasses to implement their own negotiation.
5391 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5393 * docs/design/part-gstbin.txt:
5394 * docs/design/part-gstpipeline.txt:
5395 Update design notes to reflect the movement of
5396 responsibility for bus handling from GstPipeline to
5399 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5402 Remove unnecessary queue2/3/4 examples.
5404 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5406 * examples/Makefile.am:
5407 * examples/helloworld/helloworld.c: (event_loop), (main):
5408 * examples/queue/queue.c: (event_loop), (main):
5409 * examples/queue2/queue2.c: (main):
5410 Update a couple of the examples to work again.
5412 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5413 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5414 Spelling corrections and extra debug.
5416 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5417 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5418 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5420 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5421 (gst_pipeline_change_state):
5422 * gst/gstpipeline.h:
5423 Move the bus handler for children to the GstBin, and create a
5424 separate bus for receiving messages from children to the one the
5425 bus sends 'upwards' on.
5427 2005-07-06 Wim Taymans <wim@fluendo.com>
5430 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5431 (gst_base_sink_handle_object), (gst_base_sink_loop),
5432 (gst_base_sink_change_state):
5433 * gst/base/gstbasesink.h:
5434 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5435 (gst_base_src_init), (gst_base_src_setcaps),
5436 (gst_base_src_getcaps), (gst_base_src_loop),
5437 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5438 (gst_base_src_start), (gst_base_src_change_state):
5439 * gst/base/gstbasesrc.h:
5440 Make basesrc negotiate.
5441 Handle the case where preroll fails in basesink.
5444 2005-07-06 Wim Taymans <wim@fluendo.com>
5446 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5447 Implement the fixate function.
5448 Clean up acceptcaps.
5450 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5452 * docs/pwg/building-filterfactory.xml:
5454 Remove never-written filter-factory chapter; I'll add the various
5455 base classes to part 4 ("other element types") later on.
5457 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5459 * docs/pwg/advanced-negotiation.xml:
5460 * docs/pwg/building-boiler.xml:
5461 * docs/pwg/building-pads.xml:
5463 * examples/pwg/Makefile.am:
5464 Add a chapter on caps negotiation, simplify the original code
5465 samples a bit w.r.t. caps negotiation, add link to the advanced
5466 section. Add a bunch of examples showing different use cases of
5467 different types of caps negotiation. Upstream renegotiation isn't
5468 fully documented yet since nobody knows how that works.
5470 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
5472 * check/gst/gstpad.c:
5474 * gst/gstpad.c: (gst_pad_get_internal_links_default):
5475 if pad has no parent, return NULL as list of internal links
5477 2005-07-05 Andy Wingo <wingo@pobox.com>
5479 * gst/elements/gstfilesrc.c:
5480 * gst/elements/gstfakesrc.c:
5481 * gst/base/gstpushsrc.c:
5482 * gst/base/gstbasesrc.h:
5483 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5485 2005-07-05 Stefan Kost <ensonic@users.sf.net>
5488 better report generation target (lcov needs a patch)
5490 2005-07-05 Andy Wingo <wingo@pobox.com>
5492 * gst/elements, testsuite: Null if we got it...
5494 2005-07-05 Wim Taymans <wim@fluendo.com>
5497 * libs/gst/dataprotocol/Makefile.am:
5498 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5499 * libs/gst/dataprotocol/dataprotocol.h:
5500 * pkgconfig/Makefile.am:
5501 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5502 * pkgconfig/gstreamer-dataprotocol.pc.in:
5503 Ported dataprotol to 0.9.
5504 Added pkgconfig files.
5506 2005-07-05 Andy Wingo <wingo@pobox.com>
5508 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5509 Default to returning TRUE for the case when tranform_caps returns
5510 a fixed caps, like for identity or volume.
5512 * check/gst/gstbus.c (pound_bus_with_messages):
5513 * check/gst/gstmessage.c (START_TEST):
5514 * check/pipelines/simple_launch_lines.c (got_handoff): Application
5517 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5518 logic weaks here: always run transform_caps, trying passthrough
5519 operation only if the original caps intersects with the transform.
5521 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5522 source and sink caps.
5524 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5525 Intersect the peer caps with the pad template before going into
5527 (gst_base_transform_transform_caps): More debugging.
5529 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5532 2005-07-04 Edward Hervey <edward@fluendo.com>
5536 (gst_pad_add_*_probe): now returns the signal id for better wrapping
5539 2005-07-04 Andy Wingo <wingo@pobox.com>
5541 * check/gst/gstpad.c: Only set explicit caps on pads.
5543 2005-07-01 Andy Wingo <wingo@pobox.com>
5545 * tests/network-clock.scm: Commentary update.
5547 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5548 Didn't really make sense, not implementable with basetransform,
5550 (gst_identity_transform): Unref inbuf via make_writable. Feeble
5551 attempt at implementing the sync property, needs an unlock method.
5553 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5554 New func, by default returns the same caps (the identity
5556 (gst_base_transform_getcaps): Uses transform_caps to return
5558 (gst_base_transform_setcaps): Complicated logic to get caps on
5559 both pads, even if they are different, and to call set_caps once
5560 for every time both pads get their caps set.
5561 (gst_base_transform_handle_buffer): Give the ref to the transform
5562 function. Allows in-place modification of the buffer.
5564 * gst/base/gstbasetransform.h (transform_caps): New class method.
5565 Given caps on one side, what can I do on the other.
5566 (set_caps): Take two caps, one for each side of the element.
5569 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5570 caps in place. This is safe because we can check the mutability of
5571 the caps, and a good idea because fixate functions are just called
5572 as a matter of last resort. (Not actually implemented.)
5573 (gst_pad_set_caps): If the caps we're setting is actually the same
5574 as the existing pad caps, just update the pointer without calling
5575 setcaps. Assert that caps is either NULL or fixed, as per the
5578 * gst/gstghostpad.c: Update for fixate changes.
5580 2005-07-02 Andy Wingo <wingo@pobox.com>
5583 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5584 two refcounts makes it immutable, which is enough. Doc more.
5586 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
5588 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5589 Put the mini_object into GValue as a mini_object,
5590 not a gpointer, since that's how we declared
5593 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5595 * examples/pwg/Makefile.am:
5598 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5600 * docs/pwg/building-testapp.xml:
5602 * examples/pwg/Makefile.am:
5605 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5608 * examples/Makefile.am:
5609 * examples/pwg/Makefile.am:
5610 * examples/pwg/extract.pl:
5611 Enable building the PWG examples.
5612 * docs/pwg/advanced-interfaces.xml:
5613 Add URI interface stub.
5614 * docs/pwg/advanced-types.xml:
5615 * docs/pwg/other-autoplugger.xml:
5616 * docs/pwg/appendix-porting.xml:
5618 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5619 * docs/pwg/building-boiler.xml:
5620 * docs/pwg/building-chainfn.xml:
5621 * docs/pwg/building-pads.xml:
5622 * docs/pwg/building-props.xml:
5623 * docs/pwg/building-state.xml:
5624 * docs/pwg/building-testapp.xml:
5625 Update the building-*.xml parts for 0.9 changes. All examples
5626 code blocks compile in examples/pwg/*.
5628 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5630 * docs/manual/advanced-autoplugging.xml:
5631 * docs/manual/appendix-checklist.xml:
5632 * docs/manual/appendix-integration.xml:
5633 * docs/manual/highlevel-components.xml:
5634 Fix playbin/decodebin examples, update docs a bit, mention bus
5635 instead of signals in various places, mention kmplayer and
5636 kaffeine since they have a working GStreamer backend in the KDE
5639 2005-06-30 Wim Taymans <wim@fluendo.com>
5642 * docs/design/draft-ghostpads.txt:
5643 * docs/design/draft-push-pull.txt:
5644 * docs/design/draft-query.txt:
5645 * docs/design/part-TODO.txt:
5646 * docs/design/part-query.txt:
5647 Added CHANGES-0.9 doc, updated status of other docs.
5652 2005-06-30 Wim Taymans <wim@fluendo.com>
5654 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5655 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5656 (gst_base_sink_change_state):
5657 * gst/base/gstbasesink.h:
5658 Some tweaks, only EOS and a buffer complete a preroll.
5660 2005-06-30 Andy Wingo <wingo@pobox.com>
5662 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5663 activate_push down to the internal pad as well.
5665 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5667 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5669 * gst/gsttaginterface.c:
5670 Some documentation fixes (#307394 and #307397).
5672 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5674 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5676 * gst/gstvalue.c: (gst_value_intersect_list):
5677 Fix memleak (#309125).
5679 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5681 * docs/manual/advanced-dataaccess.xml:
5682 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5683 * docs/manual/basics-pads.xml:
5684 Add reference for filtered caps to above chapter.
5686 2005-06-30 Wim Taymans <wim@fluendo.com>
5688 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5689 (gst_bin_change_state):
5691 Lame attempt at making the state change function a bit
5694 2005-06-30 Wim Taymans <wim@fluendo.com>
5696 * docs/design/part-clocks.txt:
5697 * docs/design/part-element-sink.txt:
5698 * docs/design/part-events.txt:
5699 * docs/design/part-preroll.txt:
5700 * docs/design/part-states.txt:
5701 Some more tweeks and additions to the docs.
5703 2005-06-30 Wim Taymans <wim@fluendo.com>
5705 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5706 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5707 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5708 (gst_pad_check_pull_range), (gst_pad_get_range),
5709 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5711 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5712 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5713 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5714 (gst_pad_remove_buffer_probe):
5715 Removed atomic operations, use existing LOCK.
5716 Move exception handling out of main code path.
5718 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5720 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5721 (silly_return_true_function), (gst_pad_class_init),
5722 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5723 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5724 (gst_pad_send_event):
5725 Fix accumulator, add default value by using _emitv() instead
5726 of _emit() for signal emission.
5728 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5730 * docs/manual/advanced-dataaccess.xml:
5731 * examples/manual/Makefile.am:
5733 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5736 2005-06-29 Tim-Philipp MĂĽller <tim at centricular dot net>
5738 * gst/elements/gstfilesink.c: (gst_filesink_render):
5739 Simplify code so that we don't have to handle short
5740 writes and return GST_FLOW_ERROR if an error occured.
5742 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5744 * docs/gst/gstreamer-docs.sgml:
5747 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5749 * docs/gst/gstreamer-sections.txt:
5750 * docs/gst/tmpl/gstpad.sgml:
5751 * docs/gst/tmpl/gstprobe.sgml:
5753 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5754 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5755 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5756 (gst_pad_push_event), (gst_pad_send_event):
5758 * gst/gstutils.c: (gst_pad_add_data_probe),
5759 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5760 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5761 (gst_pad_remove_buffer_probe):
5763 Remove old probes, add new g-signal-based probes and some utility
5766 2005-06-29 Edward Hervey <edward@fluendo.com>
5768 * gst/gstelementfactory.c:
5771 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5772 the definition to the header file.
5774 2005-06-29 Andy Wingo <wingo@pobox.com>
5776 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5777 plugins from the source directory.
5779 2005-06-29 Wim Taymans <wim@fluendo.com>
5781 * docs/gst/tmpl/gstbuffer.sgml:
5782 * docs/gst/tmpl/gstclock.sgml:
5783 Some fixings for blantently wrong text.
5785 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5787 * check/Makefile.am:
5788 * gst/gst.c: (add_path_func), (init_pre):
5789 * gst/gstregistry.c: (gst_registry_add_path):
5790 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5791 only scan the GST_PLUGIN_PATH locations, and not add
5794 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5796 * docs/gst/gstreamer-sections.txt:
5797 * docs/gst/tmpl/gstbasesrc.sgml:
5804 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5806 * docs/manual/advanced-autoplugging.xml:
5807 Fix autoplugging example.
5809 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5811 * docs/manual/advanced-autoplugging.xml:
5812 * docs/manual/mime-world.fig:
5813 Try to get autoplugging working, fix type detection. Fix text
5814 in hello-world image.
5816 2005-06-29 Wim Taymans <wim@fluendo.com>
5818 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5819 (gst_base_sink_change_state):
5823 map SIGNAL and BROADCAST to the right function.
5826 Remove redundant braces.
5828 * gst/gstpad.c: (gst_pad_set_caps):
5829 Don't call setcaps function when reseting caps to NULL.
5831 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5832 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5833 (gst_system_clock_id_unschedule):
5834 Use BROADCAST as this is what we do.
5836 2005-06-29 Wim Taymans <wim@fluendo.com>
5838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5839 We are actually prerolling before commiting the state
5842 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5844 * docs/manual/advanced-clocks.xml:
5845 * docs/manual/advanced-interfaces.xml:
5846 * docs/manual/advanced-metadata.xml:
5847 * docs/manual/advanced-position.xml:
5848 * docs/manual/advanced-schedulers.xml:
5849 * docs/manual/advanced-threads.xml:
5850 * docs/manual/appendix-porting.xml:
5851 * docs/manual/basics-bins.xml:
5852 * docs/manual/basics-bus.xml:
5853 * docs/manual/basics-elements.xml:
5854 * docs/manual/basics-helloworld.xml:
5855 * docs/manual/basics-pads.xml:
5856 * docs/manual/highlevel-components.xml:
5857 * docs/manual/manual.xml:
5858 * docs/manual/thread.fig:
5859 Update (until threads/scheduling) Application Development Manual;
5860 remove GstThread, add GstBus, add simple porting checklist, add
5861 documentation for tag writing, clocks, make all examples until this
5862 part compile and run.
5863 * examples/manual/Makefile.am:
5864 Update from changes to Application Development Manual; add bus
5865 example, remove thread example.
5867 2005-06-28 Wim Taymans <wim@fluendo.com>
5869 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5870 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5871 (gst_bus_source_dispatch):
5872 Add debugging messages.
5873 Make internal methods static.
5874 Handle the case where the bus is flushed in the handler.
5876 * gst/gstelement.c: (gst_element_get_bus):
5877 Fix refcount in _get_bus();
5879 * gst/gstpipeline.c: (gst_pipeline_change_state),
5880 (gst_pipeline_get_clock_func):
5881 Clock refcounting fixes.
5882 Handle the case where preroll timed out more gracefully.
5884 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5885 Clean up the internal thread in dispose. This is needed
5886 for subclasses that actually get disposed.
5888 * gst/schedulers/threadscheduler.c:
5889 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5890 (gst_thread_scheduler_dispose):
5891 Free thread pool in dispose.
5893 2005-06-28 Andy Wingo <wingo@pobox.com>
5895 * tests/network-clock-utils.scm (debug, print-event): New utils.
5897 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5898 (*packet-loss*): Unified loss probability.
5899 (network-time): Report out-of-band events.
5901 * tests/plot-data: Add support for out-of-band events. Hack it
5902 into this script instead of passing it down the pipe; should fix
5905 2005-06-28 Wim Taymans <wim@fluendo.com>
5907 * docs/gst/gstreamer.types:
5908 * docs/gst/tmpl/gstbasesrc.sgml:
5909 * docs/gst/tmpl/gstpad.sgml:
5912 2005-06-28 Wim Taymans <wim@fluendo.com>
5914 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5915 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5916 (gst_proxy_pad_do_fixatecaps):
5917 Correctly proxy the check_pull_range function.
5919 2005-06-28 Andy Wingo <wingo@pobox.com>
5921 * tests/network-clock.scm: Removed need for slib.
5923 2005-06-28 Wim Taymans <wim@fluendo.com>
5925 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5926 (gst_basesink_preroll_queue_flush):
5927 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5928 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5929 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5930 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5931 (gst_proxy_pad_set_property):
5934 * gst/gstqueue.c: (gst_queue_init):
5935 The deprecated pad loop function is removed now.
5937 2005-06-28 Andy Wingo <wingo@pobox.com>
5939 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5940 New parameters, simulate network packet loss.
5942 * tests/network-clock-utils.scm: Initialize the RNG.
5944 2005-06-28 Wim Taymans <wim@fluendo.com>
5946 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5947 (gst_basesink_event), (gst_basesink_deactivate):
5948 Flushing the preroll queue always needs to unlock the waiters.
5950 2005-06-28 Edward Hervey <edward@fluendo.com>
5952 * gst/gstpipeline.c: (gst_pipeline_send_event):
5953 Wheen a seek was successful on a pipeline, set the stream_time to the
5954 seek offset in order to have a synchronized stream_time.
5956 2005-06-28 Wim Taymans <wim@fluendo.com>
5958 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5959 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5960 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5961 (gst_proxy_pad_do_fixatecaps):
5962 Call wrapper function instead of just calling the function
5963 pointers. This takes care of any locking and whatmore.
5965 2005-06-28 Wim Taymans <wim@fluendo.com>
5967 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5968 (gst_pad_pull_range):
5970 CONNECTED -> LINKED.
5972 2005-06-28 Andy Wingo <wingo@pobox.com>
5974 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5975 source-munging commit!!!
5977 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5978 (gst_object_sink): Take gpointer arguments, not GstObject --
5979 avoids casts. Like GLib.
5981 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5984 2005-06-27 Andy Wingo <wingo@pobox.com>
5986 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5989 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5990 returns a sorted copy of the trace list.
5991 (gst_alloc_trace_print_live): New API, only prints traces with
5992 live objects. Sort the list.
5993 (gst_alloc_trace_print_all): Sort the list.
5994 (gst_alloc_trace_print): Align columns.
5996 * gst/elements/gstttypefindelement.c:
5997 * gst/elements/gsttee.c:
5998 * gst/base/gstbasesrc.c:
5999 * gst/base/gstbasesink.c:
6000 * gst/base/gstbasetransform.c:
6001 * gst/gstqueue.c: Adapt for pad activation changes.
6003 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6005 (gst_pipeline_dispose): Drop ref on sched.
6007 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6008 (gst_pad_activate_default): Push mode by default.
6009 (pre_activate_switch, post_activate_switch): New stubs, things to
6010 do before and after switching activation modes on pads.
6011 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6012 the pad's activate function to choose which mode to activate.
6013 Shortcut on deactivation and call the right function directly.
6014 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6016 (gst_pad_activate_push): New API, same for push mode.
6017 (gst_pad_set_activate_function)
6018 (gst_pad_set_activatepull_function)
6019 (gst_pad_set_activatepush_function): Setters for new API.
6021 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6022 Trace all miniobjects.
6023 (gst_mini_object_make_writable): Unref the arg if we copy, like
6024 gst_caps_make_writable.
6026 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6028 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6029 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6030 Adapt for new pad API.
6032 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6035 * gst/gstelement.c (gst_element_iterate_src_pads)
6036 (gst_element_iterate_sink_pads): New API functions.
6038 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6039 should fold into gstiterator.c in some form.
6040 (gst_element_pads_activate): Simplified via use of fold and
6041 delegation of decisions to gstpad->activate.
6043 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6046 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6047 class once in init, like gstmessage. Didn't run into this issue
6048 but it seems correct. Don't initialize a trace, gstminiobject does
6051 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6052 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6054 (assert_live_count): New util function, uses alloc traces to check
6057 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6058 To be modified when unlink drops the internal pad.
6060 2005-06-27 Wim Taymans <wim@fluendo.com>
6062 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6063 (gst_bin_change_state):
6064 Cleanup the get_state() function a little, make sure it
6065 iterates the same set of elements.
6066 Added stub iterate_state_order().
6068 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6070 * docs/gst/gstreamer-docs.sgml:
6071 * docs/gst/gstreamer-sections.txt:
6072 * docs/gst/gstreamer.types:
6073 * docs/gst/tmpl/gstbasesink.sgml:
6074 * docs/gst/tmpl/gstbasesrc.sgml:
6075 * docs/gst/tmpl/gstbasetransform.sgml:
6076 * docs/gst/tmpl/gstelement.sgml:
6077 * docs/gst/tmpl/gstiterator.sgml:
6078 * gst/base/gstbasesrc.c:
6079 * gst/base/gstbasesrc.h:
6080 * gst/base/gstbasetransform.h:
6082 * gst/gstiterator.h:
6083 adding basetransform and iterator docs
6085 2005-06-27 Andy Wingo <wingo@pobox.com>
6087 * docs/design/part-activation.txt: Notes on how activation should
6088 work -- not quite implemented yet.
6090 2005-06-25 Wim Taymans <wim@fluendo.com>
6092 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6093 At least get the chain function correct, needs more
6096 2005-06-25 Wim Taymans <wim@fluendo.com>
6098 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6099 (gst_basesink_handle_object), (gst_basesink_event),
6100 (gst_basesink_do_sync), (gst_basesink_handle_event),
6101 (gst_basesink_change_state):
6103 Right, two problems here: ghostpads don't take locks and
6104 glib _rec_mutex_lock_full() with depth==0 still locks.
6105 Catch illegal locking and g_warn them.
6107 2005-06-25 Wim Taymans <wim@fluendo.com>
6109 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6110 Have to check for completion now...
6112 2005-06-25 Wim Taymans <wim@fluendo.com>
6114 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6115 (gst_basesink_handle_object), (gst_basesink_event),
6116 (gst_basesink_do_sync), (gst_basesink_handle_event),
6117 (gst_basesink_change_state):
6119 Unlock STREAM_LOCK whatever the recursion was.
6121 2005-06-25 Wim Taymans <wim@fluendo.com>
6123 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6124 (gst_basesink_preroll_queue_empty),
6125 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6126 (gst_basesink_event), (gst_basesink_do_sync),
6127 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6128 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6129 (gst_basesink_change_state):
6130 Reworked the base sink, handle event and buffer serialisation
6131 correctly and removed possible deadlock.
6132 Handle EOS correctly.
6134 2005-06-25 Wim Taymans <wim@fluendo.com>
6136 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6137 (gst_pipeline_change_state):
6138 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6139 Allow elements to post EOS in the state change function.
6140 Fix up -launch, make it exit the poll loop when the
6141 pipeline actually changed state.
6142 Fix up warning parsing in -launch.
6144 2005-06-25 Wim Taymans <wim@fluendo.com>
6146 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6147 (gst_tee_sink_activate):
6148 Core takes STREAM_LOCK for us now.
6150 2005-06-25 Wim Taymans <wim@fluendo.com>
6152 * gst/gstelement.c: (gst_element_get_state_func),
6153 (gst_element_set_state):
6155 * gst/gstmessage.c: (gst_message_parse_error),
6156 (gst_message_parse_warning):
6157 Keep track of current target state while performing a state
6158 change so that subclasses can do something interesting.
6159 Fix parsing of warning/error messages when GError is NULL.
6161 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6163 * docs/gst/Makefile.am:
6164 * docs/gst/gstreamer-docs.sgml:
6165 * docs/gst/gstreamer-sections.txt:
6166 * docs/gst/gstreamer.types:
6167 * docs/gst/tmpl/gstbasesink.sgml:
6168 * docs/gst/tmpl/gstbasesrc.sgml:
6169 * docs/gst/tmpl/gstbin.sgml:
6170 * docs/gst/tmpl/gstcompat.sgml:
6171 * docs/gst/tmpl/gstfakesink.sgml:
6172 * docs/gst/tmpl/gstfakesrc.sgml:
6173 * docs/gst/tmpl/gstfilesink.sgml:
6174 * docs/gst/tmpl/gstfilesrc.sgml:
6175 * docs/gst/tmpl/gstindex.sgml:
6176 * docs/manual/appendix-quotes.xml:
6177 * gst/base/gstbasesrc.h:
6178 * gst/elements/gstfakesrc.h:
6180 start pulling in base classes and elements in our docs
6182 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6184 * docs/gst/Makefile.am:
6185 * docs/libs/Makefile.am:
6186 fixed make distcheck with gtk-doc 1.3
6188 2005-06-23 Wim Taymans <wim@fluendo.com>
6190 * gst/gstelement.c: (gst_element_get_state_func),
6191 (gst_element_set_state), (gst_element_change_state):
6192 When the state did not change, also report NO_PREROLL
6195 2005-06-23 Wim Taymans <wim@fluendo.com>
6197 * gst/gstpad.c: (gst_pad_event_default):
6198 * gst/gstqueue.c: (gst_queue_loop):
6199 No unsafe task pausing please.
6201 2005-06-23 Wim Taymans <wim@fluendo.com>
6203 * gst/schedulers/threadscheduler.c:
6204 (gst_thread_scheduler_task_start),
6205 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6206 Ref the task before pushing it on the threadpool. This
6207 makes sure that we have a ref when the threadfunction is
6210 2005-06-23 Andy Wingo <wingo@pobox.com>
6212 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6213 offset is greater than the file's size.
6215 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6216 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6217 * gst/gstobject.c (gst_object_class_init): Make the class lock
6218 recursive. Wim won't let me drop deep_notify. Decodebin works
6221 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6222 internal pad, and hacks accordingly. Doesn't do it on the target
6223 pad because we change its caps. Probably catches all cases of
6225 (gst_ghost_pad_set_property): Connect to notify::caps as
6228 * tests/network-clock.scm (plot-simulation): Pipe data to the
6229 elite python skript.
6231 * tests/network-clock-utils.scm (define-parameter): New macro,
6232 defines a parameter that can be set via the command line.
6233 (set-parameter!, parse-parameter-arguments): Command line args
6236 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6239 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6241 * gst/elements/gsttypefindelement.c:
6242 (gst_type_find_element_handle_event):
6243 Don't restart typefinding on a discont.
6244 * gst/gstelement.c: (gst_element_set_state):
6246 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6247 Allow changing mode of an active pad.
6249 * gst/registries/gstlibxmlregistry.c: (load_feature):
6250 Don't cast a static pad template to a normal pad template.
6252 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6254 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6255 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6256 remove gst_strtoll completely, since it didn't actually do
6257 anything more than what g_ascii_strtoull already does.
6258 check for range errors when deserializing
6259 do a cast for the unsigned cases; but further fixing needs
6260 a decision on what the interpretation of "(int)" and
6261 deserialization should be for values that fall outside the
6262 type's boundaries (ie, refuse, or interpret as casting)
6264 2005-06-23 Wim Taymans <wim@fluendo.com>
6266 * check/Makefile.am:
6267 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6268 * docs/design/part-live-source.txt:
6269 * docs/design/part-states.txt:
6270 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6271 (gst_basesrc_set_live), (gst_basesrc_is_live),
6272 (gst_basesrc_get_range), (gst_basesrc_activate),
6273 (gst_basesrc_change_state):
6274 * gst/base/gstbasesrc.h:
6275 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6276 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6277 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6278 * gst/gstelement.c: (gst_element_get_state_func),
6279 (gst_element_set_state):
6282 * tools/gst-launch.c: (event_loop), (main):
6283 Added support for live sources and other elements that
6285 Updated design docs, added live-source design doc.
6286 Implemented live source functionality in basesrc
6287 Fix error condition in _bin_get_state()
6288 Implement live source handling in -launch.
6289 Added check for live sources.
6290 Fixed case in GstBin where elements were changed state
6294 2005-06-23 Andy Wingo <wingo@pobox.com>
6296 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6299 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6300 gst_caps_replace takes care of this for us.
6302 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6303 gst_pad_set_caps on the target, not just its setcaps() function.
6305 * tests/network-clock.scm:
6306 * tests/network-clock-utils.scm: A network clock simulator.
6307 Something of an algorithmic testbed before doing something in C.
6309 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6311 * check/Makefile.am:
6312 * check/gst/capslist.h:
6313 copy over from 0.8, and add two with bitmasks specified with
6315 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6316 add test to parse everything from capslist.h
6317 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6319 add test for structure deserialization
6320 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6321 add tests for deserialization of strings to int types
6322 * gst/gststructure.c: (gst_structure_nth_field_name):
6323 * gst/gststructure.h:
6324 add a way to get the name of a field referenced by index
6325 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6326 instead of checking if the resulting long long lies between
6327 min and max, we check if the long long would fit into
6328 a number of bytes for the final type.
6329 This fixes cases where a string represents 2^32 - 1, which
6330 when cast to int would be the (valid) -1, but is bigger than
6333 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6335 * gst/parse/grammar.y:
6336 add a log line for type deserialization
6338 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6340 * check/gst/gstvalue.c: (START_TEST):
6341 * gst/gstvalue.c: (gst_value_deserialize):
6342 return long long, not int, so gint64 deserialization actually
6343 works. Is there any flag that makes the compiler check this ?
6346 2005-06-22 Wim Taymans <wim@fluendo.com>
6349 Added convenience macros for setting buffers in GValue.
6351 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6353 * check/gst/.cvsignore:
6354 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6355 add a test deserializing int64, and comment part out because
6358 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6360 * check/Makefile.am:
6361 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6362 * testsuite/Makefile.am:
6363 * testsuite/caps/Makefile.am:
6364 * testsuite/caps/value_serialize.c:
6365 * testsuite/test_gst_init.c:
6366 move a value_serialize test over
6368 2005-06-20 Wim Taymans <wim@fluendo.com>
6373 * gst/gstvalue.c: (gst_value_compare_buffer),
6374 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6375 (gst_value_compare_flags), (gst_value_serialize_flags),
6376 (gst_value_deserialize_flags), (_gst_value_initialize):
6377 Fix serialisation of buffers, they are not boxed types anymore
6379 2005-06-20 Wim Taymans <wim@fluendo.com>
6381 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6382 Testcase to show error in buffer-on-caps serialisation.
6384 2005-06-20 Andy Wingo <wingo@pobox.com>
6386 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6387 will be adding to later.
6389 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6390 if its socks fill with rocks.
6391 (gst_system_clock_obtain): Set the name on object construction.
6392 Avoid double-checked locking.
6394 2005-06-20 Tim-Philipp MĂĽller <tim at centricular dot net>
6396 * gst/gsturi.c: (gst_element_make_from_uri):
6397 Fix potential endless loop.
6399 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6401 * check/Makefile.am:
6403 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6405 move over from testsuite dir and clean up
6408 * testsuite/Makefile.am:
6409 * testsuite/tags/.cvsignore:
6410 * testsuite/tags/Makefile.am:
6411 * testsuite/tags/merge.c:
6412 remove testsuite/tags
6414 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6416 * docs/gst/gstreamer-sections.txt:
6417 * docs/gst/tmpl/gstenumtypes.sgml:
6418 * win32/gstenumtypes.c:
6419 clean up documentation build a little
6421 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6424 add macros for checking refcounts on objects and caps
6425 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6426 add some more unit tests
6427 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6428 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6429 fix leaked refcounts (I hope :)) so unittest works
6433 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6435 * configure.ac: back to HEAD
6437 === release 0.9.1 ===
6439 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6445 2005-06-17 Andy Wingo <wingo@pobox.com>
6447 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6448 assert; it's always possible that the pad gets deactivated in
6449 between the checks in gstpad.c and the implementation. Rely on
6450 finish_preroll() to return a FLUSHING or similar instead of on the
6453 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6454 clock and post an EOS message if we come out of finish_preroll in
6457 2005-06-16 David Schleef <ds@schleef.org>
6459 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6460 (gst_capsfilter_set_property): Allow NULL as possible value
6461 for filter_caps property, indicating GST_CAPS_ANY.
6463 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6465 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6467 * gst/schedulers/Makefile.am:
6469 * gstreamer.spec.in:
6472 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6474 * gstreamer.spec.in:
6477 2005-06-08 Andy Wingo <wingo@pobox.com>
6479 * gst/gstutils.c: RPAD fixes all around.
6480 (gst_element_link_pads): Refcounting fixes.
6482 * tools/gst-inspect.c:
6483 * tools/gst-xmlinspect.c:
6485 * gst/base/gsttypefindhelper.c:
6486 * gst/base/gstbasesink.c:
6487 * gst/gstqueue.c: RPAD fixes.
6489 * gst/gstghostpad.h:
6490 * gst/gstghostpad.c: New ghost pad implementation as full proxy
6491 pads. The tricky thing is they provide both source and sink
6492 interfaces, since they proxy the internal pad for the external
6493 pad, and vice versa. Implement with lower-level ProxyPad objects,
6494 with the interior proxy pad as a child of the exterior ghost pad.
6495 Should write a doc on this.
6497 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6498 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6501 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6502 pads are real pads. No ghost pads in this file. Not documenting
6503 the myriad s/RPAD/PAD/ and REALIZE fixes.
6504 (gst_pad_class_init): Add properties for "direction" and
6505 "template". Both are construct-only, so they can't change during
6506 the life of the pad. Fixes properly deriving from GstPad.
6507 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6508 derived objects, just set properties when creating the objects via
6510 (gst_pad_get_parent): Implement as a function, return NULL if the
6511 parent is not an element.
6512 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6513 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6515 * gst/gstobject.c (gst_object_class_init): Make name a construct
6516 property. Don't set it in the object init.
6518 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6519 with UNKNOWN direction.
6520 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6521 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6522 (gst_element_remove_pad): Remove ghost-pad special cases.
6523 (gst_element_pads_activate): Remove rpad cruft.
6525 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6526 catch the pad's-parent-not-an-element case.
6528 * gst/gst.h: Include gstghostpad.h.
6530 * gst/gst.c (init_post): No more real, ghost pads.
6532 * gst/Makefile.am: Add gstghostpad.[ch].
6534 * check/Makefile.am:
6535 * check/gst/gstbin.c:
6536 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6537 into a bin creates ghost pads, and that the refcounts are right.
6538 Partly moved from gstbin.c.
6540 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6542 * check/gst-libs/.cvsignore:
6543 * check/gst/.cvsignore:
6544 * check/pipelines/.cvsignore:
6546 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6547 (START_TEST), (cleanup_suite), (main):
6548 add some tests related to cleanup after running pipelines
6550 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6552 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6553 add a testsuite for GstBuffer
6555 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6557 * gst/gstminiobject.h:
6558 add defines for accessing the refcount
6560 2005-06-03 Stefan Kost <ensonic@users.sf.net>
6562 * Makefile.am: added support for html unit test coverage reports
6564 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
6566 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6567 Free existing caps if the capsfilter changes. Add a FIXME about
6568 setting those caps on the pads.
6570 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6571 Before adding a ghost pad to a parent bin, check that there isn't
6572 already one for the element on the bin. Prevents infinite recursion
6573 when using decodebin in parse pipelines. Andy says he'll rewrite the
6574 way this works anyway, so ignore the hack.
6576 2005-06-02 Andy Wingo <wingo@pobox.com>
6578 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6579 file size, pass it on to the type find helper.
6581 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6582 segment_start and segment_end properly according to the seek
6583 method. Segment_end is still a bit flaky because offset can be
6584 negative for CUR and END cases, but it takes -1 as an "unset"
6587 2005-06-02 Wim Taymans <wim@fluendo.com>
6589 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6590 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6591 (gst_basesink_activate):
6592 * gst/base/gstbasesink.h:
6593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6594 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6595 (gst_pad_query), (gst_pad_start_task):
6597 * gst/gstqueue.c: (gst_queue_bufferalloc),
6598 (gst_queue_handle_sink_event), (gst_queue_chain):
6599 Bufferalloc: return GstFlowReturn to more accuratly report
6600 why allocation failed.
6602 2005-06-02 Wim Taymans <wim@fluendo.com>
6604 * gst/gstpipeline.c: (gst_pipeline_send_event):
6605 Take snapshot of state without blocking.
6607 2005-06-02 Wim Taymans <wim@fluendo.com>
6609 * docs/design/part-TODO.txt:
6610 * docs/design/part-caps.txt:
6611 * docs/design/part-clocks.txt:
6612 * docs/design/part-negotiation.txt:
6613 * docs/design/part-preroll.txt:
6616 2005-05-30 Wim Taymans <wim@fluendo.com>
6618 * gst/elements/gstidentity.c: (gst_identity_event),
6619 (gst_identity_transform), (gst_identity_get_property):
6620 Protect last_message property as it is accessed from
6623 2005-05-30 Wim Taymans <wim@fluendo.com>
6625 * gst/gstelement.c: (gst_element_init),
6626 (gst_element_pads_activate), (gst_element_change_state):
6627 Slicker pad activation code.
6629 2005-05-30 Wim Taymans <wim@fluendo.com>
6633 * gst/gstelementfactory.h:
6635 Move elementfactory methods to separate .h file.
6637 2005-05-30 Wim Taymans <wim@fluendo.com>
6639 * docs/design/part-overview.txt:
6640 * gst/gstsystemclock.h:
6641 Small typo fixes, doc updates.
6643 2005-05-30 Wim Taymans <wim@fluendo.com>
6645 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6646 (init_popt_callback):
6647 Remove cpu-opt flag.
6649 2005-05-30 Wim Taymans <wim@fluendo.com>
6651 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6652 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6654 Avoid typechecking in places where not needed.
6655 Added accessor for malloc_data.
6657 2005-05-30 Wim Taymans <wim@fluendo.com>
6659 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6660 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6661 (gst_pad_configure_sink), (gst_pad_configure_src),
6662 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6663 (gst_pad_start_task):
6664 Propagate errors from _set_caps() in configure_src/sink
6665 functions instead of returning TRUE.
6666 FLUSH events can travel up and downstream
6669 2005-05-30 Wim Taymans <wim@fluendo.com>
6671 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6672 (gst_basesink_activate):
6673 Handle EOS in preroll.
6675 2005-05-30 Wim Taymans <wim@fluendo.com>
6677 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6678 (gst_queue_loop), (gst_queue_handle_src_event):
6679 Remove old pieces of code
6680 Flushing the queue in an upstream event is a very bad idea.
6682 2005-05-26 Andy Wingo <wingo@pobox.com>
6684 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6685 gst_value_set_mini_object so as to add a ref on the object (which
6686 will be removed when the value is unset).
6688 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6689 arg type in ::handoff.
6691 * gst/gstelement.c (gst_element_change_state): Also deactivate
6692 pads in READY->NULL, just in case the element didn't make it to
6693 PAUSED. Wingo tested, Wim approved.
6695 2005-05-26 Wim Taymans <wim@fluendo.com>
6697 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6698 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6699 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6700 A flushing pad cannot be used to alloc_buffer from.
6702 2005-05-26 Wim Taymans <wim@fluendo.com>
6704 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6705 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6706 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6707 (gst_bus_create_watch), (gst_bus_add_watch_full):
6709 Implement a real GSource and use g_main_context_wakeup() to
6710 signal new messages instead of the socketpair.
6712 2005-05-25 Wim Taymans <wim@fluendo.com>
6714 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6715 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6716 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6717 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6718 (gst_pad_send_event), (gst_pad_start_task):
6719 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6720 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6721 (gst_queue_sink_activate), (gst_queue_src_activate),
6722 (gst_queue_change_state):
6724 Fix state changes for non sinks. We now change sinks, then elements
6725 with unconnected srcpads, then the rest.
6726 More efficient queue unlocking in flush and state changes.
6727 Set the pad activate mode even if it does not have an activate
6730 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6732 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6733 Don't go in pull mode for non-seekable sources.
6734 * gst/elements/gsttypefindelement.h:
6735 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6736 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6737 (free_entry), (stop_typefinding),
6738 (gst_type_find_element_handle_event), (find_peek),
6739 (gst_type_find_element_chain), (do_pull_typefind),
6740 (gst_type_find_element_change_state):
6741 Allow typefinding (w/o seeking) in push-mode, simplified version
6743 * gst/gstutils.c: (gst_buffer_join):
6745 gst_buffer_join() from 0.8.
6747 2005-05-25 Wim Taymans <wim@fluendo.com>
6749 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6750 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6751 (gst_pad_send_event), (gst_pad_start_task):
6752 Disable attempt at mode switching until it is figured out.
6754 2005-05-25 Wim Taymans <wim@fluendo.com>
6756 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6757 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6758 (gst_basesink_finish_preroll), (gst_basesink_chain),
6759 (gst_basesink_loop), (gst_basesink_activate),
6760 (gst_basesink_change_state):
6761 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6762 (gst_basesrc_get_range), (gst_basesrc_loop),
6763 (gst_basesrc_activate):
6764 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6765 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6766 (gst_real_pad_init), (gst_real_pad_set_property),
6767 (gst_real_pad_get_property), (gst_pad_set_active),
6768 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6769 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6770 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6771 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6772 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6773 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6774 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6775 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6776 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6777 (gst_pad_stop_task):
6779 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6780 (gst_queue_loop), (gst_queue_src_activate):
6781 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6782 (gst_task_get_state):
6784 * gst/schedulers/threadscheduler.c:
6785 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6786 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6788 Remove ACTIVE pad flag, use FLUSHING everywhere
6789 Added _pad_chain(), _pad_get_range() to call chain/getrange
6791 Add locks around IS_FLUSHING when reading.
6792 Take STREAM lock in chain(), get_range() functions so plugins
6793 don't need to take it anymore.
6797 2005-05-25 Wim Taymans <wim@fluendo.com>
6799 * tools/gst-launch.c: (event_loop):
6800 Unref message after using its contents instead of
6803 2005-05-24 Wim Taymans <wim@fluendo.com>
6805 * docs/design/draft-ghostpads.txt:
6806 * docs/design/draft-push-pull.txt:
6807 * docs/design/draft-query.txt:
6808 * docs/design/part-overview.txt:
6809 Docs updates, added general overview doc.
6811 2005-05-21 David Schleef <ds@schleef.org>
6813 * docs/gst/tmpl/old/GstBin.sgml:
6814 * docs/gst/tmpl/old/GstBuffer.sgml:
6815 * docs/gst/tmpl/old/GstCaps.sgml:
6816 * docs/gst/tmpl/old/GstClock.sgml:
6817 * docs/gst/tmpl/old/GstCompat.sgml:
6818 * docs/gst/tmpl/old/GstData.sgml:
6819 * docs/gst/tmpl/old/GstElement.sgml:
6820 * docs/gst/tmpl/old/GstEvent.sgml:
6821 * docs/gst/tmpl/old/GstIndex.sgml:
6822 * docs/gst/tmpl/old/GstStructure.sgml:
6823 * docs/gst/tmpl/old/GstTag.sgml:
6824 * docs/gst/tmpl/old/cothreads.sgml:
6825 * docs/gst/tmpl/old/cothreads_compat.sgml:
6826 * docs/gst/tmpl/old/gettext.sgml:
6827 * docs/gst/tmpl/old/gobject2gtk.sgml:
6828 * docs/gst/tmpl/old/grammar.tab.sgml:
6829 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6830 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6831 * docs/gst/tmpl/old/gst_private.sgml:
6832 * docs/gst/tmpl/old/gstaggregator.sgml:
6833 * docs/gst/tmpl/old/gstarch.sgml:
6834 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6835 * docs/gst/tmpl/old/gstbufferstore.sgml:
6836 * docs/gst/tmpl/old/gstdata_private.sgml:
6837 * docs/gst/tmpl/old/gstdisksink.sgml:
6838 * docs/gst/tmpl/old/gstdisksrc.sgml:
6839 * docs/gst/tmpl/old/gstelementfactory.sgml:
6840 * docs/gst/tmpl/old/gstextratypes.sgml:
6841 * docs/gst/tmpl/old/gstfakesink.sgml:
6842 * docs/gst/tmpl/old/gstfakesrc.sgml:
6843 * docs/gst/tmpl/old/gstfdsink.sgml:
6844 * docs/gst/tmpl/old/gstfdsrc.sgml:
6845 * docs/gst/tmpl/old/gstfilesink.sgml:
6846 * docs/gst/tmpl/old/gstfilesrc.sgml:
6847 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6848 * docs/gst/tmpl/old/gstidentity.sgml:
6849 * docs/gst/tmpl/old/gstindexfactory.sgml:
6850 * docs/gst/tmpl/old/gstmarshal.sgml:
6851 * docs/gst/tmpl/old/gstmd5sink.sgml:
6852 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6853 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6854 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6855 * docs/gst/tmpl/old/gstpipefilter.sgml:
6856 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6857 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6858 * docs/gst/tmpl/old/gstshaper.sgml:
6859 * docs/gst/tmpl/old/gstspider.sgml:
6860 * docs/gst/tmpl/old/gstspideridentity.sgml:
6861 * docs/gst/tmpl/old/gststatistics.sgml:
6862 * docs/gst/tmpl/old/gsttee.sgml:
6863 * docs/gst/tmpl/old/gsttimecache.sgml:
6864 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6865 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6866 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6867 * docs/gst/tmpl/old/types.sgml:
6868 I didn't intend to add these or check them in.
6870 2005-05-19 David Schleef <ds@schleef.org>
6872 * configure.ac: Use -no-common everywhere. In a sane world, it
6873 would be the default in libtool, because without it, you can't
6874 build DLLs on Windows.
6875 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6876 * docs/gst/gstreamer-sections.txt:
6877 * docs/gst/tmpl/gstcpu.sgml:
6878 * docs/gst/tmpl/gstdata.sgml:
6879 * docs/gst/tmpl/gstthread.sgml:
6881 2005-05-19 David Schleef <ds@schleef.org>
6883 * gst/gstminiobject.c: (gst_value_set_mini_object),
6884 (gst_value_take_mini_object), (gst_value_get_mini_object):
6885 * gst/gstminiobject.h: Add GValue set/get functions.
6887 2005-05-19 Wim Taymans <wim@fluendo.com>
6889 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6890 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6891 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6893 * gst/gstbus.c: (gst_bus_post):
6894 * gst/gstelement.c: (gst_element_get_random_pad):
6895 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6896 Make subbufer unref the parent in finalize.
6897 some more debugging info.
6900 2005-05-19 Wim Taymans <wim@fluendo.com>
6902 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6903 (gst_basesink_init), (gst_basesink_finalize),
6904 (gst_basesink_activate), (gst_basesink_change_state):
6905 Don't free preroll queue too early.
6907 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6911 Hi, I'm outdated. Please shoot me.
6913 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6915 * gst/gstpipeline.c: (gst_pipeline_send_event):
6916 Do not access variables after they have been deleted.
6918 2005-05-19 Wim Taymans <wim@fluendo.com>
6920 * tools/gst-inspect.c: (print_plugin_features):
6921 A plugin feature does unfortunatly not use the
6924 2005-05-18 Wim Taymans <wim@fluendo.com>
6926 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6927 Port _span() functions to new subbuffers.
6929 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6931 * gst/gstbin.c: (gst_bin_add_func):
6932 Fix clock settery in bins when adding kids after the clock has
6935 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6937 * gst/elements/gstidentity.c: (gst_identity_class_init):
6938 Workaround until signals support GstMiniObject.
6940 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6943 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6945 2005-05-18 Wim Taymans <wim@fluendo.com>
6947 * gst/base/Makefile.am:
6948 * gst/base/gstadapter.c: (gst_adapter_base_init),
6949 (gst_adapter_class_init), (gst_adapter_init),
6950 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6951 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6952 (gst_adapter_flush), (gst_adapter_available),
6953 (gst_adapter_available_fast):
6954 * gst/base/gstadapter.h:
6955 Ported and added adapter to the base classes.
6957 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6961 Make sure the class is reffed/unreffed once before threads can be
6962 used. Fixes #304551.
6964 2005-05-17 Wim Taymans <wim@fluendo.com>
6966 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6967 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6968 * gst/gstminiobject.c: (gst_mini_object_get_type),
6969 (gst_mini_object_free):
6970 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6971 (gst_pad_push), (gst_pad_push_event):
6972 * gst/gstqueue.c: (gst_queue_change_state):
6973 Don't queue buffers in basesink when we are flushing.
6974 Unref buffer when flushing in basesink.
6975 Flush queue when going to READY
6976 Unref buffer when _push() returns an error.
6977 Don't free MiniObject instance when refcount is incremented
6978 in _finalize() so that we can recover objects.
6980 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6982 * docs/manual/advanced-schedulers.xml:
6983 * docs/manual/appendix-checklist.xml:
6984 * docs/pwg/advanced-clock.xml:
6985 * docs/pwg/advanced-interfaces.xml:
6986 * docs/pwg/advanced-request.xml:
6987 * docs/pwg/advanced-types.xml:
6988 * docs/pwg/intro-preface.xml:
6989 * examples/plugins/example.c: (gst_example_get_type),
6990 (gst_example_class_init), (gst_example_chain),
6991 (gst_example_set_property), (gst_example_get_property),
6992 (gst_example_change_state), (plugin_init):
6993 * examples/plugins/example.h:
6996 2005-05-17 Wim Taymans <wim@fluendo.com>
6998 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6999 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7000 * gst/gstqueue.c: (gst_queue_change_state):
7001 Clear queue when going to READY.
7002 Remove IN_SETCAPS flag too.
7004 2005-05-17 Tim-Philipp MĂĽller <tim at centricular dot net>
7006 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7007 Remove implicit cast from gboolean to GstElementStateReturn;
7008 make sure we still return failure in paused => ready case if
7009 the parent class fails to change state and our own stop
7012 2005-05-17 Wim Taymans <wim@fluendo.com>
7014 * tools/gst-launch.c: (event_loop):
7015 Message was unreffed too soon.
7017 2005-05-16 Andy Wingo <wingo@pobox.com>
7019 * gst/gstbin.c (sink_iterator_filter): Err... um...
7021 * check/gst/gstbin.c (test_ghost_pads): New test for the
7022 ghosting-if-elements-not-in-same-bin behavior.
7024 2005-05-16 David Schleef <ds@schleef.org>
7026 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7027 accessing refcount directly.
7029 2005-05-15 David Schleef <ds@schleef.org>
7031 * check/Makefile.am: remove GstData checks
7032 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7033 * gst/Makefile.am: add miniobject, remove data
7034 * gst/gst.h: add miniobject, remove data
7035 * gst/gstdata.c: remove
7036 * gst/gstdata.h: remove
7037 * gst/gstdata_private.h: remove
7038 * gst/gsttypes.h: remove GstEvent and GstMessage
7039 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7040 * gst/gstmarshal.list: change BOXED -> OBJECT
7042 Implement GstMiniObject.
7043 * gst/gstminiobject.c:
7044 * gst/gstminiobject.h:
7046 Modify to be subclasses of GstMiniObject.
7047 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7048 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7049 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7050 (gst_subbuffer_get_type), (gst_subbuffer_init),
7051 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7054 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7055 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7056 (_gst_event_copy), (gst_event_new):
7058 * gst/gstmessage.c: (_gst_message_initialize),
7059 (gst_message_get_type), (gst_message_class_init),
7060 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7061 (gst_message_new), (gst_message_new_error),
7062 (gst_message_new_warning), (gst_message_new_tag),
7063 (gst_message_new_state_changed), (gst_message_new_application):
7065 * gst/gstprobe.c: (gst_probe_perform),
7066 (gst_probe_dispatcher_dispatch):
7068 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7069 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7070 (_gst_query_copy), (gst_query_new):
7072 Update elements for GstData -> GstMiniObject changes
7074 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7075 (gst_queue_chain), (gst_queue_loop):
7076 * gst/elements/gstbufferstore.c:
7077 (gst_buffer_store_add_buffer_func),
7078 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7079 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7080 (gst_fakesink_render):
7081 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7082 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7083 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7084 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7085 (gst_filesrc_create_read):
7086 * gst/elements/gstidentity.c: (gst_identity_class_init):
7087 * gst/elements/gsttypefindelement.c:
7088 (gst_type_find_element_src_event), (free_entry_buffers),
7089 (gst_type_find_element_handle_event):
7090 * libs/gst/dataprotocol/dataprotocol.c:
7091 (gst_dp_header_from_buffer):
7092 * libs/gst/dataprotocol/dataprotocol.h:
7093 * libs/gst/dataprotocol/dp-private.h:
7095 2005-05-15 David Schleef <ds@schleef.org>
7097 * gst/elements/gstelements.c: Don't include headers that were
7100 2005-05-15 David Schleef <ds@schleef.org>
7102 * gst/elements/Makefile.am: Remove some elements that don't
7103 need to be in the core (or even exist at all).
7104 * gst/elements/gstaggregator.c:
7105 * gst/elements/gstaggregator.h:
7106 * gst/elements/gstmd5sink.c:
7107 * gst/elements/gstmd5sink.h:
7108 * gst/elements/gstmultifilesrc.c:
7109 * gst/elements/gstmultifilesrc.h:
7110 * gst/elements/gstpipefilter.c:
7111 * gst/elements/gstpipefilter.h:
7112 * gst/elements/gstshaper.c:
7113 * gst/elements/gstshaper.h:
7114 * gst/elements/gststatistics.c:
7115 * gst/elements/gststatistics.h:
7116 * po/POTFILES.in: Remove above files.
7118 2005-05-14 Andy Wingo <wingo@pobox.com>
7120 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7121 so as to get the refs right.
7122 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7123 unreffing objects that don't pass the filter.
7125 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7126 gst_element_set_bus.
7127 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7128 normal cases, this will destroy the bus.
7130 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7133 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7136 2005-05-13 Andy Wingo <wingo@pobox.com>
7138 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7139 gst_pad_link, call pad_link_maybe_ghosting,
7140 (pad_link_maybe_ghosting): Links pads, making sure that the
7141 elements being linked are in the same bin.
7142 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7143 Helpers for pad_link_maybe_ghosting.
7145 2005-05-13 Tim-Philipp MĂĽller <tim at centricular dot net>
7148 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7150 2005-05-13 Tim-Philipp MĂĽller <tim at centricular dot net>
7152 * docs/design/part-element-source.txt:
7155 2005-05-12 Wim Taymans <wim@fluendo.com>
7157 * gst/base/gstbasesink.c: (gst_basesink_init),
7158 (gst_basesink_activate):
7159 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7160 (gst_basesrc_is_seekable):
7161 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7162 (bin_element_is_sink), (gst_bin_change_state):
7163 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7165 Identify sinks by their flag to avoid overly complicated
7167 Do state changes even for elements not reachable from the
7169 BaseSink is a sink now :)
7170 Some more debugging info in the basesrc.
7173 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7175 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7176 Implement _query on a bin, similar to _send_event.
7178 2005-05-12 Tim-Philipp MĂĽller <tim at centricular dot net>
7180 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7181 Discont event offset format should be GST_FORMAT_BYTES,
7182 not GST_FORMAT_TIME.
7184 2005-05-12 Wim Taymans <wim@fluendo.com>
7186 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7187 Same fix as Ronald's but without the signal.
7189 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7191 * gst/gstutils.c: (gst_element_query_position):
7192 No, an element is not a pad.
7194 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7196 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7197 (gst_bin_get_state):
7198 If a child is removed from a bin while we remove the child from
7199 the bin and while we're retrieving its state, signal this to the
7200 get_state function so we abort the wait (instead of waiting for
7201 a timeout) and can immediately re-iterate over all other elements.
7203 2005-05-12 Wim Taymans <wim@fluendo.com>
7205 * gst/base/Makefile.am:
7206 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7207 (gst_basesrc_start):
7208 * gst/base/gstbasesrc.h:
7209 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7210 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7211 (gst_pushsrc_init), (gst_pushsrc_create):
7212 * gst/base/gstpushsrc.h:
7213 Added is_seekable to BaseSrc
7214 Added simple PushSrc.
7216 2005-05-11 Wim Taymans <wim@fluendo.com>
7218 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7219 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7220 (gst_element_link_pads), (gst_element_query_position),
7221 (gst_element_query_convert), (intersect_caps_func),
7222 (gst_pad_query_position), (gst_pad_query_convert):
7223 Fix refcounting in utils function.
7224 No point in trying to activate a pad when it's added, it could
7225 be added from the state change function and then we deadlock, the
7226 element has to decide what to do.
7228 2005-05-10 Andy Wingo <wingo@pobox.com>
7230 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7231 *all* the arguments.
7233 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7234 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7235 lock (according to the docs -- if this is wrong change the docs).
7237 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7238 flush messages in the NULL state.
7240 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7241 message immediately and return.
7242 (gst_bus_set_flushing): New function. If a bus is flushing, it
7243 flushes out any queued messages and immediately unrefs new
7244 messages. This is so when an element goes to NULL, all of the
7245 unhandled messages coming from it can be freed, and their
7246 references to the element dropped. In other words: message source
7247 ref considered harmful :P
7249 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7250 we're finished with it.
7252 * gst/gstmessage.c (gst_message_new_state_changed):
7254 2005-05-10 Wim Taymans <wim@fluendo.com>
7256 * gst/gstvalue.c: (gst_value_compare_flags),
7257 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7258 (_gst_value_initialize):
7259 Added flags serialize/deserialize/compare code.
7261 2005-05-09 Andy Wingo <wingo@pobox.com>
7263 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7264 Intersect the peer's caps with our caps.
7266 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7268 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7269 * gst/elements/gsttypefindelement.c: (find_peek):
7270 Handle negative offsets better. Fixes decodebin.
7272 2005-05-09 Wim Taymans <wim@fluendo.com>
7274 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7275 (gst_base_transform_event):
7276 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7277 Implement accept_caps.
7278 Fix silly lock/unlock mismatch in base class.
7280 2005-05-09 Wim Taymans <wim@fluendo.com>
7282 * docs/design/draft-push-pull.txt:
7283 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7284 * gst/elements/gstfilesink.c: (gst_filesink_init),
7285 (gst_filesink_query):
7286 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7287 (gst_type_find_handle_src_query), (find_element_get_length):
7288 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7292 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7293 (gst_real_pad_get_caps_unlocked),
7294 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7295 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7296 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7297 (gst_real_pad_dispose), (gst_real_pad_finalize),
7298 (gst_pad_load_and_link), (gst_pad_save_thyself),
7299 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7300 (gst_pad_check_pull_range), (gst_pad_pull_range),
7301 (gst_pad_template_get_type), (gst_pad_template_class_init),
7302 (gst_pad_template_init), (gst_pad_template_dispose),
7303 (name_is_valid), (gst_static_pad_template_get),
7304 (gst_pad_template_new), (gst_static_pad_template_get_caps),
7305 (gst_pad_template_get_caps), (gst_pad_set_element_private),
7306 (gst_pad_get_element_private), (gst_pad_start_task),
7307 (gst_pad_pause_task), (gst_pad_stop_task),
7308 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7309 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7310 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7311 (gst_ghost_pad_new):
7313 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7314 (gst_query_new_position), (gst_query_set_position),
7315 (gst_query_parse_position), (gst_query_new_convert),
7316 (gst_query_set_convert), (gst_query_parse_convert):
7318 * gst/gstqueryutils.c:
7319 * gst/gstqueryutils.h:
7320 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7321 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7322 (gst_queue_handle_src_query):
7323 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7324 (gst_element_query_position), (gst_element_query_convert),
7325 (intersect_caps_func), (gst_pad_query_position),
7326 (gst_pad_query_convert):
7328 * tools/gst-inspect.c: (print_pad_info):
7329 * tools/gst-xmlinspect.c: (print_element_info):
7330 Remove old query functions. Ported old code.
7331 Added position/convert helper functions to gstutils.
7332 Reordered gstpad.c code, grouping relevant things.
7333 Remove gst_message_new(), always need to speficy a specific
7337 2005-05-09 Andy Wingo <wingo@pobox.com>
7339 * gst/gstiterator.h: Add some includes.
7341 * gst/gstqueryutils.h: Include more headers.
7344 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7345 some uses of gst_pad_query.
7347 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7348 NULL out parameters.
7349 (gst_query_new_position): New proc, allocates a new position
7352 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7353 gstqueryutils.c to the build.
7355 * gst/gststructure.c (gst_structure_set_valist): Implement with
7356 the generic G_VALUE_COLLECT.
7358 2005-05-08 Edward Hervey <bilboed@bilboed.com>
7360 * gst/Makefile.am: (gst_headers):
7361 Added gstqueryutils.h to the list of headers to install, that was
7362 a 'nachty' move wingo :)
7364 2005-05-06 Andy Wingo <wingo@pobox.com>
7367 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7368 GstData, init a memchunk.
7369 (standard_definitions): Add a few query types, deprecate a few.
7370 (gst_query_get_type): New proc.
7371 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7373 (gst_query_new_application, gst_query_get_structure): New public
7376 * docs/design/draft-query.txt: Removed LINKS from the query types,
7377 because all the rest can be dispatched to other pads -- seemed
7378 ugly to have a query that couldn't be dispatched. internal_links
7379 is fine as a pad method.
7381 * gst/gstpad.h: Add query2 as a pad method, add the new functions
7382 in gstpad.c, but maintain binary compatibility for the moment.
7383 Will fix before 0.9 is out.
7385 * gst/gstqueryutils.c:
7386 * gst/gstqueryutils.h: New files, implement 3 methods for each
7387 query type: parse_query, parse_response, and set. Probably need an
7390 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7392 * gst/elements/gstfilesink.c (gst_filesink_query2):
7393 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7394 query_types, and formats methods.
7396 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7397 (gst_pad_set_query2_function): New functions.
7398 (gst_real_pad_init): Set query2_default as the default query2
7399 function. Basically just dispatches to internally linked pads.
7403 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7404 without using the atomic operations. Only one thread can possibly
7405 be accessing the data at this point. Changed so as to avoid
7406 gst_atomic operations.
7408 2005-05-06 Wim Taymans <wim@fluendo.com>
7410 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7411 Also set caps if we use the fallback buffer alloc.
7413 2005-05-06 Tim-Philipp MĂĽller <tim at centricular dot net>
7415 * docs/gst/Makefile.am:
7416 * docs/gst/gstreamer-docs.sgml:
7417 * docs/gst/gstreamer-sections.txt:
7418 * docs/gst/tmpl/gstatomic.sgml:
7419 * docs/gst/tmpl/gstmemchunk.sgml:
7420 * testsuite/elements/struct_i386.h:
7421 * win32/GStreamer.vcproj:
7423 Purge GstAtomic stuff from docs and win32 makefiles as well
7425 2005-05-06 Wim Taymans <wim@fluendo.com>
7427 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7428 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7429 * gst/gstpad.c: (gst_pad_peer_get_caps):
7430 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7431 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7432 (gst_queue_src_activate), (gst_queue_change_state):
7434 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7435 (intersect_caps_func):
7436 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7437 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7438 Some fixes for the peer_get_caps() change.
7440 2005-05-06 Wim Taymans <wim@fluendo.com>
7442 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7443 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7444 (gst_basesink_activate):
7445 Actually do something with error codes returned from the push
7448 2005-05-06 Wim Taymans <wim@fluendo.com>
7450 * docs/design/part-element-sink.txt:
7451 * docs/design/part-element-source.txt:
7452 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7453 (gst_basesink_event), (gst_basesink_activate):
7454 * gst/base/gstbasesink.h:
7455 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7456 (gst_basesrc_activate):
7457 * gst/base/gstbasesrc.h:
7458 * gst/gstelement.c: (gst_element_pads_activate):
7459 Some more documentation.
7460 Fixed scheduling decision in _pads_activate().
7462 2005-05-05 Andy Wingo <wingo@pobox.com>
7464 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7467 2005-05-05 Wim Taymans <wim@fluendo.com>
7469 * gst/base/Makefile.am:
7470 * gst/base/gstbasesink.h:
7471 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7472 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7473 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7474 (gst_collectpads_class_init), (gst_collectpads_init),
7475 (gst_collectpads_finalize), (gst_collectpads_new),
7476 (gst_collectpads_set_function), (gst_collectpads_add_pad),
7477 (find_pad), (gst_collectpads_remove_pad),
7478 (gst_collectpads_is_active), (gst_collectpads_collect),
7479 (gst_collectpads_collect_range), (gst_collectpads_start),
7480 (gst_collectpads_stop), (gst_collectpads_peek),
7481 (gst_collectpads_pop), (gst_collectpads_available),
7482 (gst_collectpads_read), (gst_collectpads_flush),
7483 (gst_collectpads_chain):
7484 * gst/base/gstcollectpads.h:
7485 * gst/elements/Makefile.am:
7486 * gst/elements/gstelements.c:
7487 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7488 (gst_fakesink_get_times), (gst_fakesink_event),
7489 (gst_fakesink_preroll), (gst_fakesink_render):
7490 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7491 (gst_filesink_init), (gst_filesink_set_location),
7492 (gst_filesink_open_file), (gst_filesink_close_file),
7493 (gst_filesink_pad_query), (gst_filesink_event),
7494 (gst_filesink_render), (gst_filesink_change_state):
7495 * gst/elements/gstfilesink.h:
7496 Added object to help in making collect pad based elements.
7498 Make event function in sink baseclass return gboolean.
7500 2005-05-05 Wim Taymans <wim@fluendo.com>
7502 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7503 (gst_bin_get_by_name):
7505 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7506 (gst_clock_finalize):
7507 * gst/gstdata.c: (gst_data_replace):
7509 * gst/gstelement.c: (gst_element_request_pad),
7510 (gst_element_pads_activate):
7511 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7513 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7514 (gst_pad_set_checkgetrange_function),
7515 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7516 (gst_pad_check_pull_range), (gst_pad_pull_range),
7517 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7518 (gst_pad_pause_task), (gst_pad_stop_task):
7519 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7520 (gst_element_request_pad), (gst_pad_proxy_getcaps):
7521 Fix name lookup in GstBin.
7522 Added _data_replace() function and _buffer_replace()
7523 Use finalize method to clean up clock.
7524 Fix refcounting on request pads.
7525 Fix pad schedule mode error.
7526 Some more object refcounting debug info,
7529 2005-05-04 Andy Wingo <wingo@pobox.com>
7531 * check/Makefile.am:
7532 * docs/gst/tmpl/gstatomic.sgml:
7533 * docs/gst/tmpl/gstplugin.sgml:
7534 * gst/base/gstbasesink.c: (gst_basesink_activate):
7535 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7536 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7537 (gst_basesrc_query), (gst_basesrc_set_property),
7538 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7539 (gst_basesrc_activate):
7540 * gst/base/gstbasesrc.h:
7541 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7542 (gst_base_transform_src_activate):
7543 * gst/elements/gstelements.c:
7544 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7545 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7546 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7547 * gst/elements/gsttypefindelement.c: (find_element_get_length),
7548 (gst_type_find_element_checkgetrange),
7549 (gst_type_find_element_activate):
7550 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7551 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7552 (gst_caps_load_thyself):
7553 * gst/gstelement.c: (gst_element_pads_activate),
7554 (gst_element_save_thyself), (gst_element_restore_thyself):
7555 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7556 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7558 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7559 (gst_xml_parse_file), (gst_xml_parse_memory),
7560 (gst_xml_get_element), (gst_xml_make_element):
7561 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7562 (_file_index_id_save_xml), (gst_file_index_commit):
7563 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7564 (read_enum), (load_pad_template), (load_feature), (load_plugin),
7566 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7567 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7568 * tools/gst-complete.c: (main):
7569 * tools/gst-compprep.c: (main):
7570 * tools/gst-inspect.c: (print_element_properties_info):
7571 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7572 * tools/gst-xmlinspect.c: (print_element_properties):
7575 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7577 * gst/gstplugin.c: (gst_plugin_check_module),
7578 (gst_plugin_check_file), (gst_plugin_load_file):
7579 apply patch from #172526 to make register work on MacOSX
7581 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7583 * docs/gst/tmpl/gstconfig.sgml:
7584 * gst/gstconfig.h.in:
7585 move documentation for some symbols. Add doc for GST_PTR_FORMAT
7586 * testsuite/debug/printf_extension.c: (main):
7587 Do not use GST_PTR_FORMAT on pointers to types with
7588 sizeof < sizeof(gpointer). Fixes test on 64-bit
7589 * testsuite/elements/property.h:
7590 use correct printf format
7592 2005-05-02 Wim Taymans <wim@fluendo.com>
7594 * docs/design/draft-push-pull.txt:
7595 * docs/design/draft-query.txt:
7596 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7597 (gst_basesrc_start):
7598 Added draft for new query API.
7599 Added draft for better selecting scheduling methods.
7600 Make basesrc ignore length if the subclass does not support
7603 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7606 possible fixes for automake-1.5 - _LIBADD is reserved
7608 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7610 * docs/faq/Makefile.am:
7611 * docs/manual/Makefile.am:
7613 * docs/pwg/Makefile.am:
7615 possible fixes for automake-1.5
7617 2005-04-28 Wim Taymans <wim@fluendo.com>
7619 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7620 (gst_basesink_pad_getcaps), (gst_basesink_init),
7621 (gst_basesink_do_sync):
7622 * gst/gstclock.c: (gst_clock_entry_new):
7623 * gst/gstevent.c: (gst_event_discont_get_value):
7624 * gst/gstpipeline.c: (pipeline_bus_handler),
7625 (gst_pipeline_change_state):
7626 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7627 Better debugging of clocking info.
7628 Allow NULL values when getting discont values.
7630 2005-04-27 Wim Taymans <wim@fluendo.com>
7632 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7633 * check/gst/gstpad.c: (gst_pad_suite):
7634 Increase timeout for checks.
7636 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7638 * check/Makefile.am:
7639 fix the broken rule for cleanup. Apparently this rule is
7640 only needed on FC2, so maybe this warrants further autotool
7643 2005-04-26 Wim Taymans <wim@fluendo.com>
7645 * gst/gsttrashstack.h:
7646 Ooohh. a nasty one! After having a failed pop() from the stack,
7647 it's possible that the stack is empty. In that case, don't
7648 follow the NULL pointer.
7650 2005-04-25 Wim Taymans <wim@fluendo.com>
7652 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7653 (gst_pad_set_checkgetrange_function),
7654 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7655 (gst_pad_check_pull_range), (gst_pad_pull_range),
7656 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7657 (gst_pad_pause_task), (gst_pad_stop_task):
7658 * gst/gstplugin.c: (gst_plugin_load):
7660 Remove gst_library_load as it does more harm than good with
7661 the new g_module flags.
7662 Revert bogus caps template check in pad linking, pad caps
7663 are important when linking not the template, which is more
7664 general than the current caps.
7666 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7668 * gst/autoplug/.cvsignore:
7669 * gst/autoplug/Makefile.am:
7670 * gst/autoplug/gstsearchfuncs.c:
7671 * gst/autoplug/gstsearchfuncs.h:
7672 * gst/autoplug/gstspider.c:
7673 * gst/autoplug/gstspider.h:
7674 * gst/autoplug/gstspideridentity.c:
7675 * gst/autoplug/gstspideridentity.h:
7676 * gst/autoplug/spidertest.c:
7679 2005-04-25 Wim Taymans <wim@fluendo.com>
7681 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7682 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7683 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7684 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7686 Added stubs for unimplemented functions.
7688 2005-04-24 David Schleef <ds@schleef.org>
7690 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7693 2005-04-24 David Schleef <ds@schleef.org>
7695 Convert everything from GstAtomicInt to g_atomic_int_*, and
7700 * gst/gstatomic_impl.h:
7708 * gst/gstdata_private.h:
7715 * gst/gststructure.c:
7716 * gst/gststructure.h:
7717 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7720 2005-04-24 David Schleef <ds@schleef.org>
7722 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7723 make the regressions tests work. Remove some code that is no
7725 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7726 Disable warning for pads without templates.
7728 2005-04-24 David Schleef <ds@schleef.org>
7730 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7731 functions that handle filtered links.
7732 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7734 * gst/gstutils.c: Fix/remove utility functions that handle
7737 * gst/gstvalue.c: Add serialization/deserialization of caps
7738 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7739 requires fixing so that the filter caps notation creates
7740 a capsfilter element and sets the filter_caps property. I
7741 think everyone probably wants to keep the shorthand notation.
7742 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7743 * docs/gst/tmpl/gstpad.sgml:
7745 * gst/elements/gstelements.c: Register capsfilter element.
7746 * gst/Makefile.am: fix spacing
7747 * docs/random/ds/0.9-suggested-changes: random
7749 2005-04-23 David Schleef <ds@schleef.org>
7751 * gst/elements/Makefile.am:
7752 * gst/elements/gstcapsfilter.c: New element that acts like an
7753 identity, but filters caps. Will eventually replace filtered
7754 caps in pad linking.
7755 * gst/gstutils.c: (gst_element_create_all_pads): New function
7756 to create all the ALWAYS pads that are registered with an
7757 element class. This functionality should eventually be
7758 merged in with GstElement initialization.
7760 * testsuite/trigger/README: part of trigger test code that should
7761 have been checked in a long time ago.
7763 2005-04-23 David Schleef <ds@schleef.org>
7765 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7766 needed with new versions of libtool (nobody will confirm this),
7767 and hard to carry around.
7768 * gst/autoplug/Makefile.am:
7769 * gst/base/Makefile.am:
7770 * gst/elements/Makefile.am:
7771 * gst/indexers/Makefile.am:
7772 * gst/schedulers/Makefile.am:
7773 * libs/gst/bytestream/Makefile.am:
7774 * libs/gst/control/Makefile.am:
7775 * libs/gst/dataprotocol/Makefile.am:
7776 * libs/gst/getbits/Makefile.am:
7778 2005-04-21 Wim Taymans <wim@fluendo.com>
7780 * docs/design/draft-push-pull.txt:
7781 * docs/design/part-MT-refcounting.txt:
7782 * docs/design/part-TODO.txt:
7783 * docs/design/part-caps.txt:
7784 * docs/design/part-events.txt:
7785 * docs/design/part-gstbus.txt:
7786 * docs/design/part-gstpipeline.txt:
7787 * docs/design/part-messages.txt:
7788 * docs/design/part-push-pull.txt:
7789 * docs/design/part-query.txt:
7792 2005-04-21 Wim Taymans <wim@fluendo.com>
7794 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7795 (gst_message_new), (gst_message_new_error),
7796 (gst_message_new_warning), (gst_message_new_tag),
7797 (gst_message_new_state_changed), (gst_message_new_application),
7798 (gst_message_get_structure):
7800 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7801 (gst_structure_copy_conditional):
7802 Use parent refcount in GstMessage to ensure GstStructure
7804 Cleaned up headers a bit.
7807 2005-04-20 Wim Taymans <wim@fluendo.com>
7809 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7810 (gst_basesink_pad_getcaps), (gst_basesink_init),
7811 (gst_basesink_chain_unlocked):
7812 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7813 (gst_type_find_helper):
7814 * gst/elements/gsttypefindelement.c:
7815 (gst_type_find_element_have_type), (gst_type_find_element_init),
7816 (stop_typefinding), (gst_type_find_element_handle_event),
7817 (find_suggest), (gst_type_find_element_chain),
7818 (gst_type_find_element_checkgetrange),
7819 (gst_type_find_element_getrange), (do_typefind),
7820 (gst_type_find_element_activate):
7821 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7822 (gst_buffer_default_free), (gst_buffer_default_copy),
7823 (gst_buffer_set_caps):
7824 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7826 * gst/gstmessage.c: (gst_message_new),
7827 (gst_message_new_state_changed):
7828 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7829 (gst_pad_set_checkgetrange_function),
7830 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7831 (gst_pad_set_caps), (gst_pad_check_pull_range),
7832 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7834 * gst/gsttypefind.c: (gst_type_find_register):
7835 Make gst_caps_replace() work like other _replace() functions.
7836 Use _caps_replace() where possible.
7837 Make sure _message_new() initialises its field.
7838 Add gst_static_pad_template_get_caps()
7841 2005-04-18 Andy Wingo <wingo@pobox.com>
7843 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7844 on the peer, not the pad. I think that was a typo. Pass an extra
7845 arg to see if random access is possible. Activate the pads as
7846 PULL_RANGE if possible.
7848 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7850 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7851 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7854 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7856 * docs/faq/using.xml:
7857 Add note on gstreamer-properties (#154996).
7859 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7861 * docs/random/bbb/optional-properties:
7862 Some analysis on optional properties.
7864 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7866 * docs/gst/tmpl/gstelementfactory.sgml:
7868 * gst/gstelementfactory.c: (gst_element_factory_init),
7869 (gst_element_factory_cleanup), (gst_element_register),
7870 (__gst_element_factory_add_static_pad_template),
7871 (gst_element_factory_get_static_pad_templates),
7872 (gst_element_factory_can_src_caps),
7873 (gst_element_factory_can_sink_caps):
7874 * gst/registries/Makefile.am:
7875 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7876 (gst_xml_registry_class_init), (gst_xml_registry_init),
7877 (gst_xml_registry_new), (gst_xml_registry_set_property),
7878 (gst_xml_registry_get_property), (get_time), (make_dir),
7879 (gst_xml_registry_get_perms_func),
7880 (plugin_times_older_than_recurse), (plugin_times_older_than),
7881 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7882 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7883 (add_to_char_array), (read_string), (read_uint), (read_enum),
7884 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7885 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7886 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7887 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7888 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7889 (gst_xml_registry_rebuild):
7890 * gst/registries/gstlibxmlregistry.h:
7891 * tools/gst-compprep.c: (main):
7892 * tools/gst-inspect.c: (print_pad_templates_info):
7893 * tools/gst-xmlinspect.c: (print_element_info):
7894 Use libxml2 for registry parsing, use staticpadtemplates in
7895 elementfactories. Makes gst_init() +/- 10x faster.
7897 2005-04-12 Wim Taymans <wim@fluendo.com>
7899 * gst/base/Makefile.am:
7900 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7901 (gst_basesink_pad_getcaps), (gst_basesink_init),
7902 (gst_basesink_event), (gst_basesink_change_state):
7903 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7904 (gst_basesrc_init), (gst_basesrc_query),
7905 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7906 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7907 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7908 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7909 (gst_basesrc_stop), (gst_basesrc_activate),
7910 (gst_basesrc_change_state):
7911 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7912 (helper_find_suggest), (gst_type_find_helper):
7913 * gst/base/gsttypefindhelper.h:
7914 * gst/elements/Makefile.am:
7915 * gst/elements/gstelements.c:
7916 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7917 (gst_fakesink_get_times), (gst_fakesink_event),
7918 (gst_fakesink_preroll), (gst_fakesink_render):
7919 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7920 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7921 (gst_fakesrc_get_property), (gst_fakesrc_create),
7922 (gst_fakesrc_start), (gst_fakesrc_stop):
7923 * gst/elements/gstfakesrc.h:
7924 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7925 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7926 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7927 (gst_filesrc_create_read), (gst_filesrc_create),
7928 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7929 (gst_filesrc_start):
7930 * gst/elements/gsttypefindelement.c:
7931 (gst_type_find_element_have_type), (gst_type_find_element_init),
7932 (start_typefinding), (stop_typefinding), (push_buffer_store),
7933 (gst_type_find_element_handle_event),
7934 (gst_type_find_element_chain),
7935 (gst_type_find_element_checkgetrange),
7936 (gst_type_find_element_getrange), (do_typefind),
7937 (gst_type_find_element_activate),
7938 (gst_type_find_element_change_state):
7939 * gst/elements/gsttypefindelement.h:
7940 * gst/gstpipeline.c: (pipeline_bus_handler):
7941 Added typefind helper.
7942 Small preroll fix in the base sink.
7943 Disable typefind code in basesrc.
7944 Crude port of typefindelement.
7948 2005-04-11 Wim Taymans <wim@fluendo.com>
7950 * check/gst/gstbus.c: (gstbus_suite):
7951 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7953 Fix up the timeout so that the test does not fail.
7955 2005-04-06 Wim Taymans <wim@fluendo.com>
7958 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7959 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7960 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7961 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7962 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7963 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7964 (gst_basesrc_stop), (gst_basesrc_activate),
7965 (gst_basesrc_change_state), (basesrc_find_peek),
7966 (basesrc_find_suggest), (gst_basesrc_type_find):
7967 * gst/base/gstbasesrc.h:
7968 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7969 (gst_filesrc_class_init), (gst_filesrc_init),
7970 (gst_filesrc_finalize), (gst_filesrc_set_location),
7971 (gst_filesrc_set_property), (gst_filesrc_get_property),
7972 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7973 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7974 (gst_filesrc_create_read), (gst_filesrc_create),
7975 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7976 * gst/elements/gstfilesrc.h:
7977 * gst/gstelement.c: (gst_element_get_state_func),
7978 (gst_element_lost_state), (gst_element_pads_activate):
7979 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7980 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7981 (gst_pad_pull_range):
7983 More work on the generic source base class, implement seeking,
7985 Make filesrc extend the base source class.
7986 Added gst_pad_set_checkgetrange_function to GstPad.
7988 2005-04-06 Andy Wingo <wingo@pobox.com>
7990 * pkgconfig/gstreamer-base.pc.in:
7991 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7993 * pkgconfig/Makefile.am:
7994 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7996 2005-04-04 Wim Taymans <wim@fluendo.com>
7998 * gst/base/Makefile.am:
8000 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8001 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8002 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8003 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8004 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8005 (gst_basesrc_base_init), (gst_basesrc_class_init),
8006 (gst_basesrc_init), (gst_basesrc_get_formats),
8007 (gst_basesrc_get_query_types), (gst_basesrc_query),
8008 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8009 (gst_basesrc_set_property), (gst_basesrc_get_property),
8010 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8011 (gst_basesrc_loop), (gst_basesrc_activate),
8012 (gst_basesrc_change_state):
8013 * gst/base/gstbasesrc.h:
8014 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8015 (gst_fakesrc_class_init), (gst_fakesrc_init),
8016 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8017 (gst_fakesrc_get_property), (gst_fakesrc_create):
8018 * gst/elements/gstfakesrc.h:
8019 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8020 (gst_filesrc_open_file), (gst_filesrc_loop),
8021 (gst_filesrc_activate), (filesrc_find_peek),
8022 (gst_filesrc_type_find):
8023 Made base source class, make fakesrc extend it.
8024 Add comments to basesink class.
8025 Some filesrc cleanup.
8027 2005-03-31 David Schleef <ds@schleef.org>
8029 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8030 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8031 expected to link against libgstreamer.
8032 * gst/base/Makefile.am: link against libgstreamer
8033 * gst/elements/Makefile.am: same
8035 2005-03-31 Andy Wingo <wingo@pobox.com>
8037 * tests/instantiate/Makefile.am:
8038 * tests/instantiate/caps.c: Add test to test speed of caps copy
8041 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8042 GMemChunk to be fair.
8044 * gst/gsttrashstack.h: Remove warning about using the fallback
8045 trash stack implementation, it's still faster than malloc.
8047 2005-03-30 Andy Wingo <wingo@pobox.com>
8049 * tests/complexity.c: Add a copyright.
8051 2005-03-31 Wim Taymans <wim@fluendo.com>
8053 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8054 (gst_base_transform_class_init), (gst_base_transform_init),
8055 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8056 (gst_base_transform_get_property),
8057 (gst_base_transform_sink_activate),
8058 (gst_base_transform_src_activate),
8059 (gst_base_transform_change_state):
8060 * gst/base/gstbasetransform.h:
8061 * gst/elements/gstidentity.c: (gst_identity_class_init),
8062 (gst_identity_event), (gst_identity_check_perfect),
8063 (gst_identity_transform), (gst_identity_start),
8064 (gst_identity_stop):
8065 Added start/stop methods to transform base class so subclasses
8066 don't need to deal with state changes even.
8068 2005-03-31 Wim Taymans <wim@fluendo.com>
8070 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8071 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8073 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8074 (gst_pad_pull_range):
8075 Added rate to the discont event to prepare for variable speed
8076 and reverse playback.
8078 2005-03-29 David Schleef <ds@schleef.org>
8081 * testsuite/trigger/Makefile.am:
8082 * testsuite/trigger/trigger.c: A little example program to show
8083 how trigger-based elements can work.
8085 2005-03-29 Wim Taymans <wim@fluendo.com>
8087 * gst/base/Makefile.am:
8089 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8090 (gst_basesink_base_init), (gst_basesink_class_init),
8091 (gst_basesink_pad_getcaps), (gst_basesink_init),
8092 (gst_basesink_activate), (gst_basesink_change_state):
8093 * gst/base/gstbasesink.h:
8094 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8095 (gst_base_transform_base_init), (gst_base_transform_finalize),
8096 (gst_base_transform_class_init), (gst_base_transform_init),
8097 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8098 (gst_base_transform_event), (gst_base_transform_getrange),
8099 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8100 (gst_base_transform_set_property),
8101 (gst_base_transform_get_property),
8102 (gst_base_transform_sink_activate),
8103 (gst_base_transform_src_activate),
8104 (gst_base_transform_change_state):
8105 * gst/base/gstbasetransform.h:
8106 * gst/elements/gstidentity.c: (gst_identity_finalize),
8107 (gst_identity_class_init), (gst_identity_init),
8108 (gst_identity_event), (gst_identity_check_perfect),
8109 (gst_identity_transform), (gst_identity_set_property),
8110 (gst_identity_get_property), (gst_identity_change_state):
8111 * gst/elements/gstidentity.h:
8112 * gst/gstelement.c: (gst_element_get_state_func),
8113 (gst_element_lost_state), (gst_element_pads_activate):
8114 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8115 (gst_pad_check_pull_range), (gst_pad_pull_range):
8117 Simplify pad activation.
8118 Added function to check if pull_range can be performed.
8119 Error out when pulling inactive or flushing pads.
8120 Removed const from refcounted types as it does not make sense.
8121 Simplify pad templates in basesink
8122 Added base class for simple 1-to-1 transforms.
8123 Make identity subclass the base transform.
8125 2005-03-29 Andy Wingo <wingo@pobox.com>
8127 * docs/libs/gstreamer-libs-overrides.txt:
8128 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8129 really don't understand what's going on, but like whatever. I want
8132 * docs/gst/Makefile.am:
8133 * docs/libs/Makefile.am: Dist the overrides files.
8135 * check/Makefile.am (clean-local): Remove .libs directories.
8137 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8138 elements to EXTRA_DIST, so po/ files are happy.
8140 * po/POTFILES.in: Er, remove it here.
8142 * po/POTFILES: Remove gstspider.c.
8144 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8146 * docs/libs/gstreamer-libs-docs.sgml:
8147 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8150 * tests/complexity.c (main): Set the length of the preroll queue
8151 on the sinks to prevent a lockup.
8153 * libs/gst/dataprotocol/Makefile.am:
8154 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8155 the same as the one in check/gst-libs/gdp.c.
8157 * po/, docs/gst/: Commit automatic changes to docs and po files.
8159 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8160 the versioned libgstbase.
8162 * check/Makefile.am: Depend on an unversioned gst-register, seems
8163 to make autoconf happier.
8165 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8167 2005-03-28 Wim Taymans <wim@fluendo.com>
8170 * docs/design/part-gstelement.txt:
8171 * docs/design/part-negotiation.txt:
8172 * docs/design/part-preroll.txt:
8173 * docs/design/part-scheduling.txt:
8174 * docs/design/part-states.txt:
8176 * gst/base/Makefile.am:
8178 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8179 (gst_basesink_base_init), (gst_basesink_class_init),
8180 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8181 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8182 (gst_basesink_set_pad_functions),
8183 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8184 (gst_basesink_set_property), (gst_basesink_get_property),
8185 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8186 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8187 (gst_basesink_preroll_queue_push),
8188 (gst_basesink_preroll_queue_empty),
8189 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8190 (gst_basesink_event), (gst_basesink_get_times),
8191 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8192 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8193 (gst_basesink_loop), (gst_basesink_activate),
8194 (gst_basesink_change_state):
8195 * gst/base/gstbasesink.h:
8196 * gst/elements/Makefile.am:
8197 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8198 (gst_fakesink_class_init), (gst_fakesink_init),
8199 (gst_fakesink_set_property), (gst_fakesink_get_property),
8200 (gst_fakesink_get_times), (gst_fakesink_event),
8201 (gst_fakesink_preroll), (gst_fakesink_render),
8202 (gst_fakesink_change_state):
8203 * gst/elements/gstfakesink.h:
8204 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8205 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8206 * gst/gstelement.c: (gst_element_add_pad),
8207 (gst_element_get_state_func), (gst_element_abort_state),
8208 (gst_element_commit_state), (gst_element_lost_state),
8209 (gst_element_set_state), (gst_element_pads_activate):
8210 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8211 * gst/gstpipeline.c: (gst_pipeline_send_event),
8212 (gst_pipeline_change_state):
8213 Added state change code.
8215 Added sink base class, make fakesink extend the base class.
8216 Small cleanups in GstPipeline.
8218 2005-03-26 David Schleef <ds@schleef.org>
8220 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8221 is broken and should be implemented in a different library.
8222 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8223 * gst/gst.h: remove gstcpu.h
8224 * gst/gstcpu.c: remove
8225 * gst/gstcpu.h: remove
8226 * gst/Makefile.am.future: Remove this file. It's ancient.
8228 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8230 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8231 (gst_bin_send_event):
8232 Add default event/set_manager handlers. The set_manager handler
8233 takes care that the manager is distributed over kids that were
8234 already in the bin before the manager was set. The event handler
8235 is a utility virtual function that sends the event over all sinks,
8236 so that gst_element_send_event (bin, event); has the expected
8238 * gst/gstpad.c: (gst_pad_event_default):
8239 Re-install default event handling for discontinuities, so that
8240 seeking works without requiring hacks in applications or extra
8242 * gst/gstpipeline.c: (gst_pipeline_class_init),
8243 (gst_pipeline_send_event):
8244 Half hack, half utility: set a pipeline to PAUSED for seek events,
8245 since that is the only way we can guarantee a/v sync. Means that
8246 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8247 and it "just works".
8249 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8251 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8252 Lock/unlock mismatch.
8254 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8256 * docs/faq/gst-uninstalled:
8257 add gst-plugins-base
8258 * docs/gst/Makefile.am:
8259 don't error out until docs are fixed
8260 * docs/gst/gstreamer.types:
8263 2005-03-22 Wim Taymans <wim@fluendo.com>
8265 * check/Makefile.am:
8266 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8267 * gst/gststructure.c: (gst_structure_set_valist),
8268 (gst_structure_copy_conditional):
8269 Activated more tests.
8271 Added G_TYPE_POINTER to GstStructure.
8274 2005-03-22 Wim Taymans <wim@fluendo.com>
8276 * docs/design/part-TODO.txt:
8277 * docs/design/part-events.txt:
8278 * docs/design/part-gstbin.txt:
8279 * docs/design/part-gstbus.txt:
8280 * docs/design/part-gstpipeline.txt:
8281 * docs/design/part-messages.txt:
8286 2005-03-21 Wim Taymans <wim@fluendo.com>
8288 * gst/gstbus.c: (gst_bus_post):
8289 Fix copy-and-paste error.
8291 2005-03-21 Wim Taymans <wim@fluendo.com>
8293 * check/Makefile.am:
8295 * gst/elements/Makefile.am:
8296 * gst/elements/gstelements.c:
8297 * gst/elements/gstfakesink.c: (gst_fakesink_init),
8298 (gst_fakesink_event), (gst_fakesink_chain):
8299 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8300 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8301 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8302 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8303 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8304 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8305 (gst_fakesrc_loop), (gst_fakesrc_activate),
8306 (gst_fakesrc_change_state):
8307 * gst/elements/gstfakesrc.h:
8308 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8309 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8310 (gst_filesrc_open_file), (gst_filesrc_loop),
8311 (gst_filesrc_activate), (gst_filesrc_change_state),
8312 (filesrc_find_peek), (filesrc_find_suggest),
8313 (gst_filesrc_type_find):
8314 * gst/elements/gstidentity.c: (gst_identity_finalize),
8315 (gst_identity_class_init), (gst_identity_init),
8316 (gst_identity_proxy_getcaps), (identity_queue_push),
8317 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8318 (gst_identity_getrange), (gst_identity_chain),
8319 (gst_identity_sink_loop), (gst_identity_src_loop),
8320 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8321 (gst_identity_set_property), (gst_identity_get_property),
8322 (gst_identity_change_state):
8323 * gst/elements/gstidentity.h:
8324 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8325 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8326 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8327 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8328 (gst_tee_sink_activate):
8329 * gst/elements/gsttee.h:
8330 * gst/gst.c: (gst_register_core_elements), (init_post):
8332 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8333 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8334 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8335 (gst_bin_change_state):
8337 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8338 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8339 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8340 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8341 (gst_bus_set_sync_handler), (gst_bus_create_watch),
8342 (bus_watch_callback), (bus_watch_destroy),
8343 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8344 (poll_timeout), (gst_bus_poll):
8348 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8349 (gst_element_post_message), (gst_element_message_full),
8350 (gst_element_get_state_func), (gst_element_get_state),
8351 (gst_element_abort_state), (gst_element_commit_state),
8352 (gst_element_lost_state), (gst_element_set_state),
8353 (gst_element_pads_activate), (gst_element_change_state),
8354 (gst_element_dispose), (gst_element_set_manager_func),
8355 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8356 (gst_element_set_manager), (gst_element_get_manager),
8357 (gst_element_set_bus), (gst_element_get_bus),
8358 (gst_element_set_scheduler), (gst_element_get_scheduler):
8360 * gst/gstevent.c: (gst_event_new_segment_seek),
8361 (gst_event_new_flush):
8363 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8364 (_gst_message_free), (gst_message_get_type), (gst_message_new),
8365 (gst_message_new_eos), (gst_message_new_error),
8366 (gst_message_new_warning), (gst_message_new_tag),
8367 (gst_message_new_state_changed), (gst_message_new_application),
8368 (gst_message_get_structure), (gst_message_parse_tag),
8369 (gst_message_parse_state_changed), (gst_message_parse_error),
8370 (gst_message_parse_warning):
8372 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8373 (gst_real_pad_set_property), (gst_pad_set_active),
8374 (gst_pad_is_active), (gst_pad_set_blocked_async),
8375 (gst_pad_set_blocked), (gst_pad_is_blocked),
8376 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8377 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8378 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8379 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8380 (gst_pad_link_filtered), (gst_pad_relink_filtered),
8381 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8382 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8383 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8384 (gst_pad_set_caps), (gst_pad_configure_sink),
8385 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8386 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8387 (gst_real_pad_dispose), (gst_real_pad_finalize),
8388 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8389 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8390 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8392 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8393 (pipeline_bus_handler), (gst_pipeline_change_state),
8394 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8395 * gst/gstpipeline.h:
8397 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8398 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8399 (gst_queue_link_src), (gst_queue_bufferalloc),
8400 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8401 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8402 (gst_queue_loop), (gst_queue_handle_src_event),
8403 (gst_queue_handle_src_query), (gst_queue_src_activate),
8404 (gst_queue_change_state):
8406 * gst/gstscheduler.c: (gst_scheduler_init),
8407 (gst_scheduler_dispose), (gst_scheduler_create_task),
8408 (gst_scheduler_factory_create):
8409 * gst/gstscheduler.h:
8410 * gst/gststructure.c: (gst_structure_get_type),
8411 (gst_structure_copy_conditional):
8412 * gst/gststructure.h:
8413 * gst/gsttaginterface.h:
8414 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8415 (gst_task_init), (gst_task_dispose), (gst_task_create),
8416 (gst_task_get_state), (gst_task_start), (gst_task_stop),
8422 * gst/schedulers/Makefile.am:
8423 * gst/schedulers/cothreads_compat.h:
8424 * gst/schedulers/entryscheduler.c:
8425 * gst/schedulers/faircothreads.c:
8426 * gst/schedulers/faircothreads.h:
8427 * gst/schedulers/fairscheduler.c:
8428 * gst/schedulers/gstbasicscheduler.c:
8429 * gst/schedulers/gstoptimalscheduler.c:
8430 * gst/schedulers/gthread-cothreads.h:
8431 * gst/schedulers/threadscheduler.c:
8432 (gst_thread_scheduler_task_get_type),
8433 (gst_thread_scheduler_task_class_init),
8434 (gst_thread_scheduler_task_init),
8435 (gst_thread_scheduler_task_start),
8436 (gst_thread_scheduler_task_stop),
8437 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8438 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8439 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8440 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8442 * libs/gst/Makefile.am:
8443 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8444 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8445 (gst_file_pad_parent_set):
8446 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8447 (gst_dp_event_from_packet):
8448 * tests/complexity.c: (main):
8449 * tests/mass_elements.c: (main):
8450 * testsuite/states/locked.c: (message_received), (main):
8451 * testsuite/states/parent.c: (main):
8452 * tools/gst-inspect.c: (print_element_flag_info),
8453 (print_implementation_info), (print_pad_info):
8454 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8456 * tools/gst-md5sum.c: (event_loop), (main):
8457 * tools/gst-typefind.c: (main):
8458 * tools/gst-xmlinspect.c: (print_element_info):
8460 Added GstBus for mainloop integration.
8461 Added GstMessage for sending notifications on the bus.
8462 Added GstTask as an abstraction for pipeline entry points.
8465 Simplified GstQueue for multithreaded core.
8466 Made _link threadsafe, removed old capsnego.
8467 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8468 Added pad blocking functions.
8469 Reworked scheduling functions in GstPad to prepare for
8470 scheduling updates soon.
8471 Moved events out of data stream.
8472 Simplified GstEvent types.
8473 Added return values to push/pull.
8474 Removed clocking from GstElement.
8475 Added prototypes for state change function for next merge.
8476 Removed iterate from bins and state change management.
8477 Fixed some elements, disabled others for now.
8478 Fixed -inspect and -launch.
8479 Added check for GstBus.
8481 2005-03-10 Wim Taymans <wim@fluendo.com>
8483 * docs/design/part-MT-refcounting.txt:
8484 * docs/design/part-clocks.txt:
8485 * docs/design/part-gstelement.txt:
8486 * docs/design/part-gstobject.txt:
8487 * docs/design/part-standards.txt:
8488 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8489 (gst_bin_remove_func), (gst_bin_remove):
8493 * testsuite/clock/clock1.c: (main):
8494 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8496 * testsuite/dlopen/loadgst.c: (do_test):
8497 * testsuite/refcounting/bin.c: (add_remove_test1),
8498 (add_remove_test2), (main):
8499 * testsuite/refcounting/element.c: (main):
8500 * testsuite/refcounting/element_pad.c: (main):
8501 * testsuite/refcounting/pad.c: (main):
8502 * tools/gst-launch.c: (sigint_handler_sighandler):
8503 * tools/gst-typefind.c: (main):
8505 Added doc about clock.
8506 removed gst_bin_iterate_recurse_up(), marked methods
8508 Fix more testsuites.
8510 2005-03-09 Wim Taymans <wim@fluendo.com>
8512 * gst/gstpad.c: (gst_pad_get_direction),
8513 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8514 (gst_pad_collect_valist):
8515 * testsuite/bins/interface.c: (main):
8516 * testsuite/caps/audioscale.c: (test_caps):
8517 * testsuite/caps/caps.c: (test1), (test2), (test3):
8518 * testsuite/caps/deserialize.c: (main):
8519 * testsuite/caps/enumcaps.c: (main):
8520 * testsuite/caps/filtercaps.c: (main):
8521 * testsuite/caps/intersect2.c: (main):
8522 * testsuite/caps/random.c: (main):
8523 * testsuite/caps/renegotiate.c: (my_fixate), (main):
8524 * testsuite/caps/sets.c: (check_caps):
8525 * testsuite/caps/simplify.c: (check_caps), (main):
8526 * testsuite/caps/subtract.c: (check_caps):
8527 Fix _pad_get_direction wrt ghostpads.
8530 2005-03-09 Wim Taymans <wim@fluendo.com>
8532 * check/Makefile.am:
8533 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8534 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8535 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8536 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8537 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8538 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8539 (gst_bin_remove), (gst_bin_iterate_recurse_up),
8540 (bin_element_is_sink), (gst_bin_iterate_sinks),
8541 (gst_bin_iterate_all_by_interface):
8543 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8544 (gst_element_change_state), (gst_element_dispose),
8545 (gst_element_finalize), (gst_element_set_loop_function):
8547 * gst/gstiterator.c: (find_custom_fold_func):
8548 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8549 (gst_pad_collectv), (gst_pad_collect_valist),
8550 (gst_pad_template_new):
8551 * gst/gstpipeline.c: (gst_pipeline_class_init),
8552 (gst_pipeline_dispose), (gst_pipeline_set_property),
8553 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8554 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8555 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8557 * gst/schedulers/entryscheduler.c:
8558 * gst/schedulers/gstbasicscheduler.c:
8559 (gst_basic_scheduler_cothreaded_chain),
8560 (gst_basic_scheduler_chain_add_element):
8561 * testsuite/bins/interface.c: (main):
8563 Added GstSystemClock test.
8564 Implemented clock distribution code in GstBin.
8565 Implemented iterate sinks method for future use.
8566 Rearranged gstelement.h
8567 Fix GstIterator comparison bug.
8568 Moved some code to GstPipeline, mostly clocking related.
8570 2005-03-09 Wim Taymans <wim@fluendo.com>
8573 * gst/gst_private.h:
8574 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8575 (gst_bin_remove_func), (gst_bin_remove),
8576 (gst_bin_get_by_name_recurse_up):
8577 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8578 (gst_clock_id_compare_func), (gst_clock_id_wait),
8579 (gst_clock_id_wait_async), (gst_clock_init),
8580 (gst_clock_adjust_unlocked), (gst_clock_get_time):
8582 * gst/gstinfo.c: (_gst_debug_init):
8584 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8585 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8587 Bump version number, we're now 0.9.0
8588 Add future debugging category.
8589 Fix NULL _unref() in _get_by_name_recurse_up
8593 2005-03-08 Wim Taymans <wim@fluendo.com>
8595 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8596 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8597 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8598 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8599 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8600 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8601 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8602 * gst/elements/gstidentity.c: (gst_identity_class_init):
8603 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8604 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8605 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8606 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8607 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8609 * gst/gstelement.c: (gst_element_class_init),
8610 (gst_element_base_class_init), (gst_element_init),
8611 (gst_element_get_random_pad), (gst_element_wait_state_change),
8612 (gst_element_change_state), (gst_element_dispose),
8613 (gst_element_finalize), (gst_element_set_loop_function):
8615 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8616 * gst/gstthread.c: (gst_thread_class_init),
8617 (gst_thread_release_children_locks), (gst_thread_change_state):
8618 * gst/schedulers/gstbasicscheduler.c:
8619 (gst_basic_scheduler_loopfunc_wrapper),
8620 (gst_basic_scheduler_chain_wrapper),
8621 (gst_basic_scheduler_src_wrapper),
8622 (gst_basic_scheduler_remove_element):
8623 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8624 Remove threadsafe properties. Fix elements because GObject
8625 complains when installing a property before declaring a
8626 set/get_property handler.
8627 Rearrange gstelement.h file, use STATE macros for state locks.
8628 Free mutexes in the finalize method instead of dispose.
8630 2005-03-08 Wim Taymans <wim@fluendo.com>
8632 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8633 * gst/gstthread.c: (gst_thread_release_children_locks):
8634 Added parentage check.
8635 Fix build og GstThread again.
8637 2005-03-08 Wim Taymans <wim@fluendo.com>
8639 * docs/design/part-MT-refcounting.txt:
8640 * docs/design/part-conventions.txt:
8641 * docs/design/part-gstobject.txt:
8642 * docs/design/part-relations.txt:
8643 * docs/design/part-standards.txt:
8644 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8645 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8646 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8647 (gst_bin_iterate_all_by_interface):
8650 * gst/gstelement.c: (gst_element_class_init),
8651 (gst_element_change_state), (gst_element_set_loop_function):
8653 * gst/gstiterator.c:
8654 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8655 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8656 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8657 (gst_object_set_parent), (gst_object_unparent),
8658 (gst_object_check_uniqueness):
8660 Docs updates, clean up some headers.
8662 2005-03-07 Wim Taymans <wim@fluendo.com>
8665 * check/Makefile.am:
8666 * check/gst-libs/.cvsignore:
8667 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8668 * check/gst/.cvsignore:
8669 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8670 (START_TEST), (gstbus_suite), (main):
8671 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8672 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8673 (gst_data_suite), (main):
8674 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8675 (add_fold_func), (gstiterator_suite), (main):
8676 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8677 (thread_name_object), (thread_name_object_default),
8678 (gst_object_name_compare), (gst_object_suite), (main):
8679 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8680 (gst_pad_suite), (main):
8681 * check/gstcheck.c: (gst_check_log_message_func),
8682 (gst_check_log_critical_func), (gst_check_init):
8684 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8685 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8688 2005-03-07 Wim Taymans <wim@fluendo.com>
8690 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8691 (gst_list_iterator_next), (gst_list_iterator_resync),
8692 (gst_list_iterator_free), (gst_iterator_new_list),
8693 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8694 (gst_iterator_free), (gst_iterator_push), (filter_next),
8695 (filter_resync), (filter_uninit), (filter_free),
8696 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8697 (gst_iterator_foreach), (find_custom_fold_func),
8698 (gst_iterator_find_custom):
8699 * gst/gstiterator.h:
8700 Added missing files.
8702 2005-03-07 Wim Taymans <wim@fluendo.com>
8706 * docs/design/part-MT-refcounting.txt:
8707 * docs/design/part-conventions.txt:
8708 * docs/design/part-gstobject.txt:
8709 * docs/design/part-relations.txt:
8710 * examples/mixer/mixer.c: (main):
8711 * examples/thread/thread.c: (eos), (main):
8713 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8714 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8715 (gst_spider_plug_from_srcpad):
8716 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8717 (gst_spider_identity_change_state),
8718 (gst_spider_identity_sink_loop_type_finding):
8719 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8720 * gst/elements/gstidentity.c: (gst_identity_init):
8721 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8722 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8723 * gst/elements/gsttypefindelement.c: (free_entry):
8726 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8727 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8728 (gst_bin_set_index), (gst_bin_set_element_sched),
8729 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8730 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8731 (gst_bin_iterate_elements), (iterate_child_recurse),
8732 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8733 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8734 (compare_interface), (gst_bin_get_by_interface),
8735 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8737 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8738 (gst_buffer_default_free), (gst_buffer_default_copy),
8739 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8740 (gst_buffer_create_sub):
8742 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8743 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8744 (gst_caps_unref), (gst_static_caps_get),
8745 (gst_caps_remove_and_get_structure), (gst_caps_append),
8746 (gst_caps_append_structure), (gst_caps_remove_structure),
8747 (gst_caps_copy_nth), (gst_caps_set_simple),
8748 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8749 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8750 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8751 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8752 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8753 (gst_caps_structure_figure_out_union),
8754 (gst_caps_switch_structures), (gst_caps_do_simplify),
8755 (gst_caps_replace), (gst_caps_from_string),
8756 (gst_caps_copy_conditional):
8758 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8759 (_gst_clock_id_free), (gst_clock_id_unref),
8760 (gst_clock_id_compare_func), (gst_clock_id_wait),
8761 (gst_clock_id_wait_async), (gst_clock_class_init),
8762 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8763 (gst_clock_get_time), (gst_clock_set_time_adjust),
8764 (gst_clock_set_property), (gst_clock_get_property):
8767 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8768 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8770 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8771 (gst_element_requires_clock), (gst_element_provides_clock),
8772 (gst_element_set_clock), (gst_element_clock_wait),
8773 (gst_element_wait), (gst_element_set_time_delay),
8774 (gst_element_is_indexable), (gst_element_add_pad),
8775 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8776 (pad_compare_name), (gst_element_get_static_pad),
8777 (gst_element_request_pad), (gst_element_get_request_pad),
8778 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8779 (gst_element_class_get_pad_template_list),
8780 (gst_element_class_get_pad_template), (gst_element_error_func),
8781 (gst_element_get_random_pad), (gst_element_get_event_masks),
8782 (gst_element_send_event), (gst_element_seek),
8783 (gst_element_get_query_types), (gst_element_query),
8784 (gst_element_get_formats), (gst_element_convert),
8785 (gst_element_is_locked_state), (gst_element_set_locked_state),
8786 (gst_element_sync_state_with_parent), (gst_element_change_state),
8787 (gst_element_finalize), (gst_element_yield),
8788 (gst_element_interrupt), (gst_element_set_scheduler),
8789 (gst_element_get_scheduler), (gst_element_set_loop_function):
8792 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8793 (gst_format_get_by_nick), (gst_format_get_details),
8794 (gst_format_iterate_definitions):
8796 * gst/gstindex.c: (gst_index_gtype_resolver):
8799 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8800 (gst_mem_chunk_free):
8801 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8802 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8803 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8804 (gst_object_dispatch_properties_changed),
8805 (gst_object_set_name_default), (gst_object_set_name),
8806 (gst_object_get_name), (gst_object_set_name_prefix),
8807 (gst_object_get_name_prefix), (gst_object_set_parent),
8808 (gst_object_get_parent), (gst_object_unparent),
8809 (gst_object_check_uniqueness), (gst_object_save_thyself),
8810 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8811 (gst_object_set_property), (gst_object_get_property),
8812 (gst_object_get_path_string):
8814 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8815 (gst_real_pad_init), (gst_real_pad_get_property),
8816 (gst_pad_custom_new), (gst_pad_get_direction),
8817 (gst_pad_set_active), (gst_pad_is_active),
8818 (gst_pad_set_event_function), (gst_pad_is_linked),
8819 (gst_pad_link_free), (gst_pad_link_intersect),
8820 (gst_pad_link_fixate), (gst_pad_set_caps),
8821 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8822 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8823 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8824 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8825 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8826 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8827 (gst_pad_realize), (gst_pad_get_allowed_caps),
8828 (gst_real_pad_dispose), (gst_real_pad_finalize),
8829 (gst_pad_collectv), (gst_pad_collect_valist),
8830 (gst_pad_template_dispose), (gst_pad_template_new),
8831 (gst_pad_get_internal_links):
8833 * gst/gstpipeline.c: (gst_pipeline_dispose),
8834 (gst_pipeline_change_state):
8835 * gst/gstpipeline.h:
8837 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8838 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8839 * gst/gstpluginfeature.h:
8840 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8841 * gst/gstquery.c: (_gst_query_type_initialize),
8842 (gst_query_type_register), (gst_query_type_get_by_nick),
8843 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8845 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8846 * gst/gstscheduler.c: (gst_scheduler_add_element),
8847 (gst_scheduler_factory_create):
8848 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8849 (gst_structure_free), (gst_structure_set_name),
8850 (gst_structure_id_set_value), (gst_structure_set_value),
8851 (gst_structure_set_valist), (gst_structure_remove_field),
8852 (gst_structure_remove_fields),
8853 (gst_structure_remove_fields_valist),
8854 (gst_structure_remove_all_fields), (gst_structure_foreach),
8855 (gst_structure_map_in_place),
8856 (gst_caps_structure_fixate_field_nearest_int),
8857 (gst_caps_structure_fixate_field_nearest_double):
8858 * gst/gststructure.h:
8859 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8860 (gst_system_clock_init), (gst_system_clock_dispose),
8861 (gst_system_clock_async_thread),
8862 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8863 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8864 * gst/gstsystemclock.h:
8865 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8866 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8867 * gst/gsttaginterface.c:
8868 * gst/gstthread.c: (gst_thread_dispose),
8869 (gst_thread_release_children_locks), (gst_thread_change_state),
8870 (gst_thread_main_loop):
8871 * gst/gsttrashstack.h:
8872 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8874 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8875 (gst_element_request_pad), (gst_element_get_pad_from_template),
8876 (gst_element_request_compatible_pad),
8877 (gst_element_get_compatible_pad_filtered),
8878 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8879 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8880 (gst_element_link_many), (gst_element_link),
8881 (gst_element_link_pads), (gst_element_unlink_pads),
8882 (gst_element_unlink_many), (gst_element_unlink),
8883 (gst_pad_can_link_filtered), (gst_pad_can_link),
8884 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8885 (gst_object_default_error), (gst_bin_add_many),
8886 (gst_bin_remove_many), (gst_element_populate_std_props),
8887 (gst_element_class_install_std_props), (gst_buffer_merge),
8888 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8889 (link_fold_func), (gst_pad_proxy_setcaps):
8891 * gst/gstvalue.c: (gst_value_deserialize_string):
8892 * gst/parse/grammar.y:
8893 * gst/schedulers/gstbasicscheduler.c:
8894 (gst_basic_scheduler_cothreaded_chain),
8895 (gst_basic_scheduler_chain_recursive_add),
8896 (gst_basic_scheduler_pad_link):
8897 * gst/schedulers/gstoptimalscheduler.c:
8898 (get_group_schedule_function),
8899 (gst_opt_scheduler_state_transition),
8900 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8901 * libs/gst/bytestream/bytestream.c:
8902 * libs/gst/dataprotocol/dataprotocol.c:
8903 (gst_dp_header_from_buffer):
8906 * tests/threadstate/threadstate2.c: (eos):
8907 * tools/gst-compprep.c: (main):
8908 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8909 (print_pad_info), (print_children_info):
8910 * tools/gst-launch.c: (idle_func), (main):
8911 * tools/gst-md5sum.c: (idle_func), (main):
8912 * tools/gst-xmlinspect.c: (print_element_info):
8913 First THREADED backport attempt, focusing on adding locks and
8914 making sure the API is threadsafe. Needs more work. More docs
8917 2005-02-24 Andy Wingo <wingo@pobox.com>
8919 * tests/bench-complexity.scm:
8920 * tests/complexity.gnuplot: New files, good for running complexity
8923 * tests/Makefile.am:
8924 * tests/complexity.c: New test, sets up N elements, at each level
8925 teeing into M streams per element. Eeeenteresting.
8927 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8928 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8929 running bench-mass_elements.scm.
8931 * tests/bench-mass_elements.scm: New script, runs mass_elements
8932 for various numbers of identities, outputting the results to a
8933 file. Requires guile 1.6. Just for testing.
8935 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8937 * gst/schedulers/fairscheduler.c:
8938 compile with debug disabled
8940 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8943 hunting season on 0.9 is now OPEN