1 2005-10-12 Wim Taymans <wim@fluendo.com>
3 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4 (gst_file_sink_event), (gst_file_sink_render):
7 2005-10-12 Andy Wingo <wingo@pobox.com>
9 * gst/gst.c (gst_init_check): Ignore unknown options, as has
12 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14 * check/gst/gstbin.c: (GST_START_TEST):
15 * docs/gst/gstreamer-sections.txt:
16 * gst/base/gstbasesink.c: (gst_base_sink_init):
17 * gst/base/gstbasesrc.c: (gst_base_src_init),
18 (gst_base_src_get_range), (gst_base_src_check_get_range),
19 (gst_base_src_start), (gst_base_src_stop):
20 * gst/base/gstbasesrc.h:
21 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
27 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
29 * gst/gstelement.c: (gst_element_is_locked_state),
30 (gst_element_set_locked_state), (gst_element_commit_state),
31 (gst_element_set_state):
33 * gst/gstindex.c: (gst_index_init):
35 * gst/gstminiobject.h:
36 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
37 (gst_object_set_parent):
39 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
40 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
42 * gst/gstpadtemplate.h:
43 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
44 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
46 * gst/indexers/gstfileindex.c: (gst_file_index_load),
47 (gst_file_index_commit):
48 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
49 * testsuite/pad/link.c: (gst_test_src_init),
50 (gst_test_filter_init), (gst_test_sink_init):
51 * testsuite/states/locked.c: (main):
52 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
53 moved bitshift from macro to enum definition
55 2005-10-12 Wim Taymans <wim@fluendo.com>
57 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
58 * gst/elements/gstfilesink.c: (gst_file_sink_event),
59 (gst_file_sink_render):
60 Some more debugging info.
62 2005-10-12 Wim Taymans <wim@fluendo.com>
64 * docs/design/part-states.txt:
65 * tools/gst-launch.c: (main):
67 Revert non-intentional change.
69 2005-10-12 Wim Taymans <wim@fluendo.com>
71 * check/gst/gstbin.c: (GST_START_TEST):
72 * check/gst/gstelement.c: (GST_START_TEST):
73 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
74 * check/gst/gstghostpad.c: (GST_START_TEST):
75 * check/gst/gstpipeline.c: (GST_START_TEST):
76 * check/pipelines/simple_launch_lines.c: (run_pipeline):
77 * check/states/sinks.c: (GST_START_TEST):
78 * gst/elements/gsttypefindelement.c: (stop_typefinding):
79 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
80 (gst_bin_remove_func), (gst_bin_get_state_func),
81 (gst_bin_recalc_state), (gst_bin_change_state_func),
83 * gst/gstelement.c: (gst_element_get_state_func),
84 (gst_element_get_state), (gst_element_abort_state),
85 (gst_element_commit_state), (gst_element_set_state),
86 (gst_element_change_state), (gst_element_change_state_func):
88 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
89 (gst_pipeline_provide_clock_func):
90 * gst/gstutils.c: (gst_element_link_pads_filtered):
91 * tools/gst-launch.c: (main):
92 * tools/gst-typefind.c: (main):
93 Use GstClockTime in _get_state() instead of GTimeVal.
94 Remove old code in gstutils.c
96 2005-10-12 Andy Wingo <wingo@pobox.com>
98 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
101 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
102 there is no task. Shouldn't affect any code, as nothing in our
103 plugins checks this return value.
104 (gst_pad_stop_task): Also take the stream lock if the pad has no
107 2005-10-12 Wim Taymans <wim@fluendo.com>
109 * gst/gstpad.c: (pre_activate), (post_activate),
110 (gst_pad_activate_pull), (gst_pad_activate_push):
111 Cleanup activation code. Reset old state if
114 2005-10-12 Wim Taymans <wim@fluendo.com>
116 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
117 (gst_base_sink_change_state):
118 No need to prerol after receiving EOS.
120 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
121 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
122 * gst/elements/gstidentity.c: (gst_identity_event):
123 Print events more verbosely.
125 2005-10-12 Wim Taymans <wim@fluendo.com>
128 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
129 * check/states/sinks2.c:
130 Moved sinks2 testcode in sinks check.
132 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
133 (gst_bin_remove_func), (gst_bin_recalc_state),
134 (gst_bin_change_state_func), (bin_bus_handler):
135 Fix potential race condition when _get_state() iterated over an
136 ASYNC element right before it posted a state completion.
141 * gst/gstevent.c: (gst_event_new_newsegment),
142 (gst_event_parse_newsegment):
143 A playback rate of 0.0 is not allowed.
145 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
147 * win32/common/config.h:
148 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
149 (_trewinddir), (_ttelldir), (_tseekdir):
150 * win32/common/dirent.h:
151 * win32/common/gtchar.h:
152 * win32/common/libgstbase.def:
153 * win32/common/libgstreamer.def:
154 * win32/vs6/grammar.dsp:
155 * win32/vs6/gst_inspect.dsp:
156 * win32/vs6/gst_launch.dsp:
157 * win32/vs6/gstreamer.dsw:
158 * win32/vs6/libgstbase.dsp:
159 * win32/vs6/libgstelements.dsp:
160 * win32/vs6/libgstreamer.dsp:
161 Visual Studio 6 project files, and a new common directory.
164 2005-10-11 Wim Taymans <wim@fluendo.com>
166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
167 (gst_base_sink_do_sync), (gst_base_sink_query),
168 (gst_base_sink_change_state):
169 * gst/base/gstbasesink.h:
170 Correctly parse newsegment info.
172 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
174 * gst/gst.c: (init_post):
175 split plugin paths correctly
177 2005-10-11 Wim Taymans <wim@fluendo.com>
179 * check/gst/gstevent.c: (GST_START_TEST):
180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
181 (gst_base_sink_change_state):
182 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
183 * gst/base/gstbasetransform.c: (gst_base_transform_event):
184 * gst/elements/gstfilesink.c: (gst_file_sink_event):
185 * gst/gstevent.c: (gst_event_new_newsegment),
186 (gst_event_parse_newsegment):
188 Added extra flag to newsegment for future API freeze.
189 Updated check and base elements.
191 2005-10-11 Julien MOUTTE <julien@moutte.net>
193 * gst/base/gstcollectpads.c: (gst_collectpads_init),
194 (gst_collectpads_add_pad), (gst_collectpads_pop),
195 (gst_collectpads_event), (gst_collectpads_chain):
196 * gst/base/gstcollectpads.h: Handle EOS correctly.
198 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
200 * tools/gst-launch.c: (main):
203 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
205 * gst/gst-i18n-lib.h:
206 check for ENABLE_NLS, not GETTEXT_PACKAGE
207 * gst/gstregistry.c: (gst_registry_add_plugin),
208 (gst_registry_scan_path_level),
209 (_gst_registry_remove_cache_plugins):
210 protect possibly NULL strings
212 config.h already included before
213 * tools/gst-inspect.c: (main):
214 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
215 check for ENABLE_NLS, not GETTEXT_PACKAGE
216 * tools/gst-launch.c: (main):
217 check for ENABLE_NLS, not GETTEXT_PACKAGE
219 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
222 if we don't have glib, fail before testing 2.8
223 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
224 fix a leak, should fix plugins-base testsuite
226 2005-10-11 Andy Wingo <wingo@pobox.com>
228 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
229 take the mode we're going to as an arg. Go head and set the mode
230 and flushing flags now, so that if the activate function starts a
231 thread all the flags will be in the right state.
232 (post_activate): Renamed also. Just handle making sure streaming
233 finishes for the deactivation case, and setting the deactivated
235 (gst_pad_set_active): Complain loudly if deactivation fails.
236 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
237 (gst_pad_activate_push): Adapt to pre/post_activate changes,
238 remove the terrible hack.
240 2005-10-11 Wim Taymans <wim@fluendo.com>
242 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
243 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
244 (gst_bin_recalc_state), (gst_bin_change_state_func),
245 (gst_bin_dispose), (bin_bus_handler):
247 Prepare to make current EOS message queue more generic.
250 * gst/gstevent.c: (gst_event_new_newsegment),
251 (gst_event_parse_newsegment):
253 Rename base to stream_time.
258 2005-10-11 Wim Taymans <wim@fluendo.com>
260 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
261 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
262 (gst_bin_change_state_func), (bin_bus_handler):
264 Work on proper clock selection.
266 2005-10-11 Edward Hervey <edward@fluendo.com>
268 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
269 * libs/gst/controller/gstcontroller.h:
270 Added GList* version of _remove_properties() in order to be able to wrap
273 2005-10-11 Wim Taymans <wim@fluendo.com>
275 * docs/design/part-states.txt:
278 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
279 (gst_bin_change_state_func), (bin_bus_handler):
280 Doc updates. Don't distribute the same clock over and over again.
286 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
287 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
288 (gst_pad_send_event):
290 Make probe emission threadsafe again.
291 Register quarks and move _get_name() from utils.
294 * gst/gstpipeline.c: (gst_pipeline_class_init),
295 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
296 Only redistribute the clock of it changed.
298 * gst/gstsystemclock.h:
303 Moved the _flow_get_name() to GstPad.
305 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
307 * check/gst-libs/gdp.c: (GST_START_TEST):
308 * check/gst/gstcaps.c: (GST_START_TEST):
309 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
310 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
311 (gst_dp_packet_from_caps):
312 fix more valgrind warnings before turning up the heat
314 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
316 * gst/parse/grammar.y:
317 some cleanup before the hacking
319 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
321 * gst/base/gstbasesrc.c: (gst_base_src_query):
323 * gst/gstutils.c: (gst_guint64_to_gdouble),
324 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
326 externalize, basesrc uses it
327 obviously the implementation needs testing
329 2005-10-10 Wim Taymans <wim@fluendo.com>
331 * tests/sched/Makefile.am:
332 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
333 (make_pipeline3), (make_pipeline4), (print_elem), (main):
335 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
337 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
338 apparently converting from guint64 to double is not implemented
341 2005-10-10 Wim Taymans <wim@fluendo.com>
344 * check/generic/states.c: (GST_START_TEST):
345 * check/gst/gstbin.c: (GST_START_TEST):
346 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
347 * check/states/sinks.c: (GST_START_TEST):
348 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
350 Check fixes, use API as stated in design docs, remove hacks.
352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
353 (gst_base_sink_change_state):
354 Catch stopping our task while we're shutting down.
356 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
357 (gst_bin_remove_func), (gst_bin_get_state_func),
358 (gst_bin_recalc_state), (gst_bin_change_state_func),
361 * gst/gstelement.c: (gst_element_init),
362 (gst_element_get_state_func), (gst_element_abort_state),
363 (gst_element_commit_state), (gst_element_lost_state),
364 (gst_element_set_state), (gst_element_change_state),
365 (gst_element_change_state_func):
367 New state change algorithm (see #318116)
369 * gst/gstpipeline.c: (gst_pipeline_class_init),
370 (gst_pipeline_init), (gst_pipeline_set_property),
371 (gst_pipeline_get_property), (do_pipeline_seek),
372 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
374 Remove crude state change hacks.
379 * tools/gst-launch.c: (main):
380 Fixes for state change. Needs some more work to fully use the
383 2005-10-10 Andy Wingo <wingo@pobox.com>
385 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
387 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
388 this flag, but it's not even in GLib 2.6. Odd. Hack around the
391 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
393 * gst/gstiterator.c: (gst_iterator_new):
394 Fix my previous commit: GTypes passed to gst_iterator_new()
395 can be fundamental types.
397 2005-10-10 Wim Taymans <wim@fluendo.com>
399 * gst/gstelement.c: (gst_element_iterate_pad_list),
400 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
401 (gst_element_iterate_sink_pads):
402 Use src/sink pads lists for the respective iterators instead
405 2005-10-10 Andy Wingo <wingo@pobox.com>
407 Merged in popt removal + GOption addition patch from Ronald, bug
410 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
411 GstElement macros around, remove popt-related symbols, add goption
414 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
416 * docs/gst/Makefile.am:
417 * docs/libs/Makefile.am: No POPT_CFLAGS.
419 * examples/manual/Makefile.am:
420 * docs/manual/basics-init.xml: Doc updates with an example.
422 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
423 (gst_init), (parse_one_option), (parse_goption_arg):
424 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
425 bit of hand merging and debugging to get the GOption stuff working
430 * tools/gst-inspect.c: (main):
431 * tools/gst-launch.c: (main):
432 * tools/gst-run.c: (main):
433 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
435 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
437 * gst/gstiterator.c: (gst_iterator_new):
438 Add assertions to make sure passed GType is likely to really
439 be a GType (as the compiler won't catch it if the size and
440 GType arguments get mixed up, see #318447).
442 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
444 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
446 * gst/gstbin.c: (gst_bin_iterate_sorted):
447 Pass GType and size arguments to gst_iterator_new() in the right
448 order (maybe we should make _new() take the GType as first argument
449 just like _new_list()?) (#318447).
452 2005-10-10 Wim Taymans <wim@fluendo.com>
454 * gst/gstelement.c: (gst_element_finalize):
455 And free the GStaticRecMutex too
457 2005-10-10 Andy Wingo <wingo@pobox.com>
459 * gst/gstelement.c (gst_element_init, gst_element_finalize):
460 Allocate and free the mutex properly.
462 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
464 (GstElement): The state_lock is now recursive. Rebuild your
465 plugins, suckers. Old macros adapted.
467 * docs/gst/gstreamer-sections.txt: Doc updates.
470 * gst/gstutils.c (g_static_rec_cond_timed_wait)
471 (g_static_rec_cond_wait): Ported from state changes patch, while
472 we wait on bug #317802 to be solved in a well-distributed GLib.
474 * gst/gstelement.c (gst_element_change_state_func): Renamed from
475 gst_element_change_state, variable name changes.
476 (gst_element_change_state): Split out of gst_element_set_state in
477 preparation for the state change merge. Doesn't pay attention to
478 the 'transition' argument.
479 (gst_element_set_state): Updates, hopefully purely cosmetic.
480 (gst_element_sync_state_with_parent): MT-safety. Ported from the
482 (gst_element_get_state_func): Renamed from get_state, cosmetic
485 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
487 * gst/elements/gstelements.c:
488 * win32/GStreamer.vcproj:
490 * win32/dirent.c: (_tseekdir):
491 * win32/gst-inspect.vcproj:
492 * win32/gst-launch.vcproj:
494 * win32/gstelements.vcproj:
495 * win32/gstenumtypes.c: (gst_object_flags_get_type):
496 * win32/gstreamer.def:
498 updates for the win32 build (patch from Sebastien Moutte)
500 2005-10-10 Andy Wingo <wingo@pobox.com>
502 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
503 gst_bin_get_state, cleaned up (but no logic changes).
504 (bin_element_is_sink): Comment updates.
505 (sink_iterator_filter): Remove needless cast.
506 (gst_bin_iterate_sinks): Doc update.
507 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
508 cleaned up (but no logic changes).
510 * check/states/sinks.c (test_src_sink): Cleanups from the state
512 (test_livesrc_sink): Sync on the state.
514 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
515 the state change patch.
517 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
520 * check/gst/gstbin.c: Merge in some style fixes and additional
521 checks from Wim's state change patch.
523 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
525 * gst/base/gsttypefindhelper.c: (helper_find_peek),
526 (gst_type_find_helper):
527 Check whether we have the requested data already in our list of
528 cached buffers before pulling a new buffer; also make the buffer
529 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
531 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
536 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
537 don't use long long, it's not portable. Replacing with
538 gint64 seems to work; let's hope no skeletons fall out of the closet.
540 2005-10-10 Andy Wingo <wingo@pobox.com>
542 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
544 2005-10-09 Stefan Kost <ensonic@users.sf.net>
546 * docs/gst/gstreamer-sections.txt:
551 * gst/gstmessage.c: (gst_message_parse_state_changed):
554 more docs, fix compilation
556 2005-10-09 Philippe Khalaf <burger@speedy.org>
558 Fixed a few forgotten variables on previous commit
560 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
562 * gst/base/gsttypefindhelper.c: (helper_find_peek):
563 Fix evil typefind crasher: getrange() might return a short
564 buffer at the end of a file, but gst_type_find_peek() must
565 either return the full data as requested or NULL, but
566 never a short buffer.
568 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
570 * gst/gstmessage.c: (gst_message_new_state_changed),
571 (gst_message_parse_state_changed):
573 don't use "new", it's a C++ keyword
575 2005-10-08 Wim Taymans <wim@fluendo.com>
577 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
578 * gst/gstelement.c: (gst_element_post_message):
579 * gst/gstpipeline.c: (gst_pipeline_change_state):
580 Small docs and debug updates.
582 2005-10-08 Stefan Kost <ensonic@users.sf.net>
584 * docs/gst/gstreamer-sections.txt:
585 * gst/gstelementfactory.c:
590 2005-10-08 Wim Taymans <wim@fluendo.com>
592 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
593 (gst_bin_dispose), (bin_bus_handler):
594 Fix typos, add comments.
595 Clear EOS list when going to PAUSED from any direction and do it
597 Get base time in a threadsafe way too.
598 Fix confusing debug in the change_state function.
599 Various other small cleanups.
601 * gst/gstelement.c: (gst_element_post_message):
602 Fix very verbose bus posting code.
604 * gst/gstpipeline.c: (gst_pipeline_class_init),
605 (gst_pipeline_set_property), (gst_pipeline_get_property),
606 (gst_pipeline_change_state):
607 Small ARG_ -> PROP_ cleanup
609 2005-10-08 Wim Taymans <wim@fluendo.com>
611 * gst/gstbin.c: (is_eos), (bin_bus_handler):
612 Do a less CPU demanding EOS check because we can.
614 2005-10-08 Wim Taymans <wim@fluendo.com>
616 * libs/gst/dataprotocol/dataprotocol.c:
617 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
618 (gst_dp_packet_from_event):
619 * libs/gst/dataprotocol/dataprotocol.h:
620 * libs/gst/dataprotocol/dp-private.h:
621 It's about time we bump the version number.
622 Since event types don't fit in the guint8 anymore describing
623 the payload type, make payload type 16 bits wide.
625 2005-10-08 Wim Taymans <wim@fluendo.com>
627 * docs/design/part-TODO.txt:
628 * docs/design/part-clocks.txt:
629 * docs/design/part-events.txt:
630 * docs/design/part-gstbin.txt:
631 * docs/design/part-gstelement.txt:
632 * docs/design/part-gstpipeline.txt:
633 * docs/design/part-live-source.txt:
634 * docs/design/part-messages.txt:
635 * docs/design/part-overview.txt:
636 * docs/design/part-states.txt:
639 2005-10-08 Wim Taymans <wim@fluendo.com>
643 Fix event quark registration.
644 Add some space between events so we can insert them in the
647 2005-10-08 Wim Taymans <wim@fluendo.com>
649 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
650 (gst_base_sink_handle_buffer):
657 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
658 (gst_queue_set_property), (gst_queue_get_property):
660 Remove old unused properties.
662 2005-10-08 Stefan Kost <ensonic@users.sf.net>
663 * docs/gst/gstreamer-sections.txt:
666 * gst/gstminiobject.c:
667 * gst/gstminiobject.h:
671 lots of new docs and doc fixes
673 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
675 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
677 * gst/gstregistry.c: (gst_registry_lookup_locked),
678 (gst_registry_scan_path_level):
679 * gst/gstregistryxml.c: (load_plugin):
680 Only ever load one plugin for a given plugin basename.
681 This ensures correct overriding of GST_PLUGIN_PATH over
682 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
683 system installed plugins.
685 2005-10-08 Wim Taymans <wim@fluendo.com>
687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
688 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
689 Prepare for doing QOS.
691 2005-10-08 Wim Taymans <wim@fluendo.com>
693 * check/gst/gstbin.c: (GST_START_TEST):
694 * check/pipelines/cleanup.c: (GST_START_TEST):
695 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
696 Allow new clock message too.
698 2005-10-08 Wim Taymans <wim@fluendo.com>
700 * gst/gstmessage.c: (gst_message_new_error),
701 (gst_message_new_warning), (gst_message_new_tag),
702 (gst_message_new_state_changed), (gst_message_new_clock_provide),
703 (gst_message_new_clock_lost), (gst_message_new_new_clock),
704 (gst_message_new_segment_start), (gst_message_new_segment_done),
705 (gst_message_parse_state_changed),
706 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
707 (gst_message_parse_new_clock):
709 Also carry the clock in question.
711 2005-10-08 Wim Taymans <wim@fluendo.com>
713 * gst/gstmessage.c: (gst_message_new_custom),
714 (gst_message_new_eos), (gst_message_new_error),
715 (gst_message_new_warning), (gst_message_new_tag),
716 (gst_message_new_state_changed), (gst_message_new_clock_provide),
717 (gst_message_new_new_clock), (gst_message_new_segment_start),
718 (gst_message_new_segment_done), (gst_message_parse_state_changed),
719 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
722 Added clock related messages.
724 * gst/gstpipeline.c: (gst_pipeline_change_state):
725 Post message when the clock changed.
727 * tools/gst-launch.c: (event_loop):
730 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
732 * tools/gst-inspect.c: (print_element_properties_info):
733 Can't pass NULL strings to g_print() on windows.
735 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
738 * docs/gst/Makefile.am:
739 * docs/gst/gstreamer-docs.sgml:
740 * docs/gst/running.xml:
741 * docs/version.entities.in:
742 add a chapter on running GStreamer.
743 document GST_DEBUG and GST_PLUGIN* env vars
745 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
750 remove PLUGINS_BUILDDIR stuff
751 * gst/gst.c: (init_post):
752 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
754 remove, it was condescending and not needed
756 2005-10-08 Wim Taymans <wim@fluendo.com>
758 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
759 (gst_base_sink_handle_object), (gst_base_sink_event),
760 (gst_base_sink_wait), (gst_base_sink_handle_event),
761 (gst_base_sink_change_state):
762 * gst/base/gstbasesink.h:
763 Repost EOS message while going to PLAYING if still EOS.
764 Make sure that when receiving a FLUSH_START we don't attempt
765 to sync on the clock anymore.
767 2005-10-08 Wim Taymans <wim@fluendo.com>
769 * tools/gst-launch.c: (event_loop):
770 Better message printout.
772 2005-10-08 Wim Taymans <wim@fluendo.com>
774 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
775 (gst_bin_child_proxy_get_children_count):
776 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
777 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
778 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
779 (gst_child_proxy_set_valist):
780 * gst/parse/grammar.y:
781 Make ChildProxy threadsafe and fix mem leaks.
783 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
785 * gst/gst.c: (init_post):
786 debug the GST_PLUGIN_ env vars
788 2005-10-08 Wim Taymans <wim@fluendo.com>
790 * check/gst/gstbin.c: (GST_START_TEST):
791 * check/gst/gstmessage.c: (GST_START_TEST):
792 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
793 * gst/gstelement.c: (gst_element_commit_state),
794 (gst_element_lost_state):
795 * gst/gstmessage.c: (gst_message_new_state_changed),
796 (gst_message_parse_state_changed):
798 * tools/gst-launch.c: (event_loop):
799 Added extra field to STATE_CHANGE message with the pending
800 state, which will be different from the new state soon.
802 2005-10-08 Wim Taymans <wim@fluendo.com>
804 * gst/gstbus.c: (gst_bus_pop):
806 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
807 Small cleanups and doc updates.
809 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
811 * gst/gst.c: (init_pre):
812 * gst/gstbin.c: (gst_bin_add_func):
813 log distributing clocks and base time
814 * gst/gstregistry.c: (gst_registry_add_plugin),
815 (gst_registry_scan_path_level), (gst_registry_scan_path):
816 clean up the debugging output a little
817 * gst/gstutils.c: (gst_element_state_get_name):
818 warn about a memleak (I've actually seen this be used, though
819 it was probably a bug)
821 2005-10-07 Wim Taymans <wim@fluendo.com>
823 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
824 (gst_base_src_init), (gst_base_src_default_newsegment),
825 (gst_base_src_newsegment), (gst_base_src_do_seek),
826 (gst_base_src_loop), (gst_base_src_start):
827 * gst/base/gstbasesrc.h:
828 Make the newsegment event customizable by subclasses.
830 2005-10-07 Wim Taymans <wim@fluendo.com>
832 * gst/gstevent.c: (gst_event_new_buffersize),
833 (gst_event_parse_buffersize):
835 New event for future idea.
837 2005-10-07 Andy Wingo <wingo@pobox.com>
839 * gst/gstelement.c (gst_element_post_message): Doc update.
841 * docs/gst/gstreamer-sections.txt: Update.
843 * gst/gstmessage.c (gst_message_new_application): Made into a
844 function like honest API calls.
845 (gst_message_new_element): New message type.
847 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
849 * check/elements/fakesrc.c (test_no_preroll): New check, checks
850 that setting a live fakesrc to PAUSED returns NO_PREROLL both
853 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
854 NO_PREROLL from gst_element_change_state to fall through.
856 2005-10-07 Wim Taymans <wim@fluendo.com>
858 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
859 (gst_ghost_pad_do_activate_push):
860 Activating a ghostpad with no internal pad in push mode
863 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
866 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
867 Fixes compilation on Windows.
869 2005-10-07 Michael Smith <msmith@fluendo.com>
871 * tools/gst-inspect.c:
872 Print out feature and plugin count at the end when printing out
875 2005-10-04 Michael Smith <msmith@fluendo.com>
877 * gst/gsterror.c: (_gst_stream_errors_init):
878 Add another error string used in a few existing plugins.
881 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
882 * tools/gst-inspect.c: (print_element_info):
883 When a feature disappears from a plugin (and the feature exists in
884 the cached registry file), things went horribly wrong. This isn't a
885 complete fix, we should actually be removing the 'missing' features
886 from the features list when we load the actual plugin. That's not
889 2005-10-04 Johan Dahlin <johan@gnome.org>
891 * check/gst/gstiterator.c: (GST_START_TEST):
892 * gst/gstbin.c: (gst_bin_iterate_elements),
893 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
894 * gst/gstelement.c: (gst_element_iterate_pads):
895 * gst/gstformat.c: (gst_format_iterate_definitions):
896 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
897 (gst_iterator_new_list), (gst_iterator_filter):
899 * gst/gstquery.c: (gst_query_type_iterate_definitions):
900 Add a GType to GstIterator, update callsites and tests.
902 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
904 * gst/gstpad.c: (gst_pad_event_default_dispatch):
905 give events a chance to be handled by event probes when the pad
908 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
910 * gst/gstevent.c: (gst_event_type_get_name),
911 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
913 add string representations for event types
915 2005-10-06 Wim Taymans <wim@fluendo.com>
917 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
918 Don't use NULL pointers.
920 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
926 * gst/gstpluginfeature.c:
927 widen the debug category in output to fit the biggest one we have
928 add a bus category and use it
930 fix up some categories
932 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
934 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
935 add push activation of sink ghost pads.
938 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
940 * gst/gstutils.c: (gst_element_link_pads):
941 fix a bug in the case where neither element has a pad
942 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
943 add a test for that case
945 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
947 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
948 emit have-data before checking for peers. This allows
949 for probe handlers to connect elements. This helps autopluggers.
950 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
952 add six checks, linked/unlinked with no/true/false probe
954 2005-10-04 Wim Taymans <wim@fluendo.com>
956 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
957 (gst_fake_sink_event), (gst_fake_sink_preroll),
958 (gst_fake_sink_render), (gst_fake_sink_change_state):
959 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
960 (gst_fake_src_get_property), (gst_fake_src_create),
962 * gst/elements/gstidentity.c: (gst_identity_stop):
963 Protect last_message with lock.
965 2005-10-04 Edward Hervey <edward@fluendo.com>
968 Added precision in the comments for GST_FORMAT_DEFAULT
970 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
972 * tools/gst-launch.c: (main):
973 Don't try to run erroneous pipelines.
975 2005-10-04 Julien MOUTTE <julien@moutte.net>
977 * gst/gstbus.c: We don't need this header.
979 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
984 === release 0.9.3 ===
986 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
990 Releasing 0.9.3, "Unregistered"
992 2005-10-03 Andy Wingo <wingo@pobox.com>
994 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
995 whereby calling a pad's activatepush() function can start a thread
996 that starts to push or pull before the pad gets the FLUSHING flag
997 unset. Hack around it by holding the stream lock until the flag is
998 set. Need to replace this with a proper solution. Together with
999 the ghost pad fixes, this fixes mp3 playing/tagreading.
1001 * docs/design/part-gstghostpad.txt: Add a note about activation of
1002 proxy pads outside of ghost pads.
1004 * gst/gstghostpad.c: Implement the ghost pad activation design.
1006 2005-10-02 Andy Wingo <wingo@pobox.com>
1008 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1009 It is volatile, after all.
1011 * docs/design/part-gstghostpad.txt: Flesh out activation with
1014 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1017 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1020 Fix (unused) AM_CONDITIONAL tests.
1022 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1024 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1026 * gst/gstutils.c: (gst_pad_query_convert):
1027 Add assertion that makes sure src_val is >=0, just like
1028 gst_query_new_convert() has. (#315895)
1030 2005-09-30 Edward Hervey <edward@fluendo.com>
1032 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1033 Let's not iterate pads we're not interested in, it avoids getting
1034 sky-high refcounts on sinkpad.
1036 2005-09-30 Wim Taymans <wim@fluendo.com>
1038 * gst/gstelement.c: (gst_element_set_state),
1039 (gst_element_change_state):
1040 Small tweak, element in ASYNC remains ASYNC.
1042 2005-09-30 Wim Taymans <wim@fluendo.com>
1044 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1045 Only error is an error.
1047 * gst/gstbin.c: (gst_bin_change_state):
1050 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1051 Also call pad_block in pad alloc.
1053 * gst/gstutils.c: (gst_flow_get_name):
1056 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1058 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1059 (gst_base_src_get_range):
1060 Fix documentation typos. Add some more debug info.
1062 2005-09-29 David Schleef <ds@schleef.org>
1064 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1065 more end-user friendly.
1066 * tools/gst-inspect.c: (main): Check if command-line argument is
1067 a file and attempt to load that file as a plugin.
1069 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1071 * check/gst/gstbin.c:
1072 * check/states/sinks.c:
1073 fix tests for the new warning
1074 * check/gst/gstpipeline.c:
1075 add a test for pipeline and bus interaction
1077 elements should be NULL if they get disposed; add a warning if not
1079 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1082 for 2.6 refcounting, make debug log more correct by printing
1083 the actual refcounts at the time of swap (Wim)
1085 2005-09-29 Andy Wingo <wingo@pobox.com>
1087 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1088 removes signal watches previously added via
1089 gst_bus_add_signal_watch.
1090 (gst_bus_add_signal_watch): Don't return the source id, just store
1091 it on the bus if there wasn't an id already.
1093 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1094 add_signal_watch and remove_signal_watch.
1096 2005-09-29 Edward Hervey <edward@fluendo.com>
1098 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1099 Better if we actually iterate the list :)
1101 2005-09-29 Wim Taymans <wim@fluendo.com>
1103 * check/gst/gstbin.c: (GST_START_TEST):
1104 Change for new bus API.
1106 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1107 (send_messages), (GST_START_TEST), (gstbus_suite):
1108 Change for new bus signal API.
1110 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1111 (gst_bus_source_prepare), (gst_bus_source_check),
1112 (gst_bus_create_watch), (gst_bus_add_watch_full),
1113 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1114 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1116 Remove support for multiple GSources operating on different
1117 message types as it is too complex and unneeded when using
1119 Added support for receiving signals from the bus.
1121 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1123 * docs/libs/tmpl/gstdataprotocol.sgml:
1124 * docs/manual/advanced-dataaccess.xml:
1125 * gst/elements/gstcapsfilter.c:
1127 rename filter-caps to caps property
1129 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1131 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1132 More robust fraction string parsing.
1134 * docs/pwg/appendix-porting.xml:
1135 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1137 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1139 * gst/gstcaps.c: (gst_caps_do_simplify):
1140 Thou shalt not free a structure and then continue using it
1141 in the next loop iteration.
1143 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1145 Add test case for caps simplification.
1147 2005-09-29 Wim Taymans <wim@fluendo.com>
1149 * check/gst/gstbin.c: (GST_START_TEST):
1152 2005-09-29 Wim Taymans <wim@fluendo.com>
1154 * check/gst/gstbin.c: (GST_START_TEST):
1157 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1158 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1159 (find_element), (gst_bin_sort_iterator_next),
1160 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1161 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1162 (gst_bin_change_state), (gst_bin_dispose):
1163 A bin does not have a bus, it gets the bus from the parent.
1165 * gst/gstelement.c: (gst_element_requires_clock),
1166 (gst_element_provides_clock), (gst_element_is_indexable),
1167 (gst_element_is_locked_state), (gst_element_change_state),
1168 (gst_element_set_bus_func):
1171 * gst/gstpipeline.c: (gst_pipeline_class_init),
1172 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1173 The pipeline provides a bus.
1175 2005-09-28 Johan Dahlin <johan@gnome.org>
1177 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1178 gst_structure_get_enum instead of gst_structure_get_int
1180 * gst/gststructure.c (gst_structure_get_enum): Impl.
1182 * gst/gststructure.h (gst_structure_get_enum): Add
1184 * docs/gst/gstreamer-sections.txt: Ditto
1186 * gst/gstmessage.c (gst_message_new_state_changed): Use
1187 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1188 which does introspection.
1189 Reviewed by Christian Schaller
1191 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1193 * gst/gstinfo.c: (gst_debug_log_default):
1194 don't do dummy g_strdup()s
1195 * libs/gst/controller/gstcontroller.c:
1196 (on_object_controlled_property_changed),
1197 (gst_controlled_property_new), (gst_controller_new_valist),
1198 (gst_controller_new_list),
1199 (gst_controller_remove_properties_valist), (gst_controller_set),
1200 (gst_controller_get), (gst_controller_sync_values),
1201 (gst_controller_get_value_array), (_gst_controller_class_init),
1202 (gst_controller_get_type):
1203 * libs/gst/controller/gstcontroller.h:
1204 * libs/gst/controller/gstinterpolation.c:
1205 (gst_controlled_property_find_timed_value_node):
1206 convert // to /**/ comments
1208 2005-09-28 Wim Taymans <wim@fluendo.com>
1210 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1211 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1212 (gst_bus_sync_signal_handler):
1214 Added async-message and sync-message signals to the bus.
1215 Added helper BusFunc to emit signals for all posted messages.
1217 * gst/gstmessage.c: (gst_message_type_get_name),
1218 (gst_message_type_to_quark), (gst_message_get_type):
1220 Register quarks for message names.
1222 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1224 * docs/libs/gstreamer-libs-sections.txt:
1225 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1226 (gst_controller_new_list):
1227 * libs/gst/controller/gstcontroller.h:
1228 added another constructor for language bindings
1230 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1232 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1236 * gst/gstinfo.c: (_gst_debug_init):
1237 slightly more readable color for refcount debugging
1239 2005-09-28 Wim Taymans <wim@fluendo.com>
1241 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1242 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1243 (find_element), (gst_bin_sort_iterator_next),
1244 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1245 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1246 (gst_bin_change_state), (gst_bin_dispose):
1247 Small doc fixes. get_clock -> provide_clock.
1249 * gst/gstelement.c: (gst_element_class_init),
1250 (gst_element_provides_clock), (gst_element_provide_clock),
1251 (gst_element_get_clock), (gst_element_commit_state),
1252 (gst_element_lost_state):
1254 Make get/set_clock() symetric. Add provide_clock vmethod since
1255 that is actually what this function does.
1257 * gst/gstpipeline.c: (gst_pipeline_class_init),
1258 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1259 (gst_pipeline_get_clock):
1260 get_clock -> provide_clock.
1262 2005-09-28 Andy Wingo <wingo@pobox.com>
1264 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1265 lieu of real docs...
1267 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1269 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
1271 * gst/elements/gstcapsfilter.c:
1272 * gst/elements/gstfakesink.c:
1273 * gst/elements/gstfakesrc.c:
1274 * gst/elements/gstfdsink.c:
1275 * gst/elements/gstfdsrc.c:
1276 * gst/elements/gstfilesink.c:
1277 * gst/elements/gstfilesrc.c:
1278 * gst/elements/gstidentity.c:
1279 * gst/elements/gsttee.c:
1280 * gst/elements/gsttypefindelement.c:
1281 Make element details static.
1283 2005-09-28 Wim Taymans <wim@fluendo.com>
1285 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1286 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1287 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1288 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1289 (gst_bin_change_state), (gst_bin_dispose):
1290 Some documentation updates.
1291 Clean up dispose handlers.
1293 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1294 * gst/gstpad.c: (gst_pad_dispose):
1295 Clean up dispose handler.
1297 * gst/gstpipeline.c: (gst_pipeline_change_state):
1298 Removed spurious UNLOCK.
1300 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1302 * docs/gst/gstreamer-sections.txt:
1303 * gst/base/gstbasesrc.h:
1308 * gst/gstpipeline.c:
1309 * gst/gstpipeline.h:
1312 added two new functions to the docs
1313 documents all undocumented GstXXXFlags
1314 completed some incomplete docs
1316 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1318 * gst/gstbin.c: (gst_bin_dispose):
1319 * gst/gstelement.c: (gst_element_dispose):
1320 remove now useless and leaky resurrection code in dispose
1321 * gst/base/gstbasesrc.c: (gst_base_src_init):
1322 * gst/gstelementfactory.c: (gst_element_factory_create):
1323 * gst/gstobject.c: (gst_object_set_parent):
1326 2005-09-27 Wim Taymans <wim@fluendo.com>
1328 * docs/design/part-TODO.txt:
1331 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1332 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1333 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1334 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1335 (gst_bin_change_state):
1337 Remove element variable, we keep element info in the iterator now.
1339 2005-09-27 Andy Wingo <wingo@pobox.com>
1341 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1344 2005-09-27 Wim Taymans <wim@fluendo.com>
1346 * check/gst/gstbin.c: (GST_START_TEST):
1347 Enable check that works now.
1349 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1350 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1351 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1352 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1353 (gst_bin_change_state):
1355 Redid the state change algorithm using a topological sort algo.
1356 Handles all cases correctly.
1357 Exposed iterator for state change order.
1360 Temp storage for state changes. Need to get rid of this soon.
1362 2005-09-27 Wim Taymans <wim@fluendo.com>
1364 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1365 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1366 (link_fold_func), (gst_pad_proxy_setcaps):
1367 Leak fixes, the fold functions need to unref the passed object and
1368 _get_parent_*() returns ref to parent.
1370 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1372 * check/gst/gstbuffer.c: (test_make_writable):
1373 Plug leak in test case and fix 'make check-valgrind'
1375 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1377 * gst/gstbuffer.c: (gst_subbuffer_init):
1378 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1379 works correctly in all circumstances (we could have just copied
1380 the parent buffer's readonly flag, but conceptually it seems
1381 cleaner to mark all subbuffers as read-only). (based on patch
1382 by Alessandro Decina, #314710).
1384 * check/gst/gstbuffer.c: (create_read_only_buffer),
1385 (test_make_writable), (test_subbuffer_make_writable),
1387 Add some tests for gst_buffer_make_writable().
1389 2005-09-27 Wim Taymans <wim@fluendo.com>
1391 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1392 use gst_object_has_ancestor().
1394 * gst/gstobject.c: (gst_object_has_ancestor):
1396 gst_object_has_ancestor() copied from gstbin.c as it is a
1399 * tests/instantiate/create.c: (create_all_elements):
1400 * tests/lat.c: (handoff_src), (handoff_sink):
1401 * tests/sched/runxml.c: (main):
1402 * tests/seeking/seeking1.c: (main):
1403 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1405 Fix compilation of some tests.
1407 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1410 Remove comment. GST_TYPE_G_ERROR is here to stay,
1411 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1414 2005-09-26 Wim Taymans <wim@fluendo.com>
1416 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1417 Added check that shows error in state change order.
1419 2005-09-26 Wim Taymans <wim@fluendo.com>
1421 * gst/gstbin.c: (gst_bin_change_state):
1422 Make state change function use 3 queues again, we were
1423 adding elements in the wrong order.
1425 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1428 * gst/gstpad.c: (gst_pad_dispose):
1429 Added some debug info first.
1431 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
1433 * docs/design/draft-push-pull.txt:
1434 * docs/design/part-events.txt:
1435 * docs/design/part-overview.txt:
1436 * docs/design/part-scheduling.txt:
1437 Replace all _pull_region() with _pull_range()
1439 2005-09-26 Andy Wingo <wingo@pobox.com>
1441 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1443 * check/gst-libs/controller.c: Update for controller api change.
1446 * tests/Makefile.am:
1447 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1448 over by GLib bug 118439.
1450 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1451 routines to a function.
1453 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1455 * libs/gst/controller/gsthelper.c:
1456 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1457 (gst_object_sync_values): Renamed from sink_values. Ugh.
1459 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1461 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1462 Renamed from controller_key, as it is exported.
1464 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1466 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
1471 * gst/gstpadtemplate.h:
1474 * gst/gstqueryutils.c:
1475 * gst/gstqueryutils.h:
1476 remove queryutils headers after moving the two used functions
1477 to gstquery. also fixes build problem for gstsiddec
1479 2005-09-26 Michael Smith <msmith@fluendo.com>
1481 * tools/gst-launch.1.in:
1482 Correct documentation in manpage of debug syntax
1484 2005-09-26 Wim Taymans <wim@fluendo.com>
1486 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1487 (gst_base_src_is_seekable), (gst_base_src_change_state):
1488 Some more debugging info.
1490 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1492 * docs/gst/gstreamer-sections.txt:
1493 * gst/base/gstbasetransform.h:
1497 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1499 * docs/gst/.cvsignore:
1500 * docs/gst/tmpl/.cvsignore:
1501 * docs/gst/tmpl/gstpipeline.sgml:
1502 * docs/gst/tmpl/gstplugin.sgml:
1503 * gst/gstpipeline.c:
1506 inlined the last two docs files
1507 removed the tmpl directory from cvs (no more conflicts here!)
1509 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1511 * docs/gst/gstreamer-sections.txt:
1512 * docs/gst/tmpl/.cvsignore:
1513 * docs/gst/tmpl/gstpad.sgml:
1514 * docs/gst/tmpl/gstpadtemplate.sgml:
1516 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1517 (gst_pad_finalize), (gst_pad_set_pad_template):
1519 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1520 (gst_pad_template_class_init), (gst_pad_template_init),
1521 (gst_pad_template_dispose), (name_is_valid),
1522 (gst_static_pad_template_get), (gst_pad_template_new),
1523 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1524 (gst_pad_template_pad_created):
1525 * gst/gstpadtemplate.h:
1526 inlined two more docs
1527 factored gstpadtemplate out of gstpad
1529 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
1531 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1532 (test_children_state_change_order_semi_sink):
1533 Fix test case: we can't rely on a fixed state change order when
1534 going from READY => PAUSED because the sink might commit its
1535 new state first when the first buffer created by the source
1536 reaches the sink before the source has finished its change state.
1537 (Test case still fails at times, see #316856, comment 5 onwards)
1539 2005-09-24 Wim Taymans <wim@fluendo.com>
1541 * docs/design/part-events.txt:
1542 * docs/design/part-gstbus.txt:
1543 * docs/design/part-gstpipeline.txt:
1544 * docs/design/part-messages.txt:
1545 * docs/design/part-overview.txt:
1546 * docs/design/part-segments.txt:
1553 * gst/gstiterator.c:
1554 Various documentation updates.
1556 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
1559 Well, that's embarassing. Luckily we weren't using
1560 GST_CLOCK_DIFF anywhere.
1562 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1564 * common/gtk-doc.mak:
1565 don't fail on building XML, FC4 slave shows a bunch of doc
1566 missing bits that I don't get
1568 * gst/gstpipeline.c:
1569 * gst/gststructure.c:
1572 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1574 * docs/design/part-gstbin.txt:
1575 * docs/design/part-gstbus.txt:
1577 Add blurb about how the bus goes into flushing mode and
1578 drops all messages when its bin goes from READY into NULL
1581 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1583 * docs/gst/gstreamer-sections.txt:
1584 * gst/gststructure.c: (gst_structure_get_clock_time):
1585 * gst/gststructure.h:
1586 add a method to get a GstClockTime out of a structure
1588 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1590 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1591 (test_children_state_change_order_semi_sink), (gst_bin_suite):
1592 Added test to check state change order in bins (can still be made
1593 to fail here under heavy disk load; bails out with 'Push on pad
1594 fakesink:sink0, but it was not activated in push mode').
1596 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1597 Fix state change order when there is only a semi sink (#316856)
1599 * gst/gstbus.c: (gst_bus_class_init):
1600 Use _class_peek_parent(), not _class_ref(); fix docs to say
1601 'default main context' instead of 'mainloop' where that is
1604 * gst/gstelement.c: (gst_element_commit_state),
1605 (gst_element_set_state):
1606 Fix typos in debug messages
1608 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1611 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1612 * gst/gstpluginfeature.c:
1615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1616 change an assert into an error until it gets fixed properly
1618 2005-09-23 Stefan Kost <ensonic@users.sf.net>
1620 * docs/gst/gstreamer-sections.txt:
1621 * docs/gst/tmpl/.cvsignore:
1622 * docs/gst/tmpl/gstelement.sgml:
1623 * docs/gst/tmpl/gstinfo.sgml:
1624 * docs/gst/tmpl/gstobject.sgml:
1629 * gst/gstobject.c: (gst_object_class_init):
1631 inlined 3 more biiiig doc files and added some missing docs on the fly
1633 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1635 * check/gst/.cvsignore:
1636 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1637 * gst/gstregistryxml.c: (load_plugin),
1638 (gst_registry_xml_save_plugin):
1639 put back source in registry. add checks for find_plugin.
1640 * testsuite/states/bin.c: (assert_state), (empty_bin),
1641 (test_adding_one_element), (main):
1642 * testsuite/states/locked.c: (main):
1643 some compile/run fixes
1645 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1647 * check/gst/gstvalue.c: (GST_START_TEST):
1648 fix leaks in the test itself
1650 2005-09-22 Wim Taymans <wim@fluendo.com>
1652 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1653 (gst_base_sink_send_event), (gst_base_sink_peer_query),
1654 (gst_base_sink_query):
1655 Prepare for more accurate position reporting and query
1658 * gst/gstelement.c: (gst_element_send_event),
1659 (gst_element_set_state):
1662 2005-09-22 Wim Taymans <wim@fluendo.com>
1664 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1665 (gst_query_parse_segment):
1668 Add segment query for future use.
1670 2005-09-22 Wim Taymans <wim@fluendo.com>
1672 * gst/gstbin.c: (gst_bin_add_func):
1673 Some more debug info.
1675 * gst/gstelement.c: (gst_element_send_event):
1679 Don't know how flags got broken.
1684 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1686 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1687 Add simplistic test suite for GST_TYPE_DATE serialisation and
1690 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1692 * docs/gst/gstreamer-sections.txt:
1693 * gst/gststructure.c: (gst_structure_set_valist),
1694 (gst_structure_get_date):
1695 * gst/gststructure.h:
1696 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1697 (gst_date_copy), (gst_value_compare_date),
1698 (gst_value_serialize_date), (gst_value_deserialize_date),
1699 (gst_value_transform_date_string),
1700 (gst_value_transform_string_date), (_gst_value_initialize):
1702 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1703 bunch of utility functions along with a hack that checks that
1704 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1705 is required. Part of the grand scheme in #170777.
1707 2005-09-22 Andy Wingo <wingo@pobox.com>
1709 * gst/gstconfig.h.in: Psych out gtk-doc.
1711 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1713 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1715 * tools/gst-inspect.c (print_element_list): Plug some
1716 inconsequential leaks.
1718 * gst/gstregistry.c (gst_registry_get_default): Doc.
1720 * check/gst/gstplugin.c:
1721 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1722 * gst/gstelementfactory.c (gst_element_factory_create):
1723 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1726 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1727 (gst_plugin_feature_load): Doc, don't eat refs.
1729 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1730 (gst_plugin_list_free): Doc.
1731 (gst_plugin_load_file): Doc updates.
1733 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1734 accessors returning refcounted objects, return a ref.
1736 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1737 accessor for caps. IDEMPOTENCE. Oh yes.
1739 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1741 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1743 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1744 (_gst_debug_register_funcptr):
1745 Add mutex to serialise access to the hash table with
1746 the function pointer => function name string mapping;
1747 make that hash table static scope (#316809).
1749 * gst/registries/.cvsignore:
1750 Remove left-over file.
1752 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1754 * docs/pwg/appendix-porting.xml:
1755 And something about newsegment events and caps-on-buffers to
1756 the porting guide (feel free to improve).
1758 2005-09-21 Andy Wingo <wingo@pobox.com>
1760 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1761 data and event probes on the same pad.
1762 (test_buffer_probe_once): Test that removing probes from within
1763 the probe functions works.
1765 2005-09-21 Andy Wingo <wingo@pobox.com>
1767 * check/gst/gstutils.c: New file.
1768 (test_buffer_probe_n_times): A simple buffer probe test. More to
1771 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1772 have-data::buffer, not have-data.
1773 (gst_pad_add_event_probe): Likewise for have-data::event.
1774 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1775 peer' isn't quite right yet though.
1776 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1777 (gst_pad_remove_data_probe): Change to take the guint handler_id
1778 as their arg, not the function+data, which is more glib-like.
1780 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1781 the signal emission to indicate if the data is a buffer or an
1783 (gst_pad_get_type): Initialize buffer and event quarks.
1784 (gst_pad_class_init): have-data is now a detailed signal, yes it
1787 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1789 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1790 * gst/gstutils.c: (gst_util_set_value_from_string),
1791 (gst_util_set_object_arg):
1792 Don't put functional code in g_return_if_fail() or
1793 g_return_val_if_fail() statements, otherwise things will
1794 break when G_DISABLE_CHECKS is defined during compilation.
1796 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1798 * docs/gst/tmpl/.cvsignore:
1799 * docs/gst/tmpl/gstvalue.sgml:
1802 inlied another one and added some obvious docs
1804 2005-09-21 Wim Taymans <wim@fluendo.com>
1806 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1807 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1808 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1809 (gst_fdsrc_get_property), (gst_fdsrc_create):
1810 * gst/elements/gstfdsrc.h:
1811 Properly implement fdsrc. Removed signal and timeout,
1812 better implemented somewhere else.
1814 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1816 * docs/gst/tmpl/.cvsignore:
1817 * docs/gst/tmpl/gstimplementsinterface.sgml:
1818 * gst/gstinterface.c:
1821 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1823 * docs/gst/gstreamer-sections.txt:
1824 * docs/gst/tmpl/.cvsignore:
1825 * docs/gst/tmpl/gstenumtypes.sgml:
1826 remove obsolete doc file
1828 2005-09-21 David Schleef <ds@schleef.org>
1830 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1831 little beer, fix a little leak.
1833 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1835 * docs/gst/gstreamer-docs.sgml:
1836 * docs/gst/gstreamer-sections.txt:
1837 * docs/gst/tmpl/.cvsignore:
1842 * gst/gstindex.c: (gst_index_class_init):
1844 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1845 (gst_index_factory_class_init), (gst_index_factory_init),
1846 (gst_index_factory_finalize), (gst_index_factory_new),
1847 (gst_index_factory_destroy), (gst_index_factory_find),
1848 (gst_index_factory_create), (gst_index_factory_make):
1849 * gst/gstindexfactory.h:
1850 * gst/gstpluginfeature.c:
1851 * gst/gstpluginfeature.h:
1852 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1853 more docs inlined, splitted gstindex.{c,h}
1855 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1857 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1860 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1862 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1863 Set sync to FALSE by default.
1865 2005-09-20 Wim Taymans <wim@fluendo.com>
1867 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1868 (gst_base_sink_init):
1869 Make sync property settable from subclass.
1871 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1872 (gst_fake_sink_change_state):
1873 Set sync to FALSE by default.
1875 2005-09-20 Wim Taymans <wim@fluendo.com>
1877 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1878 * tools/gst-launch.c: (main):
1879 The timeout handler should have lower priority than the source
1880 so we don't timeout before popping a message with 0 timeout.
1881 Dump error messages after failed state change.
1883 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1885 * tools/gst-inspect.c: (print_element_properties_info):
1888 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1890 * check/gst/gstevent.c:
1891 * gst/elements/gstfakesink.c:
1892 * gst/elements/gstfakesink.h:
1893 remove the sync property from fakesink.
1894 has the side effect of setting sync TRUE
1895 for fakesink, which is a change. Anyone who knows how
1896 to fix this nicely in a GObject-y way, feel free.
1898 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1900 * docs/gst/gstreamer-docs.sgml:
1901 remove probe refsection
1903 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1905 * check/Makefile.am:
1906 disable valgrinding the controller test again
1907 * docs/gst/gstreamer-sections.txt:
1908 update for api-changes
1910 2005-09-20 Wim Taymans <wim@fluendo.com>
1912 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1913 (gst_base_sink_set_property), (gst_base_sink_get_property),
1914 (gst_base_sink_do_sync):
1915 * gst/base/gstbasesink.h:
1916 Added sync property to basesink to disable clock sync.
1918 2005-09-20 Andy Wingo <wingo@pobox.com>
1920 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1921 eating the caller's refcount.
1923 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1924 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1927 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1928 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1929 of GLib 2.8 public, so we can know which refcount to check in
1932 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1933 (gst_object_init): Only set the gst refcount if we're going ahead
1934 with the refcount hack.
1936 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1938 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1939 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1940 more leaks plumbed, added more debug-logging
1944 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1947 remove include of gstmemchunk.h
1949 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1951 * gst/gstclock.c: (_gst_clock_id_free):
1952 Commit from the Political Party For More Atomic CVS Commits,
1953 so that people don't waste too much of their day fishing
1954 out obvious leaks out of massive commits.
1955 Oh, and fix a pretty damn obvious leak in the memchunk
1958 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1960 * check/Makefile.am:
1961 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1962 plug mem-leak, re-add to valgrindable tests
1964 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1967 unbreak the build for those who have chronic arthritis
1968 and typing "make check" is just too taxing on the hands
1970 2005-09-20 Andy Wingo <wingo@pobox.com>
1972 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1973 really want it out, you should fix plugins at the same time.
1975 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1978 * docs/gst/gstreamer-sections.txt:
1980 added missing symbols to api docs
1981 disable ref-count hack if we have glib >= 2.8
1983 2005-09-19 David Schleef <ds@schleef.org>
1985 * docs/gst/Makefile.am: Ignore a few more internal headers
1986 * docs/gst/gstreamer-docs.sgml: Remove old sections
1987 * docs/gst/gstreamer-sections.txt: Remove old sections
1988 * docs/gst/tmpl/gstobject.sgml: update
1989 * docs/gst/tmpl/gstplugin.sgml: update
1990 * docs/gst/tmpl/gstpluginfeature.sgml: update
1991 * docs/random/ds/0.9-suggested-changes: update.
1992 * gst/Makefile.am: remove memchunk and trashstack, since they're
1994 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1995 * gst/gst.h: don't include some headers
1996 * gst/gstchildproxy.c: add gstmarshal.h
1997 * gst/gstclock.c: Don't use memchunks
1998 * gst/gstminiobject.c: Add some docs
1999 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2000 * gst/gstobject.h: same
2001 * gst/gstplugin.c: include gstmacros.h
2002 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2003 * gst/gstquery.c: don't use memchunks
2004 * gst/gstregistry.c: rename gst_registry_deinit()
2005 * gst/gstregistry.h: same
2007 2005-09-19 David Schleef <ds@schleef.org>
2009 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2010 * docs/libs/gstreamer-libs-sections.txt:
2011 * docs/libs/tmpl/gstgetbits.sgml:
2012 * docs/libs/tmpl/gstputbits.sgml:
2014 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2016 * win32/gstenumtypes.c:
2017 * win32/gstenumtypes.h:
2020 2005-09-19 Wim Taymans <wim@fluendo.com>
2022 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2023 Automatically PAUSE and RESUME a pipeline when a flushing seek
2026 2005-09-19 Andy Wingo <wingo@pobox.com>
2028 * gst/gstregistry.h: Spacing fixen.
2030 2005-09-19 Wim Taymans <wim@fluendo.com>
2032 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2033 Handle state change failure more correctly.
2035 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2037 * check/Makefile.am:
2038 * check/pipelines/cleanup.c: (run_pipeline):
2039 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2041 enable cleanup again after fixing the leak
2043 some more info on docs
2045 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2047 * check/Makefile.am:
2048 re-enable tests now that leaks are plugged
2050 * check/gst/gstbin.c:
2051 * check/gst/gstpipeline.c:
2052 add some more tests while fixing leaks
2054 make sure binaries are uptodate when valgrinding/gdbing
2056 * gst/gstelementfactory.c:
2057 remove a ref too many, and add a FIXME for when we get
2058 round to disposing of classes
2060 fix the refcounting when loading a plugin from a file and
2061 the code pretends that the pointer is the same even though
2062 of course it can change
2063 * gst/gstpluginfeature.c:
2064 unref plugins marked cached (a bit confusing as a name)
2065 as the docs state should be done
2066 various doc additions to explain refcounting
2067 * gst/gstregistry.c:
2068 * gst/gstregistryxml.c:
2071 2005-09-19 Wim Taymans <wim@fluendo.com>
2073 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2074 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2075 (send_messages), (GST_START_TEST), (gstbus_suite):
2076 * check/gst/gstpipeline.c: (GST_START_TEST):
2077 * check/pipelines/cleanup.c: (run_pipeline):
2078 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2080 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2081 (gst_bus_source_check), (gst_bus_source_dispatch),
2082 (gst_bus_create_watch), (gst_bus_add_watch_full),
2083 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2085 * tools/gst-launch.c: (event_loop):
2086 * tools/gst-md5sum.c: (event_loop):
2087 GstBusHandler -> GstBusFunc, return value has the same meaning as
2088 any other GSource (FALSE == remove source).
2089 _add_watch() and _add_watch_full() now take a MessageType mask to
2090 only handle specific types of messages.
2091 _poll() returns the GstMessage instead of the message type to avoid
2093 _have_pending() takes a MessageType mask now too.
2094 Added testsuite for multiple bus watches.
2095 Fix testsuites and applications for new bus API.
2097 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2099 * check/Makefile.am:
2100 mark a bunch of the tests as to fix until we fix them
2102 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2105 use GST_PLUGIN settings for valgrind tests as well, so we're
2106 valgrinding the correct thing
2107 * gst/gst.c: (init_post):
2110 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2112 * gst/gst.c: (init_post), (gst_deinit):
2113 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2114 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2115 * gst/gstindex.c: (gst_index_factory_class_init),
2116 (gst_index_factory_finalize):
2117 * gst/gstobject.c: (gst_object_dispose):
2118 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2119 (gst_plugin_load_file), (gst_plugin_desc_free):
2120 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2121 (gst_plugin_feature_finalize):
2122 * gst/gstregistry.c: (gst_registry_class_init),
2123 (gst_registry_init), (gst_registry_finalize),
2124 (gst_registry_get_default), (gst_registry_deinit):
2125 * gst/gstregistry.h:
2126 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2127 various cleanups and memleak plugging. make valgrind is happy now.
2129 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2132 add a check-valgrind target
2134 2005-09-18 David Schleef <ds@schleef.org>
2136 * tools/gst-inspect.c: Revert the GOption code.
2138 2005-09-17 David Schleef <ds@schleef.org>
2140 * check/Makefile.am: Fix environment variables.
2141 * check/gst/gstplugin.c: Fix for API changes.
2142 * tools/gst-inspect.c: Fix for API changes.
2143 * tools/gst-xmlinspect.c: Fix for API changes.
2144 * gst/gstelementfactory.c:
2147 * gst/gstpluginfeature.c:
2148 * gst/gstpluginfeature.h:
2149 * gst/gstregistry.c:
2150 * gst/gstregistry.h:
2151 * gst/gstregistryxml.c:
2152 * gst/gsttypefind.c:
2153 * gst/gsttypefindfactory.c:
2154 * gst/indexers/gstfileindex.c:
2155 * gst/indexers/gstmemindex.c:
2156 * gst/schedulers/Makefile.am:
2157 Change registry to keep track of both plugins and features,
2158 removing the feature tracking from plugins themselves.
2160 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2162 * check/Makefile.am:
2163 * tools/gst-register.1.in:
2166 2005-09-15 David Schleef <ds@schleef.org>
2168 * check/gst/gstplugin.c:
2169 * gst/gstelementfactory.c:
2171 * gst/gstpluginfeature.c:
2172 * gst/gstregistry.c:
2173 Getting tired of debugging. Disabled all the unreffing of
2174 plugins and features, which fixes the segfaults, but of
2175 course leaks like crazy. At least playbin works.
2177 2005-09-15 David Schleef <ds@schleef.org>
2179 * check/gst/gstplugin.c: (register_check_elements),
2180 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2182 * gst/elements/gsttypefindelement.c: Fix refcounting.
2183 * gst/gsttypefind.c:
2184 * gst/gsttypefindfactory.c:
2185 * gst/gsttypefindfactory.h:
2187 2005-09-15 David Schleef <ds@schleef.org>
2189 * gst/gstindex.c: get refcounting correct.
2190 * gst/gstregistry.c: Handle the case where a feature/plugin is
2193 2005-09-15 David Schleef <ds@schleef.org>
2195 * check/Makefile.am:
2196 * check/gst/gstplugin.c: Add test
2197 * gst/gstplugin.c: Fix problems noticed by testsuite
2199 * gst/gstregistry.c:
2200 * gst/gstregistry.h:
2202 2005-09-15 David Schleef <ds@schleef.org>
2204 * gst/gstplugin.c: Implement semi-decent recounting and locking
2205 in plugins and plugin features.
2207 * gst/gstpluginfeature.c:
2208 * gst/gstpluginfeature.h:
2209 * gst/gstregistry.c:
2211 2005-09-15 Michael Smith <msmith@fluendo.com>
2213 * gst/gstregistry.c: (gst_registry_get_feature_list):
2214 Implement this. Makes oggdemux work; decodebin still broken.
2216 2005-09-14 David Schleef <ds@schleef.org>
2218 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2220 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2221 * gst/check/Makefile.am:
2222 * libs/gst/controller/Makefile.am:
2223 * libs/gst/dataprotocol/Makefile.am:
2225 2005-09-14 David Schleef <ds@schleef.org>
2227 * configure.ac: Remove getbits library. Nothing uses it, and
2228 it should be in something like liboil if someone did want
2230 * libs/gst/Makefile.am:
2231 * libs/gst/getbits/Makefile.am:
2232 * libs/gst/getbits/gbtest.c:
2233 * libs/gst/getbits/getbits.c:
2234 * libs/gst/getbits/getbits.h:
2235 * libs/gst/getbits/gstgetbits_generic.c:
2236 * libs/gst/getbits/gstgetbits_i386.s:
2237 * libs/gst/getbits/gstgetbits_inl.h:
2239 2005-09-14 David Schleef <ds@schleef.org>
2241 * gst/Makefile.am: Dist glib-compat.h
2243 2005-09-14 David Schleef <ds@schleef.org>
2245 * configure.ac: Remove gst/registries, since it's no longer used.
2246 * gst/registries/Makefile.am:
2247 * gst/registries/gstlibxmlregistry.c:
2248 * gst/registries/gstlibxmlregistry.h:
2249 * gst/registries/gstxmlregistry.c:
2250 * gst/registries/gstxmlregistry.h:
2251 * gst/registries/registrytest.c:
2253 2005-09-14 David Schleef <ds@schleef.org>
2255 * gst/glib-compat.h:
2256 * gst/gstregistryxml.c:
2257 Convergence is near. Seriously.
2259 2005-09-14 David Schleef <ds@schleef.org>
2261 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2262 * gst/glib-compat.h:
2263 Attempt #4 to appease the buildbots.
2265 2005-09-14 David Schleef <ds@schleef.org>
2267 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2270 2005-09-14 David Schleef <ds@schleef.org>
2272 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2275 2005-09-14 David Schleef <ds@schleef.org>
2277 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2280 2005-09-14 David Schleef <ds@schleef.org>
2282 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2283 * gst/glib-compat.h: Add some functions that are in newer versions
2284 of glib than we care to require.
2285 * gst/gstregistryxml.c: Use them.
2287 2005-09-14 David Schleef <ds@schleef.org>
2289 * po/POTFILES.in: remove gst-register.c
2291 2005-09-14 David Schleef <ds@schleef.org>
2293 * docs/gst/gstreamer-docs.sgml:
2294 * docs/gst/gstreamer-sections.txt:
2295 * docs/gst/gstreamer.types:
2296 * docs/gst/tmpl/gstelement.sgml:
2297 * docs/gst/tmpl/gstplugin.sgml:
2298 * docs/gst/tmpl/gstpluginfeature.sgml:
2299 Documentation updates for registry changes.
2301 2005-09-14 David Schleef <ds@schleef.org>
2303 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2304 because we don't require glib-2.8.
2306 2005-09-14 David Schleef <ds@schleef.org>
2308 * gst/gstregistryxml.c: Added. Essentially moved out of the
2309 registries directory.
2311 2005-09-14 David Schleef <ds@schleef.org>
2313 * check/Makefile.am:
2314 * check/generic/states.c:
2318 * gst/gst_private.h:
2319 * gst/gstelementfactory.c:
2324 * gst/gstpluginfeature.c:
2325 * gst/gstpluginfeature.h:
2326 * gst/gstregistry.c:
2327 * gst/gstregistry.h:
2328 * gst/gstregistrypool.c: remove
2329 * gst/gstregistrypool.h: remove
2330 * gst/gsttypefind.c:
2331 * gst/gsttypefindfactory.c:
2333 * tools/Makefile.am:
2334 * tools/gst-compprep.c:
2335 * tools/gst-inspect.c:
2336 * tools/gst-register.c: remove
2337 * tools/gst-xmlinspect.c:
2338 Registry rewrite. Changes registry from being a file created
2339 by a tool into a simple cache file created automatically by
2340 libgstreamer. Removed gst-register (because it's no longer
2341 needed). Remove registry pools, because we only have one
2342 registry implementation (XML). Fix up other subsystems as
2345 2005-09-13 Michael Smith <msmith@fluendo.com>
2347 * gst/gstconfig.h.in:
2348 Don't Use windows linking attributes for MinGW. Fixes #316157
2350 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2352 * gst/gstutils.c: (set_state_async_thread_func),
2353 (gst_element_set_state_async):
2354 Apparently people think it's better if this function doesn't
2355 try to set the state to whatever state was asked for on the first
2356 call to this function for any object. Seriously.
2358 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2360 * check/gst/gstpipeline.c: (GST_START_TEST):
2361 * docs/gst/gstreamer-sections.txt:
2362 * gst/gstutils.c: (set_state_async_thread_func),
2363 (gst_element_set_state_async):
2365 add a "gst_element_set_state_async" method that
2366 sets the state and starts a thread to make sure the state
2367 change completes as best as it can
2369 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2371 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2372 codify design+behaviour in testsuite after discussion
2374 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2376 * docs/gst/tmpl/gstelement.sgml:
2377 * docs/manual/appendix-quotes.xml:
2379 * gst/gstelement.c: (gst_element_set_state):
2382 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2384 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2385 (gst_base_transform_prepare_output_buf),
2386 (gst_base_transform_handle_buffer):
2387 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2388 (gst_capsfilter_prepare_buf):
2389 Remove the requirement for sub-classes to call the parent
2390 implementation of prepare_output_buffer with a wrapper function.
2393 * gst/gsttagsetter.h:
2396 2005-09-11 Stefan Kost <ensonic@users.sf.net>
2398 * docs/gst/gstreamer-sections.txt:
2401 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2403 * docs/gst/gstreamer-sections.txt:
2404 * docs/gst/tmpl/gstelement.sgml:
2405 * docs/gst/tmpl/gstplugin.sgml:
2406 * gst/gstminiobject.c:
2408 docs now stop throwing warnings
2410 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2412 * docs/gst/gstreamer-sections.txt:
2413 * docs/gst/gstreamer.types:
2414 * docs/gst/tmpl/gstpad.sgml:
2415 * docs/gst/tmpl/gsttypes.sgml:
2416 * gst/base/gstadapter.h:
2417 * gst/base/gstbasesink.h:
2418 * gst/base/gstbasesrc.h:
2428 * gst/gststructure.c:
2429 * gst/registries/gstlibxmlregistry.h:
2430 various documentation fixes
2432 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2434 * docs/gst/gstreamer-sections.txt:
2435 * docs/gst/tmpl/gstvalue.sgml:
2436 rearrange gstvalue section
2437 * gst/gstutils.c: (gst_element_state_get_name):
2439 * gst/gstvalue.c: (_gst_value_initialize):
2443 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
2445 * check/gst-libs/controller.c:
2447 * gst/base/gstbasetransform.c:
2448 (gst_base_transform_default_prepare_buf),
2449 (gst_base_transform_handle_buffer):
2450 * gst/base/gstbasetransform.h:
2451 Some more basetransform changes and fixes to enable sub-classes
2452 that modify buffer metadata only.
2453 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2454 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2455 (gst_capsfilter_prepare_buf):
2456 If the output pad has fixed allowed caps and input buffers
2457 don't have any, set the fixed caps on outgoing buffers.
2459 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
2460 * check/elements/identity.c: (GST_START_TEST):
2461 Make the error a little clearer when the test fails because
2462 identity made a copy of the buffer.
2463 * docs/gst/gstreamer-sections.txt:
2464 New symbols in gstbasetransform.h
2465 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2466 (gst_base_transform_init), (gst_base_transform_transform_size),
2467 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2468 (gst_base_transform_default_prepare_buf),
2469 (gst_base_transform_get_unit_size),
2470 (gst_base_transform_buffer_alloc),
2471 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2472 (gst_base_transform_change_state),
2473 (gst_base_transform_set_passthrough),
2474 (gst_base_transform_set_in_place),
2475 (gst_base_transform_is_in_place):
2476 * gst/base/gstbasetransform.h:
2477 Change BaseTransform to separate in_place operate from same_caps
2478 output. in_place implies that the element can perform the transform
2479 on incoming buffers in-place, even if the caps on the output are
2481 Sub-class elements can now implement special buffer allocation
2482 methods for outgoing buffers if they wish to.
2483 Big documentation addition.
2484 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2485 * gst/elements/gstelements.c:
2486 Changes for basetransform modifications.
2487 * gst/elements/Makefile.am:
2488 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2489 Compile fix. Extra debug output.
2491 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2493 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2495 add tests for valid pad naming
2496 * gst/check/gstcheck.c: (gst_check_log_message_func),
2497 (gst_check_log_critical_func):
2499 remove printing of code, it is fragile when the code contains
2500 % and the line number is enough info
2501 * gst/check/gstcheck.h:
2502 * gst/gstpad.c: (gst_pad_template_new):
2505 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2508 say what CHECK flags we use
2509 * docs/libs/gstreamer-libs.types:
2510 * libs/gst/controller/Makefile.am:
2511 * libs/gst/controller/gst-controller.c:
2512 * libs/gst/controller/gst-controller.h:
2513 * libs/gst/controller/gst-helper.c:
2514 * libs/gst/controller/gst-interpolation.c:
2515 * libs/gst/controller/gstcontroller.c:
2516 * libs/gst/controller/gsthelper.c:
2517 * libs/gst/controller/gstinterpolation.c:
2518 * tools/gst-inspect.c: (print_plugin_info):
2519 we don't use dashes in header names
2521 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2523 * check/Makefile.am:
2524 * check/gst/.cvsignore:
2525 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2526 (gst_pipeline_suite), (main):
2527 adding a test for pipelines and state changes
2528 * gst/gstutils.c: (get_state_func):
2530 * gstreamer.spec.in:
2533 2005-09-08 Michael Smith <msmith@fluendo.com>
2535 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2536 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2537 (gst_file_src_is_seekable), (gst_file_src_get_size),
2538 (gst_file_src_start):
2539 * gst/elements/gstfilesrc.h:
2540 Various fixes for unseekable, unmmapable, and non-normal files, so
2541 that fallback to read() rather than mmap() works.
2542 * gst/gstevent.c: (gst_event_new_newsegment):
2543 Allow newsegment events with segment_start == segment_end, as will
2544 correctly happen if you use filesrc on a zero-size file, for
2547 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2549 * gst/gstplugin.c: (gst_plugin_load_file):
2550 Call g_module_close when we don't load the module
2552 * gst/registries/gstlibxmlregistry.c:
2553 (gst_xml_registry_get_property):
2554 Port leak fix from 0.8
2556 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2558 * docs/gst/gstreamer-docs.sgml:
2559 * docs/gst/tmpl/.cvsignore:
2560 * docs/gst/tmpl/gsttrace.sgml:
2561 * docs/gst/tmpl/gsttrashstack.sgml:
2570 * gst/gsttaginterface.c:
2571 * gst/gsttaginterface.h:
2574 * gst/gsttagsetter.c:
2575 * gst/gsttagsetter.h:
2578 * gst/gsttrashstack.c:
2579 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2580 inlined docs for gsttrace, gsttrashstack
2582 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2585 * gst/elements/gstbufferstore.h:
2586 * gst/elements/gsttypefindelement.c:
2587 * gst/elements/gsttypefindelement.h:
2589 * gst/gsttypefind.c:
2590 * gst/gsttypefind.h:
2591 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2592 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2593 (gst_type_find_factory_dispose),
2594 (gst_type_find_factory_unload_thyself),
2595 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2596 (gst_type_find_factory_get_caps),
2597 (gst_type_find_factory_get_extensions),
2598 (gst_type_find_factory_call_function):
2599 * gst/gsttypefindfactory.h:
2600 * gst/registries/gstlibxmlregistry.c:
2601 * gst/registries/gstxmlregistry.c:
2602 splitted gsttypefind into gsttypefind, gsttypefindfactory
2604 2005-09-07 Andy Wingo <wingo@pobox.com>
2606 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2607 condition whereby the pad's task function is entered before the
2608 pad_mode variable was set.
2610 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2612 * gst/gstpad.c: (gst_pad_alloc_buffer):
2613 Catch misbehaving pad_alloc functions that don't
2614 set up caps and do it for them.
2616 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2618 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2620 * docs/gst/tmpl/.cvsignore:
2621 * docs/gst/tmpl/gstmemchunk.sgml:
2622 * docs/gst/tmpl/gstparse.sgml:
2623 * docs/gst/tmpl/gsttaglist.sgml:
2624 * docs/gst/tmpl/gsttagsetter.sgml:
2625 * docs/gst/tmpl/gsttypefind.sgml:
2626 * docs/gst/tmpl/gsttypefindfactory.sgml:
2627 * gst/gstmemchunk.c:
2630 * gst/gsttaginterface.c:
2631 * gst/gsttypefind.c:
2632 * gst/gsttypefind.h:
2635 === release 0.9.2 ===
2637 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
2642 releasing 0.9.2, "South"
2644 2005-09-05 Andy Wingo <wingo@pobox.com>
2646 * gst/registries/gstxmlregistry.h:
2647 * gst/registries/gstxmlregistry.c: Um... resurrect...
2649 * gst/registries/gstxmlregistry.h:
2650 * gst/registries/gstxmlregistry.c: and update to newer API.
2651 Incidentally they should be a bit faster now that they don't have
2654 2005-09-05 Andy Wingo <wingo@pobox.com>
2656 * gst/registries/gstxmlregistry.h:
2657 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2658 replaced by the libxml registry a while back
2660 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2662 * docs/gst/tmpl/gstplugin.sgml:
2663 * gst/elements/gstelements.c:
2665 * gst/gstplugin.c: (gst_plugin_register_func),
2666 (gst_plugin_desc_copy), (gst_plugin_desc_free),
2667 (gst_plugin_get_source):
2669 * gst/registries/gstlibxmlregistry.c: (load_plugin),
2670 (gst_xml_registry_save_plugin):
2671 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2672 (gst_xml_registry_save_plugin):
2673 * tools/gst-inspect.c: (print_plugin_info):
2674 add a "source" plugin description field, to represent the source
2675 module this plugin is a part of. By default GST_PLUGIN_DEFINE
2676 will set it to PACKAGE, which is automake's idea of the name of
2679 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2685 * docs/faq/Makefile.am:
2686 * docs/gst/tmpl/gstelement.sgml:
2687 * docs/gst/tmpl/gsttypes.sgml:
2688 * docs/htmlinstall.mak:
2689 * docs/manual/Makefile.am:
2690 * docs/pwg/Makefile.am:
2691 reorganize doc build a little
2692 split out docbook and gtk-doc stuff
2693 have two separate --enable's and enable them through autogen
2694 but disable by default in configure (to be similar to other
2696 * gstreamer.spec.in:
2697 clean up docs install
2717 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
2719 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2722 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2723 (gst_fake_sink_change_state):
2724 Make state change function thread-safe.
2726 * gst/gstpad.c: (gst_pad_alloc_buffer):
2727 Set offset on generic buffer allocated by fallback.
2729 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2731 * docs/gst/gstreamer-sections.txt:
2732 * docs/gst/tmpl/gstelement.sgml:
2734 * libs/gst/controller/gst-controller.c:
2735 (gst_controlled_property_set_interpolation_mode),
2736 (gst_controlled_property_new),
2737 (gst_controller_find_controlled_property):
2738 run the wingo-magic script against the docs
2740 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2742 * docs/gst/gstreamer-docs.sgml:
2743 * docs/gst/gstreamer-sections.txt:
2744 * docs/gst/tmpl/.cvsignore:
2745 * docs/gst/tmpl/gstelementdetails.sgml:
2746 * docs/gst/tmpl/gstelementfactory.sgml:
2749 * gst/gstelementfactory.c:
2750 * gst/gstelementfactory.h:
2751 merged elementdetails docs into elementfactory docs
2754 2005-09-02 Andy Wingo <wingo@pobox.com>
2756 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2757 consider this enum an enum and not a flags.
2759 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2761 * docs/gst/gstreamer-docs.sgml:
2762 * docs/gst/tmpl/.cvsignore:
2763 * docs/gst/tmpl/gstghostpad.sgml:
2764 * docs/gst/tmpl/gstiterator.sgml:
2765 * docs/gst/tmpl/gstmacros.sgml:
2766 * docs/gst/tmpl/gstrealpad.sgml:
2767 * docs/gst/tmpl/gstregistry.sgml:
2768 * docs/gst/tmpl/gstregistrypool.sgml:
2769 * docs/gst/tmpl/gststructure.sgml:
2770 * docs/gst/tmpl/gstsystemclock.sgml:
2771 * docs/gst/tmpl/gsttrace.sgml:
2772 * gst/gstghostpad.c:
2774 * gst/gstmemchunk.c:
2775 * gst/gstmemchunk.h:
2777 * gst/gstregistry.c:
2778 * gst/gstregistrypool.c:
2779 * gst/gststructure.c:
2780 * gst/gstsystemclock.c:
2783 2005-09-02 Andy Wingo <wingo@pobox.com>
2785 * gst/gstelement.h (GstState): Renamed from GstElementState,
2786 changed to be a normal enum instead of flags.
2787 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2788 munged to be GST_STATE_CHANGE_*.
2789 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2790 work with the new state representation.
2791 (GstStateChange): New enumeration of possible state transitions.
2792 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2793 (GstElementClass::change_state): Pass the GstStateChange along as
2794 an argument. Helps language bindings, so they don't have to use
2795 tricky lock-needing macros like GST_STATE_CHANGE ().
2797 * scripts/update-states (file): New script. Run it on a file to
2798 update it for state naming and API changes. Updates files in
2801 * All files updated for the new API.
2803 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2805 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2806 * gst/gstutils.c: (gst_util_set_value_from_string),
2807 (gst_util_set_object_arg):
2808 fix a bunch of unchecked return values
2809 * tools/gst-complete.c: (main):
2810 * gstreamer.spec.in:
2813 2005-09-01 Wim Taymans <wim@fluendo.com>
2815 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2816 (gst_base_sink_event), (gst_base_sink_do_sync),
2817 (gst_base_sink_handle_event):
2818 * gst/base/gstbasesink.h:
2819 Handle newsegments more correctly.
2824 * gst/gstevent.c: (gst_event_new_newsegment):
2825 A newsegment cannot have a start_time of -1
2827 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
2829 * win32/gstenumtypes.c:
2830 * win32/gstenumtypes.h:
2833 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2835 * libs/gst/controller/gst-controller.c:
2836 (gst_controlled_property_set_interpolation_mode),
2837 (gst_controlled_property_new):
2840 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2842 * docs/faq/gst-uninstalled:
2847 * gst/gstutils.c: (gst_element_link_filtered):
2849 add gst_element_link_filtered
2851 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2853 * docs/gst/gstreamer-docs.sgml:
2854 * docs/gst/gstreamer-sections.txt:
2855 * docs/gst/tmpl/.cvsignore:
2856 * docs/gst/tmpl/gsterror.sgml:
2857 * docs/gst/tmpl/gstfilter.sgml:
2858 * docs/gst/tmpl/gsturihandler.sgml:
2859 * docs/gst/tmpl/gsturitype.sgml:
2860 * docs/gst/tmpl/gstutils.sgml:
2861 * docs/gst/tmpl/gstxml.sgml:
2869 inlined more docs, fixed double id-ref
2871 2005-08-31 Wim Taymans <wim@fluendo.com>
2873 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2874 (gst_base_transform_handle_buffer):
2875 Passthrough elements don't need the caps as they don't care.
2877 2005-08-31 Wim Taymans <wim@fluendo.com>
2879 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2880 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2881 Don't leak refcounts on buffers.
2883 2005-08-31 Wim Taymans <wim@fluendo.com>
2885 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2886 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2887 (gst_base_transform_chain), (gst_base_transform_change_state):
2888 * gst/base/gstbasetransform.h:
2889 Handle the case where we are not negotiated more gracefully.
2891 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2893 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2894 (gst_file_src_map_region):
2895 Set READONLY flag on mmap'ed buffers, otherwise
2896 gst_buffer_make_writable() won't work properly (#314708).
2898 2005-08-31 Wim Taymans <wim@fluendo.com>
2900 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2901 passthrough elements can even do inplace on non writable
2902 buffers (as they don't touch them).
2904 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2906 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2907 (gst_test_mono_source_set_property),
2908 (gst_test_mono_source_class_init), (GST_START_TEST),
2909 (gst_controller_suite):
2910 more tests (hehe I have the most)
2912 describe popping messages whenusing mulltiple sources
2913 * libs/gst/controller/gst-controller.c:
2914 (gst_controlled_property_set_interpolation_mode),
2915 (gst_controlled_property_new):
2916 * libs/gst/controller/gst-controller.h:
2917 * libs/gst/controller/gst-interpolation.c:
2918 implement boolean properties
2920 2005-08-31 Wim Taymans <wim@fluendo.com>
2922 * gst/gstminiobject.c: (gst_mini_object_ref):
2923 Cannot assert that the refcount has to be positive
2924 since a disposed object can be resurrected.
2926 2005-08-31 Wim Taymans <wim@fluendo.com>
2928 * gst/gstpad.c: (gst_pad_init):
2929 Revert change, need to first fix badly behaving
2932 2005-08-30 Wim Taymans <wim@fluendo.com>
2934 * check/elements/fakesrc.c: (setup_fakesrc):
2935 * check/elements/identity.c: (setup_identity):
2936 Activate pads before using them.
2938 2005-08-30 Wim Taymans <wim@fluendo.com>
2940 * gst/base/gstadapter.c: (gst_adapter_flush):
2941 Flushing out 0 bytes is ok for this function.
2943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2944 no newsegment gives a warning and sets the start/stop to
2947 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2948 (gst_base_transform_set_passthrough):
2951 * gst/gstminiobject.c: (gst_mini_object_ref):
2952 Check refcount here too.
2954 * gst/gstpad.c: (gst_pad_init):
2955 Pads are initially flushing and refusing data.
2957 * gst/gstutils.c: (gst_element_link_pads_filtered):
2958 When adding a capsfilter element make sure it has the
2959 same state as the parent bin.
2961 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2963 * docs/gst/tmpl/.cvsignore:
2964 * docs/gst/tmpl/gstformat.sgml:
2965 * docs/gst/tmpl/gstversion.sgml:
2969 * gst/gstversion.h.in:
2970 more docs and two more inlined
2972 2005-08-30 Wim Taymans <wim@fluendo.com>
2974 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2975 Don't sync to clock.
2977 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2979 * docs/gst/gstreamer-sections.txt:
2980 ultral33t func10ns deserve to appear in the docs actually
2981 * docs/gst/tmpl/.cvsignore:
2982 * docs/gst/tmpl/gstcompat.sgml:
2983 * docs/gst/tmpl/gstconfig.sgml:
2984 * gst/check/gstcheck.c:
2986 * gst/gstconfig.h.in:
2989 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2991 * docs/gst/tmpl/.cvsignore:
2992 * docs/gst/tmpl/gstquery.sgml:
2993 * docs/gst/tmpl/gstutils.sgml:
2996 inlined and extended docs
2998 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3000 * check/gst-libs/controller.c: (GST_START_TEST),
3001 (gst_controller_suite):
3003 * docs/gst/tmpl/gstutils.sgml:
3004 * docs/libs/gstreamer-libs-sections.txt:
3005 * docs/libs/tmpl/gstdataprotocol.sgml:
3007 * examples/controller/audio-example.c: (main):
3008 controller example works now
3011 * tools/gst-inspect.c: (print_element_properties_info):
3012 show param spec flags
3014 2005-08-29 Andy Wingo <wingo@pobox.com>
3016 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3018 2005-08-28 Andy Wingo <wingo@pobox.com>
3020 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3021 as having two arguments instead of just one. Allows superclasses
3022 to access information on subclasses -- see the terrible for() loop
3023 in gtype.c:g_type_create_instance for the reason why. All callers
3026 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3028 * docs/design/part-messages.txt:
3030 * docs/gst/tmpl/.cvsignore:
3031 * docs/gst/tmpl/gstcaps.sgml:
3032 * docs/gst/tmpl/gstclock.sgml:
3039 added descriptions for bus and message
3040 inline caps and clock docs
3042 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3048 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3050 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3053 2005-08-26 Andy Wingo <wingo@pobox.com>
3055 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3056 element_set_state's return val.
3057 (test_2_elements): Add test that's been disabled for months.
3059 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3060 can-activate-pull properties.
3062 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3063 can-activate-pull properties. Implement is_seekable so fakesrc can
3064 operate in pull mode.
3066 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3068 (gst_base_sink_activate, gst_base_sink_activate_pull)
3069 (gst_base_sink_activate_push): Make activation mode choosing work.
3071 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3072 is right. Make pull mode work. Post an eos before pausing in pull
3074 (gst_base_sink_change_state): Pay attention to the core's
3075 change_state() return val.
3077 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3078 has-getrange properties. Cleanups.
3080 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3081 has_getrange and replace with can_activate_pull and
3084 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3085 locking comments. Remove has_loop, has_chain and replace with
3086 can_activate_pull and can_activate_push.
3088 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3091 * examples/Makefile.am:
3092 * examples/metadata/Makefile.am:
3093 * examples/metadata/read-metadata.c: (message_loop),
3094 (have_pad_handler), (make_pipeline), (print_tag), (main):
3095 Add metadata reading example that loops over a list of filenames,
3096 dumping any tags found.
3098 * gst/gstbus.c: (gst_bus_dispose):
3099 * gst/gstelement.c: (gst_element_dispose):
3100 Release a few potentially-held references in dispose.
3102 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3104 * docs/gst/tmpl/gstminiobject.sgml:
3105 do *not* add tmpl/*.sgml files to CVS!
3107 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3109 * libs/gst/bytestream/.cvsignore:
3110 * libs/gst/bytestream/Makefile.am:
3111 * libs/gst/bytestream/adapter.c:
3112 * libs/gst/bytestream/adapter.h:
3113 * libs/gst/bytestream/bytestream.c:
3114 * libs/gst/bytestream/bytestream.h:
3115 * libs/gst/bytestream/filepad.c:
3116 * libs/gst/bytestream/filepad.h:
3117 removing obsolete files
3119 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3121 * docs/gst/gstreamer-docs.sgml:
3122 * docs/libs/gstreamer-libs-docs.sgml:
3123 disabed additional index entries again, as this makes docs-gen just
3124 slow and they aren't useful yet
3125 * docs/libs/gstreamer-libs-sections.txt:
3126 little -section.txt cleanup for libs
3128 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3131 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3132 fix up some debugging
3133 (gst_base_transform_get_unit_size),
3134 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3135 (gst_base_transform_handle_buffer):
3136 * gst/base/gstbasetransform.h:
3137 handle and store timed NEWSEGMENT events so that subclasses that
3138 calculate time by counting samples have a segment_start time they
3139 need to add to their timestamps - see audioresample
3141 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3144 removed ';' from the end of macro defs
3145 * docs/gst/gstreamer-docs.sgml:
3146 * docs/gst/gstreamer-sections.txt:
3147 * docs/gst/tmpl/.cvsignore:
3149 * gst/gstelement.c: (gst_element_class_init),
3150 (gst_element_set_state), (activate_pads),
3151 (gst_element_save_thyself):
3152 * gst/gstevent.c: (gst_event_new_newsegment):
3154 * gst/gstiterator.c:
3155 * gst/gstiterator.h:
3158 * gst/gstutils.c: (gst_pad_query_convert):
3160 fixed parameter name mismatches between source, header and docs
3161 added some more docs, resolved the last batch of unused elements in
3162 docs (now someone needs to doc them)
3164 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3166 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3167 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3168 don't walk through the plugins backwards. Where is all this
3169 reversed logic coming from ?
3171 2005-08-25 Wim Taymans <wim@fluendo.com>
3173 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3174 (gst_base_transform_transform_size),
3175 (gst_base_transform_configure_caps),
3176 (gst_base_transform_get_unit_size),
3177 (gst_base_transform_buffer_alloc),
3178 (gst_base_transform_change_state):
3179 * gst/base/gstbasetransform.h:
3180 Cache caps unit_size.
3181 Make sure we cannot negotiate up and downstream at the
3184 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3186 * gst/gst.c: (init_pre), (init_post):
3187 register the installed plugin path after the env var
3188 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3189 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3190 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3191 directories, so the tests can prefer uninstalled over installed
3193 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3195 * gst/base/gstbasetransform.h:
3200 2005-08-25 Wim Taymans <wim@fluendo.com>
3202 * gst/gstbin.c: (bin_bus_handler):
3203 Be a bit more conservative about the posted message.
3205 * gst/gstbus.c: (gst_bus_post):
3206 Some cleanups, warn wrong return values.
3208 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3210 * check/gst/gstbin.c: (GST_START_TEST):
3211 * gst/gstbin.c: (bin_bus_handler):
3212 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3213 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3214 (gst_message_new_warning), (gst_message_new_tag),
3215 (gst_message_new_state_changed), (gst_message_new_segment_start),
3216 (gst_message_new_segment_done), (gst_message_new_custom):
3218 * tools/gst-launch.c: (event_loop):
3219 * tools/gst-md5sum.c: (event_loop):
3220 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3222 2005-08-25 Wim Taymans <wim@fluendo.com>
3224 * check/generic/states.c: (GST_START_TEST):
3225 Cleanup can be done at the end.
3227 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3228 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3229 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3230 Oh boy.. Thanks for finding this, Thomas.
3232 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3234 * docs/gst/gstreamer.types:
3237 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3239 * docs/gst/gstreamer-docs.sgml:
3240 * docs/gst/gstreamer-sections.txt:
3241 * docs/gst/tmpl/.cvsignore:
3243 * gst/gstiterator.c:
3245 * gst/registries/gstxmlregistry.h:
3246 added missing classes and symbols (123 more to go)
3247 removed removed symbols from section file
3248 fixed many doc-comments
3250 2005-08-24 Wim Taymans <wim@fluendo.com>
3252 * check/generic/states.c: (GST_START_TEST):
3253 Make sure all tasks are stopped.
3255 * check/gst/gstbin.c: (GST_START_TEST):
3256 Unref after usage for proper valgrinding.
3258 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3259 Really wait for the task to stop before destroying the
3262 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3263 (gst_queue_src_activate_push):
3264 Small cleanups. Don't stop the task when we did not start
3267 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3268 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3269 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3272 Protect the stream lock with the object lock.
3273 Disallow setting the stream lock when running.
3274 Add cleanup_all to wait for the threadpool to finish.
3275 Remove code to autoallocate a mutex if none was provided.
3276 Add _join() to wait for a task to stop.
3277 Protect the thread pool with a global lock.
3279 2005-08-24 Wim Taymans <wim@fluendo.com>
3281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3282 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3283 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3284 * gst/base/gstbasesink.h:
3285 Handle newsegment events correctly.
3286 Drop buffers out of the segment range.
3288 2005-08-22 Andy Wingo <wingo@pobox.com>
3290 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3291 macro, implements an interface and gstimplementsinterface for a
3294 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3296 * check/Makefile.am:
3297 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3298 add a test that does a bunch of state changes on elements
3299 needs some fixing for valgrind
3300 * check/states/sinks.c: (gst_object_suite):
3303 add prototype for gst_caps_is_equal_fixed
3305 * gst/gstregistrypool.c:
3308 2005-08-24 Andy Wingo <wingo@pobox.com>
3310 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3311 convert a negative value. Doesn't make much sense. Mostly this is
3312 here to force callers to ensure -1 maps to -1.
3314 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3316 * docs/pwg/advanced-types.xml:
3317 Well done to Michael for catching my deliberate introduction
3318 of this spelling mistake.
3319 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3321 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3322 unlink pads before removing the element from the bin.
3324 2005-08-24 Andy Wingo <wingo@pobox.com>
3326 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3327 the same thing as GST_DEBUG=*:4.
3328 (parse_debug_level, parse_debug_category): New helper parsers.
3330 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3332 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3333 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3334 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3335 (gst_base_transform_buffer_alloc),
3336 (gst_base_transform_handle_buffer):
3337 use gboolean return values and pointers to size so we can use the
3338 full GST_BUFFER_SIZE range (guint) for buffer sizes
3339 use GstPadDirection for transform_caps
3340 * gst/base/gstbasetransform.h:
3341 rename get_size to get_unit_size since that's what it is
3342 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3343 use GstPadDirection for transform_caps
3344 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3346 cleanup and debugging
3348 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3350 * gst/gstelement.c: (gst_element_class_init),
3351 (gst_element_set_state), (activate_pads),
3352 (gst_element_save_thyself):
3353 * tools/gst-compprep.c: (main):
3354 * tools/gst-inspect.c: (print_element_properties_info):
3355 * tools/gst-xmlinspect.c: (print_element_properties):
3356 Fixed long standing mem-leak
3358 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3360 * check/gst/gstbin.c: (GST_START_TEST):
3361 * gst/gstbin.c: (bin_bus_handler):
3362 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3363 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3364 (gst_message_new_warning), (gst_message_new_tag),
3365 (gst_message_new_state_changed), (gst_message_new_segment_start),
3366 (gst_message_new_segment_done), (gst_message_new_custom):
3368 * tools/gst-launch.c: (event_loop):
3369 * tools/gst-md5sum.c: (event_loop):
3370 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3371 that applications can sensibly post custom messages with references
3372 to their own objects.
3374 2005-08-24 Andy Wingo <wingo@pobox.com>
3376 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3379 2005-08-24 Wim Taymans <wim@fluendo.com>
3381 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3382 (gst_base_transform_transform_caps),
3383 (gst_base_transform_transform_size),
3384 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3385 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3386 (gst_base_transform_handle_buffer):
3387 * gst/base/gstbasetransform.h:
3388 Many fixes and new features added by Thomas. Can now also do
3389 transforms with variable sizes and a custom fixate_caps function.
3391 2005-08-24 Wim Taymans <wim@fluendo.com>
3393 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3397 Cast to ClockTime before formatting to time.
3402 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3404 * check/gst-libs/controller.c: (GST_START_TEST),
3405 (gst_controller_suite):
3406 * docs/gst/tmpl/gstcaps.sgml:
3407 * docs/gst/tmpl/gstghostpad.sgml:
3408 * docs/gst/tmpl/gstquery.sgml:
3409 * docs/gst/tmpl/gstutils.sgml:
3410 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3411 (gst_object_sink_values), (gst_object_get_value_arrays),
3412 (gst_object_get_value_array):
3413 gracefully handle helper method calls to objects that are not beeing
3414 controlled, added test case for that
3416 2005-08-23 Wim Taymans <wim@fluendo.com>
3418 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3419 (gst_event_new_newsegment), (gst_event_parse_newsegment),
3420 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3421 (gst_event_parse_qos), (gst_event_new_seek),
3422 (gst_event_parse_seek):
3424 Some more debugging output and doc cleanups.
3426 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3427 Fix possible deadlock.
3429 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3431 * docs/gst/gstreamer-docs.sgml:
3432 * docs/gst/gstreamer-sections.txt:
3433 * docs/gst/gstreamer.types:
3434 * docs/gst/tmpl/.cvsignore:
3439 added 100 symbols from gstreamer-unused.txt to the right sections
3440 fixed more broken comments
3441 added GstBus to docs
3443 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3445 * docs/gst/gstreamer-sections.txt:
3446 * docs/gst/tmpl/.cvsignore:
3447 * docs/gst/tmpl/gstbin.sgml:
3448 * docs/gst/tmpl/gstbuffer.sgml:
3449 * gst/base/gstbasesrc.c:
3450 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3453 * tools/gst-launch.1.in:
3454 inlined more doc comments, added missing comments and fixed comments
3457 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
3459 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3463 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3465 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3466 * gst/gststructure.h:
3467 add a fixate function for booleans; add a FIXME that these func
3468 names should probably be gst_structure_fixate_*
3470 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3472 * docs/gst/gstreamer-docs.sgml:
3473 * docs/gst/gstreamer-sections.txt:
3475 * gst/gstbin.c: (gst_bin_get_type),
3476 (gst_bin_child_proxy_get_child_by_index),
3477 (gst_bin_child_proxy_get_children_count),
3478 (gst_bin_child_proxy_init):
3479 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3480 (gst_child_proxy_get_child_by_index),
3481 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3482 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3483 (gst_child_proxy_get), (gst_child_proxy_set_property),
3484 (gst_child_proxy_set_valist), (gst_child_proxy_set),
3485 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3486 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3487 * gst/gstchildproxy.h:
3488 * gst/parse/grammar.y:
3489 * tools/gst-inspect.c: (print_interfaces),
3490 (print_element_properties_info), (print_element_info):
3491 ported gstchildproxy over from 0.8
3492 ported gst-inspect fixes and enhancements over from 0.8
3494 2005-08-22 Wim Taymans <wim@fluendo.com>
3496 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3497 (gst_base_transform_handle_buffer):
3498 Also call the transform function if we have ANY caps.
3500 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3503 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3505 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3506 Don't pretend to handle seek events if the source is not seekable
3508 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3510 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3511 Remove extra parameter to debug output
3513 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3514 (gst_base_src_do_seek), (gst_base_src_activate_push):
3515 Fix seek event handling.
3517 * gst/gstpipeline.c: (gst_pipeline_change_state):
3518 * gst/gstqueue.c: (gst_queue_handle_sink_event),
3519 (gst_queue_src_activate_push):
3520 Don't start the src pad task on FLUSH_STOP if the pad
3524 2005-08-22 Wim Taymans <wim@fluendo.com>
3526 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3527 Added check for gst_static_caps_get() refcounting.
3529 2005-08-22 Wim Taymans <wim@fluendo.com>
3531 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3532 Make _static_caps_get() refcounting sane.
3534 * gst/gstelement.c: (gst_element_set_state):
3535 Add g_return_val_if_fail() to protect against segfaults.
3537 2005-08-22 Stefan Kost <ensonic@users.sf.net>
3539 * docs/gst/tmpl/gstevent.sgml:
3542 inlined remaining docs, added missing doc comments
3544 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
3546 * check/gst/gstbin.c: (GST_START_TEST):
3547 since we don't know when preroll is done, use refcount range
3549 * gst/check/gstcheck.h:
3550 add macro for checking refcount range
3552 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3554 * check/Makefile.am:
3555 clean up environment for when registry gets built versus
3556 when actual tests are run; valgrind seems to not report
3557 leaks if GST_PLUGIN_PATH is set to some specific values
3558 * check/gst/gstbin.c: (GST_START_TEST):
3559 add more refcounting checks; maybe this exposes a
3562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3563 * gst/check/gstcheck.h:
3564 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3565 (gst_bin_change_state):
3566 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3567 add/fix debugging/whitespace
3569 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3571 * check/gst/gstevent.c: (event_probe), (test_event),
3573 Er, don't call gst_bin_watch_for_state_change you idiot.
3575 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3577 * check/Makefile.am:
3578 Use CHECK_CFLAGS and CHECK_LIBS
3579 * check/gst/gstevent.c: (event_probe), (test_event),
3582 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3583 (gst_base_src_start), (gst_base_src_stop),
3584 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3585 (gst_base_src_change_state):
3586 Sprinkle gst_base_src_stop liberally around error paths to fix
3587 problems reusing a source after failed state changes.
3588 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3589 (helper_find_suggest), (gst_type_find_helper):
3590 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3592 * docs/gst/tmpl/gstevent.sgml:
3593 Migrate part of the docs from the SGML file. Wait for ensonic to
3594 tell me how I did it wrong ;)
3595 * tools/gst-typefind.c: (main):
3596 Extra robustness to state changes between files.
3598 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3600 * check/Makefile.am:
3601 don't valgrind the controller test - it's leaking - Stefan, HELP
3602 * gst/check/gstcheck.c: (gst_check_message_error),
3603 (gst_check_chain_func), (gst_check_setup_element),
3604 (gst_check_teardown_element), (gst_check_setup_src_pad),
3605 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3606 (gst_check_teardown_sink_pad):
3607 * gst/check/gstcheck.h:
3608 add a bunch of methods to set up elements, and src and sink pads
3609 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3610 * check/elements/identity.c: (setup_identity), (cleanup_identity),
3615 whitespace/doc fixes
3617 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3620 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3621 be handled by the application and not always printed as well
3623 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3625 * check/Makefile.am:
3627 * gst/check/gstcheck.c: (gst_check_message_error):
3628 * gst/check/gstcheck.h:
3629 add a fail_unless_equals_int
3630 add fail_unless for error messages
3632 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3634 * check/Makefile.am:
3636 * common/Makefile.am:
3639 factor out some of the common stuff so we can use it
3641 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3643 * check/Makefile.am:
3644 * check/gst/gstiterator.c: (GST_START_TEST):
3645 * check/gst/gstsystemclock.c: (GST_START_TEST),
3646 (gst_systemclock_suite):
3647 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3651 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3653 * check/elements/.cvsignore:
3654 * check/elements/gstfakesrc.c:
3655 rename to name of element
3656 * check/elements/identity.c: (chain_func), (event_func),
3657 (setup_identity), (cleanup_identity), (GST_START_TEST),
3658 (identity_suite), (main):
3659 add a test for identity
3660 * check/Makefile.am:
3661 * pkgconfig/Makefile.am:
3662 * pkgconfig/gstreamer-check.pc.in:
3663 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3667 move the check stuff to a library that gets installed
3668 * check/gst-libs/controller.c: (GST_START_TEST):
3669 * check/gst-libs/gdp.c:
3670 * check/gst/gst.c: (GST_START_TEST):
3671 * check/gst/gstbin.c:
3672 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3673 * check/gst/gstbus.c:
3674 * check/gst/gstcaps.c: (GST_START_TEST):
3675 * check/gst/gstelement.c:
3676 * check/gst/gstghostpad.c:
3677 * check/gst/gstiterator.c:
3678 * check/gst/gstmessage.c:
3679 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3680 * check/gst/gstobject.c:
3681 * check/gst/gstpad.c: (GST_START_TEST):
3682 * check/gst/gststructure.c: (GST_START_TEST):
3683 * check/gst/gstsystemclock.c: (GST_START_TEST),
3684 (gst_systemclock_suite):
3685 * check/gst/gsttag.c: (gst_tag_suite):
3686 * check/gst/gstvalue.c:
3687 * check/pipelines/cleanup.c:
3688 * check/pipelines/simple_launch_lines.c:
3689 * check/states/sinks.c:
3690 change include statement
3692 * docs/gst/gstreamer-sections.txt:
3693 * docs/gst/tmpl/gstpad.sgml:
3694 document more pad stuff
3695 * gst/gstminiobject.c: (gst_mini_object_ref),
3696 (gst_mini_object_unref):
3699 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3701 * docs/gst/tmpl/gst.sgml:
3703 eliminate another tmpl file, fix spelling in the long-description
3705 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3707 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3708 (test_event), (timediff), (gstevents_suite):
3709 Should fix build on 64-bit arch's
3711 2005-08-18 Andy Wingo <wingo@pobox.com>
3713 Make sure that when a pipeline goes to PLAYING, that data has
3714 actually hit the sink.
3716 * check/states/sinks.c (test_sink): A sink that doesn't get any
3717 data shouldn't return SUCCESS for going to either PLAYING or
3718 PAUSED. Test also the return values on the way back down.
3720 * gst/gstelement.c (gst_element_set_state): When changing the
3721 state of an element currently changing state asynchronously, go to
3722 lost-state after commiting the pending state. Makes future calls
3723 to get_state continue to return ASYNC.
3725 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3726 ASYNC when going to PLAYING if we still don't have preroll, as can
3727 happen with live sources.
3729 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3731 * docs/pwg/advanced-types.xml:
3732 Hack long paragraph into 2 chunks as a workaround for buggy
3733 jadetex version in sid and breezy that loops infinitely and
3736 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3738 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3739 (test_event), (timediff), (gstevents_suite):
3740 Provide more error margin in clock measurements to allow for
3741 g_get_current_time inaccuracies.
3743 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3745 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3746 (test_event), (timediff), (gstevents_suite):
3747 Fix error message output so I might be able to tell why the
3748 test works here but fails on the build farm.
3750 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3752 * check/Makefile.am:
3753 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3754 (test_event), (timediff), (gstevents_suite), (main):
3757 * docs/design/part-seeking.txt:
3760 * docs/gst/tmpl/gstevent.sgml:
3761 * docs/gst/tmpl/gstfakesrc.sgml:
3764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3765 Treat a buffer-without-newsegment the same as a receiving
3766 a newsegment not in time format, and disable syncing to the clock
3769 * gst/gstbus.c: (gst_bus_set_sync_handler):
3770 Assert if anyone tries to replace the existing sync_handler for bus,
3771 as only the owner should be setting it.
3774 Have a fixed set of custom event enums with events identified by
3775 their structure name (as in 0.8), rather than a free-for-all
3776 allowing collisions between enum values from different plugins.
3778 * gst/gstpad.c: (gst_pad_class_init):
3781 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3782 Handle out-of-band downstream events from the sending thread.
3784 2005-08-17 Andy Wingo <wingo@pobox.com>
3786 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3787 play-timeout==0 to mean no timeout at all. In that case, don't
3788 bother with a get_state or a warning, just return directly, even
3791 * gst/base/gstbasetransform.c: Debug changes.
3794 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3795 ensure bins post state change messages. A bit of a hack but I can't
3796 think of a way to avoid it.
3798 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3800 2005-08-16 Andy Wingo <wingo@pobox.com>
3802 * gst/base/gstadapter.h:
3803 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3804 peek() but you own the data. Not terribly efficient atm.
3806 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3808 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3809 (gst_element_found_tags):
3811 Add two utility functions for tag handling.
3813 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3815 * docs/manual/advanced-dataaccess.xml:
3816 * docs/manual/basics-helloworld.xml:
3817 Fix docs to use _bin_add() before _link(), which fixes the examples
3818 with recent core versions (reported by Madhan Raj M
3819 <raj_madan@rediffmail.com>, #313199).
3821 2005-08-16 Wim Taymans <wim@fluendo.com>
3823 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3824 Added subtract checks.
3826 * docs/design/part-events.txt:
3827 Some more docs about newsegment
3829 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3832 * gst/gstcaps.c: (gst_caps_to_string):
3833 Add comments, cleanups.
3835 * gst/gstelement.c: (gst_element_save_thyself):
3838 * gst/gstvalue.c: (gst_value_collect_int_range),
3839 (gst_string_unwrap), (gst_value_union_int_int_range),
3840 (gst_value_union_int_range_int_range),
3841 (gst_value_intersect_int_int_range),
3842 (gst_value_intersect_int_range_int_range),
3843 (gst_value_intersect_double_double_range),
3844 (gst_value_intersect_double_range_double_range),
3845 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3846 (gst_value_subtract_int_range_int),
3847 (gst_value_subtract_double_range_double),
3848 (gst_value_subtract_double_range_double_range),
3849 (gst_value_subtract_from_list), (gst_value_subtract_list),
3850 (gst_value_can_compare), (gst_value_compare_fraction):
3851 Cleanups, add comments, remove unneeded asserts.
3853 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3855 * tools/gst-launch.c: (event_loop):
3856 don't convert NULL structures to strings
3858 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3860 * docs/gst/gstreamer-sections.txt:
3861 made some defines private
3862 * docs/gst/tmpl/gstconfig.sgml:
3863 * docs/gst/tmpl/gstqueue.sgml:
3864 * docs/gst/tmpl/gsttaglist.sgml:
3865 * docs/gst/tmpl/gsttypes.sgml:
3866 * docs/gst/tmpl/gstutils.sgml:
3867 * docs/pwg/appendix-porting.xml:
3868 * gst/base/gstbasesink.h:
3869 * gst/base/gstbasesrc.c:
3870 * gst/base/gstbasesrc.h:
3871 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3872 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3873 * gst/gstelement.c: (gst_element_class_init):
3874 * gst/gstpad.c: (gst_pad_class_init):
3875 * gst/gstqueue.c: (gst_queue_class_init):
3876 * gst/gstxml.c: (gst_xml_class_init):
3877 documented all undocumented signal inline
3878 * libs/gst/controller/gst-controller.h:
3881 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3883 * docs/pwg/appendix-porting.xml:
3884 Document _set_link_function -> _set_setcaps_function.
3886 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3888 * check/Makefile.am:
3889 add a .check target for running the check
3890 * check/gst-libs/controller.c: (GST_START_TEST):
3892 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3893 complete checks for gstbuffer; would be nice if I could get the
3894 gcov stuff to work so I can see if I actually completed gstbuffer.c
3896 add ASSERT_BUFFER_REFCOUNT
3898 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3900 * docs/gst/gstreamer-sections.txt:
3901 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3903 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3904 spew out a warning if a tag that is already registered
3905 is re-registered, unless it is re-registered with a
3906 different type (#308438).
3908 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3910 * docs/pwg/appendix-porting.xml:
3911 * docs/pwg/building-state.xml:
3912 Add some paragraphs about state changes in 0.9 to the PWG
3913 and the porting guide, in particular about the new meaning
3914 of GST_STATE_PAUSED and how to write state change functions
3915 with concurrent access by multiple threads in mind.
3917 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3919 * docs/gst/gstreamer-docs.sgml:
3920 * docs/libs/gstreamer-libs-docs.sgml:
3921 added deprecation and since indexes
3922 * libs/gst/controller/gst-controller.c:
3923 * libs/gst/controller/gst-helper.c:
3927 2005-08-11 Wim Taymans <wim@fluendo.com>
3929 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3930 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3931 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3932 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3933 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3934 (gst_ghost_pad_set_target):
3935 Actually implement (re)setting the target on a ghostpad
3936 as described in the docs.
3938 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3940 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3941 Check whether GST_DEBUG_NO_COLOR environment variable is
3942 set and disable coloured debug output if that is the case.
3944 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3946 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3947 (gst_type_find_helper):
3948 The memory returned by gst_type_find_peek() needs to
3949 stay valid until the end of a typefind function, and
3950 typefind functions may keep results from different
3951 offsets around, so we can't just unref the buffer from
3952 the previous _peek(), but have to save all buffers
3953 returned by _peek() until typefinding is done and only
3956 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3958 * docs/gst/gstreamer-sections.txt:
3960 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3962 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3964 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3965 Fix a pretty good memleak.
3967 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3969 * gst/gstiterator.h:
3970 Fix wrong include and 'make distcheck'.
3972 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3974 * gst/gstbin.c: (bin_bus_handler):
3975 Use gst_element_post_message() instead.
3977 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3979 * gst/base/gstadapter.h:
3980 * gst/base/gstbasesink.h:
3981 * gst/base/gstbasesrc.h:
3982 * gst/base/gstbasetransform.h:
3983 * gst/base/gstcollectpads.h:
3984 * gst/base/gstpushsrc.h:
3985 * gst/gstiterator.h:
3986 Add padding to our base elements' class and instance structs and
3987 to GstIterator (you will need to rebuild all plugins and apps!)
3989 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3991 * gst/gstbin.c: (bin_bus_handler):
3992 Make default message forwarding from child->bus to bin->bus
3993 threadsafe and make it not emit warnings if the parent has no bus.
3995 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3997 * gst/gstelement.c: (activate_pads):
3998 On paused->ready, set pad->caps to NULL, as is the documented
3999 behaviour in this state change. Fixes playback of series of
4000 media files when visualization is enabled in Totem.
4002 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4004 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4005 Allow NULL as filter-caps (which means "any").
4007 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4009 * docs/libs/gstreamer-libs-sections.txt:
4010 * libs/gst/controller/gst-controller.c:
4011 * libs/gst/controller/gst-controller.h:
4012 * libs/gst/controller/gst-helper.c:
4013 adding more entries to the docs and fix small doc-bugs
4015 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4017 * docs/gst/gstreamer-docs.sgml:
4018 * docs/gst/gstreamer-sections.txt:
4019 * docs/gst/gstreamer.types:
4020 * docs/gst/tmpl/gstbasesink.sgml:
4021 * docs/gst/tmpl/gstbasesrc.sgml:
4022 * docs/gst/tmpl/gstbasetransform.sgml:
4023 * docs/gst/tmpl/gstfakesrc.sgml:
4024 * gst/base/gstcollectpads.c:
4025 * gst/base/gstcollectpads.h:
4026 * libs/gst/controller/gst-controller.c:
4027 * libs/gst/controller/gst-controller.h:
4028 * libs/gst/controller/gst-helper.c:
4029 * libs/gst/controller/gst-interpolation.c:
4030 * libs/gst/controller/lib.c:
4031 added long/short desc for controller docs
4032 added collectpads base class docs
4033 added correct includes to base-class docs
4035 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4037 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4038 (gst_test_mono_source_set_property),
4039 (gst_test_mono_source_class_init), (GST_START_TEST),
4040 (gst_controller_suite):
4041 * docs/gst/gstreamer-docs.sgml:
4042 * docs/gst/gstreamer-sections.txt:
4043 * docs/gst/gstreamer.types:
4044 * docs/libs/gstreamer-libs-docs.sgml:
4045 * docs/libs/gstreamer-libs-sections.txt:
4046 * gst/base/gstadapter.c:
4047 * libs/gst/controller/gst-controller.c:
4048 (gst_controlled_property_new), (gst_controlled_property_free),
4049 (gst_controller_new_valist),
4050 (gst_controller_remove_properties_valist),
4051 (gst_controller_sink_values), (_gst_controller_finalize):
4052 * libs/gst/controller/gst-controller.h:
4053 * libs/gst/controller/gst-helper.c:
4054 (gst_object_control_properties), (gst_object_uncontrol_properties),
4055 (gst_object_get_controller), (gst_object_set_controller),
4056 (gst_object_sink_values), (gst_object_get_value_arrays),
4057 (gst_object_get_value_array):
4058 more tests (and fixes) for the controller
4059 more docs for the controller
4060 integrated companies docs for the adapter
4062 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4064 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4065 (GST_START_TEST), (fakesrc_suite):
4066 add tests for sizetype
4068 2005-08-04 Andy Wingo <wingo@pobox.com>
4070 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4071 fixes buffer_alloc proxying among other things.
4073 * gst/base/gstbasetransform.c:
4074 * gst/base/gstbasetransform.h:
4075 Revert patch to gstbasetransform from 7-28 removing
4078 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4079 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4080 Semantics changed, should return not the size of the output buffer
4081 but the byte size of a buffer with a given caps.
4083 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4085 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4086 out) are not the pad caps until setcaps finishes.
4087 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4088 not-in-place case as well. Deal with changing from in-place to
4089 not-in-place within calling pad_alloc_buffer. Still a bit
4090 concerned about the overhead here...
4092 2005-08-03 Andy Wingo <wingo@pobox.com>
4094 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4095 fixating is an error.
4097 2005-08-04 Edward Hervey <edward@fluendo.com>
4099 * gst/base/gstadapter.h:
4100 Added gst_adapter_get_type() to the header
4102 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4104 * check/Makefile.am:
4105 * check/gst-libs/controller.c:
4106 * libs/gst/controller/gst-controller.c:
4107 (gst_controller_new_valist):
4108 added check test suite for the controller
4109 * gst/base/gstpushsrc.c:
4112 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4114 * docs/gst/Makefile.am:
4115 * docs/gst/gstreamer-docs.sgml:
4116 * docs/gst/gstreamer-sections.txt:
4117 * docs/gst/gstreamer.types:
4118 * docs/gst/tmpl/gstfakesrc.sgml:
4120 * gst/base/gstbasesink.c:
4121 * gst/base/gstbasesink.h:
4122 * gst/base/gstbasesrc.c:
4123 * gst/base/gstbasesrc.h:
4124 * gst/base/gstbasetransform.c:
4125 * gst/base/gstpushsrc.c:
4126 * gst/base/gstpushsrc.h:
4127 add short/long description docs to base classes
4128 add pushsrc to the docs
4129 remove consolidated doc fragments
4131 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4134 * docs/libs/Makefile.am:
4135 * docs/libs/gstreamer-libs-docs.sgml:
4136 * docs/libs/gstreamer-libs-sections.txt:
4137 * docs/libs/gstreamer-libs.types:
4138 * examples/Makefile.am:
4139 * examples/controller/.cvsignore:
4140 * examples/controller/Makefile.am:
4141 * examples/controller/audio-example.c: (main):
4142 * libs/gst/Makefile.am:
4143 * libs/gst/controller/.cvsignore:
4144 * libs/gst/controller/Makefile.am:
4145 * libs/gst/controller/gst-controller.c:
4146 (on_object_controlled_property_changed), (gst_timed_value_compare),
4147 (gst_timed_value_find),
4148 (gst_controlled_property_set_interpolation_mode),
4149 (gst_controlled_property_new), (gst_controlled_property_free),
4150 (gst_controller_find_controlled_property),
4151 (gst_controller_new_valist), (gst_controller_new),
4152 (gst_controller_remove_properties_valist),
4153 (gst_controller_remove_properties), (gst_controller_set),
4154 (gst_controller_set_from_list), (gst_controller_unset),
4155 (gst_controller_get), (gst_controller_get_all),
4156 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4157 (gst_controller_get_value_array),
4158 (gst_controller_set_interpolation_mode),
4159 (_gst_controller_finalize), (_gst_controller_init),
4160 (_gst_controller_class_init), (gst_controller_get_type):
4161 * libs/gst/controller/gst-controller.h:
4162 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4163 (g_object_uncontrol_properties), (g_object_get_controller),
4164 (g_object_set_controller), (g_object_sink_values),
4165 (g_object_get_value_arrays), (g_object_get_value_array):
4166 * libs/gst/controller/gst-interpolation.c:
4167 (gst_controlled_property_find_timed_value_node),
4168 (interpolate_none_get), (interpolate_trigger_get),
4169 (interpolate_trigger_get_value_array):
4170 * libs/gst/controller/lib.c: (gst_controller_init):
4171 * pkgconfig/Makefile.am:
4172 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4173 * pkgconfig/gstreamer-control.pc.in:
4174 * testsuite/Makefile.am:
4175 * testsuite/controller/.cvsignore:
4176 * testsuite/controller/Makefile.am:
4177 * testsuite/controller/interpolator.c: (main):
4178 added controller code
4179 removed dparam pc files
4181 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4182 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4183 (gst_collectpads_stop):
4184 Broadcast the condition when shutting down, to make sure we wake all
4185 threads up. Shut down pads on finalize, for safety.
4187 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4188 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4189 (gst_base_transform_handle_buffer),
4190 (gst_base_transform_change_state):
4191 Handle PAUSED->READY->PAUSED transition after negotiation
4193 * gst/gstmessage.c: (gst_message_init):
4194 Extra piece of debug for new messages.
4196 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4199 * docs/gst/tmpl/gstbasesrc.sgml:
4200 * docs/gst/tmpl/gstelement.sgml:
4201 * docs/gst/tmpl/gstevent.sgml:
4202 * docs/gst/tmpl/gstfakesrc.sgml:
4203 * docs/gst/tmpl/gstformat.sgml:
4204 * docs/gst/tmpl/gstghostpad.sgml:
4205 * docs/gst/tmpl/gstpad.sgml:
4206 * docs/gst/tmpl/gstquery.sgml:
4207 * docs/gst/tmpl/gststructure.sgml:
4208 * docs/gst/tmpl/gsttaglist.sgml:
4209 * docs/gst/tmpl/gstvalue.sgml:
4210 * docs/libs/gstreamer-libs-docs.sgml:
4211 * docs/libs/gstreamer-libs-sections.txt:
4212 * docs/libs/gstreamer-libs.types:
4213 * libs/gst/Makefile.am:
4214 * libs/gst/control/.cvsignore:
4215 * libs/gst/control/Makefile.am:
4216 * libs/gst/control/control.c:
4217 * libs/gst/control/control.h:
4218 * libs/gst/control/dparam.c:
4219 * libs/gst/control/dparam.h:
4220 * libs/gst/control/dparam_smooth.c:
4221 * libs/gst/control/dparam_smooth.h:
4222 * libs/gst/control/dparamcommon.h:
4223 * libs/gst/control/dparammanager.c:
4224 * libs/gst/control/dparammanager.h:
4225 * libs/gst/control/dplinearinterp.c:
4226 * libs/gst/control/dplinearinterp.h:
4227 * libs/gst/control/unitconvert.c:
4228 * libs/gst/control/unitconvert.h:
4229 * testsuite/Makefile.am:
4230 * testsuite/dynparams/.cvsignore:
4231 * testsuite/dynparams/Makefile.am:
4232 * testsuite/dynparams/dparamstest.c:
4233 * tools/Makefile.am:
4234 * tools/gst-inspect.c: (print_element_info), (main):
4235 * tools/gst-xmlinspect.c: (print_element_info), (main):
4236 deactivate and remove dparams (libgstcontrol)
4238 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4240 * gst/elements/gsttypefindelement.c:
4241 (gst_type_find_element_have_type), (gst_type_find_element_init),
4242 (stop_typefinding), (gst_type_find_element_handle_event),
4243 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4244 * gst/elements/gsttypefindelement.h:
4245 Set caps on all outgoing buffers, not just the first one.
4247 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4249 * gst/elements/gsttypefindelement.c:
4250 (gst_type_find_element_have_type),
4251 (gst_type_find_element_check_set_buffer_caps),
4252 (gst_type_find_element_init), (stop_typefinding),
4253 (gst_type_find_element_handle_event),
4254 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4255 * gst/elements/gsttypefindelement.h:
4256 Set caps on first outgoing buffer when we've found the type.
4258 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4260 * docs/gst/gstreamer-docs.sgml:
4261 * docs/gst/gstreamer-sections.txt:
4262 * docs/gst/tmpl/gstscheduler.sgml:
4263 * docs/gst/tmpl/gstschedulerfactory.sgml:
4264 Remove some old cruft from docs.
4266 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
4269 Fix inline docs for GstPadLinkReturn.
4271 * gst/gststructure.c: (gst_structure_has_name):
4272 * gst/gststructure.h:
4273 * docs/gst/gstreamer-sections.txt:
4274 New API: gst_structure_has_name().
4276 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
4279 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4280 and _LARGEFILE_SOURCE in config.h as required. Do not
4281 export those flags in our .pc files any longer (#142209).
4283 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4285 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4286 (gst_file_sink_do_seek), (gst_file_sink_event),
4287 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4288 Redo seek/tell calls with large file support in mind; add some
4289 debugging messages; add log message that tells us when large
4290 file support is unavailable or not enabled for some reason.
4292 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4293 Add log message that tells us when large file support
4294 is unavailable or not enabled for some reason.
4296 2005-07-29 Wim Taymans <wim@fluendo.com>
4298 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4299 Added test for removing an element with ghostpad from a bin.
4300 Fixed test as current implementation does the right thing.
4302 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4303 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4304 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4305 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4306 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4307 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4308 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4309 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4310 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4311 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4312 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4313 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4314 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4315 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4316 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4317 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4318 * gst/gstghostpad.h:
4319 Clean up ghostpads, remove properties for internal stuff.
4322 Prepare for switching targets, not all use cases work yet.
4324 2005-07-29 Wim Taymans <wim@fluendo.com>
4326 * docs/design/part-gstghostpad.txt:
4329 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4330 (gst_bin_remove_func):
4331 Unlinking pads while holding the bin LOCK is not a good
4334 * gst/gstpad.c: (gst_pad_class_init),
4335 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4336 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4337 No prob setting template after creating the pad.
4339 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4341 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4342 (gst_bus_peek), (gst_bus_source_dispatch),
4343 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4344 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4345 gst_bus_poll may be called from other threads. Handle
4346 this nicely by not making poll_data disappear off the
4347 stack once gst_bus_poll returns.
4348 gst_bus_peek now increments the refcount on the returned
4351 2005-07-29 Wim Taymans <wim@fluendo.com>
4353 * docs/design/part-gstghostpad.txt:
4354 Overview of current GhostPad datastructures and use
4355 cases for changing the target.
4357 2005-07-28 Wim Taymans <wim@fluendo.com>
4359 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4360 Added checks for hierarchy consistency whan adding linked
4363 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4364 Added check to test element scheduling without bin/pipeline.
4366 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4367 First add elements to bin, then link.
4369 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4370 (gst_bin_remove_func):
4371 Unlink pads from elements added/removed from bin to maintain
4372 hierarchy consistency.
4374 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4376 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4377 (gst_base_transform_handle_buffer):
4378 * gst/base/gstbasetransform.h:
4379 Remove broken delay_configure (fixes renegotiation of software
4380 scaling pipelines); remove some leftover printf()s.
4382 2005-07-28 Wim Taymans <wim@fluendo.com>
4384 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4385 Added some more tests for wrong hierarchy
4387 * docs/design/part-overview.txt:
4390 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4393 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4394 (gst_element_dispose):
4397 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4398 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4399 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4400 (gst_pad_set_caps), (gst_pad_send_event):
4401 Check for correct hierarchy when linking pads. Moving to
4402 strict requirement for ghostpads when linking elements in
4406 Clean ups. Added WRONG_HIERARCHY return value.
4408 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4410 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4411 Better debug if no transform is possible.
4413 2005-07-27 Wim Taymans <wim@fluendo.com>
4415 * docs/random/wtay/network-transp:
4418 2005-07-27 Wim Taymans <wim@fluendo.com>
4420 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4421 (gst_dp_event_from_packet):
4422 Fix serialization of seek events.
4424 2005-07-27 Wim Taymans <wim@fluendo.com>
4426 * check/gst-libs/gdp.c: (GST_START_TEST):
4427 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4428 Fix compilation and fix event serialization.
4430 2005-07-27 Wim Taymans <wim@fluendo.com>
4433 * docs/design/part-TODO.txt:
4434 * docs/design/part-events.txt:
4437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4438 (gst_base_sink_event), (gst_base_sink_do_sync),
4439 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4440 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4441 (gst_base_src_do_seek), (gst_base_src_event_handler),
4442 (gst_base_src_loop):
4443 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4444 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4445 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4446 (gst_base_transform_event), (gst_base_transform_handle_buffer),
4447 (gst_base_transform_set_passthrough),
4448 (gst_base_transform_is_passthrough):
4449 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4450 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4456 * gst/gstelement.c: (gst_element_seek):
4458 Update gst_element_seek.
4460 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4461 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4462 (gst_event_new_flush_start), (gst_event_new_flush_stop),
4463 (gst_event_new_eos), (gst_event_new_newsegment),
4464 (gst_event_parse_newsegment), (gst_event_new_tag),
4465 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4466 (gst_event_parse_qos), (gst_event_new_seek),
4467 (gst_event_parse_seek), (gst_event_new_navigation):
4469 Make GstEvent use GstStructure. Add parsing code, make sure the
4470 API is sufficiently generic.
4471 Mark possible directions of events and serialization.
4473 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4474 (_gst_message_copy), (gst_message_new_segment_start),
4475 (gst_message_new_segment_done), (gst_message_new_custom),
4476 (gst_message_parse_segment_start),
4477 (gst_message_parse_segment_done):
4480 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4481 (gst_pad_set_caps), (gst_pad_send_event):
4482 Update for new events.
4483 Catch events sent in wrong directions.
4485 * gst/gstqueue.c: (gst_queue_link_src),
4486 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4487 (gst_queue_handle_src_query):
4492 Remove event code from this file.
4494 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4495 (gst_dp_event_from_packet):
4498 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4500 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4501 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4502 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4503 Make debugging actually useful.
4505 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4507 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4508 (gst_pad_fixate_caps):
4509 Implement default fixation once again, so that gst_pad_fixate()
4510 actually does anything at all. This probably needs to be some
4511 sort of a last resort, and use profile-based fixation first, but
4512 since that doesn't exist yet, this is the best we have. Fixes
4513 visualization in Totem.
4515 2005-07-22 Wim Taymans <wim@fluendo.com>
4517 * docs/design/part-events.txt:
4520 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4521 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4522 (gst_base_sink_activate_pull):
4525 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4526 (gst_fake_src_create):
4527 Fix handoff marshall.
4529 * gst/elements/gstidentity.c: (gst_identity_class_init),
4530 (gst_identity_transform_ip):
4531 We're a real inplace element.
4533 * gst/gstbus.c: (gst_bus_post):
4534 Added some comments.
4536 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4537 * tests/muxing/case1.c: (main):
4538 * tests/sched/dynamic-pipeline.c: (main):
4539 * tests/sched/interrupt1.c: (main):
4540 * tests/sched/interrupt2.c: (main):
4541 * tests/sched/interrupt3.c: (main):
4542 * tests/sched/runxml.c: (main):
4543 * tests/sched/sched-stress.c: (main):
4544 * tests/seeking/seeking1.c: (event_received), (main):
4545 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4547 * tests/threadstate/threadstate3.c: (main):
4548 * tests/threadstate/threadstate4.c: (main):
4549 * tests/threadstate/threadstate5.c: (main):
4552 2005-07-21 Wim Taymans <wim@fluendo.com>
4554 * docs/design/part-seeking.txt:
4555 Some small additions.
4557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4558 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4559 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4560 * gst/base/gstbasesink.h:
4561 discont values are gint64, handle the math correctly.
4563 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4564 Make the basesrc report error if the source pad is not linked.
4566 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4567 (gst_queue_loop), (gst_queue_handle_src_query),
4568 (gst_queue_src_activate_push):
4569 Make queue collect data even if the srcpad is not linked.
4570 Start pushing out data as soon as it is linked.
4572 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4574 Added gst_flow_get_name() to ease error reporting.
4576 2005-07-20 Wim Taymans <wim@fluendo.com>
4578 * gst/gstmessage.c: (gst_message_new_segment_start),
4579 (gst_message_new_segment_done), (gst_message_parse_segment_start),
4580 (gst_message_parse_segment_done):
4582 Added a bunch of messages for advanced seeking.
4584 * gst/parse/grammar.y:
4585 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4586 (gst_dpman_state_changed):
4587 Fix some new-pad -> pad-added signals
4589 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4591 * docs/manual/appendix-porting.xml:
4592 * docs/pwg/appendix-porting.xml:
4593 Document new-pad/state-change signal renames and the FixedList
4596 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4598 * docs/manual/advanced-autoplugging.xml:
4599 * docs/manual/basics-helloworld.xml:
4600 * docs/manual/basics-pads.xml:
4601 * docs/random/ds/0.9-suggested-changes:
4602 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4607 * gst/gststructure.c: (gst_structure_value_get_generic_type),
4608 (gst_structure_parse_array), (gst_structure_parse_value):
4609 * gst/gstvalue.c: (gst_type_is_fixed),
4610 (gst_value_list_prepend_value), (gst_value_list_append_value),
4611 (gst_value_list_get_size), (gst_value_list_get_value),
4612 (gst_value_transform_array_string), (gst_value_serialize_array),
4613 (gst_value_deserialize_array), (gst_value_intersect_array),
4614 (gst_value_is_fixed), (_gst_value_initialize):
4616 GstElement::new-pad -> pad-added, GstElement::state-change ->
4617 state-changed, GstValueFixedList -> GstValueArray, add format and
4618 flags as their own arguments in gst_element_seek() (should improve
4619 "bindeability"), remove function generators since they don't work
4620 under a whole bunch of compilers (they were deprecated already
4623 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4625 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4626 (_gst_debug_register_funcptr):
4628 Fix illegal cast on some platforms (#309253).
4630 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4632 * gst/gstmessage.c: (gst_message_new_custom):
4634 Add _new_custom, make _new_application a macro to _new_custom.
4636 2005-07-20 Wim Taymans <wim@fluendo.com>
4638 * gst/base/gstbasesrc.c: (gst_base_src_init),
4639 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4640 * gst/base/gstbasesrc.h:
4641 Add a gboolean to decide when to push out a discont.
4643 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4644 (gst_queue_loop), (gst_queue_handle_src_query),
4645 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4646 (gst_queue_set_property), (gst_queue_get_property):
4649 * tests/threadstate/threadstate1.c: (main):
4650 Make a thread test compile and run... very silly..
4653 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4655 * docs/manual/appendix-porting.xml:
4656 Mention removal of libgstgconf-0.9.la and existence of gconf
4659 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4661 * docs/pwg/advanced-clock.xml:
4662 * docs/pwg/appendix-porting.xml:
4663 * docs/pwg/intro-preface.xml:
4664 * docs/pwg/other-base.xml:
4665 * docs/pwg/other-manager.xml:
4666 * docs/pwg/other-nton.xml:
4667 * docs/pwg/other-ntoone.xml:
4668 * docs/pwg/other-oneton.xml:
4670 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4671 demuxer), remove n-to-n (was never written), fix some code examples
4672 and links and update the porting section to include all this.
4674 2005-07-19 Wim Taymans <wim@fluendo.com>
4676 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4677 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4678 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4679 (gst_queue_src_activate_push), (gst_queue_change_state),
4680 (gst_queue_get_property):
4682 Propagate GstFlowReturn more intelligently upstream and output
4683 an ERROR/EOS when streaming stopped due to fatal error.
4685 2005-07-19 Wim Taymans <wim@fluendo.com>
4687 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4688 Don't block forever for the state change to complete, the
4689 pipeline already did with a sensible timeout.
4691 2005-07-19 Wim Taymans <wim@fluendo.com>
4693 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4694 Make sure we never call the create function is we
4697 2005-07-19 Andy Wingo <wingo@pobox.com>
4699 * gst/parse/parse.l: Attempt to solve bug #172815.
4701 2005-07-19 Wim Taymans <wim@fluendo.com>
4703 * docs/design/part-clocks.txt:
4704 * docs/design/part-events.txt:
4705 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4707 Only update the seeking values when we are not
4710 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4712 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4713 Oops, ignore the result of gst_pad_push_event here.
4715 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4717 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4718 (gst_base_src_activate_push):
4719 Send discont event from the loop function, as pads
4720 aren't activated yet in the activate_push handler.
4722 * gst/gstbin.c: (bin_bus_handler):
4723 Don't leak element name.
4725 2005-07-18 Andy Wingo <wingo@pobox.com>
4727 * configure.ac: Use AS_LIBTOOL_TAGS.
4729 2005-07-18 Wim Taymans <wim@fluendo.com>
4731 * docs/gst/gstreamer.types:
4732 Remove deleted types.
4734 2005-07-18 Wim Taymans <wim@fluendo.com>
4736 * check/elements/gstfakesrc.c: (GST_START_TEST):
4739 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4740 (init_popt_callback):
4742 * gst/gst_private.h:
4743 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4744 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4747 * gst/gstconfig.h.in:
4748 * gst/gstelement.c: (gst_element_class_init),
4749 (gst_element_set_base_time), (gst_element_get_base_time),
4750 (iterator_fold_with_resync), (gst_element_change_state),
4751 (gst_element_dispose), (gst_element_get_bus):
4753 * gst/gstelementfactory.h:
4754 * gst/gsterror.c: (_gst_core_errors_init):
4757 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4759 * gst/gstinfo.c: (_gst_debug_init):
4760 * gst/gstmessage.c: (_gst_message_copy):
4762 * gst/gstminiobject.h:
4765 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4766 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4769 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4770 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4771 (gst_pipeline_get_last_stream_time):
4772 * gst/gstpipeline.h:
4773 * gst/gstpluginfeature.h:
4775 * gst/gstscheduler.c:
4776 * gst/gstscheduler.h:
4777 * gst/gststructure.h:
4778 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4779 (gst_task_finalize), (gst_task_func), (gst_task_create),
4780 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4781 (gst_task_stop), (gst_task_pause):
4783 * gst/gsttypefind.h:
4785 * gst/registries/gstlibxmlregistry.c: (load_feature),
4786 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4787 * gst/registries/gstxmlregistry.c:
4788 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4789 * gst/schedulers/threadscheduler.c:
4790 * libs/gst/control/dparammanager.h:
4791 * tools/gst-inspect.c: (print_element_list),
4792 (print_plugin_features), (print_element_features):
4793 * tools/gst-xmlinspect.c: (print_element_list),
4794 (print_plugin_info), (main):
4795 Removed plugable schedulers.
4796 Removed Scheduler/Manager from elements.
4797 Removed gsttypes.h, rearranged includes.
4798 Removed dependency pad<->element, element<>pipeline, and
4799 various others, fix includes.
4800 implement gst_pad_get_parent() with gst_object_get_parent()
4801 Make GstTask sefcontained.
4802 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4804 Fix endless loop in iterator_fold_with_resync.
4807 2005-07-18 Wim Taymans <wim@fluendo.com>
4813 2005-07-18 Wim Taymans <wim@fluendo.com>
4818 2005-07-18 Wim Taymans <wim@fluendo.com>
4824 2005-07-18 Wim Taymans <wim@fluendo.com>
4826 * docs/design/part-dynamic.txt:
4827 * docs/design/part-events.txt:
4828 * docs/design/part-seeking.txt:
4829 Some more docs in the works.
4831 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4832 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4833 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4834 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4835 (gst_base_transform_handle_buffer),
4836 (gst_base_transform_sink_activate_push),
4837 (gst_base_transform_src_activate_pull),
4838 (gst_base_transform_set_passthrough),
4839 (gst_base_transform_is_passthrough):
4842 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4845 * gst/gstevent.c: (gst_event_finalize):
4848 * gst/gstutils.c: (gst_element_unlink),
4849 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4850 (gst_pad_proxy_setcaps):
4852 Add _get_parent_element() to get a pads parent as an element.
4854 2005-07-18 Wim Taymans <wim@fluendo.com>
4856 * check/gst/gstbin.c: (GST_START_TEST):
4859 2005-07-18 Wim Taymans <wim@fluendo.com>
4861 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4862 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4863 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4864 (gst_base_sink_event), (gst_base_sink_do_sync),
4865 (gst_base_sink_chain), (gst_base_sink_loop),
4866 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4867 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4869 Fix logic for returning ASYNC when not prerolled.
4871 2005-07-18 Wim Taymans <wim@fluendo.com>
4873 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4874 Fix nasty refcount bug.
4876 2005-07-16 Philippe Khalaf <burger@speedy.org>
4878 * gst/elements/gstfdsrc.c:
4879 * gst/elements/gstfdsrc.h:
4880 * gst/elements/gstelements.c:
4881 * gst/elements/Makefile.am:
4882 Ported fdsrc to 0.9.
4884 2005-07-16 Wim Taymans <wim@fluendo.com>
4886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4887 (gst_base_sink_do_sync):
4890 2005-07-16 Wim Taymans <wim@fluendo.com>
4892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4893 (gst_base_sink_event), (gst_base_sink_get_times),
4894 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4895 * gst/base/gstbasesink.h:
4896 Store and use discont values when syncing buffers as described
4899 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4900 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4901 (gst_base_src_activate_push):
4902 Push discont event when starting.
4904 * gst/elements/gstidentity.c: (gst_identity_transform):
4907 * gst/gstbin.c: (gst_bin_change_state):
4908 Small cleanups in base_time distribution.
4910 * gst/gstelement.c: (gst_element_set_base_time),
4911 (gst_element_get_base_time), (gst_element_change_state):
4913 Added methods for the base_time of the element.
4916 * gst/gstpipeline.c: (gst_pipeline_send_event),
4917 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4918 (gst_pipeline_get_last_stream_time):
4919 * gst/gstpipeline.h:
4921 Handle seeking as described in design doc, remove stream_time
4923 Cleanups clock and stream_time selection code. Added accessors
4924 for the stream_time.
4927 2005-07-16 Andy Wingo <wingo@pobox.com>
4929 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4932 2005-07-16 Wim Taymans <wim@fluendo.com>
4934 * check/gst/gstbin.c: (GST_START_TEST):
4935 Make elements silent as the deep_notify refs the
4936 parent, which might make the test fail.
4938 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4939 Don't hold the lock for too long.
4941 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4943 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4944 Don't unref the caps we passed to gst_caps_make_writable() after
4945 passing them. gst_caps_make_writable() will do that for us.
4947 2005-07-15 Andy Wingo <wingo@pobox.com>
4949 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4952 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4953 own marshalling function for the handoff signal. Properly type the
4954 buffer as a buffer. Fixes some warnings. Should do a more general
4956 (gst_identity_class_init): Plug into the right marshaller.
4958 2005-07-15 Wim Taymans <wim@fluendo.com>
4960 * docs/design/part-TODO.txt:
4961 * docs/design/part-clocks.txt:
4962 * docs/design/part-element-sink.txt:
4963 * docs/design/part-events.txt:
4964 * docs/design/part-gstpipeline.txt:
4965 Updated docs, mostly DISCONT related.
4967 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4969 * docs/pwg/building-pads.xml:
4970 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4972 2005-07-15 Andy Wingo <wingo@pobox.com>
4974 * tools/gst-typefind.c: Update, add copyright block.
4976 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4977 Normalize and truncate caps before fixation.
4980 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4981 discards all but the first structure from its argument.
4983 2005-07-15 Wim Taymans <wim@fluendo.com>
4985 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4986 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4987 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4988 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4989 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4990 (gst_base_transform_chain), (gst_base_transform_change_state),
4991 (gst_base_transform_set_passthrough),
4992 (gst_base_transform_is_passthrough):
4993 * gst/base/gstbasetransform.h:
4994 Make passthrough work using the bufferpools.
4995 Changed API a bit, subclasses have to write into a buffer
4996 provided by the base class.
4997 More debug info in nego functions.
4999 * gst/elements/gstidentity.c: (gst_identity_init),
5000 (gst_identity_transform):
5001 Port to new base class.
5003 2005-07-15 Wim Taymans <wim@fluendo.com>
5005 * gst/gstmessage.c: (gst_message_new_state_changed):
5006 * tools/gst-launch.c: (event_loop), (main):
5007 Totally dump messages in -launch with the -m option.
5008 Fix message name for State messages,
5010 2005-07-14 Wim Taymans <wim@fluendo.com>
5012 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5013 Post error messages on errors.
5015 2005-07-14 Wim Taymans <wim@fluendo.com>
5017 * gst/gstcaps.c: (gst_caps_do_simplify):
5021 Define error for stream stopped.
5023 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5024 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5025 Do proper return values.
5027 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5028 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5029 (gst_pad_get_range):
5030 Better return values.
5033 Reorganise return values, add macro to check for fatal errors.
5035 * gst/gstqueue.c: (gst_queue_chain):
5036 Return proper GstFlowReturn values,
5038 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5040 * docs/gst/gstreamer-sections.txt:
5041 * docs/gst/gstreamer.types:
5042 * docs/gst/tmpl/gst.sgml:
5043 * docs/gst/tmpl/gstbasesink.sgml:
5044 * docs/gst/tmpl/gstbasesrc.sgml:
5045 * docs/gst/tmpl/gstbasetransform.sgml:
5046 * docs/gst/tmpl/gstbin.sgml:
5047 * docs/gst/tmpl/gstbuffer.sgml:
5048 * docs/gst/tmpl/gstcaps.sgml:
5049 * docs/gst/tmpl/gstclock.sgml:
5050 * docs/gst/tmpl/gstcompat.sgml:
5051 * docs/gst/tmpl/gstconfig.sgml:
5052 * docs/gst/tmpl/gstelement.sgml:
5053 * docs/gst/tmpl/gstelementdetails.sgml:
5054 * docs/gst/tmpl/gstelementfactory.sgml:
5055 * docs/gst/tmpl/gstenumtypes.sgml:
5056 * docs/gst/tmpl/gsterror.sgml:
5057 * docs/gst/tmpl/gstevent.sgml:
5058 * docs/gst/tmpl/gstfakesink.sgml:
5059 * docs/gst/tmpl/gstfakesrc.sgml:
5060 * docs/gst/tmpl/gstfilesink.sgml:
5061 * docs/gst/tmpl/gstfilesrc.sgml:
5062 * docs/gst/tmpl/gstfilter.sgml:
5063 * docs/gst/tmpl/gstformat.sgml:
5064 * docs/gst/tmpl/gstghostpad.sgml:
5065 * docs/gst/tmpl/gstimplementsinterface.sgml:
5066 * docs/gst/tmpl/gstindex.sgml:
5067 * docs/gst/tmpl/gstindexfactory.sgml:
5068 * docs/gst/tmpl/gstinfo.sgml:
5069 * docs/gst/tmpl/gstiterator.sgml:
5070 * docs/gst/tmpl/gstmacros.sgml:
5071 * docs/gst/tmpl/gstmemchunk.sgml:
5072 * docs/gst/tmpl/gstminiobject.sgml:
5073 * docs/gst/tmpl/gstobject.sgml:
5074 * docs/gst/tmpl/gstpad.sgml:
5075 * docs/gst/tmpl/gstpadtemplate.sgml:
5076 * docs/gst/tmpl/gstparse.sgml:
5077 * docs/gst/tmpl/gstpipeline.sgml:
5078 * docs/gst/tmpl/gstplugin.sgml:
5079 * docs/gst/tmpl/gstpluginfeature.sgml:
5080 * docs/gst/tmpl/gstquery.sgml:
5081 * docs/gst/tmpl/gstqueue.sgml:
5082 * docs/gst/tmpl/gstregistry.sgml:
5083 * docs/gst/tmpl/gstregistrypool.sgml:
5084 * docs/gst/tmpl/gstscheduler.sgml:
5085 * docs/gst/tmpl/gstschedulerfactory.sgml:
5086 * docs/gst/tmpl/gststructure.sgml:
5087 * docs/gst/tmpl/gstsystemclock.sgml:
5088 * docs/gst/tmpl/gsttaglist.sgml:
5089 * docs/gst/tmpl/gsttagsetter.sgml:
5090 * docs/gst/tmpl/gsttrace.sgml:
5091 * docs/gst/tmpl/gsttrashstack.sgml:
5092 * docs/gst/tmpl/gsttypefind.sgml:
5093 * docs/gst/tmpl/gsttypefindfactory.sgml:
5094 * docs/gst/tmpl/gsttypes.sgml:
5095 * docs/gst/tmpl/gsturihandler.sgml:
5096 * docs/gst/tmpl/gsturitype.sgml:
5097 * docs/gst/tmpl/gstutils.sgml:
5098 * docs/gst/tmpl/gstvalue.sgml:
5099 * docs/gst/tmpl/gstversion.sgml:
5100 * docs/gst/tmpl/gstxml.sgml:
5101 * docs/libs/tmpl/gstcontrol.sgml:
5102 * docs/libs/tmpl/gstdataprotocol.sgml:
5103 * docs/libs/tmpl/gstdparam.sgml:
5104 * docs/libs/tmpl/gstdplinint.sgml:
5105 * docs/libs/tmpl/gstdpman.sgml:
5106 * docs/libs/tmpl/gstdpsmooth.sgml:
5107 * docs/libs/tmpl/gstgetbits.sgml:
5108 * docs/libs/tmpl/gstunitconvert.sgml:
5109 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5110 (gst_push_src_base_init), (gst_push_src_class_init),
5111 (gst_push_src_init), (gst_push_src_create):
5112 * gst/base/gstpushsrc.h:
5113 * gst/elements/gstelements.c:
5114 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5115 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5116 (gst_fake_sink_init), (gst_fake_sink_set_property),
5117 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5118 (gst_fake_sink_event), (gst_fake_sink_preroll),
5119 (gst_fake_sink_render), (gst_fake_sink_change_state):
5120 * gst/elements/gstfakesink.h:
5121 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5122 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5123 (gst_fake_src_base_init), (gst_fake_src_class_init),
5124 (gst_fake_src_init), (gst_fake_src_event_handler),
5125 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5126 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5127 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5128 (gst_fake_src_create_buffer), (gst_fake_src_create),
5129 (gst_fake_src_start), (gst_fake_src_stop):
5130 * gst/elements/gstfakesrc.h:
5131 * gst/elements/gstfilesink.c: (_do_init),
5132 (gst_file_sink_base_init), (gst_file_sink_class_init),
5133 (gst_file_sink_init), (gst_file_sink_dispose),
5134 (gst_file_sink_set_location), (gst_file_sink_set_property),
5135 (gst_file_sink_get_property), (gst_file_sink_open_file),
5136 (gst_file_sink_close_file), (gst_file_sink_query),
5137 (gst_file_sink_event), (gst_file_sink_render),
5138 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5139 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5140 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5141 * gst/elements/gstfilesink.h:
5142 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5143 (gst_file_src_class_init), (gst_file_src_init),
5144 (gst_file_src_finalize), (gst_file_src_set_location),
5145 (gst_file_src_set_property), (gst_file_src_get_property),
5146 (gst_file_src_map_region), (gst_file_src_map_small_region),
5147 (gst_file_src_create_mmap), (gst_file_src_create_read),
5148 (gst_file_src_create), (gst_file_src_is_seekable),
5149 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5150 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5151 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5152 (gst_file_src_uri_handler_init):
5153 * gst/elements/gstfilesrc.h:
5154 more autistic cleanliness in functions/names/defines
5156 2005-07-13 Andy Wingo <wingo@pobox.com>
5158 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5159 source couldn't negotiate.
5161 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5165 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5166 function. I am channeling Hades. Put your boots on suckers!!!
5168 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5170 * testsuite/caps/Makefile.am:
5171 * testsuite/caps/value_compare.c:
5172 * testsuite/caps/value_intersect.c:
5173 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5174 move two testsuite apps over to the check dir
5176 2005-07-12 Wim Taymans <wim@fluendo.com>
5178 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5179 Added more debug info in the negotiate process.
5182 Prepare for segment playback.
5184 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5190 * tools/gst-launch.c: (main):
5191 NULL pipeline on errors.
5193 2005-07-12 Andy Wingo <wingo@pobox.com>
5195 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5196 not it comes from a malloc region. Make sure our copy gets freed.
5198 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5200 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5201 * check/gst/gstmessage.c: (GST_START_TEST):
5202 * check/gst/gststructure.c: (GST_START_TEST),
5203 (gst_structure_suite), (main):
5205 * gst/gstelement.c: (gst_element_message_full):
5206 clean up GError and debug string now that they get copied
5207 * gst/gstmessage.c: (gst_message_new_error),
5208 (gst_message_new_warning), (gst_message_parse_error),
5209 (gst_message_parse_warning):
5210 use GST_TYPE_G_ERROR for structure_new, and take copies of
5211 arguments, so that we don't mess up refcounting
5213 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5215 * check/Makefile.am:
5216 add per-test valgrind targets
5217 * check/gst-libs/gdp.c: (GST_START_TEST),
5218 (gst_data_protocol_suite), (main):
5221 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5223 * check/Makefile.am:
5224 instate more valgrindable tests
5225 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5226 (GST_START_TEST), (fakesrc_suite):
5227 * check/gst/gstpad.c: (GST_START_TEST):
5228 * check/gst/gststructure.c: (GST_START_TEST):
5230 * docs/gst/tmpl/gstminiobject.sgml:
5231 * gst/gstpad.c: (gst_pad_finalize):
5232 fix the static mutex leak
5234 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5236 * check/Makefile.am:
5237 add two more tests for valgrinding
5238 * check/gst/gstvalue.c: (GST_START_TEST):
5239 test refcount of deserialized buffer, found a leak
5240 * docs/gst/gstreamer-docs.sgml:
5241 * docs/gst/gstreamer-sections.txt:
5242 * docs/gst/gstreamer.types:
5243 * docs/gst/tmpl/gstminiobject.sgml:
5244 add miniobject to docs
5245 * gst/gstminiobject.c:
5247 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5248 (gst_string_unwrap):
5249 fix a hard-to-find invalid write for one of the tests
5250 fix a leak for deserialized buffers
5252 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5254 * docs/pwg/advanced-events.xml:
5255 * docs/pwg/advanced-request.xml:
5256 * docs/pwg/advanced-scheduling.xml:
5257 * docs/pwg/appendix-porting.xml:
5258 * docs/pwg/building-boiler.xml:
5259 * docs/pwg/intro-preface.xml:
5260 * docs/pwg/other-ntoone.xml:
5261 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5262 of example code and explanation for pad activation, loop() and
5263 getrange() functions and a bit more. Remove old comments pointing
5265 * examples/pwg/Makefile.am:
5266 Add loop/getrange examples.
5268 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5271 check for valgrind binary + some fixes
5273 valgrind suppressions for the tests
5274 * check/Makefile.am:
5275 add a valgrind: target that valgrinds the unit tests
5276 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5277 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5278 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5279 * check/gst/gstghostpad.c:
5281 * check/gst/gstdata.c:
5283 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5284 (thread_unref), (gst_mini_object_suite), (main):
5286 * gst/gst.c: (gst_deinit):
5288 add a method to clean up.
5289 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5290 (gst_system_clock_obtain):
5291 allow for disposing the system clock.
5292 * tools/gst-launch.c: (main):
5295 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5297 * docs/gst/tmpl/gstbasesrc.sgml:
5298 * docs/gst/tmpl/gstfakesrc.sgml:
5299 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5300 (gst_base_src_init), (gst_base_src_set_property),
5301 (gst_base_src_get_property), (gst_base_src_get_range),
5302 (gst_base_src_start):
5303 * gst/base/gstbasesrc.h:
5304 add num-buffers property
5305 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5306 (gst_fakesrc_init), (gst_fakesrc_set_property),
5307 (gst_fakesrc_get_property), (gst_fakesrc_create),
5308 (gst_fakesrc_start):
5309 remove num-buffers property
5311 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5313 * docs/gst/gstreamer-sections.txt:
5314 * docs/gst/tmpl/gstbasesink.sgml:
5315 * docs/gst/tmpl/gstbasesrc.sgml:
5316 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5317 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5318 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5319 (gst_base_sink_set_property), (gst_base_sink_get_property),
5320 (gst_base_sink_handle_object), (gst_base_sink_event),
5321 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5322 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5323 (gst_base_sink_loop), (gst_base_sink_deactivate),
5324 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5325 (gst_base_sink_change_state):
5326 * gst/base/gstbasesink.h:
5327 * gst/base/gstbasesrc.h:
5328 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5329 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5330 (gst_filesink_init):
5331 more macro splitting
5333 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5335 * gst/gstelement.c: (gst_element_get_bus):
5337 * tools/gst-launch.c: (check_intr), (event_loop):
5340 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5342 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5345 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5347 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5348 (gst_base_src_finalize):
5349 add finalize method and clean up properly
5350 * gst/gstpipeline.c: (gst_pipeline_dispose):
5353 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5355 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5357 add more things to check
5358 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5362 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5364 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5365 (GST_START_TEST), (fakesrc_suite):
5366 * check/gst-libs/gdp.c: (GST_START_TEST):
5367 * check/gst/gst.c: (GST_START_TEST):
5368 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5369 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5370 * check/gst/gstbus.c: (GST_START_TEST):
5371 * check/gst/gstcaps.c: (GST_START_TEST):
5372 * check/gst/gstdata.c: (GST_START_TEST):
5373 * check/gst/gstelement.c: (GST_START_TEST):
5374 * check/gst/gstghostpad.c: (GST_START_TEST):
5375 * check/gst/gstiterator.c: (GST_START_TEST):
5376 * check/gst/gstmessage.c: (GST_START_TEST):
5377 * check/gst/gstobject.c: (GST_START_TEST):
5378 * check/gst/gstpad.c: (GST_START_TEST):
5379 * check/gst/gststructure.c: (GST_START_TEST):
5380 * check/gst/gstsystemclock.c: (GST_START_TEST),
5381 (gst_systemclock_suite):
5382 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5383 * check/gst/gstvalue.c: (GST_START_TEST):
5384 * check/pipelines/cleanup.c: (GST_START_TEST):
5385 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5386 * check/states/sinks.c: (GST_START_TEST):
5387 * check/gstcheck.c: (gst_check_init):
5389 add debugging category
5390 use GST_START_TEST now, so we add a debug line
5392 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5394 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5395 add test for state change message on a bin
5396 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5398 * gst/gstbin.c: (gst_bin_init):
5399 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5400 * gst/gstelement.c: (gst_element_post_message),
5401 (gst_element_set_state):
5402 * gst/gstelementfactory.c: (gst_element_factory_create):
5403 * gst/gstmessage.c: (gst_message_new):
5404 * gst/gstscheduler.c:
5405 various debugging additions and cleanups
5407 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5409 * check/Makefile.am:
5410 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5412 adding tests for elements
5413 * gst/gstelement.c: (gst_element_dispose):
5415 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * gst/registries/gstlibxmlregistry.c: (load_feature):
5418 plug more leaks. A simple gst_init() now is leakfree, yay.
5420 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5423 (gst_xml_registry_load):
5424 plug another memleak
5426 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5429 use GST_SET_ERROR_CFLAGS
5431 change to ERROR_CFLAGS
5433 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5436 make GST_ERROR_CFLAGS overridable and re-enable Werror
5438 add a note about error CFLAGS
5439 * docs/gst/tmpl/gstfakesrc.sgml:
5440 * gst/elements/gstfakesrc.c:
5441 comment out some unused code
5442 * gst/gst.c: (split_and_iterate):
5443 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5447 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5449 * common/Makefile.am:
5450 * common/gtk-doc.mak:
5451 * docs/gst/Makefile.am:
5452 factor out gtk-doc.mak
5454 2005-07-07 Wim Taymans <wim@fluendo.com>
5456 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5457 (gst_thread_scheduler_dispose):
5458 Unlock the STREAM_LOCK completely.
5460 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5462 * check/Makefile.am:
5463 * check/elements/.cvsignore:
5464 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5465 (START_TEST), (fakesrc_suite), (main):
5466 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5467 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5468 (gst_fakesrc_create), (gst_fakesrc_start):
5469 * gst/elements/gstfakesrc.h:
5470 adding a first element test
5472 2005-07-07 Andy Wingo <wingo@pobox.com>
5474 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5477 2005-07-07 Wim Taymans <wim@fluendo.com>
5483 2005-07-07 Wim Taymans <wim@fluendo.com>
5485 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5486 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5487 Allow subclasses to implement their own negotiation.
5489 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5491 * docs/design/part-gstbin.txt:
5492 * docs/design/part-gstpipeline.txt:
5493 Update design notes to reflect the movement of
5494 responsibility for bus handling from GstPipeline to
5497 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5500 Remove unnecessary queue2/3/4 examples.
5502 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5504 * examples/Makefile.am:
5505 * examples/helloworld/helloworld.c: (event_loop), (main):
5506 * examples/queue/queue.c: (event_loop), (main):
5507 * examples/queue2/queue2.c: (main):
5508 Update a couple of the examples to work again.
5510 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5511 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5512 Spelling corrections and extra debug.
5514 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5515 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5516 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5518 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5519 (gst_pipeline_change_state):
5520 * gst/gstpipeline.h:
5521 Move the bus handler for children to the GstBin, and create a
5522 separate bus for receiving messages from children to the one the
5523 bus sends 'upwards' on.
5525 2005-07-06 Wim Taymans <wim@fluendo.com>
5528 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5529 (gst_base_sink_handle_object), (gst_base_sink_loop),
5530 (gst_base_sink_change_state):
5531 * gst/base/gstbasesink.h:
5532 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5533 (gst_base_src_init), (gst_base_src_setcaps),
5534 (gst_base_src_getcaps), (gst_base_src_loop),
5535 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5536 (gst_base_src_start), (gst_base_src_change_state):
5537 * gst/base/gstbasesrc.h:
5538 Make basesrc negotiate.
5539 Handle the case where preroll fails in basesink.
5542 2005-07-06 Wim Taymans <wim@fluendo.com>
5544 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5545 Implement the fixate function.
5546 Clean up acceptcaps.
5548 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5550 * docs/pwg/building-filterfactory.xml:
5552 Remove never-written filter-factory chapter; I'll add the various
5553 base classes to part 4 ("other element types") later on.
5555 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5557 * docs/pwg/advanced-negotiation.xml:
5558 * docs/pwg/building-boiler.xml:
5559 * docs/pwg/building-pads.xml:
5561 * examples/pwg/Makefile.am:
5562 Add a chapter on caps negotiation, simplify the original code
5563 samples a bit w.r.t. caps negotiation, add link to the advanced
5564 section. Add a bunch of examples showing different use cases of
5565 different types of caps negotiation. Upstream renegotiation isn't
5566 fully documented yet since nobody knows how that works.
5568 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
5570 * check/gst/gstpad.c:
5572 * gst/gstpad.c: (gst_pad_get_internal_links_default):
5573 if pad has no parent, return NULL as list of internal links
5575 2005-07-05 Andy Wingo <wingo@pobox.com>
5577 * gst/elements/gstfilesrc.c:
5578 * gst/elements/gstfakesrc.c:
5579 * gst/base/gstpushsrc.c:
5580 * gst/base/gstbasesrc.h:
5581 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5583 2005-07-05 Stefan Kost <ensonic@users.sf.net>
5586 better report generation target (lcov needs a patch)
5588 2005-07-05 Andy Wingo <wingo@pobox.com>
5590 * gst/elements, testsuite: Null if we got it...
5592 2005-07-05 Wim Taymans <wim@fluendo.com>
5595 * libs/gst/dataprotocol/Makefile.am:
5596 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5597 * libs/gst/dataprotocol/dataprotocol.h:
5598 * pkgconfig/Makefile.am:
5599 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5600 * pkgconfig/gstreamer-dataprotocol.pc.in:
5601 Ported dataprotol to 0.9.
5602 Added pkgconfig files.
5604 2005-07-05 Andy Wingo <wingo@pobox.com>
5606 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5607 Default to returning TRUE for the case when tranform_caps returns
5608 a fixed caps, like for identity or volume.
5610 * check/gst/gstbus.c (pound_bus_with_messages):
5611 * check/gst/gstmessage.c (START_TEST):
5612 * check/pipelines/simple_launch_lines.c (got_handoff): Application
5615 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5616 logic weaks here: always run transform_caps, trying passthrough
5617 operation only if the original caps intersects with the transform.
5619 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5620 source and sink caps.
5622 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5623 Intersect the peer caps with the pad template before going into
5625 (gst_base_transform_transform_caps): More debugging.
5627 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5630 2005-07-04 Edward Hervey <edward@fluendo.com>
5634 (gst_pad_add_*_probe): now returns the signal id for better wrapping
5637 2005-07-04 Andy Wingo <wingo@pobox.com>
5639 * check/gst/gstpad.c: Only set explicit caps on pads.
5641 2005-07-01 Andy Wingo <wingo@pobox.com>
5643 * tests/network-clock.scm: Commentary update.
5645 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5646 Didn't really make sense, not implementable with basetransform,
5648 (gst_identity_transform): Unref inbuf via make_writable. Feeble
5649 attempt at implementing the sync property, needs an unlock method.
5651 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5652 New func, by default returns the same caps (the identity
5654 (gst_base_transform_getcaps): Uses transform_caps to return
5656 (gst_base_transform_setcaps): Complicated logic to get caps on
5657 both pads, even if they are different, and to call set_caps once
5658 for every time both pads get their caps set.
5659 (gst_base_transform_handle_buffer): Give the ref to the transform
5660 function. Allows in-place modification of the buffer.
5662 * gst/base/gstbasetransform.h (transform_caps): New class method.
5663 Given caps on one side, what can I do on the other.
5664 (set_caps): Take two caps, one for each side of the element.
5667 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5668 caps in place. This is safe because we can check the mutability of
5669 the caps, and a good idea because fixate functions are just called
5670 as a matter of last resort. (Not actually implemented.)
5671 (gst_pad_set_caps): If the caps we're setting is actually the same
5672 as the existing pad caps, just update the pointer without calling
5673 setcaps. Assert that caps is either NULL or fixed, as per the
5676 * gst/gstghostpad.c: Update for fixate changes.
5678 2005-07-02 Andy Wingo <wingo@pobox.com>
5681 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5682 two refcounts makes it immutable, which is enough. Doc more.
5684 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
5686 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5687 Put the mini_object into GValue as a mini_object,
5688 not a gpointer, since that's how we declared
5691 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5693 * examples/pwg/Makefile.am:
5696 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5698 * docs/pwg/building-testapp.xml:
5700 * examples/pwg/Makefile.am:
5703 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5706 * examples/Makefile.am:
5707 * examples/pwg/Makefile.am:
5708 * examples/pwg/extract.pl:
5709 Enable building the PWG examples.
5710 * docs/pwg/advanced-interfaces.xml:
5711 Add URI interface stub.
5712 * docs/pwg/advanced-types.xml:
5713 * docs/pwg/other-autoplugger.xml:
5714 * docs/pwg/appendix-porting.xml:
5716 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5717 * docs/pwg/building-boiler.xml:
5718 * docs/pwg/building-chainfn.xml:
5719 * docs/pwg/building-pads.xml:
5720 * docs/pwg/building-props.xml:
5721 * docs/pwg/building-state.xml:
5722 * docs/pwg/building-testapp.xml:
5723 Update the building-*.xml parts for 0.9 changes. All examples
5724 code blocks compile in examples/pwg/*.
5726 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5728 * docs/manual/advanced-autoplugging.xml:
5729 * docs/manual/appendix-checklist.xml:
5730 * docs/manual/appendix-integration.xml:
5731 * docs/manual/highlevel-components.xml:
5732 Fix playbin/decodebin examples, update docs a bit, mention bus
5733 instead of signals in various places, mention kmplayer and
5734 kaffeine since they have a working GStreamer backend in the KDE
5737 2005-06-30 Wim Taymans <wim@fluendo.com>
5740 * docs/design/draft-ghostpads.txt:
5741 * docs/design/draft-push-pull.txt:
5742 * docs/design/draft-query.txt:
5743 * docs/design/part-TODO.txt:
5744 * docs/design/part-query.txt:
5745 Added CHANGES-0.9 doc, updated status of other docs.
5750 2005-06-30 Wim Taymans <wim@fluendo.com>
5752 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5753 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5754 (gst_base_sink_change_state):
5755 * gst/base/gstbasesink.h:
5756 Some tweaks, only EOS and a buffer complete a preroll.
5758 2005-06-30 Andy Wingo <wingo@pobox.com>
5760 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5761 activate_push down to the internal pad as well.
5763 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5765 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5767 * gst/gsttaginterface.c:
5768 Some documentation fixes (#307394 and #307397).
5770 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5772 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5774 * gst/gstvalue.c: (gst_value_intersect_list):
5775 Fix memleak (#309125).
5777 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5779 * docs/manual/advanced-dataaccess.xml:
5780 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5781 * docs/manual/basics-pads.xml:
5782 Add reference for filtered caps to above chapter.
5784 2005-06-30 Wim Taymans <wim@fluendo.com>
5786 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5787 (gst_bin_change_state):
5789 Lame attempt at making the state change function a bit
5792 2005-06-30 Wim Taymans <wim@fluendo.com>
5794 * docs/design/part-clocks.txt:
5795 * docs/design/part-element-sink.txt:
5796 * docs/design/part-events.txt:
5797 * docs/design/part-preroll.txt:
5798 * docs/design/part-states.txt:
5799 Some more tweeks and additions to the docs.
5801 2005-06-30 Wim Taymans <wim@fluendo.com>
5803 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5804 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5805 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5806 (gst_pad_check_pull_range), (gst_pad_get_range),
5807 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5809 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5810 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5811 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5812 (gst_pad_remove_buffer_probe):
5813 Removed atomic operations, use existing LOCK.
5814 Move exception handling out of main code path.
5816 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5818 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5819 (silly_return_true_function), (gst_pad_class_init),
5820 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5821 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5822 (gst_pad_send_event):
5823 Fix accumulator, add default value by using _emitv() instead
5824 of _emit() for signal emission.
5826 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5828 * docs/manual/advanced-dataaccess.xml:
5829 * examples/manual/Makefile.am:
5831 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5834 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5836 * gst/elements/gstfilesink.c: (gst_filesink_render):
5837 Simplify code so that we don't have to handle short
5838 writes and return GST_FLOW_ERROR if an error occured.
5840 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5842 * docs/gst/gstreamer-docs.sgml:
5845 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5847 * docs/gst/gstreamer-sections.txt:
5848 * docs/gst/tmpl/gstpad.sgml:
5849 * docs/gst/tmpl/gstprobe.sgml:
5851 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5852 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5853 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5854 (gst_pad_push_event), (gst_pad_send_event):
5856 * gst/gstutils.c: (gst_pad_add_data_probe),
5857 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5858 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5859 (gst_pad_remove_buffer_probe):
5861 Remove old probes, add new g-signal-based probes and some utility
5864 2005-06-29 Edward Hervey <edward@fluendo.com>
5866 * gst/gstelementfactory.c:
5869 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5870 the definition to the header file.
5872 2005-06-29 Andy Wingo <wingo@pobox.com>
5874 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5875 plugins from the source directory.
5877 2005-06-29 Wim Taymans <wim@fluendo.com>
5879 * docs/gst/tmpl/gstbuffer.sgml:
5880 * docs/gst/tmpl/gstclock.sgml:
5881 Some fixings for blantently wrong text.
5883 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5885 * check/Makefile.am:
5886 * gst/gst.c: (add_path_func), (init_pre):
5887 * gst/gstregistry.c: (gst_registry_add_path):
5888 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5889 only scan the GST_PLUGIN_PATH locations, and not add
5892 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5894 * docs/gst/gstreamer-sections.txt:
5895 * docs/gst/tmpl/gstbasesrc.sgml:
5902 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5904 * docs/manual/advanced-autoplugging.xml:
5905 Fix autoplugging example.
5907 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5909 * docs/manual/advanced-autoplugging.xml:
5910 * docs/manual/mime-world.fig:
5911 Try to get autoplugging working, fix type detection. Fix text
5912 in hello-world image.
5914 2005-06-29 Wim Taymans <wim@fluendo.com>
5916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5917 (gst_base_sink_change_state):
5921 map SIGNAL and BROADCAST to the right function.
5924 Remove redundant braces.
5926 * gst/gstpad.c: (gst_pad_set_caps):
5927 Don't call setcaps function when reseting caps to NULL.
5929 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5930 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5931 (gst_system_clock_id_unschedule):
5932 Use BROADCAST as this is what we do.
5934 2005-06-29 Wim Taymans <wim@fluendo.com>
5936 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5937 We are actually prerolling before commiting the state
5940 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5942 * docs/manual/advanced-clocks.xml:
5943 * docs/manual/advanced-interfaces.xml:
5944 * docs/manual/advanced-metadata.xml:
5945 * docs/manual/advanced-position.xml:
5946 * docs/manual/advanced-schedulers.xml:
5947 * docs/manual/advanced-threads.xml:
5948 * docs/manual/appendix-porting.xml:
5949 * docs/manual/basics-bins.xml:
5950 * docs/manual/basics-bus.xml:
5951 * docs/manual/basics-elements.xml:
5952 * docs/manual/basics-helloworld.xml:
5953 * docs/manual/basics-pads.xml:
5954 * docs/manual/highlevel-components.xml:
5955 * docs/manual/manual.xml:
5956 * docs/manual/thread.fig:
5957 Update (until threads/scheduling) Application Development Manual;
5958 remove GstThread, add GstBus, add simple porting checklist, add
5959 documentation for tag writing, clocks, make all examples until this
5960 part compile and run.
5961 * examples/manual/Makefile.am:
5962 Update from changes to Application Development Manual; add bus
5963 example, remove thread example.
5965 2005-06-28 Wim Taymans <wim@fluendo.com>
5967 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5968 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5969 (gst_bus_source_dispatch):
5970 Add debugging messages.
5971 Make internal methods static.
5972 Handle the case where the bus is flushed in the handler.
5974 * gst/gstelement.c: (gst_element_get_bus):
5975 Fix refcount in _get_bus();
5977 * gst/gstpipeline.c: (gst_pipeline_change_state),
5978 (gst_pipeline_get_clock_func):
5979 Clock refcounting fixes.
5980 Handle the case where preroll timed out more gracefully.
5982 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5983 Clean up the internal thread in dispose. This is needed
5984 for subclasses that actually get disposed.
5986 * gst/schedulers/threadscheduler.c:
5987 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5988 (gst_thread_scheduler_dispose):
5989 Free thread pool in dispose.
5991 2005-06-28 Andy Wingo <wingo@pobox.com>
5993 * tests/network-clock-utils.scm (debug, print-event): New utils.
5995 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5996 (*packet-loss*): Unified loss probability.
5997 (network-time): Report out-of-band events.
5999 * tests/plot-data: Add support for out-of-band events. Hack it
6000 into this script instead of passing it down the pipe; should fix
6003 2005-06-28 Wim Taymans <wim@fluendo.com>
6005 * docs/gst/gstreamer.types:
6006 * docs/gst/tmpl/gstbasesrc.sgml:
6007 * docs/gst/tmpl/gstpad.sgml:
6010 2005-06-28 Wim Taymans <wim@fluendo.com>
6012 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6013 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6014 (gst_proxy_pad_do_fixatecaps):
6015 Correctly proxy the check_pull_range function.
6017 2005-06-28 Andy Wingo <wingo@pobox.com>
6019 * tests/network-clock.scm: Removed need for slib.
6021 2005-06-28 Wim Taymans <wim@fluendo.com>
6023 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6024 (gst_basesink_preroll_queue_flush):
6025 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6026 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6027 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6028 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6029 (gst_proxy_pad_set_property):
6032 * gst/gstqueue.c: (gst_queue_init):
6033 The deprecated pad loop function is removed now.
6035 2005-06-28 Andy Wingo <wingo@pobox.com>
6037 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6038 New parameters, simulate network packet loss.
6040 * tests/network-clock-utils.scm: Initialize the RNG.
6042 2005-06-28 Wim Taymans <wim@fluendo.com>
6044 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6045 (gst_basesink_event), (gst_basesink_deactivate):
6046 Flushing the preroll queue always needs to unlock the waiters.
6048 2005-06-28 Edward Hervey <edward@fluendo.com>
6050 * gst/gstpipeline.c: (gst_pipeline_send_event):
6051 Wheen a seek was successful on a pipeline, set the stream_time to the
6052 seek offset in order to have a synchronized stream_time.
6054 2005-06-28 Wim Taymans <wim@fluendo.com>
6056 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6057 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6058 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6059 (gst_proxy_pad_do_fixatecaps):
6060 Call wrapper function instead of just calling the function
6061 pointers. This takes care of any locking and whatmore.
6063 2005-06-28 Wim Taymans <wim@fluendo.com>
6065 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6066 (gst_pad_pull_range):
6068 CONNECTED -> LINKED.
6070 2005-06-28 Andy Wingo <wingo@pobox.com>
6072 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6073 source-munging commit!!!
6075 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6076 (gst_object_sink): Take gpointer arguments, not GstObject --
6077 avoids casts. Like GLib.
6079 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6082 2005-06-27 Andy Wingo <wingo@pobox.com>
6084 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6087 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6088 returns a sorted copy of the trace list.
6089 (gst_alloc_trace_print_live): New API, only prints traces with
6090 live objects. Sort the list.
6091 (gst_alloc_trace_print_all): Sort the list.
6092 (gst_alloc_trace_print): Align columns.
6094 * gst/elements/gstttypefindelement.c:
6095 * gst/elements/gsttee.c:
6096 * gst/base/gstbasesrc.c:
6097 * gst/base/gstbasesink.c:
6098 * gst/base/gstbasetransform.c:
6099 * gst/gstqueue.c: Adapt for pad activation changes.
6101 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6103 (gst_pipeline_dispose): Drop ref on sched.
6105 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6106 (gst_pad_activate_default): Push mode by default.
6107 (pre_activate_switch, post_activate_switch): New stubs, things to
6108 do before and after switching activation modes on pads.
6109 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6110 the pad's activate function to choose which mode to activate.
6111 Shortcut on deactivation and call the right function directly.
6112 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6114 (gst_pad_activate_push): New API, same for push mode.
6115 (gst_pad_set_activate_function)
6116 (gst_pad_set_activatepull_function)
6117 (gst_pad_set_activatepush_function): Setters for new API.
6119 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6120 Trace all miniobjects.
6121 (gst_mini_object_make_writable): Unref the arg if we copy, like
6122 gst_caps_make_writable.
6124 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6126 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6127 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6128 Adapt for new pad API.
6130 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6133 * gst/gstelement.c (gst_element_iterate_src_pads)
6134 (gst_element_iterate_sink_pads): New API functions.
6136 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6137 should fold into gstiterator.c in some form.
6138 (gst_element_pads_activate): Simplified via use of fold and
6139 delegation of decisions to gstpad->activate.
6141 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6144 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6145 class once in init, like gstmessage. Didn't run into this issue
6146 but it seems correct. Don't initialize a trace, gstminiobject does
6149 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6150 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6152 (assert_live_count): New util function, uses alloc traces to check
6155 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6156 To be modified when unlink drops the internal pad.
6158 2005-06-27 Wim Taymans <wim@fluendo.com>
6160 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6161 (gst_bin_change_state):
6162 Cleanup the get_state() function a little, make sure it
6163 iterates the same set of elements.
6164 Added stub iterate_state_order().
6166 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6168 * docs/gst/gstreamer-docs.sgml:
6169 * docs/gst/gstreamer-sections.txt:
6170 * docs/gst/gstreamer.types:
6171 * docs/gst/tmpl/gstbasesink.sgml:
6172 * docs/gst/tmpl/gstbasesrc.sgml:
6173 * docs/gst/tmpl/gstbasetransform.sgml:
6174 * docs/gst/tmpl/gstelement.sgml:
6175 * docs/gst/tmpl/gstiterator.sgml:
6176 * gst/base/gstbasesrc.c:
6177 * gst/base/gstbasesrc.h:
6178 * gst/base/gstbasetransform.h:
6180 * gst/gstiterator.h:
6181 adding basetransform and iterator docs
6183 2005-06-27 Andy Wingo <wingo@pobox.com>
6185 * docs/design/part-activation.txt: Notes on how activation should
6186 work -- not quite implemented yet.
6188 2005-06-25 Wim Taymans <wim@fluendo.com>
6190 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6191 At least get the chain function correct, needs more
6194 2005-06-25 Wim Taymans <wim@fluendo.com>
6196 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6197 (gst_basesink_handle_object), (gst_basesink_event),
6198 (gst_basesink_do_sync), (gst_basesink_handle_event),
6199 (gst_basesink_change_state):
6201 Right, two problems here: ghostpads don't take locks and
6202 glib _rec_mutex_lock_full() with depth==0 still locks.
6203 Catch illegal locking and g_warn them.
6205 2005-06-25 Wim Taymans <wim@fluendo.com>
6207 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6208 Have to check for completion now...
6210 2005-06-25 Wim Taymans <wim@fluendo.com>
6212 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6213 (gst_basesink_handle_object), (gst_basesink_event),
6214 (gst_basesink_do_sync), (gst_basesink_handle_event),
6215 (gst_basesink_change_state):
6217 Unlock STREAM_LOCK whatever the recursion was.
6219 2005-06-25 Wim Taymans <wim@fluendo.com>
6221 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6222 (gst_basesink_preroll_queue_empty),
6223 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6224 (gst_basesink_event), (gst_basesink_do_sync),
6225 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6226 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6227 (gst_basesink_change_state):
6228 Reworked the base sink, handle event and buffer serialisation
6229 correctly and removed possible deadlock.
6230 Handle EOS correctly.
6232 2005-06-25 Wim Taymans <wim@fluendo.com>
6234 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6235 (gst_pipeline_change_state):
6236 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6237 Allow elements to post EOS in the state change function.
6238 Fix up -launch, make it exit the poll loop when the
6239 pipeline actually changed state.
6240 Fix up warning parsing in -launch.
6242 2005-06-25 Wim Taymans <wim@fluendo.com>
6244 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6245 (gst_tee_sink_activate):
6246 Core takes STREAM_LOCK for us now.
6248 2005-06-25 Wim Taymans <wim@fluendo.com>
6250 * gst/gstelement.c: (gst_element_get_state_func),
6251 (gst_element_set_state):
6253 * gst/gstmessage.c: (gst_message_parse_error),
6254 (gst_message_parse_warning):
6255 Keep track of current target state while performing a state
6256 change so that subclasses can do something interesting.
6257 Fix parsing of warning/error messages when GError is NULL.
6259 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6261 * docs/gst/Makefile.am:
6262 * docs/gst/gstreamer-docs.sgml:
6263 * docs/gst/gstreamer-sections.txt:
6264 * docs/gst/gstreamer.types:
6265 * docs/gst/tmpl/gstbasesink.sgml:
6266 * docs/gst/tmpl/gstbasesrc.sgml:
6267 * docs/gst/tmpl/gstbin.sgml:
6268 * docs/gst/tmpl/gstcompat.sgml:
6269 * docs/gst/tmpl/gstfakesink.sgml:
6270 * docs/gst/tmpl/gstfakesrc.sgml:
6271 * docs/gst/tmpl/gstfilesink.sgml:
6272 * docs/gst/tmpl/gstfilesrc.sgml:
6273 * docs/gst/tmpl/gstindex.sgml:
6274 * docs/manual/appendix-quotes.xml:
6275 * gst/base/gstbasesrc.h:
6276 * gst/elements/gstfakesrc.h:
6278 start pulling in base classes and elements in our docs
6280 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6282 * docs/gst/Makefile.am:
6283 * docs/libs/Makefile.am:
6284 fixed make distcheck with gtk-doc 1.3
6286 2005-06-23 Wim Taymans <wim@fluendo.com>
6288 * gst/gstelement.c: (gst_element_get_state_func),
6289 (gst_element_set_state), (gst_element_change_state):
6290 When the state did not change, also report NO_PREROLL
6293 2005-06-23 Wim Taymans <wim@fluendo.com>
6295 * gst/gstpad.c: (gst_pad_event_default):
6296 * gst/gstqueue.c: (gst_queue_loop):
6297 No unsafe task pausing please.
6299 2005-06-23 Wim Taymans <wim@fluendo.com>
6301 * gst/schedulers/threadscheduler.c:
6302 (gst_thread_scheduler_task_start),
6303 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6304 Ref the task before pushing it on the threadpool. This
6305 makes sure that we have a ref when the threadfunction is
6308 2005-06-23 Andy Wingo <wingo@pobox.com>
6310 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6311 offset is greater than the file's size.
6313 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6314 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6315 * gst/gstobject.c (gst_object_class_init): Make the class lock
6316 recursive. Wim won't let me drop deep_notify. Decodebin works
6319 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6320 internal pad, and hacks accordingly. Doesn't do it on the target
6321 pad because we change its caps. Probably catches all cases of
6323 (gst_ghost_pad_set_property): Connect to notify::caps as
6326 * tests/network-clock.scm (plot-simulation): Pipe data to the
6327 elite python skript.
6329 * tests/network-clock-utils.scm (define-parameter): New macro,
6330 defines a parameter that can be set via the command line.
6331 (set-parameter!, parse-parameter-arguments): Command line args
6334 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6337 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6339 * gst/elements/gsttypefindelement.c:
6340 (gst_type_find_element_handle_event):
6341 Don't restart typefinding on a discont.
6342 * gst/gstelement.c: (gst_element_set_state):
6344 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6345 Allow changing mode of an active pad.
6347 * gst/registries/gstlibxmlregistry.c: (load_feature):
6348 Don't cast a static pad template to a normal pad template.
6350 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6352 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6353 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6354 remove gst_strtoll completely, since it didn't actually do
6355 anything more than what g_ascii_strtoull already does.
6356 check for range errors when deserializing
6357 do a cast for the unsigned cases; but further fixing needs
6358 a decision on what the interpretation of "(int)" and
6359 deserialization should be for values that fall outside the
6360 type's boundaries (ie, refuse, or interpret as casting)
6362 2005-06-23 Wim Taymans <wim@fluendo.com>
6364 * check/Makefile.am:
6365 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6366 * docs/design/part-live-source.txt:
6367 * docs/design/part-states.txt:
6368 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6369 (gst_basesrc_set_live), (gst_basesrc_is_live),
6370 (gst_basesrc_get_range), (gst_basesrc_activate),
6371 (gst_basesrc_change_state):
6372 * gst/base/gstbasesrc.h:
6373 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6374 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6375 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6376 * gst/gstelement.c: (gst_element_get_state_func),
6377 (gst_element_set_state):
6380 * tools/gst-launch.c: (event_loop), (main):
6381 Added support for live sources and other elements that
6383 Updated design docs, added live-source design doc.
6384 Implemented live source functionality in basesrc
6385 Fix error condition in _bin_get_state()
6386 Implement live source handling in -launch.
6387 Added check for live sources.
6388 Fixed case in GstBin where elements were changed state
6392 2005-06-23 Andy Wingo <wingo@pobox.com>
6394 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6397 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6398 gst_caps_replace takes care of this for us.
6400 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6401 gst_pad_set_caps on the target, not just its setcaps() function.
6403 * tests/network-clock.scm:
6404 * tests/network-clock-utils.scm: A network clock simulator.
6405 Something of an algorithmic testbed before doing something in C.
6407 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6409 * check/Makefile.am:
6410 * check/gst/capslist.h:
6411 copy over from 0.8, and add two with bitmasks specified with
6413 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6414 add test to parse everything from capslist.h
6415 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6417 add test for structure deserialization
6418 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6419 add tests for deserialization of strings to int types
6420 * gst/gststructure.c: (gst_structure_nth_field_name):
6421 * gst/gststructure.h:
6422 add a way to get the name of a field referenced by index
6423 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6424 instead of checking if the resulting long long lies between
6425 min and max, we check if the long long would fit into
6426 a number of bytes for the final type.
6427 This fixes cases where a string represents 2^32 - 1, which
6428 when cast to int would be the (valid) -1, but is bigger than
6431 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6433 * gst/parse/grammar.y:
6434 add a log line for type deserialization
6436 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6438 * check/gst/gstvalue.c: (START_TEST):
6439 * gst/gstvalue.c: (gst_value_deserialize):
6440 return long long, not int, so gint64 deserialization actually
6441 works. Is there any flag that makes the compiler check this ?
6444 2005-06-22 Wim Taymans <wim@fluendo.com>
6447 Added convenience macros for setting buffers in GValue.
6449 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6451 * check/gst/.cvsignore:
6452 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6453 add a test deserializing int64, and comment part out because
6456 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6458 * check/Makefile.am:
6459 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6460 * testsuite/Makefile.am:
6461 * testsuite/caps/Makefile.am:
6462 * testsuite/caps/value_serialize.c:
6463 * testsuite/test_gst_init.c:
6464 move a value_serialize test over
6466 2005-06-20 Wim Taymans <wim@fluendo.com>
6471 * gst/gstvalue.c: (gst_value_compare_buffer),
6472 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6473 (gst_value_compare_flags), (gst_value_serialize_flags),
6474 (gst_value_deserialize_flags), (_gst_value_initialize):
6475 Fix serialisation of buffers, they are not boxed types anymore
6477 2005-06-20 Wim Taymans <wim@fluendo.com>
6479 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6480 Testcase to show error in buffer-on-caps serialisation.
6482 2005-06-20 Andy Wingo <wingo@pobox.com>
6484 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6485 will be adding to later.
6487 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6488 if its socks fill with rocks.
6489 (gst_system_clock_obtain): Set the name on object construction.
6490 Avoid double-checked locking.
6492 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
6494 * gst/gsturi.c: (gst_element_make_from_uri):
6495 Fix potential endless loop.
6497 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6499 * check/Makefile.am:
6501 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6503 move over from testsuite dir and clean up
6506 * testsuite/Makefile.am:
6507 * testsuite/tags/.cvsignore:
6508 * testsuite/tags/Makefile.am:
6509 * testsuite/tags/merge.c:
6510 remove testsuite/tags
6512 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6514 * docs/gst/gstreamer-sections.txt:
6515 * docs/gst/tmpl/gstenumtypes.sgml:
6516 * win32/gstenumtypes.c:
6517 clean up documentation build a little
6519 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6522 add macros for checking refcounts on objects and caps
6523 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6524 add some more unit tests
6525 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6526 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6527 fix leaked refcounts (I hope :)) so unittest works
6531 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * configure.ac: back to HEAD
6535 === release 0.9.1 ===
6537 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6543 2005-06-17 Andy Wingo <wingo@pobox.com>
6545 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6546 assert; it's always possible that the pad gets deactivated in
6547 between the checks in gstpad.c and the implementation. Rely on
6548 finish_preroll() to return a FLUSHING or similar instead of on the
6551 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6552 clock and post an EOS message if we come out of finish_preroll in
6555 2005-06-16 David Schleef <ds@schleef.org>
6557 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6558 (gst_capsfilter_set_property): Allow NULL as possible value
6559 for filter_caps property, indicating GST_CAPS_ANY.
6561 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6563 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6565 * gst/schedulers/Makefile.am:
6567 * gstreamer.spec.in:
6570 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6572 * gstreamer.spec.in:
6575 2005-06-08 Andy Wingo <wingo@pobox.com>
6577 * gst/gstutils.c: RPAD fixes all around.
6578 (gst_element_link_pads): Refcounting fixes.
6580 * tools/gst-inspect.c:
6581 * tools/gst-xmlinspect.c:
6583 * gst/base/gsttypefindhelper.c:
6584 * gst/base/gstbasesink.c:
6585 * gst/gstqueue.c: RPAD fixes.
6587 * gst/gstghostpad.h:
6588 * gst/gstghostpad.c: New ghost pad implementation as full proxy
6589 pads. The tricky thing is they provide both source and sink
6590 interfaces, since they proxy the internal pad for the external
6591 pad, and vice versa. Implement with lower-level ProxyPad objects,
6592 with the interior proxy pad as a child of the exterior ghost pad.
6593 Should write a doc on this.
6595 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6596 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6599 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6600 pads are real pads. No ghost pads in this file. Not documenting
6601 the myriad s/RPAD/PAD/ and REALIZE fixes.
6602 (gst_pad_class_init): Add properties for "direction" and
6603 "template". Both are construct-only, so they can't change during
6604 the life of the pad. Fixes properly deriving from GstPad.
6605 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6606 derived objects, just set properties when creating the objects via
6608 (gst_pad_get_parent): Implement as a function, return NULL if the
6609 parent is not an element.
6610 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6611 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6613 * gst/gstobject.c (gst_object_class_init): Make name a construct
6614 property. Don't set it in the object init.
6616 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6617 with UNKNOWN direction.
6618 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6619 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6620 (gst_element_remove_pad): Remove ghost-pad special cases.
6621 (gst_element_pads_activate): Remove rpad cruft.
6623 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6624 catch the pad's-parent-not-an-element case.
6626 * gst/gst.h: Include gstghostpad.h.
6628 * gst/gst.c (init_post): No more real, ghost pads.
6630 * gst/Makefile.am: Add gstghostpad.[ch].
6632 * check/Makefile.am:
6633 * check/gst/gstbin.c:
6634 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6635 into a bin creates ghost pads, and that the refcounts are right.
6636 Partly moved from gstbin.c.
6638 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6640 * check/gst-libs/.cvsignore:
6641 * check/gst/.cvsignore:
6642 * check/pipelines/.cvsignore:
6644 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6645 (START_TEST), (cleanup_suite), (main):
6646 add some tests related to cleanup after running pipelines
6648 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6650 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6651 add a testsuite for GstBuffer
6653 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6655 * gst/gstminiobject.h:
6656 add defines for accessing the refcount
6658 2005-06-03 Stefan Kost <ensonic@users.sf.net>
6660 * Makefile.am: added support for html unit test coverage reports
6662 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
6664 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6665 Free existing caps if the capsfilter changes. Add a FIXME about
6666 setting those caps on the pads.
6668 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6669 Before adding a ghost pad to a parent bin, check that there isn't
6670 already one for the element on the bin. Prevents infinite recursion
6671 when using decodebin in parse pipelines. Andy says he'll rewrite the
6672 way this works anyway, so ignore the hack.
6674 2005-06-02 Andy Wingo <wingo@pobox.com>
6676 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6677 file size, pass it on to the type find helper.
6679 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6680 segment_start and segment_end properly according to the seek
6681 method. Segment_end is still a bit flaky because offset can be
6682 negative for CUR and END cases, but it takes -1 as an "unset"
6685 2005-06-02 Wim Taymans <wim@fluendo.com>
6687 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6688 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6689 (gst_basesink_activate):
6690 * gst/base/gstbasesink.h:
6691 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6692 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6693 (gst_pad_query), (gst_pad_start_task):
6695 * gst/gstqueue.c: (gst_queue_bufferalloc),
6696 (gst_queue_handle_sink_event), (gst_queue_chain):
6697 Bufferalloc: return GstFlowReturn to more accuratly report
6698 why allocation failed.
6700 2005-06-02 Wim Taymans <wim@fluendo.com>
6702 * gst/gstpipeline.c: (gst_pipeline_send_event):
6703 Take snapshot of state without blocking.
6705 2005-06-02 Wim Taymans <wim@fluendo.com>
6707 * docs/design/part-TODO.txt:
6708 * docs/design/part-caps.txt:
6709 * docs/design/part-clocks.txt:
6710 * docs/design/part-negotiation.txt:
6711 * docs/design/part-preroll.txt:
6714 2005-05-30 Wim Taymans <wim@fluendo.com>
6716 * gst/elements/gstidentity.c: (gst_identity_event),
6717 (gst_identity_transform), (gst_identity_get_property):
6718 Protect last_message property as it is accessed from
6721 2005-05-30 Wim Taymans <wim@fluendo.com>
6723 * gst/gstelement.c: (gst_element_init),
6724 (gst_element_pads_activate), (gst_element_change_state):
6725 Slicker pad activation code.
6727 2005-05-30 Wim Taymans <wim@fluendo.com>
6731 * gst/gstelementfactory.h:
6733 Move elementfactory methods to separate .h file.
6735 2005-05-30 Wim Taymans <wim@fluendo.com>
6737 * docs/design/part-overview.txt:
6738 * gst/gstsystemclock.h:
6739 Small typo fixes, doc updates.
6741 2005-05-30 Wim Taymans <wim@fluendo.com>
6743 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6744 (init_popt_callback):
6745 Remove cpu-opt flag.
6747 2005-05-30 Wim Taymans <wim@fluendo.com>
6749 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6750 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6752 Avoid typechecking in places where not needed.
6753 Added accessor for malloc_data.
6755 2005-05-30 Wim Taymans <wim@fluendo.com>
6757 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6758 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6759 (gst_pad_configure_sink), (gst_pad_configure_src),
6760 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6761 (gst_pad_start_task):
6762 Propagate errors from _set_caps() in configure_src/sink
6763 functions instead of returning TRUE.
6764 FLUSH events can travel up and downstream
6767 2005-05-30 Wim Taymans <wim@fluendo.com>
6769 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6770 (gst_basesink_activate):
6771 Handle EOS in preroll.
6773 2005-05-30 Wim Taymans <wim@fluendo.com>
6775 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6776 (gst_queue_loop), (gst_queue_handle_src_event):
6777 Remove old pieces of code
6778 Flushing the queue in an upstream event is a very bad idea.
6780 2005-05-26 Andy Wingo <wingo@pobox.com>
6782 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6783 gst_value_set_mini_object so as to add a ref on the object (which
6784 will be removed when the value is unset).
6786 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6787 arg type in ::handoff.
6789 * gst/gstelement.c (gst_element_change_state): Also deactivate
6790 pads in READY->NULL, just in case the element didn't make it to
6791 PAUSED. Wingo tested, Wim approved.
6793 2005-05-26 Wim Taymans <wim@fluendo.com>
6795 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6796 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6797 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6798 A flushing pad cannot be used to alloc_buffer from.
6800 2005-05-26 Wim Taymans <wim@fluendo.com>
6802 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6803 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6804 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6805 (gst_bus_create_watch), (gst_bus_add_watch_full):
6807 Implement a real GSource and use g_main_context_wakeup() to
6808 signal new messages instead of the socketpair.
6810 2005-05-25 Wim Taymans <wim@fluendo.com>
6812 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6813 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6814 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6815 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6816 (gst_pad_send_event), (gst_pad_start_task):
6817 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6818 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6819 (gst_queue_sink_activate), (gst_queue_src_activate),
6820 (gst_queue_change_state):
6822 Fix state changes for non sinks. We now change sinks, then elements
6823 with unconnected srcpads, then the rest.
6824 More efficient queue unlocking in flush and state changes.
6825 Set the pad activate mode even if it does not have an activate
6828 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6830 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6831 Don't go in pull mode for non-seekable sources.
6832 * gst/elements/gsttypefindelement.h:
6833 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6834 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6835 (free_entry), (stop_typefinding),
6836 (gst_type_find_element_handle_event), (find_peek),
6837 (gst_type_find_element_chain), (do_pull_typefind),
6838 (gst_type_find_element_change_state):
6839 Allow typefinding (w/o seeking) in push-mode, simplified version
6841 * gst/gstutils.c: (gst_buffer_join):
6843 gst_buffer_join() from 0.8.
6845 2005-05-25 Wim Taymans <wim@fluendo.com>
6847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6848 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6849 (gst_pad_send_event), (gst_pad_start_task):
6850 Disable attempt at mode switching until it is figured out.
6852 2005-05-25 Wim Taymans <wim@fluendo.com>
6854 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6855 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6856 (gst_basesink_finish_preroll), (gst_basesink_chain),
6857 (gst_basesink_loop), (gst_basesink_activate),
6858 (gst_basesink_change_state):
6859 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6860 (gst_basesrc_get_range), (gst_basesrc_loop),
6861 (gst_basesrc_activate):
6862 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6863 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6864 (gst_real_pad_init), (gst_real_pad_set_property),
6865 (gst_real_pad_get_property), (gst_pad_set_active),
6866 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6867 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6868 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6869 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6870 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6871 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6872 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6873 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6874 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6875 (gst_pad_stop_task):
6877 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6878 (gst_queue_loop), (gst_queue_src_activate):
6879 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6880 (gst_task_get_state):
6882 * gst/schedulers/threadscheduler.c:
6883 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6884 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6886 Remove ACTIVE pad flag, use FLUSHING everywhere
6887 Added _pad_chain(), _pad_get_range() to call chain/getrange
6889 Add locks around IS_FLUSHING when reading.
6890 Take STREAM lock in chain(), get_range() functions so plugins
6891 don't need to take it anymore.
6895 2005-05-25 Wim Taymans <wim@fluendo.com>
6897 * tools/gst-launch.c: (event_loop):
6898 Unref message after using its contents instead of
6901 2005-05-24 Wim Taymans <wim@fluendo.com>
6903 * docs/design/draft-ghostpads.txt:
6904 * docs/design/draft-push-pull.txt:
6905 * docs/design/draft-query.txt:
6906 * docs/design/part-overview.txt:
6907 Docs updates, added general overview doc.
6909 2005-05-21 David Schleef <ds@schleef.org>
6911 * docs/gst/tmpl/old/GstBin.sgml:
6912 * docs/gst/tmpl/old/GstBuffer.sgml:
6913 * docs/gst/tmpl/old/GstCaps.sgml:
6914 * docs/gst/tmpl/old/GstClock.sgml:
6915 * docs/gst/tmpl/old/GstCompat.sgml:
6916 * docs/gst/tmpl/old/GstData.sgml:
6917 * docs/gst/tmpl/old/GstElement.sgml:
6918 * docs/gst/tmpl/old/GstEvent.sgml:
6919 * docs/gst/tmpl/old/GstIndex.sgml:
6920 * docs/gst/tmpl/old/GstStructure.sgml:
6921 * docs/gst/tmpl/old/GstTag.sgml:
6922 * docs/gst/tmpl/old/cothreads.sgml:
6923 * docs/gst/tmpl/old/cothreads_compat.sgml:
6924 * docs/gst/tmpl/old/gettext.sgml:
6925 * docs/gst/tmpl/old/gobject2gtk.sgml:
6926 * docs/gst/tmpl/old/grammar.tab.sgml:
6927 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6928 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6929 * docs/gst/tmpl/old/gst_private.sgml:
6930 * docs/gst/tmpl/old/gstaggregator.sgml:
6931 * docs/gst/tmpl/old/gstarch.sgml:
6932 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6933 * docs/gst/tmpl/old/gstbufferstore.sgml:
6934 * docs/gst/tmpl/old/gstdata_private.sgml:
6935 * docs/gst/tmpl/old/gstdisksink.sgml:
6936 * docs/gst/tmpl/old/gstdisksrc.sgml:
6937 * docs/gst/tmpl/old/gstelementfactory.sgml:
6938 * docs/gst/tmpl/old/gstextratypes.sgml:
6939 * docs/gst/tmpl/old/gstfakesink.sgml:
6940 * docs/gst/tmpl/old/gstfakesrc.sgml:
6941 * docs/gst/tmpl/old/gstfdsink.sgml:
6942 * docs/gst/tmpl/old/gstfdsrc.sgml:
6943 * docs/gst/tmpl/old/gstfilesink.sgml:
6944 * docs/gst/tmpl/old/gstfilesrc.sgml:
6945 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6946 * docs/gst/tmpl/old/gstidentity.sgml:
6947 * docs/gst/tmpl/old/gstindexfactory.sgml:
6948 * docs/gst/tmpl/old/gstmarshal.sgml:
6949 * docs/gst/tmpl/old/gstmd5sink.sgml:
6950 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6951 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6952 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6953 * docs/gst/tmpl/old/gstpipefilter.sgml:
6954 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6955 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6956 * docs/gst/tmpl/old/gstshaper.sgml:
6957 * docs/gst/tmpl/old/gstspider.sgml:
6958 * docs/gst/tmpl/old/gstspideridentity.sgml:
6959 * docs/gst/tmpl/old/gststatistics.sgml:
6960 * docs/gst/tmpl/old/gsttee.sgml:
6961 * docs/gst/tmpl/old/gsttimecache.sgml:
6962 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6963 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6964 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6965 * docs/gst/tmpl/old/types.sgml:
6966 I didn't intend to add these or check them in.
6968 2005-05-19 David Schleef <ds@schleef.org>
6970 * configure.ac: Use -no-common everywhere. In a sane world, it
6971 would be the default in libtool, because without it, you can't
6972 build DLLs on Windows.
6973 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6974 * docs/gst/gstreamer-sections.txt:
6975 * docs/gst/tmpl/gstcpu.sgml:
6976 * docs/gst/tmpl/gstdata.sgml:
6977 * docs/gst/tmpl/gstthread.sgml:
6979 2005-05-19 David Schleef <ds@schleef.org>
6981 * gst/gstminiobject.c: (gst_value_set_mini_object),
6982 (gst_value_take_mini_object), (gst_value_get_mini_object):
6983 * gst/gstminiobject.h: Add GValue set/get functions.
6985 2005-05-19 Wim Taymans <wim@fluendo.com>
6987 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6988 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6989 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6991 * gst/gstbus.c: (gst_bus_post):
6992 * gst/gstelement.c: (gst_element_get_random_pad):
6993 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6994 Make subbufer unref the parent in finalize.
6995 some more debugging info.
6998 2005-05-19 Wim Taymans <wim@fluendo.com>
7000 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7001 (gst_basesink_init), (gst_basesink_finalize),
7002 (gst_basesink_activate), (gst_basesink_change_state):
7003 Don't free preroll queue too early.
7005 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7009 Hi, I'm outdated. Please shoot me.
7011 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7013 * gst/gstpipeline.c: (gst_pipeline_send_event):
7014 Do not access variables after they have been deleted.
7016 2005-05-19 Wim Taymans <wim@fluendo.com>
7018 * tools/gst-inspect.c: (print_plugin_features):
7019 A plugin feature does unfortunatly not use the
7022 2005-05-18 Wim Taymans <wim@fluendo.com>
7024 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7025 Port _span() functions to new subbuffers.
7027 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7029 * gst/gstbin.c: (gst_bin_add_func):
7030 Fix clock settery in bins when adding kids after the clock has
7033 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7035 * gst/elements/gstidentity.c: (gst_identity_class_init):
7036 Workaround until signals support GstMiniObject.
7038 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7041 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7043 2005-05-18 Wim Taymans <wim@fluendo.com>
7045 * gst/base/Makefile.am:
7046 * gst/base/gstadapter.c: (gst_adapter_base_init),
7047 (gst_adapter_class_init), (gst_adapter_init),
7048 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7049 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7050 (gst_adapter_flush), (gst_adapter_available),
7051 (gst_adapter_available_fast):
7052 * gst/base/gstadapter.h:
7053 Ported and added adapter to the base classes.
7055 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7059 Make sure the class is reffed/unreffed once before threads can be
7060 used. Fixes #304551.
7062 2005-05-17 Wim Taymans <wim@fluendo.com>
7064 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7065 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7066 * gst/gstminiobject.c: (gst_mini_object_get_type),
7067 (gst_mini_object_free):
7068 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7069 (gst_pad_push), (gst_pad_push_event):
7070 * gst/gstqueue.c: (gst_queue_change_state):
7071 Don't queue buffers in basesink when we are flushing.
7072 Unref buffer when flushing in basesink.
7073 Flush queue when going to READY
7074 Unref buffer when _push() returns an error.
7075 Don't free MiniObject instance when refcount is incremented
7076 in _finalize() so that we can recover objects.
7078 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7080 * docs/manual/advanced-schedulers.xml:
7081 * docs/manual/appendix-checklist.xml:
7082 * docs/pwg/advanced-clock.xml:
7083 * docs/pwg/advanced-interfaces.xml:
7084 * docs/pwg/advanced-request.xml:
7085 * docs/pwg/advanced-types.xml:
7086 * docs/pwg/intro-preface.xml:
7087 * examples/plugins/example.c: (gst_example_get_type),
7088 (gst_example_class_init), (gst_example_chain),
7089 (gst_example_set_property), (gst_example_get_property),
7090 (gst_example_change_state), (plugin_init):
7091 * examples/plugins/example.h:
7094 2005-05-17 Wim Taymans <wim@fluendo.com>
7096 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7097 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7098 * gst/gstqueue.c: (gst_queue_change_state):
7099 Clear queue when going to READY.
7100 Remove IN_SETCAPS flag too.
7102 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7104 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7105 Remove implicit cast from gboolean to GstElementStateReturn;
7106 make sure we still return failure in paused => ready case if
7107 the parent class fails to change state and our own stop
7110 2005-05-17 Wim Taymans <wim@fluendo.com>
7112 * tools/gst-launch.c: (event_loop):
7113 Message was unreffed too soon.
7115 2005-05-16 Andy Wingo <wingo@pobox.com>
7117 * gst/gstbin.c (sink_iterator_filter): Err... um...
7119 * check/gst/gstbin.c (test_ghost_pads): New test for the
7120 ghosting-if-elements-not-in-same-bin behavior.
7122 2005-05-16 David Schleef <ds@schleef.org>
7124 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7125 accessing refcount directly.
7127 2005-05-15 David Schleef <ds@schleef.org>
7129 * check/Makefile.am: remove GstData checks
7130 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7131 * gst/Makefile.am: add miniobject, remove data
7132 * gst/gst.h: add miniobject, remove data
7133 * gst/gstdata.c: remove
7134 * gst/gstdata.h: remove
7135 * gst/gstdata_private.h: remove
7136 * gst/gsttypes.h: remove GstEvent and GstMessage
7137 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7138 * gst/gstmarshal.list: change BOXED -> OBJECT
7140 Implement GstMiniObject.
7141 * gst/gstminiobject.c:
7142 * gst/gstminiobject.h:
7144 Modify to be subclasses of GstMiniObject.
7145 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7146 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7147 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7148 (gst_subbuffer_get_type), (gst_subbuffer_init),
7149 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7152 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7153 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7154 (_gst_event_copy), (gst_event_new):
7156 * gst/gstmessage.c: (_gst_message_initialize),
7157 (gst_message_get_type), (gst_message_class_init),
7158 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7159 (gst_message_new), (gst_message_new_error),
7160 (gst_message_new_warning), (gst_message_new_tag),
7161 (gst_message_new_state_changed), (gst_message_new_application):
7163 * gst/gstprobe.c: (gst_probe_perform),
7164 (gst_probe_dispatcher_dispatch):
7166 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7167 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7168 (_gst_query_copy), (gst_query_new):
7170 Update elements for GstData -> GstMiniObject changes
7172 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7173 (gst_queue_chain), (gst_queue_loop):
7174 * gst/elements/gstbufferstore.c:
7175 (gst_buffer_store_add_buffer_func),
7176 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7177 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7178 (gst_fakesink_render):
7179 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7180 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7181 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7182 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7183 (gst_filesrc_create_read):
7184 * gst/elements/gstidentity.c: (gst_identity_class_init):
7185 * gst/elements/gsttypefindelement.c:
7186 (gst_type_find_element_src_event), (free_entry_buffers),
7187 (gst_type_find_element_handle_event):
7188 * libs/gst/dataprotocol/dataprotocol.c:
7189 (gst_dp_header_from_buffer):
7190 * libs/gst/dataprotocol/dataprotocol.h:
7191 * libs/gst/dataprotocol/dp-private.h:
7193 2005-05-15 David Schleef <ds@schleef.org>
7195 * gst/elements/gstelements.c: Don't include headers that were
7198 2005-05-15 David Schleef <ds@schleef.org>
7200 * gst/elements/Makefile.am: Remove some elements that don't
7201 need to be in the core (or even exist at all).
7202 * gst/elements/gstaggregator.c:
7203 * gst/elements/gstaggregator.h:
7204 * gst/elements/gstmd5sink.c:
7205 * gst/elements/gstmd5sink.h:
7206 * gst/elements/gstmultifilesrc.c:
7207 * gst/elements/gstmultifilesrc.h:
7208 * gst/elements/gstpipefilter.c:
7209 * gst/elements/gstpipefilter.h:
7210 * gst/elements/gstshaper.c:
7211 * gst/elements/gstshaper.h:
7212 * gst/elements/gststatistics.c:
7213 * gst/elements/gststatistics.h:
7214 * po/POTFILES.in: Remove above files.
7216 2005-05-14 Andy Wingo <wingo@pobox.com>
7218 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7219 so as to get the refs right.
7220 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7221 unreffing objects that don't pass the filter.
7223 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7224 gst_element_set_bus.
7225 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7226 normal cases, this will destroy the bus.
7228 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7231 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7234 2005-05-13 Andy Wingo <wingo@pobox.com>
7236 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7237 gst_pad_link, call pad_link_maybe_ghosting,
7238 (pad_link_maybe_ghosting): Links pads, making sure that the
7239 elements being linked are in the same bin.
7240 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7241 Helpers for pad_link_maybe_ghosting.
7243 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7246 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7248 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7250 * docs/design/part-element-source.txt:
7253 2005-05-12 Wim Taymans <wim@fluendo.com>
7255 * gst/base/gstbasesink.c: (gst_basesink_init),
7256 (gst_basesink_activate):
7257 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7258 (gst_basesrc_is_seekable):
7259 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7260 (bin_element_is_sink), (gst_bin_change_state):
7261 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7263 Identify sinks by their flag to avoid overly complicated
7265 Do state changes even for elements not reachable from the
7267 BaseSink is a sink now :)
7268 Some more debugging info in the basesrc.
7271 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7273 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7274 Implement _query on a bin, similar to _send_event.
7276 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
7278 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7279 Discont event offset format should be GST_FORMAT_BYTES,
7280 not GST_FORMAT_TIME.
7282 2005-05-12 Wim Taymans <wim@fluendo.com>
7284 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7285 Same fix as Ronald's but without the signal.
7287 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7289 * gst/gstutils.c: (gst_element_query_position):
7290 No, an element is not a pad.
7292 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7294 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7295 (gst_bin_get_state):
7296 If a child is removed from a bin while we remove the child from
7297 the bin and while we're retrieving its state, signal this to the
7298 get_state function so we abort the wait (instead of waiting for
7299 a timeout) and can immediately re-iterate over all other elements.
7301 2005-05-12 Wim Taymans <wim@fluendo.com>
7303 * gst/base/Makefile.am:
7304 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7305 (gst_basesrc_start):
7306 * gst/base/gstbasesrc.h:
7307 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7308 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7309 (gst_pushsrc_init), (gst_pushsrc_create):
7310 * gst/base/gstpushsrc.h:
7311 Added is_seekable to BaseSrc
7312 Added simple PushSrc.
7314 2005-05-11 Wim Taymans <wim@fluendo.com>
7316 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7317 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7318 (gst_element_link_pads), (gst_element_query_position),
7319 (gst_element_query_convert), (intersect_caps_func),
7320 (gst_pad_query_position), (gst_pad_query_convert):
7321 Fix refcounting in utils function.
7322 No point in trying to activate a pad when it's added, it could
7323 be added from the state change function and then we deadlock, the
7324 element has to decide what to do.
7326 2005-05-10 Andy Wingo <wingo@pobox.com>
7328 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7329 *all* the arguments.
7331 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7332 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7333 lock (according to the docs -- if this is wrong change the docs).
7335 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7336 flush messages in the NULL state.
7338 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7339 message immediately and return.
7340 (gst_bus_set_flushing): New function. If a bus is flushing, it
7341 flushes out any queued messages and immediately unrefs new
7342 messages. This is so when an element goes to NULL, all of the
7343 unhandled messages coming from it can be freed, and their
7344 references to the element dropped. In other words: message source
7345 ref considered harmful :P
7347 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7348 we're finished with it.
7350 * gst/gstmessage.c (gst_message_new_state_changed):
7352 2005-05-10 Wim Taymans <wim@fluendo.com>
7354 * gst/gstvalue.c: (gst_value_compare_flags),
7355 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7356 (_gst_value_initialize):
7357 Added flags serialize/deserialize/compare code.
7359 2005-05-09 Andy Wingo <wingo@pobox.com>
7361 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7362 Intersect the peer's caps with our caps.
7364 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7366 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7367 * gst/elements/gsttypefindelement.c: (find_peek):
7368 Handle negative offsets better. Fixes decodebin.
7370 2005-05-09 Wim Taymans <wim@fluendo.com>
7372 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7373 (gst_base_transform_event):
7374 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7375 Implement accept_caps.
7376 Fix silly lock/unlock mismatch in base class.
7378 2005-05-09 Wim Taymans <wim@fluendo.com>
7380 * docs/design/draft-push-pull.txt:
7381 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7382 * gst/elements/gstfilesink.c: (gst_filesink_init),
7383 (gst_filesink_query):
7384 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7385 (gst_type_find_handle_src_query), (find_element_get_length):
7386 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7390 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7391 (gst_real_pad_get_caps_unlocked),
7392 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7393 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7394 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7395 (gst_real_pad_dispose), (gst_real_pad_finalize),
7396 (gst_pad_load_and_link), (gst_pad_save_thyself),
7397 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7398 (gst_pad_check_pull_range), (gst_pad_pull_range),
7399 (gst_pad_template_get_type), (gst_pad_template_class_init),
7400 (gst_pad_template_init), (gst_pad_template_dispose),
7401 (name_is_valid), (gst_static_pad_template_get),
7402 (gst_pad_template_new), (gst_static_pad_template_get_caps),
7403 (gst_pad_template_get_caps), (gst_pad_set_element_private),
7404 (gst_pad_get_element_private), (gst_pad_start_task),
7405 (gst_pad_pause_task), (gst_pad_stop_task),
7406 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7407 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7408 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7409 (gst_ghost_pad_new):
7411 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7412 (gst_query_new_position), (gst_query_set_position),
7413 (gst_query_parse_position), (gst_query_new_convert),
7414 (gst_query_set_convert), (gst_query_parse_convert):
7416 * gst/gstqueryutils.c:
7417 * gst/gstqueryutils.h:
7418 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7419 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7420 (gst_queue_handle_src_query):
7421 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7422 (gst_element_query_position), (gst_element_query_convert),
7423 (intersect_caps_func), (gst_pad_query_position),
7424 (gst_pad_query_convert):
7426 * tools/gst-inspect.c: (print_pad_info):
7427 * tools/gst-xmlinspect.c: (print_element_info):
7428 Remove old query functions. Ported old code.
7429 Added position/convert helper functions to gstutils.
7430 Reordered gstpad.c code, grouping relevant things.
7431 Remove gst_message_new(), always need to speficy a specific
7435 2005-05-09 Andy Wingo <wingo@pobox.com>
7437 * gst/gstiterator.h: Add some includes.
7439 * gst/gstqueryutils.h: Include more headers.
7442 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7443 some uses of gst_pad_query.
7445 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7446 NULL out parameters.
7447 (gst_query_new_position): New proc, allocates a new position
7450 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7451 gstqueryutils.c to the build.
7453 * gst/gststructure.c (gst_structure_set_valist): Implement with
7454 the generic G_VALUE_COLLECT.
7456 2005-05-08 Edward Hervey <bilboed@bilboed.com>
7458 * gst/Makefile.am: (gst_headers):
7459 Added gstqueryutils.h to the list of headers to install, that was
7460 a 'nachty' move wingo :)
7462 2005-05-06 Andy Wingo <wingo@pobox.com>
7465 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7466 GstData, init a memchunk.
7467 (standard_definitions): Add a few query types, deprecate a few.
7468 (gst_query_get_type): New proc.
7469 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7471 (gst_query_new_application, gst_query_get_structure): New public
7474 * docs/design/draft-query.txt: Removed LINKS from the query types,
7475 because all the rest can be dispatched to other pads -- seemed
7476 ugly to have a query that couldn't be dispatched. internal_links
7477 is fine as a pad method.
7479 * gst/gstpad.h: Add query2 as a pad method, add the new functions
7480 in gstpad.c, but maintain binary compatibility for the moment.
7481 Will fix before 0.9 is out.
7483 * gst/gstqueryutils.c:
7484 * gst/gstqueryutils.h: New files, implement 3 methods for each
7485 query type: parse_query, parse_response, and set. Probably need an
7488 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7490 * gst/elements/gstfilesink.c (gst_filesink_query2):
7491 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7492 query_types, and formats methods.
7494 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7495 (gst_pad_set_query2_function): New functions.
7496 (gst_real_pad_init): Set query2_default as the default query2
7497 function. Basically just dispatches to internally linked pads.
7501 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7502 without using the atomic operations. Only one thread can possibly
7503 be accessing the data at this point. Changed so as to avoid
7504 gst_atomic operations.
7506 2005-05-06 Wim Taymans <wim@fluendo.com>
7508 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7509 Also set caps if we use the fallback buffer alloc.
7511 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
7513 * docs/gst/Makefile.am:
7514 * docs/gst/gstreamer-docs.sgml:
7515 * docs/gst/gstreamer-sections.txt:
7516 * docs/gst/tmpl/gstatomic.sgml:
7517 * docs/gst/tmpl/gstmemchunk.sgml:
7518 * testsuite/elements/struct_i386.h:
7519 * win32/GStreamer.vcproj:
7521 Purge GstAtomic stuff from docs and win32 makefiles as well
7523 2005-05-06 Wim Taymans <wim@fluendo.com>
7525 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7526 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7527 * gst/gstpad.c: (gst_pad_peer_get_caps):
7528 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7529 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7530 (gst_queue_src_activate), (gst_queue_change_state):
7532 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7533 (intersect_caps_func):
7534 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7535 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7536 Some fixes for the peer_get_caps() change.
7538 2005-05-06 Wim Taymans <wim@fluendo.com>
7540 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7541 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7542 (gst_basesink_activate):
7543 Actually do something with error codes returned from the push
7546 2005-05-06 Wim Taymans <wim@fluendo.com>
7548 * docs/design/part-element-sink.txt:
7549 * docs/design/part-element-source.txt:
7550 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7551 (gst_basesink_event), (gst_basesink_activate):
7552 * gst/base/gstbasesink.h:
7553 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7554 (gst_basesrc_activate):
7555 * gst/base/gstbasesrc.h:
7556 * gst/gstelement.c: (gst_element_pads_activate):
7557 Some more documentation.
7558 Fixed scheduling decision in _pads_activate().
7560 2005-05-05 Andy Wingo <wingo@pobox.com>
7562 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7565 2005-05-05 Wim Taymans <wim@fluendo.com>
7567 * gst/base/Makefile.am:
7568 * gst/base/gstbasesink.h:
7569 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7570 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7571 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7572 (gst_collectpads_class_init), (gst_collectpads_init),
7573 (gst_collectpads_finalize), (gst_collectpads_new),
7574 (gst_collectpads_set_function), (gst_collectpads_add_pad),
7575 (find_pad), (gst_collectpads_remove_pad),
7576 (gst_collectpads_is_active), (gst_collectpads_collect),
7577 (gst_collectpads_collect_range), (gst_collectpads_start),
7578 (gst_collectpads_stop), (gst_collectpads_peek),
7579 (gst_collectpads_pop), (gst_collectpads_available),
7580 (gst_collectpads_read), (gst_collectpads_flush),
7581 (gst_collectpads_chain):
7582 * gst/base/gstcollectpads.h:
7583 * gst/elements/Makefile.am:
7584 * gst/elements/gstelements.c:
7585 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7586 (gst_fakesink_get_times), (gst_fakesink_event),
7587 (gst_fakesink_preroll), (gst_fakesink_render):
7588 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7589 (gst_filesink_init), (gst_filesink_set_location),
7590 (gst_filesink_open_file), (gst_filesink_close_file),
7591 (gst_filesink_pad_query), (gst_filesink_event),
7592 (gst_filesink_render), (gst_filesink_change_state):
7593 * gst/elements/gstfilesink.h:
7594 Added object to help in making collect pad based elements.
7596 Make event function in sink baseclass return gboolean.
7598 2005-05-05 Wim Taymans <wim@fluendo.com>
7600 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7601 (gst_bin_get_by_name):
7603 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7604 (gst_clock_finalize):
7605 * gst/gstdata.c: (gst_data_replace):
7607 * gst/gstelement.c: (gst_element_request_pad),
7608 (gst_element_pads_activate):
7609 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7611 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7612 (gst_pad_set_checkgetrange_function),
7613 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7614 (gst_pad_check_pull_range), (gst_pad_pull_range),
7615 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7616 (gst_pad_pause_task), (gst_pad_stop_task):
7617 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7618 (gst_element_request_pad), (gst_pad_proxy_getcaps):
7619 Fix name lookup in GstBin.
7620 Added _data_replace() function and _buffer_replace()
7621 Use finalize method to clean up clock.
7622 Fix refcounting on request pads.
7623 Fix pad schedule mode error.
7624 Some more object refcounting debug info,
7627 2005-05-04 Andy Wingo <wingo@pobox.com>
7629 * check/Makefile.am:
7630 * docs/gst/tmpl/gstatomic.sgml:
7631 * docs/gst/tmpl/gstplugin.sgml:
7632 * gst/base/gstbasesink.c: (gst_basesink_activate):
7633 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7634 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7635 (gst_basesrc_query), (gst_basesrc_set_property),
7636 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7637 (gst_basesrc_activate):
7638 * gst/base/gstbasesrc.h:
7639 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7640 (gst_base_transform_src_activate):
7641 * gst/elements/gstelements.c:
7642 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7643 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7644 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7645 * gst/elements/gsttypefindelement.c: (find_element_get_length),
7646 (gst_type_find_element_checkgetrange),
7647 (gst_type_find_element_activate):
7648 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7649 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7650 (gst_caps_load_thyself):
7651 * gst/gstelement.c: (gst_element_pads_activate),
7652 (gst_element_save_thyself), (gst_element_restore_thyself):
7653 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7654 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7656 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7657 (gst_xml_parse_file), (gst_xml_parse_memory),
7658 (gst_xml_get_element), (gst_xml_make_element):
7659 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7660 (_file_index_id_save_xml), (gst_file_index_commit):
7661 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7662 (read_enum), (load_pad_template), (load_feature), (load_plugin),
7664 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7665 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7666 * tools/gst-complete.c: (main):
7667 * tools/gst-compprep.c: (main):
7668 * tools/gst-inspect.c: (print_element_properties_info):
7669 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7670 * tools/gst-xmlinspect.c: (print_element_properties):
7673 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7675 * gst/gstplugin.c: (gst_plugin_check_module),
7676 (gst_plugin_check_file), (gst_plugin_load_file):
7677 apply patch from #172526 to make register work on MacOSX
7679 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7681 * docs/gst/tmpl/gstconfig.sgml:
7682 * gst/gstconfig.h.in:
7683 move documentation for some symbols. Add doc for GST_PTR_FORMAT
7684 * testsuite/debug/printf_extension.c: (main):
7685 Do not use GST_PTR_FORMAT on pointers to types with
7686 sizeof < sizeof(gpointer). Fixes test on 64-bit
7687 * testsuite/elements/property.h:
7688 use correct printf format
7690 2005-05-02 Wim Taymans <wim@fluendo.com>
7692 * docs/design/draft-push-pull.txt:
7693 * docs/design/draft-query.txt:
7694 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7695 (gst_basesrc_start):
7696 Added draft for new query API.
7697 Added draft for better selecting scheduling methods.
7698 Make basesrc ignore length if the subclass does not support
7701 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7704 possible fixes for automake-1.5 - _LIBADD is reserved
7706 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7708 * docs/faq/Makefile.am:
7709 * docs/manual/Makefile.am:
7711 * docs/pwg/Makefile.am:
7713 possible fixes for automake-1.5
7715 2005-04-28 Wim Taymans <wim@fluendo.com>
7717 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7718 (gst_basesink_pad_getcaps), (gst_basesink_init),
7719 (gst_basesink_do_sync):
7720 * gst/gstclock.c: (gst_clock_entry_new):
7721 * gst/gstevent.c: (gst_event_discont_get_value):
7722 * gst/gstpipeline.c: (pipeline_bus_handler),
7723 (gst_pipeline_change_state):
7724 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7725 Better debugging of clocking info.
7726 Allow NULL values when getting discont values.
7728 2005-04-27 Wim Taymans <wim@fluendo.com>
7730 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7731 * check/gst/gstpad.c: (gst_pad_suite):
7732 Increase timeout for checks.
7734 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7736 * check/Makefile.am:
7737 fix the broken rule for cleanup. Apparently this rule is
7738 only needed on FC2, so maybe this warrants further autotool
7741 2005-04-26 Wim Taymans <wim@fluendo.com>
7743 * gst/gsttrashstack.h:
7744 Ooohh. a nasty one! After having a failed pop() from the stack,
7745 it's possible that the stack is empty. In that case, don't
7746 follow the NULL pointer.
7748 2005-04-25 Wim Taymans <wim@fluendo.com>
7750 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7751 (gst_pad_set_checkgetrange_function),
7752 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7753 (gst_pad_check_pull_range), (gst_pad_pull_range),
7754 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7755 (gst_pad_pause_task), (gst_pad_stop_task):
7756 * gst/gstplugin.c: (gst_plugin_load):
7758 Remove gst_library_load as it does more harm than good with
7759 the new g_module flags.
7760 Revert bogus caps template check in pad linking, pad caps
7761 are important when linking not the template, which is more
7762 general than the current caps.
7764 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7766 * gst/autoplug/.cvsignore:
7767 * gst/autoplug/Makefile.am:
7768 * gst/autoplug/gstsearchfuncs.c:
7769 * gst/autoplug/gstsearchfuncs.h:
7770 * gst/autoplug/gstspider.c:
7771 * gst/autoplug/gstspider.h:
7772 * gst/autoplug/gstspideridentity.c:
7773 * gst/autoplug/gstspideridentity.h:
7774 * gst/autoplug/spidertest.c:
7777 2005-04-25 Wim Taymans <wim@fluendo.com>
7779 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7780 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7781 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7782 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7784 Added stubs for unimplemented functions.
7786 2005-04-24 David Schleef <ds@schleef.org>
7788 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7791 2005-04-24 David Schleef <ds@schleef.org>
7793 Convert everything from GstAtomicInt to g_atomic_int_*, and
7798 * gst/gstatomic_impl.h:
7806 * gst/gstdata_private.h:
7813 * gst/gststructure.c:
7814 * gst/gststructure.h:
7815 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7818 2005-04-24 David Schleef <ds@schleef.org>
7820 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7821 make the regressions tests work. Remove some code that is no
7823 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7824 Disable warning for pads without templates.
7826 2005-04-24 David Schleef <ds@schleef.org>
7828 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7829 functions that handle filtered links.
7830 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7832 * gst/gstutils.c: Fix/remove utility functions that handle
7835 * gst/gstvalue.c: Add serialization/deserialization of caps
7836 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7837 requires fixing so that the filter caps notation creates
7838 a capsfilter element and sets the filter_caps property. I
7839 think everyone probably wants to keep the shorthand notation.
7840 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7841 * docs/gst/tmpl/gstpad.sgml:
7843 * gst/elements/gstelements.c: Register capsfilter element.
7844 * gst/Makefile.am: fix spacing
7845 * docs/random/ds/0.9-suggested-changes: random
7847 2005-04-23 David Schleef <ds@schleef.org>
7849 * gst/elements/Makefile.am:
7850 * gst/elements/gstcapsfilter.c: New element that acts like an
7851 identity, but filters caps. Will eventually replace filtered
7852 caps in pad linking.
7853 * gst/gstutils.c: (gst_element_create_all_pads): New function
7854 to create all the ALWAYS pads that are registered with an
7855 element class. This functionality should eventually be
7856 merged in with GstElement initialization.
7858 * testsuite/trigger/README: part of trigger test code that should
7859 have been checked in a long time ago.
7861 2005-04-23 David Schleef <ds@schleef.org>
7863 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7864 needed with new versions of libtool (nobody will confirm this),
7865 and hard to carry around.
7866 * gst/autoplug/Makefile.am:
7867 * gst/base/Makefile.am:
7868 * gst/elements/Makefile.am:
7869 * gst/indexers/Makefile.am:
7870 * gst/schedulers/Makefile.am:
7871 * libs/gst/bytestream/Makefile.am:
7872 * libs/gst/control/Makefile.am:
7873 * libs/gst/dataprotocol/Makefile.am:
7874 * libs/gst/getbits/Makefile.am:
7876 2005-04-21 Wim Taymans <wim@fluendo.com>
7878 * docs/design/draft-push-pull.txt:
7879 * docs/design/part-MT-refcounting.txt:
7880 * docs/design/part-TODO.txt:
7881 * docs/design/part-caps.txt:
7882 * docs/design/part-events.txt:
7883 * docs/design/part-gstbus.txt:
7884 * docs/design/part-gstpipeline.txt:
7885 * docs/design/part-messages.txt:
7886 * docs/design/part-push-pull.txt:
7887 * docs/design/part-query.txt:
7890 2005-04-21 Wim Taymans <wim@fluendo.com>
7892 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7893 (gst_message_new), (gst_message_new_error),
7894 (gst_message_new_warning), (gst_message_new_tag),
7895 (gst_message_new_state_changed), (gst_message_new_application),
7896 (gst_message_get_structure):
7898 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7899 (gst_structure_copy_conditional):
7900 Use parent refcount in GstMessage to ensure GstStructure
7902 Cleaned up headers a bit.
7905 2005-04-20 Wim Taymans <wim@fluendo.com>
7907 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7908 (gst_basesink_pad_getcaps), (gst_basesink_init),
7909 (gst_basesink_chain_unlocked):
7910 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7911 (gst_type_find_helper):
7912 * gst/elements/gsttypefindelement.c:
7913 (gst_type_find_element_have_type), (gst_type_find_element_init),
7914 (stop_typefinding), (gst_type_find_element_handle_event),
7915 (find_suggest), (gst_type_find_element_chain),
7916 (gst_type_find_element_checkgetrange),
7917 (gst_type_find_element_getrange), (do_typefind),
7918 (gst_type_find_element_activate):
7919 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7920 (gst_buffer_default_free), (gst_buffer_default_copy),
7921 (gst_buffer_set_caps):
7922 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7924 * gst/gstmessage.c: (gst_message_new),
7925 (gst_message_new_state_changed):
7926 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7927 (gst_pad_set_checkgetrange_function),
7928 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7929 (gst_pad_set_caps), (gst_pad_check_pull_range),
7930 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7932 * gst/gsttypefind.c: (gst_type_find_register):
7933 Make gst_caps_replace() work like other _replace() functions.
7934 Use _caps_replace() where possible.
7935 Make sure _message_new() initialises its field.
7936 Add gst_static_pad_template_get_caps()
7939 2005-04-18 Andy Wingo <wingo@pobox.com>
7941 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7942 on the peer, not the pad. I think that was a typo. Pass an extra
7943 arg to see if random access is possible. Activate the pads as
7944 PULL_RANGE if possible.
7946 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7948 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7949 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7952 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7954 * docs/faq/using.xml:
7955 Add note on gstreamer-properties (#154996).
7957 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7959 * docs/random/bbb/optional-properties:
7960 Some analysis on optional properties.
7962 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7964 * docs/gst/tmpl/gstelementfactory.sgml:
7966 * gst/gstelementfactory.c: (gst_element_factory_init),
7967 (gst_element_factory_cleanup), (gst_element_register),
7968 (__gst_element_factory_add_static_pad_template),
7969 (gst_element_factory_get_static_pad_templates),
7970 (gst_element_factory_can_src_caps),
7971 (gst_element_factory_can_sink_caps):
7972 * gst/registries/Makefile.am:
7973 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7974 (gst_xml_registry_class_init), (gst_xml_registry_init),
7975 (gst_xml_registry_new), (gst_xml_registry_set_property),
7976 (gst_xml_registry_get_property), (get_time), (make_dir),
7977 (gst_xml_registry_get_perms_func),
7978 (plugin_times_older_than_recurse), (plugin_times_older_than),
7979 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7980 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7981 (add_to_char_array), (read_string), (read_uint), (read_enum),
7982 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7983 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7984 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7985 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7986 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7987 (gst_xml_registry_rebuild):
7988 * gst/registries/gstlibxmlregistry.h:
7989 * tools/gst-compprep.c: (main):
7990 * tools/gst-inspect.c: (print_pad_templates_info):
7991 * tools/gst-xmlinspect.c: (print_element_info):
7992 Use libxml2 for registry parsing, use staticpadtemplates in
7993 elementfactories. Makes gst_init() +/- 10x faster.
7995 2005-04-12 Wim Taymans <wim@fluendo.com>
7997 * gst/base/Makefile.am:
7998 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7999 (gst_basesink_pad_getcaps), (gst_basesink_init),
8000 (gst_basesink_event), (gst_basesink_change_state):
8001 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8002 (gst_basesrc_init), (gst_basesrc_query),
8003 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8004 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8005 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8006 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8007 (gst_basesrc_stop), (gst_basesrc_activate),
8008 (gst_basesrc_change_state):
8009 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8010 (helper_find_suggest), (gst_type_find_helper):
8011 * gst/base/gsttypefindhelper.h:
8012 * gst/elements/Makefile.am:
8013 * gst/elements/gstelements.c:
8014 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8015 (gst_fakesink_get_times), (gst_fakesink_event),
8016 (gst_fakesink_preroll), (gst_fakesink_render):
8017 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8018 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8019 (gst_fakesrc_get_property), (gst_fakesrc_create),
8020 (gst_fakesrc_start), (gst_fakesrc_stop):
8021 * gst/elements/gstfakesrc.h:
8022 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8023 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8024 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8025 (gst_filesrc_create_read), (gst_filesrc_create),
8026 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8027 (gst_filesrc_start):
8028 * gst/elements/gsttypefindelement.c:
8029 (gst_type_find_element_have_type), (gst_type_find_element_init),
8030 (start_typefinding), (stop_typefinding), (push_buffer_store),
8031 (gst_type_find_element_handle_event),
8032 (gst_type_find_element_chain),
8033 (gst_type_find_element_checkgetrange),
8034 (gst_type_find_element_getrange), (do_typefind),
8035 (gst_type_find_element_activate),
8036 (gst_type_find_element_change_state):
8037 * gst/elements/gsttypefindelement.h:
8038 * gst/gstpipeline.c: (pipeline_bus_handler):
8039 Added typefind helper.
8040 Small preroll fix in the base sink.
8041 Disable typefind code in basesrc.
8042 Crude port of typefindelement.
8046 2005-04-11 Wim Taymans <wim@fluendo.com>
8048 * check/gst/gstbus.c: (gstbus_suite):
8049 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8051 Fix up the timeout so that the test does not fail.
8053 2005-04-06 Wim Taymans <wim@fluendo.com>
8056 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8057 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8058 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8059 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8060 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8061 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8062 (gst_basesrc_stop), (gst_basesrc_activate),
8063 (gst_basesrc_change_state), (basesrc_find_peek),
8064 (basesrc_find_suggest), (gst_basesrc_type_find):
8065 * gst/base/gstbasesrc.h:
8066 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8067 (gst_filesrc_class_init), (gst_filesrc_init),
8068 (gst_filesrc_finalize), (gst_filesrc_set_location),
8069 (gst_filesrc_set_property), (gst_filesrc_get_property),
8070 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8071 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8072 (gst_filesrc_create_read), (gst_filesrc_create),
8073 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8074 * gst/elements/gstfilesrc.h:
8075 * gst/gstelement.c: (gst_element_get_state_func),
8076 (gst_element_lost_state), (gst_element_pads_activate):
8077 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8078 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8079 (gst_pad_pull_range):
8081 More work on the generic source base class, implement seeking,
8083 Make filesrc extend the base source class.
8084 Added gst_pad_set_checkgetrange_function to GstPad.
8086 2005-04-06 Andy Wingo <wingo@pobox.com>
8088 * pkgconfig/gstreamer-base.pc.in:
8089 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8091 * pkgconfig/Makefile.am:
8092 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8094 2005-04-04 Wim Taymans <wim@fluendo.com>
8096 * gst/base/Makefile.am:
8098 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8099 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8100 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8101 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8102 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8103 (gst_basesrc_base_init), (gst_basesrc_class_init),
8104 (gst_basesrc_init), (gst_basesrc_get_formats),
8105 (gst_basesrc_get_query_types), (gst_basesrc_query),
8106 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8107 (gst_basesrc_set_property), (gst_basesrc_get_property),
8108 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8109 (gst_basesrc_loop), (gst_basesrc_activate),
8110 (gst_basesrc_change_state):
8111 * gst/base/gstbasesrc.h:
8112 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8113 (gst_fakesrc_class_init), (gst_fakesrc_init),
8114 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8115 (gst_fakesrc_get_property), (gst_fakesrc_create):
8116 * gst/elements/gstfakesrc.h:
8117 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8118 (gst_filesrc_open_file), (gst_filesrc_loop),
8119 (gst_filesrc_activate), (filesrc_find_peek),
8120 (gst_filesrc_type_find):
8121 Made base source class, make fakesrc extend it.
8122 Add comments to basesink class.
8123 Some filesrc cleanup.
8125 2005-03-31 David Schleef <ds@schleef.org>
8127 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8128 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8129 expected to link against libgstreamer.
8130 * gst/base/Makefile.am: link against libgstreamer
8131 * gst/elements/Makefile.am: same
8133 2005-03-31 Andy Wingo <wingo@pobox.com>
8135 * tests/instantiate/Makefile.am:
8136 * tests/instantiate/caps.c: Add test to test speed of caps copy
8139 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8140 GMemChunk to be fair.
8142 * gst/gsttrashstack.h: Remove warning about using the fallback
8143 trash stack implementation, it's still faster than malloc.
8145 2005-03-30 Andy Wingo <wingo@pobox.com>
8147 * tests/complexity.c: Add a copyright.
8149 2005-03-31 Wim Taymans <wim@fluendo.com>
8151 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8152 (gst_base_transform_class_init), (gst_base_transform_init),
8153 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8154 (gst_base_transform_get_property),
8155 (gst_base_transform_sink_activate),
8156 (gst_base_transform_src_activate),
8157 (gst_base_transform_change_state):
8158 * gst/base/gstbasetransform.h:
8159 * gst/elements/gstidentity.c: (gst_identity_class_init),
8160 (gst_identity_event), (gst_identity_check_perfect),
8161 (gst_identity_transform), (gst_identity_start),
8162 (gst_identity_stop):
8163 Added start/stop methods to transform base class so subclasses
8164 don't need to deal with state changes even.
8166 2005-03-31 Wim Taymans <wim@fluendo.com>
8168 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8169 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8171 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8172 (gst_pad_pull_range):
8173 Added rate to the discont event to prepare for variable speed
8174 and reverse playback.
8176 2005-03-29 David Schleef <ds@schleef.org>
8179 * testsuite/trigger/Makefile.am:
8180 * testsuite/trigger/trigger.c: A little example program to show
8181 how trigger-based elements can work.
8183 2005-03-29 Wim Taymans <wim@fluendo.com>
8185 * gst/base/Makefile.am:
8187 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8188 (gst_basesink_base_init), (gst_basesink_class_init),
8189 (gst_basesink_pad_getcaps), (gst_basesink_init),
8190 (gst_basesink_activate), (gst_basesink_change_state):
8191 * gst/base/gstbasesink.h:
8192 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8193 (gst_base_transform_base_init), (gst_base_transform_finalize),
8194 (gst_base_transform_class_init), (gst_base_transform_init),
8195 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8196 (gst_base_transform_event), (gst_base_transform_getrange),
8197 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8198 (gst_base_transform_set_property),
8199 (gst_base_transform_get_property),
8200 (gst_base_transform_sink_activate),
8201 (gst_base_transform_src_activate),
8202 (gst_base_transform_change_state):
8203 * gst/base/gstbasetransform.h:
8204 * gst/elements/gstidentity.c: (gst_identity_finalize),
8205 (gst_identity_class_init), (gst_identity_init),
8206 (gst_identity_event), (gst_identity_check_perfect),
8207 (gst_identity_transform), (gst_identity_set_property),
8208 (gst_identity_get_property), (gst_identity_change_state):
8209 * gst/elements/gstidentity.h:
8210 * gst/gstelement.c: (gst_element_get_state_func),
8211 (gst_element_lost_state), (gst_element_pads_activate):
8212 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8213 (gst_pad_check_pull_range), (gst_pad_pull_range):
8215 Simplify pad activation.
8216 Added function to check if pull_range can be performed.
8217 Error out when pulling inactive or flushing pads.
8218 Removed const from refcounted types as it does not make sense.
8219 Simplify pad templates in basesink
8220 Added base class for simple 1-to-1 transforms.
8221 Make identity subclass the base transform.
8223 2005-03-29 Andy Wingo <wingo@pobox.com>
8225 * docs/libs/gstreamer-libs-overrides.txt:
8226 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8227 really don't understand what's going on, but like whatever. I want
8230 * docs/gst/Makefile.am:
8231 * docs/libs/Makefile.am: Dist the overrides files.
8233 * check/Makefile.am (clean-local): Remove .libs directories.
8235 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8236 elements to EXTRA_DIST, so po/ files are happy.
8238 * po/POTFILES.in: Er, remove it here.
8240 * po/POTFILES: Remove gstspider.c.
8242 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8244 * docs/libs/gstreamer-libs-docs.sgml:
8245 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8248 * tests/complexity.c (main): Set the length of the preroll queue
8249 on the sinks to prevent a lockup.
8251 * libs/gst/dataprotocol/Makefile.am:
8252 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8253 the same as the one in check/gst-libs/gdp.c.
8255 * po/, docs/gst/: Commit automatic changes to docs and po files.
8257 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8258 the versioned libgstbase.
8260 * check/Makefile.am: Depend on an unversioned gst-register, seems
8261 to make autoconf happier.
8263 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8265 2005-03-28 Wim Taymans <wim@fluendo.com>
8268 * docs/design/part-gstelement.txt:
8269 * docs/design/part-negotiation.txt:
8270 * docs/design/part-preroll.txt:
8271 * docs/design/part-scheduling.txt:
8272 * docs/design/part-states.txt:
8274 * gst/base/Makefile.am:
8276 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8277 (gst_basesink_base_init), (gst_basesink_class_init),
8278 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8279 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8280 (gst_basesink_set_pad_functions),
8281 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8282 (gst_basesink_set_property), (gst_basesink_get_property),
8283 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8284 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8285 (gst_basesink_preroll_queue_push),
8286 (gst_basesink_preroll_queue_empty),
8287 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8288 (gst_basesink_event), (gst_basesink_get_times),
8289 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8290 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8291 (gst_basesink_loop), (gst_basesink_activate),
8292 (gst_basesink_change_state):
8293 * gst/base/gstbasesink.h:
8294 * gst/elements/Makefile.am:
8295 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8296 (gst_fakesink_class_init), (gst_fakesink_init),
8297 (gst_fakesink_set_property), (gst_fakesink_get_property),
8298 (gst_fakesink_get_times), (gst_fakesink_event),
8299 (gst_fakesink_preroll), (gst_fakesink_render),
8300 (gst_fakesink_change_state):
8301 * gst/elements/gstfakesink.h:
8302 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8303 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8304 * gst/gstelement.c: (gst_element_add_pad),
8305 (gst_element_get_state_func), (gst_element_abort_state),
8306 (gst_element_commit_state), (gst_element_lost_state),
8307 (gst_element_set_state), (gst_element_pads_activate):
8308 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8309 * gst/gstpipeline.c: (gst_pipeline_send_event),
8310 (gst_pipeline_change_state):
8311 Added state change code.
8313 Added sink base class, make fakesink extend the base class.
8314 Small cleanups in GstPipeline.
8316 2005-03-26 David Schleef <ds@schleef.org>
8318 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8319 is broken and should be implemented in a different library.
8320 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8321 * gst/gst.h: remove gstcpu.h
8322 * gst/gstcpu.c: remove
8323 * gst/gstcpu.h: remove
8324 * gst/Makefile.am.future: Remove this file. It's ancient.
8326 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8328 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8329 (gst_bin_send_event):
8330 Add default event/set_manager handlers. The set_manager handler
8331 takes care that the manager is distributed over kids that were
8332 already in the bin before the manager was set. The event handler
8333 is a utility virtual function that sends the event over all sinks,
8334 so that gst_element_send_event (bin, event); has the expected
8336 * gst/gstpad.c: (gst_pad_event_default):
8337 Re-install default event handling for discontinuities, so that
8338 seeking works without requiring hacks in applications or extra
8340 * gst/gstpipeline.c: (gst_pipeline_class_init),
8341 (gst_pipeline_send_event):
8342 Half hack, half utility: set a pipeline to PAUSED for seek events,
8343 since that is the only way we can guarantee a/v sync. Means that
8344 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8345 and it "just works".
8347 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8349 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8350 Lock/unlock mismatch.
8352 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8354 * docs/faq/gst-uninstalled:
8355 add gst-plugins-base
8356 * docs/gst/Makefile.am:
8357 don't error out until docs are fixed
8358 * docs/gst/gstreamer.types:
8361 2005-03-22 Wim Taymans <wim@fluendo.com>
8363 * check/Makefile.am:
8364 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8365 * gst/gststructure.c: (gst_structure_set_valist),
8366 (gst_structure_copy_conditional):
8367 Activated more tests.
8369 Added G_TYPE_POINTER to GstStructure.
8372 2005-03-22 Wim Taymans <wim@fluendo.com>
8374 * docs/design/part-TODO.txt:
8375 * docs/design/part-events.txt:
8376 * docs/design/part-gstbin.txt:
8377 * docs/design/part-gstbus.txt:
8378 * docs/design/part-gstpipeline.txt:
8379 * docs/design/part-messages.txt:
8384 2005-03-21 Wim Taymans <wim@fluendo.com>
8386 * gst/gstbus.c: (gst_bus_post):
8387 Fix copy-and-paste error.
8389 2005-03-21 Wim Taymans <wim@fluendo.com>
8391 * check/Makefile.am:
8393 * gst/elements/Makefile.am:
8394 * gst/elements/gstelements.c:
8395 * gst/elements/gstfakesink.c: (gst_fakesink_init),
8396 (gst_fakesink_event), (gst_fakesink_chain):
8397 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8398 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8399 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8400 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8401 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8402 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8403 (gst_fakesrc_loop), (gst_fakesrc_activate),
8404 (gst_fakesrc_change_state):
8405 * gst/elements/gstfakesrc.h:
8406 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8407 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8408 (gst_filesrc_open_file), (gst_filesrc_loop),
8409 (gst_filesrc_activate), (gst_filesrc_change_state),
8410 (filesrc_find_peek), (filesrc_find_suggest),
8411 (gst_filesrc_type_find):
8412 * gst/elements/gstidentity.c: (gst_identity_finalize),
8413 (gst_identity_class_init), (gst_identity_init),
8414 (gst_identity_proxy_getcaps), (identity_queue_push),
8415 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8416 (gst_identity_getrange), (gst_identity_chain),
8417 (gst_identity_sink_loop), (gst_identity_src_loop),
8418 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8419 (gst_identity_set_property), (gst_identity_get_property),
8420 (gst_identity_change_state):
8421 * gst/elements/gstidentity.h:
8422 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8423 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8424 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8425 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8426 (gst_tee_sink_activate):
8427 * gst/elements/gsttee.h:
8428 * gst/gst.c: (gst_register_core_elements), (init_post):
8430 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8431 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8432 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8433 (gst_bin_change_state):
8435 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8436 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8437 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8438 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8439 (gst_bus_set_sync_handler), (gst_bus_create_watch),
8440 (bus_watch_callback), (bus_watch_destroy),
8441 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8442 (poll_timeout), (gst_bus_poll):
8446 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8447 (gst_element_post_message), (gst_element_message_full),
8448 (gst_element_get_state_func), (gst_element_get_state),
8449 (gst_element_abort_state), (gst_element_commit_state),
8450 (gst_element_lost_state), (gst_element_set_state),
8451 (gst_element_pads_activate), (gst_element_change_state),
8452 (gst_element_dispose), (gst_element_set_manager_func),
8453 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8454 (gst_element_set_manager), (gst_element_get_manager),
8455 (gst_element_set_bus), (gst_element_get_bus),
8456 (gst_element_set_scheduler), (gst_element_get_scheduler):
8458 * gst/gstevent.c: (gst_event_new_segment_seek),
8459 (gst_event_new_flush):
8461 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8462 (_gst_message_free), (gst_message_get_type), (gst_message_new),
8463 (gst_message_new_eos), (gst_message_new_error),
8464 (gst_message_new_warning), (gst_message_new_tag),
8465 (gst_message_new_state_changed), (gst_message_new_application),
8466 (gst_message_get_structure), (gst_message_parse_tag),
8467 (gst_message_parse_state_changed), (gst_message_parse_error),
8468 (gst_message_parse_warning):
8470 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8471 (gst_real_pad_set_property), (gst_pad_set_active),
8472 (gst_pad_is_active), (gst_pad_set_blocked_async),
8473 (gst_pad_set_blocked), (gst_pad_is_blocked),
8474 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8475 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8476 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8477 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8478 (gst_pad_link_filtered), (gst_pad_relink_filtered),
8479 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8480 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8481 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8482 (gst_pad_set_caps), (gst_pad_configure_sink),
8483 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8484 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8485 (gst_real_pad_dispose), (gst_real_pad_finalize),
8486 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8487 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8488 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8490 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8491 (pipeline_bus_handler), (gst_pipeline_change_state),
8492 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8493 * gst/gstpipeline.h:
8495 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8496 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8497 (gst_queue_link_src), (gst_queue_bufferalloc),
8498 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8499 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8500 (gst_queue_loop), (gst_queue_handle_src_event),
8501 (gst_queue_handle_src_query), (gst_queue_src_activate),
8502 (gst_queue_change_state):
8504 * gst/gstscheduler.c: (gst_scheduler_init),
8505 (gst_scheduler_dispose), (gst_scheduler_create_task),
8506 (gst_scheduler_factory_create):
8507 * gst/gstscheduler.h:
8508 * gst/gststructure.c: (gst_structure_get_type),
8509 (gst_structure_copy_conditional):
8510 * gst/gststructure.h:
8511 * gst/gsttaginterface.h:
8512 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8513 (gst_task_init), (gst_task_dispose), (gst_task_create),
8514 (gst_task_get_state), (gst_task_start), (gst_task_stop),
8520 * gst/schedulers/Makefile.am:
8521 * gst/schedulers/cothreads_compat.h:
8522 * gst/schedulers/entryscheduler.c:
8523 * gst/schedulers/faircothreads.c:
8524 * gst/schedulers/faircothreads.h:
8525 * gst/schedulers/fairscheduler.c:
8526 * gst/schedulers/gstbasicscheduler.c:
8527 * gst/schedulers/gstoptimalscheduler.c:
8528 * gst/schedulers/gthread-cothreads.h:
8529 * gst/schedulers/threadscheduler.c:
8530 (gst_thread_scheduler_task_get_type),
8531 (gst_thread_scheduler_task_class_init),
8532 (gst_thread_scheduler_task_init),
8533 (gst_thread_scheduler_task_start),
8534 (gst_thread_scheduler_task_stop),
8535 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8536 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8537 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8538 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8540 * libs/gst/Makefile.am:
8541 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8542 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8543 (gst_file_pad_parent_set):
8544 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8545 (gst_dp_event_from_packet):
8546 * tests/complexity.c: (main):
8547 * tests/mass_elements.c: (main):
8548 * testsuite/states/locked.c: (message_received), (main):
8549 * testsuite/states/parent.c: (main):
8550 * tools/gst-inspect.c: (print_element_flag_info),
8551 (print_implementation_info), (print_pad_info):
8552 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8554 * tools/gst-md5sum.c: (event_loop), (main):
8555 * tools/gst-typefind.c: (main):
8556 * tools/gst-xmlinspect.c: (print_element_info):
8558 Added GstBus for mainloop integration.
8559 Added GstMessage for sending notifications on the bus.
8560 Added GstTask as an abstraction for pipeline entry points.
8563 Simplified GstQueue for multithreaded core.
8564 Made _link threadsafe, removed old capsnego.
8565 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8566 Added pad blocking functions.
8567 Reworked scheduling functions in GstPad to prepare for
8568 scheduling updates soon.
8569 Moved events out of data stream.
8570 Simplified GstEvent types.
8571 Added return values to push/pull.
8572 Removed clocking from GstElement.
8573 Added prototypes for state change function for next merge.
8574 Removed iterate from bins and state change management.
8575 Fixed some elements, disabled others for now.
8576 Fixed -inspect and -launch.
8577 Added check for GstBus.
8579 2005-03-10 Wim Taymans <wim@fluendo.com>
8581 * docs/design/part-MT-refcounting.txt:
8582 * docs/design/part-clocks.txt:
8583 * docs/design/part-gstelement.txt:
8584 * docs/design/part-gstobject.txt:
8585 * docs/design/part-standards.txt:
8586 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8587 (gst_bin_remove_func), (gst_bin_remove):
8591 * testsuite/clock/clock1.c: (main):
8592 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8594 * testsuite/dlopen/loadgst.c: (do_test):
8595 * testsuite/refcounting/bin.c: (add_remove_test1),
8596 (add_remove_test2), (main):
8597 * testsuite/refcounting/element.c: (main):
8598 * testsuite/refcounting/element_pad.c: (main):
8599 * testsuite/refcounting/pad.c: (main):
8600 * tools/gst-launch.c: (sigint_handler_sighandler):
8601 * tools/gst-typefind.c: (main):
8603 Added doc about clock.
8604 removed gst_bin_iterate_recurse_up(), marked methods
8606 Fix more testsuites.
8608 2005-03-09 Wim Taymans <wim@fluendo.com>
8610 * gst/gstpad.c: (gst_pad_get_direction),
8611 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8612 (gst_pad_collect_valist):
8613 * testsuite/bins/interface.c: (main):
8614 * testsuite/caps/audioscale.c: (test_caps):
8615 * testsuite/caps/caps.c: (test1), (test2), (test3):
8616 * testsuite/caps/deserialize.c: (main):
8617 * testsuite/caps/enumcaps.c: (main):
8618 * testsuite/caps/filtercaps.c: (main):
8619 * testsuite/caps/intersect2.c: (main):
8620 * testsuite/caps/random.c: (main):
8621 * testsuite/caps/renegotiate.c: (my_fixate), (main):
8622 * testsuite/caps/sets.c: (check_caps):
8623 * testsuite/caps/simplify.c: (check_caps), (main):
8624 * testsuite/caps/subtract.c: (check_caps):
8625 Fix _pad_get_direction wrt ghostpads.
8628 2005-03-09 Wim Taymans <wim@fluendo.com>
8630 * check/Makefile.am:
8631 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8632 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8633 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8635 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8636 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8637 (gst_bin_remove), (gst_bin_iterate_recurse_up),
8638 (bin_element_is_sink), (gst_bin_iterate_sinks),
8639 (gst_bin_iterate_all_by_interface):
8641 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8642 (gst_element_change_state), (gst_element_dispose),
8643 (gst_element_finalize), (gst_element_set_loop_function):
8645 * gst/gstiterator.c: (find_custom_fold_func):
8646 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8647 (gst_pad_collectv), (gst_pad_collect_valist),
8648 (gst_pad_template_new):
8649 * gst/gstpipeline.c: (gst_pipeline_class_init),
8650 (gst_pipeline_dispose), (gst_pipeline_set_property),
8651 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8652 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8653 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8655 * gst/schedulers/entryscheduler.c:
8656 * gst/schedulers/gstbasicscheduler.c:
8657 (gst_basic_scheduler_cothreaded_chain),
8658 (gst_basic_scheduler_chain_add_element):
8659 * testsuite/bins/interface.c: (main):
8661 Added GstSystemClock test.
8662 Implemented clock distribution code in GstBin.
8663 Implemented iterate sinks method for future use.
8664 Rearranged gstelement.h
8665 Fix GstIterator comparison bug.
8666 Moved some code to GstPipeline, mostly clocking related.
8668 2005-03-09 Wim Taymans <wim@fluendo.com>
8671 * gst/gst_private.h:
8672 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8673 (gst_bin_remove_func), (gst_bin_remove),
8674 (gst_bin_get_by_name_recurse_up):
8675 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8676 (gst_clock_id_compare_func), (gst_clock_id_wait),
8677 (gst_clock_id_wait_async), (gst_clock_init),
8678 (gst_clock_adjust_unlocked), (gst_clock_get_time):
8680 * gst/gstinfo.c: (_gst_debug_init):
8682 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8683 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8685 Bump version number, we're now 0.9.0
8686 Add future debugging category.
8687 Fix NULL _unref() in _get_by_name_recurse_up
8691 2005-03-08 Wim Taymans <wim@fluendo.com>
8693 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8694 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8695 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8696 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8697 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8698 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8699 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8700 * gst/elements/gstidentity.c: (gst_identity_class_init):
8701 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8702 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8703 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8704 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8705 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8707 * gst/gstelement.c: (gst_element_class_init),
8708 (gst_element_base_class_init), (gst_element_init),
8709 (gst_element_get_random_pad), (gst_element_wait_state_change),
8710 (gst_element_change_state), (gst_element_dispose),
8711 (gst_element_finalize), (gst_element_set_loop_function):
8713 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8714 * gst/gstthread.c: (gst_thread_class_init),
8715 (gst_thread_release_children_locks), (gst_thread_change_state):
8716 * gst/schedulers/gstbasicscheduler.c:
8717 (gst_basic_scheduler_loopfunc_wrapper),
8718 (gst_basic_scheduler_chain_wrapper),
8719 (gst_basic_scheduler_src_wrapper),
8720 (gst_basic_scheduler_remove_element):
8721 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8722 Remove threadsafe properties. Fix elements because GObject
8723 complains when installing a property before declaring a
8724 set/get_property handler.
8725 Rearrange gstelement.h file, use STATE macros for state locks.
8726 Free mutexes in the finalize method instead of dispose.
8728 2005-03-08 Wim Taymans <wim@fluendo.com>
8730 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8731 * gst/gstthread.c: (gst_thread_release_children_locks):
8732 Added parentage check.
8733 Fix build og GstThread again.
8735 2005-03-08 Wim Taymans <wim@fluendo.com>
8737 * docs/design/part-MT-refcounting.txt:
8738 * docs/design/part-conventions.txt:
8739 * docs/design/part-gstobject.txt:
8740 * docs/design/part-relations.txt:
8741 * docs/design/part-standards.txt:
8742 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8743 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8744 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8745 (gst_bin_iterate_all_by_interface):
8748 * gst/gstelement.c: (gst_element_class_init),
8749 (gst_element_change_state), (gst_element_set_loop_function):
8751 * gst/gstiterator.c:
8752 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8753 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8754 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8755 (gst_object_set_parent), (gst_object_unparent),
8756 (gst_object_check_uniqueness):
8758 Docs updates, clean up some headers.
8760 2005-03-07 Wim Taymans <wim@fluendo.com>
8763 * check/Makefile.am:
8764 * check/gst-libs/.cvsignore:
8765 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8766 * check/gst/.cvsignore:
8767 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8768 (START_TEST), (gstbus_suite), (main):
8769 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8770 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8771 (gst_data_suite), (main):
8772 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8773 (add_fold_func), (gstiterator_suite), (main):
8774 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8775 (thread_name_object), (thread_name_object_default),
8776 (gst_object_name_compare), (gst_object_suite), (main):
8777 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8778 (gst_pad_suite), (main):
8779 * check/gstcheck.c: (gst_check_log_message_func),
8780 (gst_check_log_critical_func), (gst_check_init):
8782 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8783 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8786 2005-03-07 Wim Taymans <wim@fluendo.com>
8788 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8789 (gst_list_iterator_next), (gst_list_iterator_resync),
8790 (gst_list_iterator_free), (gst_iterator_new_list),
8791 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8792 (gst_iterator_free), (gst_iterator_push), (filter_next),
8793 (filter_resync), (filter_uninit), (filter_free),
8794 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8795 (gst_iterator_foreach), (find_custom_fold_func),
8796 (gst_iterator_find_custom):
8797 * gst/gstiterator.h:
8798 Added missing files.
8800 2005-03-07 Wim Taymans <wim@fluendo.com>
8804 * docs/design/part-MT-refcounting.txt:
8805 * docs/design/part-conventions.txt:
8806 * docs/design/part-gstobject.txt:
8807 * docs/design/part-relations.txt:
8808 * examples/mixer/mixer.c: (main):
8809 * examples/thread/thread.c: (eos), (main):
8811 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8812 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8813 (gst_spider_plug_from_srcpad):
8814 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8815 (gst_spider_identity_change_state),
8816 (gst_spider_identity_sink_loop_type_finding):
8817 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8818 * gst/elements/gstidentity.c: (gst_identity_init):
8819 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8820 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8821 * gst/elements/gsttypefindelement.c: (free_entry):
8824 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8825 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8826 (gst_bin_set_index), (gst_bin_set_element_sched),
8827 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8828 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8829 (gst_bin_iterate_elements), (iterate_child_recurse),
8830 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8831 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8832 (compare_interface), (gst_bin_get_by_interface),
8833 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8835 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8836 (gst_buffer_default_free), (gst_buffer_default_copy),
8837 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8838 (gst_buffer_create_sub):
8840 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8841 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8842 (gst_caps_unref), (gst_static_caps_get),
8843 (gst_caps_remove_and_get_structure), (gst_caps_append),
8844 (gst_caps_append_structure), (gst_caps_remove_structure),
8845 (gst_caps_copy_nth), (gst_caps_set_simple),
8846 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8847 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8848 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8849 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8850 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8851 (gst_caps_structure_figure_out_union),
8852 (gst_caps_switch_structures), (gst_caps_do_simplify),
8853 (gst_caps_replace), (gst_caps_from_string),
8854 (gst_caps_copy_conditional):
8856 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8857 (_gst_clock_id_free), (gst_clock_id_unref),
8858 (gst_clock_id_compare_func), (gst_clock_id_wait),
8859 (gst_clock_id_wait_async), (gst_clock_class_init),
8860 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8861 (gst_clock_get_time), (gst_clock_set_time_adjust),
8862 (gst_clock_set_property), (gst_clock_get_property):
8865 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8866 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8868 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8869 (gst_element_requires_clock), (gst_element_provides_clock),
8870 (gst_element_set_clock), (gst_element_clock_wait),
8871 (gst_element_wait), (gst_element_set_time_delay),
8872 (gst_element_is_indexable), (gst_element_add_pad),
8873 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8874 (pad_compare_name), (gst_element_get_static_pad),
8875 (gst_element_request_pad), (gst_element_get_request_pad),
8876 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8877 (gst_element_class_get_pad_template_list),
8878 (gst_element_class_get_pad_template), (gst_element_error_func),
8879 (gst_element_get_random_pad), (gst_element_get_event_masks),
8880 (gst_element_send_event), (gst_element_seek),
8881 (gst_element_get_query_types), (gst_element_query),
8882 (gst_element_get_formats), (gst_element_convert),
8883 (gst_element_is_locked_state), (gst_element_set_locked_state),
8884 (gst_element_sync_state_with_parent), (gst_element_change_state),
8885 (gst_element_finalize), (gst_element_yield),
8886 (gst_element_interrupt), (gst_element_set_scheduler),
8887 (gst_element_get_scheduler), (gst_element_set_loop_function):
8890 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8891 (gst_format_get_by_nick), (gst_format_get_details),
8892 (gst_format_iterate_definitions):
8894 * gst/gstindex.c: (gst_index_gtype_resolver):
8897 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8898 (gst_mem_chunk_free):
8899 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8900 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8901 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8902 (gst_object_dispatch_properties_changed),
8903 (gst_object_set_name_default), (gst_object_set_name),
8904 (gst_object_get_name), (gst_object_set_name_prefix),
8905 (gst_object_get_name_prefix), (gst_object_set_parent),
8906 (gst_object_get_parent), (gst_object_unparent),
8907 (gst_object_check_uniqueness), (gst_object_save_thyself),
8908 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8909 (gst_object_set_property), (gst_object_get_property),
8910 (gst_object_get_path_string):
8912 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8913 (gst_real_pad_init), (gst_real_pad_get_property),
8914 (gst_pad_custom_new), (gst_pad_get_direction),
8915 (gst_pad_set_active), (gst_pad_is_active),
8916 (gst_pad_set_event_function), (gst_pad_is_linked),
8917 (gst_pad_link_free), (gst_pad_link_intersect),
8918 (gst_pad_link_fixate), (gst_pad_set_caps),
8919 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8920 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8921 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8922 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8923 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8924 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8925 (gst_pad_realize), (gst_pad_get_allowed_caps),
8926 (gst_real_pad_dispose), (gst_real_pad_finalize),
8927 (gst_pad_collectv), (gst_pad_collect_valist),
8928 (gst_pad_template_dispose), (gst_pad_template_new),
8929 (gst_pad_get_internal_links):
8931 * gst/gstpipeline.c: (gst_pipeline_dispose),
8932 (gst_pipeline_change_state):
8933 * gst/gstpipeline.h:
8935 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8936 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8937 * gst/gstpluginfeature.h:
8938 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8939 * gst/gstquery.c: (_gst_query_type_initialize),
8940 (gst_query_type_register), (gst_query_type_get_by_nick),
8941 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8943 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8944 * gst/gstscheduler.c: (gst_scheduler_add_element),
8945 (gst_scheduler_factory_create):
8946 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8947 (gst_structure_free), (gst_structure_set_name),
8948 (gst_structure_id_set_value), (gst_structure_set_value),
8949 (gst_structure_set_valist), (gst_structure_remove_field),
8950 (gst_structure_remove_fields),
8951 (gst_structure_remove_fields_valist),
8952 (gst_structure_remove_all_fields), (gst_structure_foreach),
8953 (gst_structure_map_in_place),
8954 (gst_caps_structure_fixate_field_nearest_int),
8955 (gst_caps_structure_fixate_field_nearest_double):
8956 * gst/gststructure.h:
8957 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8958 (gst_system_clock_init), (gst_system_clock_dispose),
8959 (gst_system_clock_async_thread),
8960 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8961 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8962 * gst/gstsystemclock.h:
8963 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8964 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8965 * gst/gsttaginterface.c:
8966 * gst/gstthread.c: (gst_thread_dispose),
8967 (gst_thread_release_children_locks), (gst_thread_change_state),
8968 (gst_thread_main_loop):
8969 * gst/gsttrashstack.h:
8970 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8972 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8973 (gst_element_request_pad), (gst_element_get_pad_from_template),
8974 (gst_element_request_compatible_pad),
8975 (gst_element_get_compatible_pad_filtered),
8976 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8977 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8978 (gst_element_link_many), (gst_element_link),
8979 (gst_element_link_pads), (gst_element_unlink_pads),
8980 (gst_element_unlink_many), (gst_element_unlink),
8981 (gst_pad_can_link_filtered), (gst_pad_can_link),
8982 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8983 (gst_object_default_error), (gst_bin_add_many),
8984 (gst_bin_remove_many), (gst_element_populate_std_props),
8985 (gst_element_class_install_std_props), (gst_buffer_merge),
8986 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8987 (link_fold_func), (gst_pad_proxy_setcaps):
8989 * gst/gstvalue.c: (gst_value_deserialize_string):
8990 * gst/parse/grammar.y:
8991 * gst/schedulers/gstbasicscheduler.c:
8992 (gst_basic_scheduler_cothreaded_chain),
8993 (gst_basic_scheduler_chain_recursive_add),
8994 (gst_basic_scheduler_pad_link):
8995 * gst/schedulers/gstoptimalscheduler.c:
8996 (get_group_schedule_function),
8997 (gst_opt_scheduler_state_transition),
8998 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8999 * libs/gst/bytestream/bytestream.c:
9000 * libs/gst/dataprotocol/dataprotocol.c:
9001 (gst_dp_header_from_buffer):
9004 * tests/threadstate/threadstate2.c: (eos):
9005 * tools/gst-compprep.c: (main):
9006 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9007 (print_pad_info), (print_children_info):
9008 * tools/gst-launch.c: (idle_func), (main):
9009 * tools/gst-md5sum.c: (idle_func), (main):
9010 * tools/gst-xmlinspect.c: (print_element_info):
9011 First THREADED backport attempt, focusing on adding locks and
9012 making sure the API is threadsafe. Needs more work. More docs
9015 2005-02-24 Andy Wingo <wingo@pobox.com>
9017 * tests/bench-complexity.scm:
9018 * tests/complexity.gnuplot: New files, good for running complexity
9021 * tests/Makefile.am:
9022 * tests/complexity.c: New test, sets up N elements, at each level
9023 teeing into M streams per element. Eeeenteresting.
9025 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9026 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9027 running bench-mass_elements.scm.
9029 * tests/bench-mass_elements.scm: New script, runs mass_elements
9030 for various numbers of identities, outputting the results to a
9031 file. Requires guile 1.6. Just for testing.
9033 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9035 * gst/schedulers/fairscheduler.c:
9036 compile with debug disabled
9038 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9041 hunting season on 0.9 is now OPEN