1 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4 add win32-update target
5 * win32/common/gstconfig.h:
6 * win32/common/gstenumtypes.c:
7 * win32/common/gstenumtypes.h:
8 * win32/common/gstversion.h:
9 add files that visual studio can't generate
11 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14 add a win32-update target
17 2005-10-12 Wim Taymans <wim@fluendo.com>
19 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21 * gst/gstelement.c: (gst_element_commit_state),
22 (gst_element_set_state):
23 Protect flags with proper lock.
24 unref provided cached clock in dispose.
26 2005-10-12 Stefan Kost <ensonic@users.sf.net>
29 * gst/gstminiobject.h:
31 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
32 removed unused flags from miniobject
35 2005-10-12 Wim Taymans <wim@fluendo.com>
37 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
38 (gst_file_sink_event), (gst_file_sink_render):
41 2005-10-12 Andy Wingo <wingo@pobox.com>
43 * gst/gst.c (gst_init_check): Ignore unknown options, as has
46 2005-10-12 Stefan Kost <ensonic@users.sf.net>
48 * check/gst/gstbin.c: (GST_START_TEST):
49 * docs/gst/gstreamer-sections.txt:
50 * gst/base/gstbasesink.c: (gst_base_sink_init):
51 * gst/base/gstbasesrc.c: (gst_base_src_init),
52 (gst_base_src_get_range), (gst_base_src_check_get_range),
53 (gst_base_src_start), (gst_base_src_stop):
54 * gst/base/gstbasesrc.h:
55 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
56 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
57 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
61 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
63 * gst/gstelement.c: (gst_element_is_locked_state),
64 (gst_element_set_locked_state), (gst_element_commit_state),
65 (gst_element_set_state):
67 * gst/gstindex.c: (gst_index_init):
69 * gst/gstminiobject.h:
70 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
71 (gst_object_set_parent):
73 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
74 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
76 * gst/gstpadtemplate.h:
77 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
78 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
80 * gst/indexers/gstfileindex.c: (gst_file_index_load),
81 (gst_file_index_commit):
82 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
83 * testsuite/pad/link.c: (gst_test_src_init),
84 (gst_test_filter_init), (gst_test_sink_init):
85 * testsuite/states/locked.c: (main):
86 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
87 moved bitshift from macro to enum definition
89 2005-10-12 Wim Taymans <wim@fluendo.com>
91 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
92 * gst/elements/gstfilesink.c: (gst_file_sink_event),
93 (gst_file_sink_render):
94 Some more debugging info.
96 2005-10-12 Wim Taymans <wim@fluendo.com>
98 * docs/design/part-states.txt:
99 * tools/gst-launch.c: (main):
101 Revert non-intentional change.
103 2005-10-12 Wim Taymans <wim@fluendo.com>
105 * check/gst/gstbin.c: (GST_START_TEST):
106 * check/gst/gstelement.c: (GST_START_TEST):
107 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
108 * check/gst/gstghostpad.c: (GST_START_TEST):
109 * check/gst/gstpipeline.c: (GST_START_TEST):
110 * check/pipelines/simple_launch_lines.c: (run_pipeline):
111 * check/states/sinks.c: (GST_START_TEST):
112 * gst/elements/gsttypefindelement.c: (stop_typefinding):
113 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
114 (gst_bin_remove_func), (gst_bin_get_state_func),
115 (gst_bin_recalc_state), (gst_bin_change_state_func),
117 * gst/gstelement.c: (gst_element_get_state_func),
118 (gst_element_get_state), (gst_element_abort_state),
119 (gst_element_commit_state), (gst_element_set_state),
120 (gst_element_change_state), (gst_element_change_state_func):
122 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
123 (gst_pipeline_provide_clock_func):
124 * gst/gstutils.c: (gst_element_link_pads_filtered):
125 * tools/gst-launch.c: (main):
126 * tools/gst-typefind.c: (main):
127 Use GstClockTime in _get_state() instead of GTimeVal.
128 Remove old code in gstutils.c
130 2005-10-12 Andy Wingo <wingo@pobox.com>
132 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
135 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
136 there is no task. Shouldn't affect any code, as nothing in our
137 plugins checks this return value.
138 (gst_pad_stop_task): Also take the stream lock if the pad has no
141 2005-10-12 Wim Taymans <wim@fluendo.com>
143 * gst/gstpad.c: (pre_activate), (post_activate),
144 (gst_pad_activate_pull), (gst_pad_activate_push):
145 Cleanup activation code. Reset old state if
148 2005-10-12 Wim Taymans <wim@fluendo.com>
150 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
151 (gst_base_sink_change_state):
152 No need to prerol after receiving EOS.
154 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
155 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
156 * gst/elements/gstidentity.c: (gst_identity_event):
157 Print events more verbosely.
159 2005-10-12 Wim Taymans <wim@fluendo.com>
162 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
163 * check/states/sinks2.c:
164 Moved sinks2 testcode in sinks check.
166 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
167 (gst_bin_remove_func), (gst_bin_recalc_state),
168 (gst_bin_change_state_func), (bin_bus_handler):
169 Fix potential race condition when _get_state() iterated over an
170 ASYNC element right before it posted a state completion.
175 * gst/gstevent.c: (gst_event_new_newsegment),
176 (gst_event_parse_newsegment):
177 A playback rate of 0.0 is not allowed.
179 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
181 * win32/common/config.h:
182 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
183 (_trewinddir), (_ttelldir), (_tseekdir):
184 * win32/common/dirent.h:
185 * win32/common/gtchar.h:
186 * win32/common/libgstbase.def:
187 * win32/common/libgstreamer.def:
188 * win32/vs6/grammar.dsp:
189 * win32/vs6/gst_inspect.dsp:
190 * win32/vs6/gst_launch.dsp:
191 * win32/vs6/gstreamer.dsw:
192 * win32/vs6/libgstbase.dsp:
193 * win32/vs6/libgstelements.dsp:
194 * win32/vs6/libgstreamer.dsp:
195 Visual Studio 6 project files, and a new common directory.
198 2005-10-11 Wim Taymans <wim@fluendo.com>
200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
201 (gst_base_sink_do_sync), (gst_base_sink_query),
202 (gst_base_sink_change_state):
203 * gst/base/gstbasesink.h:
204 Correctly parse newsegment info.
206 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
208 * gst/gst.c: (init_post):
209 split plugin paths correctly
211 2005-10-11 Wim Taymans <wim@fluendo.com>
213 * check/gst/gstevent.c: (GST_START_TEST):
214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
215 (gst_base_sink_change_state):
216 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
217 * gst/base/gstbasetransform.c: (gst_base_transform_event):
218 * gst/elements/gstfilesink.c: (gst_file_sink_event):
219 * gst/gstevent.c: (gst_event_new_newsegment),
220 (gst_event_parse_newsegment):
222 Added extra flag to newsegment for future API freeze.
223 Updated check and base elements.
225 2005-10-11 Julien MOUTTE <julien@moutte.net>
227 * gst/base/gstcollectpads.c: (gst_collectpads_init),
228 (gst_collectpads_add_pad), (gst_collectpads_pop),
229 (gst_collectpads_event), (gst_collectpads_chain):
230 * gst/base/gstcollectpads.h: Handle EOS correctly.
232 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
234 * tools/gst-launch.c: (main):
237 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
239 * gst/gst-i18n-lib.h:
240 check for ENABLE_NLS, not GETTEXT_PACKAGE
241 * gst/gstregistry.c: (gst_registry_add_plugin),
242 (gst_registry_scan_path_level),
243 (_gst_registry_remove_cache_plugins):
244 protect possibly NULL strings
246 config.h already included before
247 * tools/gst-inspect.c: (main):
248 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
249 check for ENABLE_NLS, not GETTEXT_PACKAGE
250 * tools/gst-launch.c: (main):
251 check for ENABLE_NLS, not GETTEXT_PACKAGE
253 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
256 if we don't have glib, fail before testing 2.8
257 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
258 fix a leak, should fix plugins-base testsuite
260 2005-10-11 Andy Wingo <wingo@pobox.com>
262 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
263 take the mode we're going to as an arg. Go head and set the mode
264 and flushing flags now, so that if the activate function starts a
265 thread all the flags will be in the right state.
266 (post_activate): Renamed also. Just handle making sure streaming
267 finishes for the deactivation case, and setting the deactivated
269 (gst_pad_set_active): Complain loudly if deactivation fails.
270 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
271 (gst_pad_activate_push): Adapt to pre/post_activate changes,
272 remove the terrible hack.
274 2005-10-11 Wim Taymans <wim@fluendo.com>
276 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
277 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
278 (gst_bin_recalc_state), (gst_bin_change_state_func),
279 (gst_bin_dispose), (bin_bus_handler):
281 Prepare to make current EOS message queue more generic.
284 * gst/gstevent.c: (gst_event_new_newsegment),
285 (gst_event_parse_newsegment):
287 Rename base to stream_time.
292 2005-10-11 Wim Taymans <wim@fluendo.com>
294 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
295 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
296 (gst_bin_change_state_func), (bin_bus_handler):
298 Work on proper clock selection.
300 2005-10-11 Edward Hervey <edward@fluendo.com>
302 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
303 * libs/gst/controller/gstcontroller.h:
304 Added GList* version of _remove_properties() in order to be able to wrap
307 2005-10-11 Wim Taymans <wim@fluendo.com>
309 * docs/design/part-states.txt:
312 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
313 (gst_bin_change_state_func), (bin_bus_handler):
314 Doc updates. Don't distribute the same clock over and over again.
320 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
321 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
322 (gst_pad_send_event):
324 Make probe emission threadsafe again.
325 Register quarks and move _get_name() from utils.
328 * gst/gstpipeline.c: (gst_pipeline_class_init),
329 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
330 Only redistribute the clock of it changed.
332 * gst/gstsystemclock.h:
337 Moved the _flow_get_name() to GstPad.
339 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
341 * check/gst-libs/gdp.c: (GST_START_TEST):
342 * check/gst/gstcaps.c: (GST_START_TEST):
343 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
344 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
345 (gst_dp_packet_from_caps):
346 fix more valgrind warnings before turning up the heat
348 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
350 * gst/parse/grammar.y:
351 some cleanup before the hacking
353 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
355 * gst/base/gstbasesrc.c: (gst_base_src_query):
357 * gst/gstutils.c: (gst_guint64_to_gdouble),
358 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
360 externalize, basesrc uses it
361 obviously the implementation needs testing
363 2005-10-10 Wim Taymans <wim@fluendo.com>
365 * tests/sched/Makefile.am:
366 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
367 (make_pipeline3), (make_pipeline4), (print_elem), (main):
369 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
371 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
372 apparently converting from guint64 to double is not implemented
375 2005-10-10 Wim Taymans <wim@fluendo.com>
378 * check/generic/states.c: (GST_START_TEST):
379 * check/gst/gstbin.c: (GST_START_TEST):
380 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
381 * check/states/sinks.c: (GST_START_TEST):
382 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
384 Check fixes, use API as stated in design docs, remove hacks.
386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
387 (gst_base_sink_change_state):
388 Catch stopping our task while we're shutting down.
390 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
391 (gst_bin_remove_func), (gst_bin_get_state_func),
392 (gst_bin_recalc_state), (gst_bin_change_state_func),
395 * gst/gstelement.c: (gst_element_init),
396 (gst_element_get_state_func), (gst_element_abort_state),
397 (gst_element_commit_state), (gst_element_lost_state),
398 (gst_element_set_state), (gst_element_change_state),
399 (gst_element_change_state_func):
401 New state change algorithm (see #318116)
403 * gst/gstpipeline.c: (gst_pipeline_class_init),
404 (gst_pipeline_init), (gst_pipeline_set_property),
405 (gst_pipeline_get_property), (do_pipeline_seek),
406 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
408 Remove crude state change hacks.
413 * tools/gst-launch.c: (main):
414 Fixes for state change. Needs some more work to fully use the
417 2005-10-10 Andy Wingo <wingo@pobox.com>
419 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
421 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
422 this flag, but it's not even in GLib 2.6. Odd. Hack around the
425 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
427 * gst/gstiterator.c: (gst_iterator_new):
428 Fix my previous commit: GTypes passed to gst_iterator_new()
429 can be fundamental types.
431 2005-10-10 Wim Taymans <wim@fluendo.com>
433 * gst/gstelement.c: (gst_element_iterate_pad_list),
434 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
435 (gst_element_iterate_sink_pads):
436 Use src/sink pads lists for the respective iterators instead
439 2005-10-10 Andy Wingo <wingo@pobox.com>
441 Merged in popt removal + GOption addition patch from Ronald, bug
444 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
445 GstElement macros around, remove popt-related symbols, add goption
448 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
450 * docs/gst/Makefile.am:
451 * docs/libs/Makefile.am: No POPT_CFLAGS.
453 * examples/manual/Makefile.am:
454 * docs/manual/basics-init.xml: Doc updates with an example.
456 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
457 (gst_init), (parse_one_option), (parse_goption_arg):
458 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
459 bit of hand merging and debugging to get the GOption stuff working
464 * tools/gst-inspect.c: (main):
465 * tools/gst-launch.c: (main):
466 * tools/gst-run.c: (main):
467 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
469 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
471 * gst/gstiterator.c: (gst_iterator_new):
472 Add assertions to make sure passed GType is likely to really
473 be a GType (as the compiler won't catch it if the size and
474 GType arguments get mixed up, see #318447).
476 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
478 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
480 * gst/gstbin.c: (gst_bin_iterate_sorted):
481 Pass GType and size arguments to gst_iterator_new() in the right
482 order (maybe we should make _new() take the GType as first argument
483 just like _new_list()?) (#318447).
486 2005-10-10 Wim Taymans <wim@fluendo.com>
488 * gst/gstelement.c: (gst_element_finalize):
489 And free the GStaticRecMutex too
491 2005-10-10 Andy Wingo <wingo@pobox.com>
493 * gst/gstelement.c (gst_element_init, gst_element_finalize):
494 Allocate and free the mutex properly.
496 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
498 (GstElement): The state_lock is now recursive. Rebuild your
499 plugins, suckers. Old macros adapted.
501 * docs/gst/gstreamer-sections.txt: Doc updates.
504 * gst/gstutils.c (g_static_rec_cond_timed_wait)
505 (g_static_rec_cond_wait): Ported from state changes patch, while
506 we wait on bug #317802 to be solved in a well-distributed GLib.
508 * gst/gstelement.c (gst_element_change_state_func): Renamed from
509 gst_element_change_state, variable name changes.
510 (gst_element_change_state): Split out of gst_element_set_state in
511 preparation for the state change merge. Doesn't pay attention to
512 the 'transition' argument.
513 (gst_element_set_state): Updates, hopefully purely cosmetic.
514 (gst_element_sync_state_with_parent): MT-safety. Ported from the
516 (gst_element_get_state_func): Renamed from get_state, cosmetic
519 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
521 * gst/elements/gstelements.c:
522 * win32/GStreamer.vcproj:
524 * win32/dirent.c: (_tseekdir):
525 * win32/gst-inspect.vcproj:
526 * win32/gst-launch.vcproj:
528 * win32/gstelements.vcproj:
529 * win32/gstenumtypes.c: (gst_object_flags_get_type):
530 * win32/gstreamer.def:
532 updates for the win32 build (patch from Sebastien Moutte)
534 2005-10-10 Andy Wingo <wingo@pobox.com>
536 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
537 gst_bin_get_state, cleaned up (but no logic changes).
538 (bin_element_is_sink): Comment updates.
539 (sink_iterator_filter): Remove needless cast.
540 (gst_bin_iterate_sinks): Doc update.
541 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
542 cleaned up (but no logic changes).
544 * check/states/sinks.c (test_src_sink): Cleanups from the state
546 (test_livesrc_sink): Sync on the state.
548 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
549 the state change patch.
551 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
554 * check/gst/gstbin.c: Merge in some style fixes and additional
555 checks from Wim's state change patch.
557 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
559 * gst/base/gsttypefindhelper.c: (helper_find_peek),
560 (gst_type_find_helper):
561 Check whether we have the requested data already in our list of
562 cached buffers before pulling a new buffer; also make the buffer
563 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
565 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
570 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
571 don't use long long, it's not portable. Replacing with
572 gint64 seems to work; let's hope no skeletons fall out of the closet.
574 2005-10-10 Andy Wingo <wingo@pobox.com>
576 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
578 2005-10-09 Stefan Kost <ensonic@users.sf.net>
580 * docs/gst/gstreamer-sections.txt:
585 * gst/gstmessage.c: (gst_message_parse_state_changed):
588 more docs, fix compilation
590 2005-10-09 Philippe Khalaf <burger@speedy.org>
592 Fixed a few forgotten variables on previous commit
594 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
596 * gst/base/gsttypefindhelper.c: (helper_find_peek):
597 Fix evil typefind crasher: getrange() might return a short
598 buffer at the end of a file, but gst_type_find_peek() must
599 either return the full data as requested or NULL, but
600 never a short buffer.
602 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
604 * gst/gstmessage.c: (gst_message_new_state_changed),
605 (gst_message_parse_state_changed):
607 don't use "new", it's a C++ keyword
609 2005-10-08 Wim Taymans <wim@fluendo.com>
611 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
612 * gst/gstelement.c: (gst_element_post_message):
613 * gst/gstpipeline.c: (gst_pipeline_change_state):
614 Small docs and debug updates.
616 2005-10-08 Stefan Kost <ensonic@users.sf.net>
618 * docs/gst/gstreamer-sections.txt:
619 * gst/gstelementfactory.c:
624 2005-10-08 Wim Taymans <wim@fluendo.com>
626 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
627 (gst_bin_dispose), (bin_bus_handler):
628 Fix typos, add comments.
629 Clear EOS list when going to PAUSED from any direction and do it
631 Get base time in a threadsafe way too.
632 Fix confusing debug in the change_state function.
633 Various other small cleanups.
635 * gst/gstelement.c: (gst_element_post_message):
636 Fix very verbose bus posting code.
638 * gst/gstpipeline.c: (gst_pipeline_class_init),
639 (gst_pipeline_set_property), (gst_pipeline_get_property),
640 (gst_pipeline_change_state):
641 Small ARG_ -> PROP_ cleanup
643 2005-10-08 Wim Taymans <wim@fluendo.com>
645 * gst/gstbin.c: (is_eos), (bin_bus_handler):
646 Do a less CPU demanding EOS check because we can.
648 2005-10-08 Wim Taymans <wim@fluendo.com>
650 * libs/gst/dataprotocol/dataprotocol.c:
651 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
652 (gst_dp_packet_from_event):
653 * libs/gst/dataprotocol/dataprotocol.h:
654 * libs/gst/dataprotocol/dp-private.h:
655 It's about time we bump the version number.
656 Since event types don't fit in the guint8 anymore describing
657 the payload type, make payload type 16 bits wide.
659 2005-10-08 Wim Taymans <wim@fluendo.com>
661 * docs/design/part-TODO.txt:
662 * docs/design/part-clocks.txt:
663 * docs/design/part-events.txt:
664 * docs/design/part-gstbin.txt:
665 * docs/design/part-gstelement.txt:
666 * docs/design/part-gstpipeline.txt:
667 * docs/design/part-live-source.txt:
668 * docs/design/part-messages.txt:
669 * docs/design/part-overview.txt:
670 * docs/design/part-states.txt:
673 2005-10-08 Wim Taymans <wim@fluendo.com>
677 Fix event quark registration.
678 Add some space between events so we can insert them in the
681 2005-10-08 Wim Taymans <wim@fluendo.com>
683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
684 (gst_base_sink_handle_buffer):
691 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
692 (gst_queue_set_property), (gst_queue_get_property):
694 Remove old unused properties.
696 2005-10-08 Stefan Kost <ensonic@users.sf.net>
697 * docs/gst/gstreamer-sections.txt:
700 * gst/gstminiobject.c:
701 * gst/gstminiobject.h:
705 lots of new docs and doc fixes
707 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
709 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
711 * gst/gstregistry.c: (gst_registry_lookup_locked),
712 (gst_registry_scan_path_level):
713 * gst/gstregistryxml.c: (load_plugin):
714 Only ever load one plugin for a given plugin basename.
715 This ensures correct overriding of GST_PLUGIN_PATH over
716 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
717 system installed plugins.
719 2005-10-08 Wim Taymans <wim@fluendo.com>
721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
722 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
723 Prepare for doing QOS.
725 2005-10-08 Wim Taymans <wim@fluendo.com>
727 * check/gst/gstbin.c: (GST_START_TEST):
728 * check/pipelines/cleanup.c: (GST_START_TEST):
729 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
730 Allow new clock message too.
732 2005-10-08 Wim Taymans <wim@fluendo.com>
734 * gst/gstmessage.c: (gst_message_new_error),
735 (gst_message_new_warning), (gst_message_new_tag),
736 (gst_message_new_state_changed), (gst_message_new_clock_provide),
737 (gst_message_new_clock_lost), (gst_message_new_new_clock),
738 (gst_message_new_segment_start), (gst_message_new_segment_done),
739 (gst_message_parse_state_changed),
740 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
741 (gst_message_parse_new_clock):
743 Also carry the clock in question.
745 2005-10-08 Wim Taymans <wim@fluendo.com>
747 * gst/gstmessage.c: (gst_message_new_custom),
748 (gst_message_new_eos), (gst_message_new_error),
749 (gst_message_new_warning), (gst_message_new_tag),
750 (gst_message_new_state_changed), (gst_message_new_clock_provide),
751 (gst_message_new_new_clock), (gst_message_new_segment_start),
752 (gst_message_new_segment_done), (gst_message_parse_state_changed),
753 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
756 Added clock related messages.
758 * gst/gstpipeline.c: (gst_pipeline_change_state):
759 Post message when the clock changed.
761 * tools/gst-launch.c: (event_loop):
764 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
766 * tools/gst-inspect.c: (print_element_properties_info):
767 Can't pass NULL strings to g_print() on windows.
769 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
772 * docs/gst/Makefile.am:
773 * docs/gst/gstreamer-docs.sgml:
774 * docs/gst/running.xml:
775 * docs/version.entities.in:
776 add a chapter on running GStreamer.
777 document GST_DEBUG and GST_PLUGIN* env vars
779 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
784 remove PLUGINS_BUILDDIR stuff
785 * gst/gst.c: (init_post):
786 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
788 remove, it was condescending and not needed
790 2005-10-08 Wim Taymans <wim@fluendo.com>
792 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
793 (gst_base_sink_handle_object), (gst_base_sink_event),
794 (gst_base_sink_wait), (gst_base_sink_handle_event),
795 (gst_base_sink_change_state):
796 * gst/base/gstbasesink.h:
797 Repost EOS message while going to PLAYING if still EOS.
798 Make sure that when receiving a FLUSH_START we don't attempt
799 to sync on the clock anymore.
801 2005-10-08 Wim Taymans <wim@fluendo.com>
803 * tools/gst-launch.c: (event_loop):
804 Better message printout.
806 2005-10-08 Wim Taymans <wim@fluendo.com>
808 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
809 (gst_bin_child_proxy_get_children_count):
810 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
811 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
812 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
813 (gst_child_proxy_set_valist):
814 * gst/parse/grammar.y:
815 Make ChildProxy threadsafe and fix mem leaks.
817 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
819 * gst/gst.c: (init_post):
820 debug the GST_PLUGIN_ env vars
822 2005-10-08 Wim Taymans <wim@fluendo.com>
824 * check/gst/gstbin.c: (GST_START_TEST):
825 * check/gst/gstmessage.c: (GST_START_TEST):
826 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
827 * gst/gstelement.c: (gst_element_commit_state),
828 (gst_element_lost_state):
829 * gst/gstmessage.c: (gst_message_new_state_changed),
830 (gst_message_parse_state_changed):
832 * tools/gst-launch.c: (event_loop):
833 Added extra field to STATE_CHANGE message with the pending
834 state, which will be different from the new state soon.
836 2005-10-08 Wim Taymans <wim@fluendo.com>
838 * gst/gstbus.c: (gst_bus_pop):
840 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
841 Small cleanups and doc updates.
843 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
845 * gst/gst.c: (init_pre):
846 * gst/gstbin.c: (gst_bin_add_func):
847 log distributing clocks and base time
848 * gst/gstregistry.c: (gst_registry_add_plugin),
849 (gst_registry_scan_path_level), (gst_registry_scan_path):
850 clean up the debugging output a little
851 * gst/gstutils.c: (gst_element_state_get_name):
852 warn about a memleak (I've actually seen this be used, though
853 it was probably a bug)
855 2005-10-07 Wim Taymans <wim@fluendo.com>
857 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
858 (gst_base_src_init), (gst_base_src_default_newsegment),
859 (gst_base_src_newsegment), (gst_base_src_do_seek),
860 (gst_base_src_loop), (gst_base_src_start):
861 * gst/base/gstbasesrc.h:
862 Make the newsegment event customizable by subclasses.
864 2005-10-07 Wim Taymans <wim@fluendo.com>
866 * gst/gstevent.c: (gst_event_new_buffersize),
867 (gst_event_parse_buffersize):
869 New event for future idea.
871 2005-10-07 Andy Wingo <wingo@pobox.com>
873 * gst/gstelement.c (gst_element_post_message): Doc update.
875 * docs/gst/gstreamer-sections.txt: Update.
877 * gst/gstmessage.c (gst_message_new_application): Made into a
878 function like honest API calls.
879 (gst_message_new_element): New message type.
881 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
883 * check/elements/fakesrc.c (test_no_preroll): New check, checks
884 that setting a live fakesrc to PAUSED returns NO_PREROLL both
887 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
888 NO_PREROLL from gst_element_change_state to fall through.
890 2005-10-07 Wim Taymans <wim@fluendo.com>
892 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
893 (gst_ghost_pad_do_activate_push):
894 Activating a ghostpad with no internal pad in push mode
897 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
900 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
901 Fixes compilation on Windows.
903 2005-10-07 Michael Smith <msmith@fluendo.com>
905 * tools/gst-inspect.c:
906 Print out feature and plugin count at the end when printing out
909 2005-10-04 Michael Smith <msmith@fluendo.com>
911 * gst/gsterror.c: (_gst_stream_errors_init):
912 Add another error string used in a few existing plugins.
915 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
916 * tools/gst-inspect.c: (print_element_info):
917 When a feature disappears from a plugin (and the feature exists in
918 the cached registry file), things went horribly wrong. This isn't a
919 complete fix, we should actually be removing the 'missing' features
920 from the features list when we load the actual plugin. That's not
923 2005-10-04 Johan Dahlin <johan@gnome.org>
925 * check/gst/gstiterator.c: (GST_START_TEST):
926 * gst/gstbin.c: (gst_bin_iterate_elements),
927 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
928 * gst/gstelement.c: (gst_element_iterate_pads):
929 * gst/gstformat.c: (gst_format_iterate_definitions):
930 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
931 (gst_iterator_new_list), (gst_iterator_filter):
933 * gst/gstquery.c: (gst_query_type_iterate_definitions):
934 Add a GType to GstIterator, update callsites and tests.
936 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
938 * gst/gstpad.c: (gst_pad_event_default_dispatch):
939 give events a chance to be handled by event probes when the pad
942 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
944 * gst/gstevent.c: (gst_event_type_get_name),
945 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
947 add string representations for event types
949 2005-10-06 Wim Taymans <wim@fluendo.com>
951 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
952 Don't use NULL pointers.
954 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
960 * gst/gstpluginfeature.c:
961 widen the debug category in output to fit the biggest one we have
962 add a bus category and use it
964 fix up some categories
966 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
968 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
969 add push activation of sink ghost pads.
972 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
974 * gst/gstutils.c: (gst_element_link_pads):
975 fix a bug in the case where neither element has a pad
976 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
977 add a test for that case
979 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
981 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
982 emit have-data before checking for peers. This allows
983 for probe handlers to connect elements. This helps autopluggers.
984 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
986 add six checks, linked/unlinked with no/true/false probe
988 2005-10-04 Wim Taymans <wim@fluendo.com>
990 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
991 (gst_fake_sink_event), (gst_fake_sink_preroll),
992 (gst_fake_sink_render), (gst_fake_sink_change_state):
993 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
994 (gst_fake_src_get_property), (gst_fake_src_create),
996 * gst/elements/gstidentity.c: (gst_identity_stop):
997 Protect last_message with lock.
999 2005-10-04 Edward Hervey <edward@fluendo.com>
1002 Added precision in the comments for GST_FORMAT_DEFAULT
1004 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1006 * tools/gst-launch.c: (main):
1007 Don't try to run erroneous pipelines.
1009 2005-10-04 Julien MOUTTE <julien@moutte.net>
1011 * gst/gstbus.c: We don't need this header.
1013 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1018 === release 0.9.3 ===
1020 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1024 Releasing 0.9.3, "Unregistered"
1026 2005-10-03 Andy Wingo <wingo@pobox.com>
1028 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1029 whereby calling a pad's activatepush() function can start a thread
1030 that starts to push or pull before the pad gets the FLUSHING flag
1031 unset. Hack around it by holding the stream lock until the flag is
1032 set. Need to replace this with a proper solution. Together with
1033 the ghost pad fixes, this fixes mp3 playing/tagreading.
1035 * docs/design/part-gstghostpad.txt: Add a note about activation of
1036 proxy pads outside of ghost pads.
1038 * gst/gstghostpad.c: Implement the ghost pad activation design.
1040 2005-10-02 Andy Wingo <wingo@pobox.com>
1042 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1043 It is volatile, after all.
1045 * docs/design/part-gstghostpad.txt: Flesh out activation with
1048 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1051 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1054 Fix (unused) AM_CONDITIONAL tests.
1056 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1058 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1060 * gst/gstutils.c: (gst_pad_query_convert):
1061 Add assertion that makes sure src_val is >=0, just like
1062 gst_query_new_convert() has. (#315895)
1064 2005-09-30 Edward Hervey <edward@fluendo.com>
1066 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1067 Let's not iterate pads we're not interested in, it avoids getting
1068 sky-high refcounts on sinkpad.
1070 2005-09-30 Wim Taymans <wim@fluendo.com>
1072 * gst/gstelement.c: (gst_element_set_state),
1073 (gst_element_change_state):
1074 Small tweak, element in ASYNC remains ASYNC.
1076 2005-09-30 Wim Taymans <wim@fluendo.com>
1078 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1079 Only error is an error.
1081 * gst/gstbin.c: (gst_bin_change_state):
1084 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1085 Also call pad_block in pad alloc.
1087 * gst/gstutils.c: (gst_flow_get_name):
1090 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1092 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1093 (gst_base_src_get_range):
1094 Fix documentation typos. Add some more debug info.
1096 2005-09-29 David Schleef <ds@schleef.org>
1098 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1099 more end-user friendly.
1100 * tools/gst-inspect.c: (main): Check if command-line argument is
1101 a file and attempt to load that file as a plugin.
1103 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1105 * check/gst/gstbin.c:
1106 * check/states/sinks.c:
1107 fix tests for the new warning
1108 * check/gst/gstpipeline.c:
1109 add a test for pipeline and bus interaction
1111 elements should be NULL if they get disposed; add a warning if not
1113 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1116 for 2.6 refcounting, make debug log more correct by printing
1117 the actual refcounts at the time of swap (Wim)
1119 2005-09-29 Andy Wingo <wingo@pobox.com>
1121 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1122 removes signal watches previously added via
1123 gst_bus_add_signal_watch.
1124 (gst_bus_add_signal_watch): Don't return the source id, just store
1125 it on the bus if there wasn't an id already.
1127 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1128 add_signal_watch and remove_signal_watch.
1130 2005-09-29 Edward Hervey <edward@fluendo.com>
1132 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1133 Better if we actually iterate the list :)
1135 2005-09-29 Wim Taymans <wim@fluendo.com>
1137 * check/gst/gstbin.c: (GST_START_TEST):
1138 Change for new bus API.
1140 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1141 (send_messages), (GST_START_TEST), (gstbus_suite):
1142 Change for new bus signal API.
1144 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1145 (gst_bus_source_prepare), (gst_bus_source_check),
1146 (gst_bus_create_watch), (gst_bus_add_watch_full),
1147 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1148 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1150 Remove support for multiple GSources operating on different
1151 message types as it is too complex and unneeded when using
1153 Added support for receiving signals from the bus.
1155 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1157 * docs/libs/tmpl/gstdataprotocol.sgml:
1158 * docs/manual/advanced-dataaccess.xml:
1159 * gst/elements/gstcapsfilter.c:
1161 rename filter-caps to caps property
1163 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1165 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1166 More robust fraction string parsing.
1168 * docs/pwg/appendix-porting.xml:
1169 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1171 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1173 * gst/gstcaps.c: (gst_caps_do_simplify):
1174 Thou shalt not free a structure and then continue using it
1175 in the next loop iteration.
1177 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1179 Add test case for caps simplification.
1181 2005-09-29 Wim Taymans <wim@fluendo.com>
1183 * check/gst/gstbin.c: (GST_START_TEST):
1186 2005-09-29 Wim Taymans <wim@fluendo.com>
1188 * check/gst/gstbin.c: (GST_START_TEST):
1191 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1192 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1193 (find_element), (gst_bin_sort_iterator_next),
1194 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1195 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1196 (gst_bin_change_state), (gst_bin_dispose):
1197 A bin does not have a bus, it gets the bus from the parent.
1199 * gst/gstelement.c: (gst_element_requires_clock),
1200 (gst_element_provides_clock), (gst_element_is_indexable),
1201 (gst_element_is_locked_state), (gst_element_change_state),
1202 (gst_element_set_bus_func):
1205 * gst/gstpipeline.c: (gst_pipeline_class_init),
1206 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1207 The pipeline provides a bus.
1209 2005-09-28 Johan Dahlin <johan@gnome.org>
1211 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1212 gst_structure_get_enum instead of gst_structure_get_int
1214 * gst/gststructure.c (gst_structure_get_enum): Impl.
1216 * gst/gststructure.h (gst_structure_get_enum): Add
1218 * docs/gst/gstreamer-sections.txt: Ditto
1220 * gst/gstmessage.c (gst_message_new_state_changed): Use
1221 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1222 which does introspection.
1223 Reviewed by Christian Schaller
1225 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1227 * gst/gstinfo.c: (gst_debug_log_default):
1228 don't do dummy g_strdup()s
1229 * libs/gst/controller/gstcontroller.c:
1230 (on_object_controlled_property_changed),
1231 (gst_controlled_property_new), (gst_controller_new_valist),
1232 (gst_controller_new_list),
1233 (gst_controller_remove_properties_valist), (gst_controller_set),
1234 (gst_controller_get), (gst_controller_sync_values),
1235 (gst_controller_get_value_array), (_gst_controller_class_init),
1236 (gst_controller_get_type):
1237 * libs/gst/controller/gstcontroller.h:
1238 * libs/gst/controller/gstinterpolation.c:
1239 (gst_controlled_property_find_timed_value_node):
1240 convert // to /**/ comments
1242 2005-09-28 Wim Taymans <wim@fluendo.com>
1244 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1245 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1246 (gst_bus_sync_signal_handler):
1248 Added async-message and sync-message signals to the bus.
1249 Added helper BusFunc to emit signals for all posted messages.
1251 * gst/gstmessage.c: (gst_message_type_get_name),
1252 (gst_message_type_to_quark), (gst_message_get_type):
1254 Register quarks for message names.
1256 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1258 * docs/libs/gstreamer-libs-sections.txt:
1259 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1260 (gst_controller_new_list):
1261 * libs/gst/controller/gstcontroller.h:
1262 added another constructor for language bindings
1264 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1266 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1270 * gst/gstinfo.c: (_gst_debug_init):
1271 slightly more readable color for refcount debugging
1273 2005-09-28 Wim Taymans <wim@fluendo.com>
1275 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1276 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1277 (find_element), (gst_bin_sort_iterator_next),
1278 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1279 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1280 (gst_bin_change_state), (gst_bin_dispose):
1281 Small doc fixes. get_clock -> provide_clock.
1283 * gst/gstelement.c: (gst_element_class_init),
1284 (gst_element_provides_clock), (gst_element_provide_clock),
1285 (gst_element_get_clock), (gst_element_commit_state),
1286 (gst_element_lost_state):
1288 Make get/set_clock() symetric. Add provide_clock vmethod since
1289 that is actually what this function does.
1291 * gst/gstpipeline.c: (gst_pipeline_class_init),
1292 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1293 (gst_pipeline_get_clock):
1294 get_clock -> provide_clock.
1296 2005-09-28 Andy Wingo <wingo@pobox.com>
1298 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1299 lieu of real docs...
1301 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1303 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
1305 * gst/elements/gstcapsfilter.c:
1306 * gst/elements/gstfakesink.c:
1307 * gst/elements/gstfakesrc.c:
1308 * gst/elements/gstfdsink.c:
1309 * gst/elements/gstfdsrc.c:
1310 * gst/elements/gstfilesink.c:
1311 * gst/elements/gstfilesrc.c:
1312 * gst/elements/gstidentity.c:
1313 * gst/elements/gsttee.c:
1314 * gst/elements/gsttypefindelement.c:
1315 Make element details static.
1317 2005-09-28 Wim Taymans <wim@fluendo.com>
1319 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1320 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1321 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1322 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1323 (gst_bin_change_state), (gst_bin_dispose):
1324 Some documentation updates.
1325 Clean up dispose handlers.
1327 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1328 * gst/gstpad.c: (gst_pad_dispose):
1329 Clean up dispose handler.
1331 * gst/gstpipeline.c: (gst_pipeline_change_state):
1332 Removed spurious UNLOCK.
1334 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1336 * docs/gst/gstreamer-sections.txt:
1337 * gst/base/gstbasesrc.h:
1342 * gst/gstpipeline.c:
1343 * gst/gstpipeline.h:
1346 added two new functions to the docs
1347 documents all undocumented GstXXXFlags
1348 completed some incomplete docs
1350 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1352 * gst/gstbin.c: (gst_bin_dispose):
1353 * gst/gstelement.c: (gst_element_dispose):
1354 remove now useless and leaky resurrection code in dispose
1355 * gst/base/gstbasesrc.c: (gst_base_src_init):
1356 * gst/gstelementfactory.c: (gst_element_factory_create):
1357 * gst/gstobject.c: (gst_object_set_parent):
1360 2005-09-27 Wim Taymans <wim@fluendo.com>
1362 * docs/design/part-TODO.txt:
1365 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1366 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1367 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1368 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1369 (gst_bin_change_state):
1371 Remove element variable, we keep element info in the iterator now.
1373 2005-09-27 Andy Wingo <wingo@pobox.com>
1375 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1378 2005-09-27 Wim Taymans <wim@fluendo.com>
1380 * check/gst/gstbin.c: (GST_START_TEST):
1381 Enable check that works now.
1383 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1384 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1385 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1386 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1387 (gst_bin_change_state):
1389 Redid the state change algorithm using a topological sort algo.
1390 Handles all cases correctly.
1391 Exposed iterator for state change order.
1394 Temp storage for state changes. Need to get rid of this soon.
1396 2005-09-27 Wim Taymans <wim@fluendo.com>
1398 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1399 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1400 (link_fold_func), (gst_pad_proxy_setcaps):
1401 Leak fixes, the fold functions need to unref the passed object and
1402 _get_parent_*() returns ref to parent.
1404 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1406 * check/gst/gstbuffer.c: (test_make_writable):
1407 Plug leak in test case and fix 'make check-valgrind'
1409 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1411 * gst/gstbuffer.c: (gst_subbuffer_init):
1412 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1413 works correctly in all circumstances (we could have just copied
1414 the parent buffer's readonly flag, but conceptually it seems
1415 cleaner to mark all subbuffers as read-only). (based on patch
1416 by Alessandro Decina, #314710).
1418 * check/gst/gstbuffer.c: (create_read_only_buffer),
1419 (test_make_writable), (test_subbuffer_make_writable),
1421 Add some tests for gst_buffer_make_writable().
1423 2005-09-27 Wim Taymans <wim@fluendo.com>
1425 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1426 use gst_object_has_ancestor().
1428 * gst/gstobject.c: (gst_object_has_ancestor):
1430 gst_object_has_ancestor() copied from gstbin.c as it is a
1433 * tests/instantiate/create.c: (create_all_elements):
1434 * tests/lat.c: (handoff_src), (handoff_sink):
1435 * tests/sched/runxml.c: (main):
1436 * tests/seeking/seeking1.c: (main):
1437 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1439 Fix compilation of some tests.
1441 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1444 Remove comment. GST_TYPE_G_ERROR is here to stay,
1445 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1448 2005-09-26 Wim Taymans <wim@fluendo.com>
1450 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1451 Added check that shows error in state change order.
1453 2005-09-26 Wim Taymans <wim@fluendo.com>
1455 * gst/gstbin.c: (gst_bin_change_state):
1456 Make state change function use 3 queues again, we were
1457 adding elements in the wrong order.
1459 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1462 * gst/gstpad.c: (gst_pad_dispose):
1463 Added some debug info first.
1465 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
1467 * docs/design/draft-push-pull.txt:
1468 * docs/design/part-events.txt:
1469 * docs/design/part-overview.txt:
1470 * docs/design/part-scheduling.txt:
1471 Replace all _pull_region() with _pull_range()
1473 2005-09-26 Andy Wingo <wingo@pobox.com>
1475 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1477 * check/gst-libs/controller.c: Update for controller api change.
1480 * tests/Makefile.am:
1481 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1482 over by GLib bug 118439.
1484 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1485 routines to a function.
1487 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1489 * libs/gst/controller/gsthelper.c:
1490 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1491 (gst_object_sync_values): Renamed from sink_values. Ugh.
1493 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1495 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1496 Renamed from controller_key, as it is exported.
1498 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1500 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
1505 * gst/gstpadtemplate.h:
1508 * gst/gstqueryutils.c:
1509 * gst/gstqueryutils.h:
1510 remove queryutils headers after moving the two used functions
1511 to gstquery. also fixes build problem for gstsiddec
1513 2005-09-26 Michael Smith <msmith@fluendo.com>
1515 * tools/gst-launch.1.in:
1516 Correct documentation in manpage of debug syntax
1518 2005-09-26 Wim Taymans <wim@fluendo.com>
1520 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1521 (gst_base_src_is_seekable), (gst_base_src_change_state):
1522 Some more debugging info.
1524 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1526 * docs/gst/gstreamer-sections.txt:
1527 * gst/base/gstbasetransform.h:
1531 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1533 * docs/gst/.cvsignore:
1534 * docs/gst/tmpl/.cvsignore:
1535 * docs/gst/tmpl/gstpipeline.sgml:
1536 * docs/gst/tmpl/gstplugin.sgml:
1537 * gst/gstpipeline.c:
1540 inlined the last two docs files
1541 removed the tmpl directory from cvs (no more conflicts here!)
1543 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1545 * docs/gst/gstreamer-sections.txt:
1546 * docs/gst/tmpl/.cvsignore:
1547 * docs/gst/tmpl/gstpad.sgml:
1548 * docs/gst/tmpl/gstpadtemplate.sgml:
1550 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1551 (gst_pad_finalize), (gst_pad_set_pad_template):
1553 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1554 (gst_pad_template_class_init), (gst_pad_template_init),
1555 (gst_pad_template_dispose), (name_is_valid),
1556 (gst_static_pad_template_get), (gst_pad_template_new),
1557 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1558 (gst_pad_template_pad_created):
1559 * gst/gstpadtemplate.h:
1560 inlined two more docs
1561 factored gstpadtemplate out of gstpad
1563 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
1565 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1566 (test_children_state_change_order_semi_sink):
1567 Fix test case: we can't rely on a fixed state change order when
1568 going from READY => PAUSED because the sink might commit its
1569 new state first when the first buffer created by the source
1570 reaches the sink before the source has finished its change state.
1571 (Test case still fails at times, see #316856, comment 5 onwards)
1573 2005-09-24 Wim Taymans <wim@fluendo.com>
1575 * docs/design/part-events.txt:
1576 * docs/design/part-gstbus.txt:
1577 * docs/design/part-gstpipeline.txt:
1578 * docs/design/part-messages.txt:
1579 * docs/design/part-overview.txt:
1580 * docs/design/part-segments.txt:
1587 * gst/gstiterator.c:
1588 Various documentation updates.
1590 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
1593 Well, that's embarassing. Luckily we weren't using
1594 GST_CLOCK_DIFF anywhere.
1596 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1598 * common/gtk-doc.mak:
1599 don't fail on building XML, FC4 slave shows a bunch of doc
1600 missing bits that I don't get
1602 * gst/gstpipeline.c:
1603 * gst/gststructure.c:
1606 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1608 * docs/design/part-gstbin.txt:
1609 * docs/design/part-gstbus.txt:
1611 Add blurb about how the bus goes into flushing mode and
1612 drops all messages when its bin goes from READY into NULL
1615 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1617 * docs/gst/gstreamer-sections.txt:
1618 * gst/gststructure.c: (gst_structure_get_clock_time):
1619 * gst/gststructure.h:
1620 add a method to get a GstClockTime out of a structure
1622 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1624 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1625 (test_children_state_change_order_semi_sink), (gst_bin_suite):
1626 Added test to check state change order in bins (can still be made
1627 to fail here under heavy disk load; bails out with 'Push on pad
1628 fakesink:sink0, but it was not activated in push mode').
1630 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1631 Fix state change order when there is only a semi sink (#316856)
1633 * gst/gstbus.c: (gst_bus_class_init):
1634 Use _class_peek_parent(), not _class_ref(); fix docs to say
1635 'default main context' instead of 'mainloop' where that is
1638 * gst/gstelement.c: (gst_element_commit_state),
1639 (gst_element_set_state):
1640 Fix typos in debug messages
1642 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1645 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1646 * gst/gstpluginfeature.c:
1649 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1650 change an assert into an error until it gets fixed properly
1652 2005-09-23 Stefan Kost <ensonic@users.sf.net>
1654 * docs/gst/gstreamer-sections.txt:
1655 * docs/gst/tmpl/.cvsignore:
1656 * docs/gst/tmpl/gstelement.sgml:
1657 * docs/gst/tmpl/gstinfo.sgml:
1658 * docs/gst/tmpl/gstobject.sgml:
1663 * gst/gstobject.c: (gst_object_class_init):
1665 inlined 3 more biiiig doc files and added some missing docs on the fly
1667 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1669 * check/gst/.cvsignore:
1670 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1671 * gst/gstregistryxml.c: (load_plugin),
1672 (gst_registry_xml_save_plugin):
1673 put back source in registry. add checks for find_plugin.
1674 * testsuite/states/bin.c: (assert_state), (empty_bin),
1675 (test_adding_one_element), (main):
1676 * testsuite/states/locked.c: (main):
1677 some compile/run fixes
1679 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1681 * check/gst/gstvalue.c: (GST_START_TEST):
1682 fix leaks in the test itself
1684 2005-09-22 Wim Taymans <wim@fluendo.com>
1686 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1687 (gst_base_sink_send_event), (gst_base_sink_peer_query),
1688 (gst_base_sink_query):
1689 Prepare for more accurate position reporting and query
1692 * gst/gstelement.c: (gst_element_send_event),
1693 (gst_element_set_state):
1696 2005-09-22 Wim Taymans <wim@fluendo.com>
1698 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1699 (gst_query_parse_segment):
1702 Add segment query for future use.
1704 2005-09-22 Wim Taymans <wim@fluendo.com>
1706 * gst/gstbin.c: (gst_bin_add_func):
1707 Some more debug info.
1709 * gst/gstelement.c: (gst_element_send_event):
1713 Don't know how flags got broken.
1718 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1720 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1721 Add simplistic test suite for GST_TYPE_DATE serialisation and
1724 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1726 * docs/gst/gstreamer-sections.txt:
1727 * gst/gststructure.c: (gst_structure_set_valist),
1728 (gst_structure_get_date):
1729 * gst/gststructure.h:
1730 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1731 (gst_date_copy), (gst_value_compare_date),
1732 (gst_value_serialize_date), (gst_value_deserialize_date),
1733 (gst_value_transform_date_string),
1734 (gst_value_transform_string_date), (_gst_value_initialize):
1736 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1737 bunch of utility functions along with a hack that checks that
1738 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1739 is required. Part of the grand scheme in #170777.
1741 2005-09-22 Andy Wingo <wingo@pobox.com>
1743 * gst/gstconfig.h.in: Psych out gtk-doc.
1745 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1747 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1749 * tools/gst-inspect.c (print_element_list): Plug some
1750 inconsequential leaks.
1752 * gst/gstregistry.c (gst_registry_get_default): Doc.
1754 * check/gst/gstplugin.c:
1755 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1756 * gst/gstelementfactory.c (gst_element_factory_create):
1757 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1760 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1761 (gst_plugin_feature_load): Doc, don't eat refs.
1763 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1764 (gst_plugin_list_free): Doc.
1765 (gst_plugin_load_file): Doc updates.
1767 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1768 accessors returning refcounted objects, return a ref.
1770 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1771 accessor for caps. IDEMPOTENCE. Oh yes.
1773 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1775 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1777 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1778 (_gst_debug_register_funcptr):
1779 Add mutex to serialise access to the hash table with
1780 the function pointer => function name string mapping;
1781 make that hash table static scope (#316809).
1783 * gst/registries/.cvsignore:
1784 Remove left-over file.
1786 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1788 * docs/pwg/appendix-porting.xml:
1789 And something about newsegment events and caps-on-buffers to
1790 the porting guide (feel free to improve).
1792 2005-09-21 Andy Wingo <wingo@pobox.com>
1794 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1795 data and event probes on the same pad.
1796 (test_buffer_probe_once): Test that removing probes from within
1797 the probe functions works.
1799 2005-09-21 Andy Wingo <wingo@pobox.com>
1801 * check/gst/gstutils.c: New file.
1802 (test_buffer_probe_n_times): A simple buffer probe test. More to
1805 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1806 have-data::buffer, not have-data.
1807 (gst_pad_add_event_probe): Likewise for have-data::event.
1808 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1809 peer' isn't quite right yet though.
1810 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1811 (gst_pad_remove_data_probe): Change to take the guint handler_id
1812 as their arg, not the function+data, which is more glib-like.
1814 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1815 the signal emission to indicate if the data is a buffer or an
1817 (gst_pad_get_type): Initialize buffer and event quarks.
1818 (gst_pad_class_init): have-data is now a detailed signal, yes it
1821 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1823 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1824 * gst/gstutils.c: (gst_util_set_value_from_string),
1825 (gst_util_set_object_arg):
1826 Don't put functional code in g_return_if_fail() or
1827 g_return_val_if_fail() statements, otherwise things will
1828 break when G_DISABLE_CHECKS is defined during compilation.
1830 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1832 * docs/gst/tmpl/.cvsignore:
1833 * docs/gst/tmpl/gstvalue.sgml:
1836 inlied another one and added some obvious docs
1838 2005-09-21 Wim Taymans <wim@fluendo.com>
1840 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1841 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1842 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1843 (gst_fdsrc_get_property), (gst_fdsrc_create):
1844 * gst/elements/gstfdsrc.h:
1845 Properly implement fdsrc. Removed signal and timeout,
1846 better implemented somewhere else.
1848 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1850 * docs/gst/tmpl/.cvsignore:
1851 * docs/gst/tmpl/gstimplementsinterface.sgml:
1852 * gst/gstinterface.c:
1855 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1857 * docs/gst/gstreamer-sections.txt:
1858 * docs/gst/tmpl/.cvsignore:
1859 * docs/gst/tmpl/gstenumtypes.sgml:
1860 remove obsolete doc file
1862 2005-09-21 David Schleef <ds@schleef.org>
1864 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1865 little beer, fix a little leak.
1867 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1869 * docs/gst/gstreamer-docs.sgml:
1870 * docs/gst/gstreamer-sections.txt:
1871 * docs/gst/tmpl/.cvsignore:
1876 * gst/gstindex.c: (gst_index_class_init):
1878 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1879 (gst_index_factory_class_init), (gst_index_factory_init),
1880 (gst_index_factory_finalize), (gst_index_factory_new),
1881 (gst_index_factory_destroy), (gst_index_factory_find),
1882 (gst_index_factory_create), (gst_index_factory_make):
1883 * gst/gstindexfactory.h:
1884 * gst/gstpluginfeature.c:
1885 * gst/gstpluginfeature.h:
1886 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1887 more docs inlined, splitted gstindex.{c,h}
1889 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1891 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1894 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1896 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1897 Set sync to FALSE by default.
1899 2005-09-20 Wim Taymans <wim@fluendo.com>
1901 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1902 (gst_base_sink_init):
1903 Make sync property settable from subclass.
1905 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1906 (gst_fake_sink_change_state):
1907 Set sync to FALSE by default.
1909 2005-09-20 Wim Taymans <wim@fluendo.com>
1911 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1912 * tools/gst-launch.c: (main):
1913 The timeout handler should have lower priority than the source
1914 so we don't timeout before popping a message with 0 timeout.
1915 Dump error messages after failed state change.
1917 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1919 * tools/gst-inspect.c: (print_element_properties_info):
1922 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1924 * check/gst/gstevent.c:
1925 * gst/elements/gstfakesink.c:
1926 * gst/elements/gstfakesink.h:
1927 remove the sync property from fakesink.
1928 has the side effect of setting sync TRUE
1929 for fakesink, which is a change. Anyone who knows how
1930 to fix this nicely in a GObject-y way, feel free.
1932 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1934 * docs/gst/gstreamer-docs.sgml:
1935 remove probe refsection
1937 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1939 * check/Makefile.am:
1940 disable valgrinding the controller test again
1941 * docs/gst/gstreamer-sections.txt:
1942 update for api-changes
1944 2005-09-20 Wim Taymans <wim@fluendo.com>
1946 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1947 (gst_base_sink_set_property), (gst_base_sink_get_property),
1948 (gst_base_sink_do_sync):
1949 * gst/base/gstbasesink.h:
1950 Added sync property to basesink to disable clock sync.
1952 2005-09-20 Andy Wingo <wingo@pobox.com>
1954 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1955 eating the caller's refcount.
1957 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1958 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1961 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1962 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1963 of GLib 2.8 public, so we can know which refcount to check in
1966 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1967 (gst_object_init): Only set the gst refcount if we're going ahead
1968 with the refcount hack.
1970 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1972 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1973 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1974 more leaks plumbed, added more debug-logging
1978 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1981 remove include of gstmemchunk.h
1983 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1985 * gst/gstclock.c: (_gst_clock_id_free):
1986 Commit from the Political Party For More Atomic CVS Commits,
1987 so that people don't waste too much of their day fishing
1988 out obvious leaks out of massive commits.
1989 Oh, and fix a pretty damn obvious leak in the memchunk
1992 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1994 * check/Makefile.am:
1995 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1996 plug mem-leak, re-add to valgrindable tests
1998 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2001 unbreak the build for those who have chronic arthritis
2002 and typing "make check" is just too taxing on the hands
2004 2005-09-20 Andy Wingo <wingo@pobox.com>
2006 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2007 really want it out, you should fix plugins at the same time.
2009 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2012 * docs/gst/gstreamer-sections.txt:
2014 added missing symbols to api docs
2015 disable ref-count hack if we have glib >= 2.8
2017 2005-09-19 David Schleef <ds@schleef.org>
2019 * docs/gst/Makefile.am: Ignore a few more internal headers
2020 * docs/gst/gstreamer-docs.sgml: Remove old sections
2021 * docs/gst/gstreamer-sections.txt: Remove old sections
2022 * docs/gst/tmpl/gstobject.sgml: update
2023 * docs/gst/tmpl/gstplugin.sgml: update
2024 * docs/gst/tmpl/gstpluginfeature.sgml: update
2025 * docs/random/ds/0.9-suggested-changes: update.
2026 * gst/Makefile.am: remove memchunk and trashstack, since they're
2028 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2029 * gst/gst.h: don't include some headers
2030 * gst/gstchildproxy.c: add gstmarshal.h
2031 * gst/gstclock.c: Don't use memchunks
2032 * gst/gstminiobject.c: Add some docs
2033 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2034 * gst/gstobject.h: same
2035 * gst/gstplugin.c: include gstmacros.h
2036 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2037 * gst/gstquery.c: don't use memchunks
2038 * gst/gstregistry.c: rename gst_registry_deinit()
2039 * gst/gstregistry.h: same
2041 2005-09-19 David Schleef <ds@schleef.org>
2043 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2044 * docs/libs/gstreamer-libs-sections.txt:
2045 * docs/libs/tmpl/gstgetbits.sgml:
2046 * docs/libs/tmpl/gstputbits.sgml:
2048 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2050 * win32/gstenumtypes.c:
2051 * win32/gstenumtypes.h:
2054 2005-09-19 Wim Taymans <wim@fluendo.com>
2056 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2057 Automatically PAUSE and RESUME a pipeline when a flushing seek
2060 2005-09-19 Andy Wingo <wingo@pobox.com>
2062 * gst/gstregistry.h: Spacing fixen.
2064 2005-09-19 Wim Taymans <wim@fluendo.com>
2066 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2067 Handle state change failure more correctly.
2069 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2071 * check/Makefile.am:
2072 * check/pipelines/cleanup.c: (run_pipeline):
2073 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2075 enable cleanup again after fixing the leak
2077 some more info on docs
2079 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2081 * check/Makefile.am:
2082 re-enable tests now that leaks are plugged
2084 * check/gst/gstbin.c:
2085 * check/gst/gstpipeline.c:
2086 add some more tests while fixing leaks
2088 make sure binaries are uptodate when valgrinding/gdbing
2090 * gst/gstelementfactory.c:
2091 remove a ref too many, and add a FIXME for when we get
2092 round to disposing of classes
2094 fix the refcounting when loading a plugin from a file and
2095 the code pretends that the pointer is the same even though
2096 of course it can change
2097 * gst/gstpluginfeature.c:
2098 unref plugins marked cached (a bit confusing as a name)
2099 as the docs state should be done
2100 various doc additions to explain refcounting
2101 * gst/gstregistry.c:
2102 * gst/gstregistryxml.c:
2105 2005-09-19 Wim Taymans <wim@fluendo.com>
2107 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2108 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2109 (send_messages), (GST_START_TEST), (gstbus_suite):
2110 * check/gst/gstpipeline.c: (GST_START_TEST):
2111 * check/pipelines/cleanup.c: (run_pipeline):
2112 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2114 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2115 (gst_bus_source_check), (gst_bus_source_dispatch),
2116 (gst_bus_create_watch), (gst_bus_add_watch_full),
2117 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2119 * tools/gst-launch.c: (event_loop):
2120 * tools/gst-md5sum.c: (event_loop):
2121 GstBusHandler -> GstBusFunc, return value has the same meaning as
2122 any other GSource (FALSE == remove source).
2123 _add_watch() and _add_watch_full() now take a MessageType mask to
2124 only handle specific types of messages.
2125 _poll() returns the GstMessage instead of the message type to avoid
2127 _have_pending() takes a MessageType mask now too.
2128 Added testsuite for multiple bus watches.
2129 Fix testsuites and applications for new bus API.
2131 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2133 * check/Makefile.am:
2134 mark a bunch of the tests as to fix until we fix them
2136 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2139 use GST_PLUGIN settings for valgrind tests as well, so we're
2140 valgrinding the correct thing
2141 * gst/gst.c: (init_post):
2144 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2146 * gst/gst.c: (init_post), (gst_deinit):
2147 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2148 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2149 * gst/gstindex.c: (gst_index_factory_class_init),
2150 (gst_index_factory_finalize):
2151 * gst/gstobject.c: (gst_object_dispose):
2152 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2153 (gst_plugin_load_file), (gst_plugin_desc_free):
2154 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2155 (gst_plugin_feature_finalize):
2156 * gst/gstregistry.c: (gst_registry_class_init),
2157 (gst_registry_init), (gst_registry_finalize),
2158 (gst_registry_get_default), (gst_registry_deinit):
2159 * gst/gstregistry.h:
2160 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2161 various cleanups and memleak plugging. make valgrind is happy now.
2163 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2166 add a check-valgrind target
2168 2005-09-18 David Schleef <ds@schleef.org>
2170 * tools/gst-inspect.c: Revert the GOption code.
2172 2005-09-17 David Schleef <ds@schleef.org>
2174 * check/Makefile.am: Fix environment variables.
2175 * check/gst/gstplugin.c: Fix for API changes.
2176 * tools/gst-inspect.c: Fix for API changes.
2177 * tools/gst-xmlinspect.c: Fix for API changes.
2178 * gst/gstelementfactory.c:
2181 * gst/gstpluginfeature.c:
2182 * gst/gstpluginfeature.h:
2183 * gst/gstregistry.c:
2184 * gst/gstregistry.h:
2185 * gst/gstregistryxml.c:
2186 * gst/gsttypefind.c:
2187 * gst/gsttypefindfactory.c:
2188 * gst/indexers/gstfileindex.c:
2189 * gst/indexers/gstmemindex.c:
2190 * gst/schedulers/Makefile.am:
2191 Change registry to keep track of both plugins and features,
2192 removing the feature tracking from plugins themselves.
2194 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2196 * check/Makefile.am:
2197 * tools/gst-register.1.in:
2200 2005-09-15 David Schleef <ds@schleef.org>
2202 * check/gst/gstplugin.c:
2203 * gst/gstelementfactory.c:
2205 * gst/gstpluginfeature.c:
2206 * gst/gstregistry.c:
2207 Getting tired of debugging. Disabled all the unreffing of
2208 plugins and features, which fixes the segfaults, but of
2209 course leaks like crazy. At least playbin works.
2211 2005-09-15 David Schleef <ds@schleef.org>
2213 * check/gst/gstplugin.c: (register_check_elements),
2214 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2216 * gst/elements/gsttypefindelement.c: Fix refcounting.
2217 * gst/gsttypefind.c:
2218 * gst/gsttypefindfactory.c:
2219 * gst/gsttypefindfactory.h:
2221 2005-09-15 David Schleef <ds@schleef.org>
2223 * gst/gstindex.c: get refcounting correct.
2224 * gst/gstregistry.c: Handle the case where a feature/plugin is
2227 2005-09-15 David Schleef <ds@schleef.org>
2229 * check/Makefile.am:
2230 * check/gst/gstplugin.c: Add test
2231 * gst/gstplugin.c: Fix problems noticed by testsuite
2233 * gst/gstregistry.c:
2234 * gst/gstregistry.h:
2236 2005-09-15 David Schleef <ds@schleef.org>
2238 * gst/gstplugin.c: Implement semi-decent recounting and locking
2239 in plugins and plugin features.
2241 * gst/gstpluginfeature.c:
2242 * gst/gstpluginfeature.h:
2243 * gst/gstregistry.c:
2245 2005-09-15 Michael Smith <msmith@fluendo.com>
2247 * gst/gstregistry.c: (gst_registry_get_feature_list):
2248 Implement this. Makes oggdemux work; decodebin still broken.
2250 2005-09-14 David Schleef <ds@schleef.org>
2252 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2254 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2255 * gst/check/Makefile.am:
2256 * libs/gst/controller/Makefile.am:
2257 * libs/gst/dataprotocol/Makefile.am:
2259 2005-09-14 David Schleef <ds@schleef.org>
2261 * configure.ac: Remove getbits library. Nothing uses it, and
2262 it should be in something like liboil if someone did want
2264 * libs/gst/Makefile.am:
2265 * libs/gst/getbits/Makefile.am:
2266 * libs/gst/getbits/gbtest.c:
2267 * libs/gst/getbits/getbits.c:
2268 * libs/gst/getbits/getbits.h:
2269 * libs/gst/getbits/gstgetbits_generic.c:
2270 * libs/gst/getbits/gstgetbits_i386.s:
2271 * libs/gst/getbits/gstgetbits_inl.h:
2273 2005-09-14 David Schleef <ds@schleef.org>
2275 * gst/Makefile.am: Dist glib-compat.h
2277 2005-09-14 David Schleef <ds@schleef.org>
2279 * configure.ac: Remove gst/registries, since it's no longer used.
2280 * gst/registries/Makefile.am:
2281 * gst/registries/gstlibxmlregistry.c:
2282 * gst/registries/gstlibxmlregistry.h:
2283 * gst/registries/gstxmlregistry.c:
2284 * gst/registries/gstxmlregistry.h:
2285 * gst/registries/registrytest.c:
2287 2005-09-14 David Schleef <ds@schleef.org>
2289 * gst/glib-compat.h:
2290 * gst/gstregistryxml.c:
2291 Convergence is near. Seriously.
2293 2005-09-14 David Schleef <ds@schleef.org>
2295 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2296 * gst/glib-compat.h:
2297 Attempt #4 to appease the buildbots.
2299 2005-09-14 David Schleef <ds@schleef.org>
2301 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2304 2005-09-14 David Schleef <ds@schleef.org>
2306 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2309 2005-09-14 David Schleef <ds@schleef.org>
2311 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2314 2005-09-14 David Schleef <ds@schleef.org>
2316 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2317 * gst/glib-compat.h: Add some functions that are in newer versions
2318 of glib than we care to require.
2319 * gst/gstregistryxml.c: Use them.
2321 2005-09-14 David Schleef <ds@schleef.org>
2323 * po/POTFILES.in: remove gst-register.c
2325 2005-09-14 David Schleef <ds@schleef.org>
2327 * docs/gst/gstreamer-docs.sgml:
2328 * docs/gst/gstreamer-sections.txt:
2329 * docs/gst/gstreamer.types:
2330 * docs/gst/tmpl/gstelement.sgml:
2331 * docs/gst/tmpl/gstplugin.sgml:
2332 * docs/gst/tmpl/gstpluginfeature.sgml:
2333 Documentation updates for registry changes.
2335 2005-09-14 David Schleef <ds@schleef.org>
2337 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2338 because we don't require glib-2.8.
2340 2005-09-14 David Schleef <ds@schleef.org>
2342 * gst/gstregistryxml.c: Added. Essentially moved out of the
2343 registries directory.
2345 2005-09-14 David Schleef <ds@schleef.org>
2347 * check/Makefile.am:
2348 * check/generic/states.c:
2352 * gst/gst_private.h:
2353 * gst/gstelementfactory.c:
2358 * gst/gstpluginfeature.c:
2359 * gst/gstpluginfeature.h:
2360 * gst/gstregistry.c:
2361 * gst/gstregistry.h:
2362 * gst/gstregistrypool.c: remove
2363 * gst/gstregistrypool.h: remove
2364 * gst/gsttypefind.c:
2365 * gst/gsttypefindfactory.c:
2367 * tools/Makefile.am:
2368 * tools/gst-compprep.c:
2369 * tools/gst-inspect.c:
2370 * tools/gst-register.c: remove
2371 * tools/gst-xmlinspect.c:
2372 Registry rewrite. Changes registry from being a file created
2373 by a tool into a simple cache file created automatically by
2374 libgstreamer. Removed gst-register (because it's no longer
2375 needed). Remove registry pools, because we only have one
2376 registry implementation (XML). Fix up other subsystems as
2379 2005-09-13 Michael Smith <msmith@fluendo.com>
2381 * gst/gstconfig.h.in:
2382 Don't Use windows linking attributes for MinGW. Fixes #316157
2384 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2386 * gst/gstutils.c: (set_state_async_thread_func),
2387 (gst_element_set_state_async):
2388 Apparently people think it's better if this function doesn't
2389 try to set the state to whatever state was asked for on the first
2390 call to this function for any object. Seriously.
2392 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2394 * check/gst/gstpipeline.c: (GST_START_TEST):
2395 * docs/gst/gstreamer-sections.txt:
2396 * gst/gstutils.c: (set_state_async_thread_func),
2397 (gst_element_set_state_async):
2399 add a "gst_element_set_state_async" method that
2400 sets the state and starts a thread to make sure the state
2401 change completes as best as it can
2403 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2405 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2406 codify design+behaviour in testsuite after discussion
2408 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2410 * docs/gst/tmpl/gstelement.sgml:
2411 * docs/manual/appendix-quotes.xml:
2413 * gst/gstelement.c: (gst_element_set_state):
2416 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2418 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2419 (gst_base_transform_prepare_output_buf),
2420 (gst_base_transform_handle_buffer):
2421 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2422 (gst_capsfilter_prepare_buf):
2423 Remove the requirement for sub-classes to call the parent
2424 implementation of prepare_output_buffer with a wrapper function.
2427 * gst/gsttagsetter.h:
2430 2005-09-11 Stefan Kost <ensonic@users.sf.net>
2432 * docs/gst/gstreamer-sections.txt:
2435 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2437 * docs/gst/gstreamer-sections.txt:
2438 * docs/gst/tmpl/gstelement.sgml:
2439 * docs/gst/tmpl/gstplugin.sgml:
2440 * gst/gstminiobject.c:
2442 docs now stop throwing warnings
2444 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2446 * docs/gst/gstreamer-sections.txt:
2447 * docs/gst/gstreamer.types:
2448 * docs/gst/tmpl/gstpad.sgml:
2449 * docs/gst/tmpl/gsttypes.sgml:
2450 * gst/base/gstadapter.h:
2451 * gst/base/gstbasesink.h:
2452 * gst/base/gstbasesrc.h:
2462 * gst/gststructure.c:
2463 * gst/registries/gstlibxmlregistry.h:
2464 various documentation fixes
2466 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2468 * docs/gst/gstreamer-sections.txt:
2469 * docs/gst/tmpl/gstvalue.sgml:
2470 rearrange gstvalue section
2471 * gst/gstutils.c: (gst_element_state_get_name):
2473 * gst/gstvalue.c: (_gst_value_initialize):
2477 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
2479 * check/gst-libs/controller.c:
2481 * gst/base/gstbasetransform.c:
2482 (gst_base_transform_default_prepare_buf),
2483 (gst_base_transform_handle_buffer):
2484 * gst/base/gstbasetransform.h:
2485 Some more basetransform changes and fixes to enable sub-classes
2486 that modify buffer metadata only.
2487 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2488 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2489 (gst_capsfilter_prepare_buf):
2490 If the output pad has fixed allowed caps and input buffers
2491 don't have any, set the fixed caps on outgoing buffers.
2493 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
2494 * check/elements/identity.c: (GST_START_TEST):
2495 Make the error a little clearer when the test fails because
2496 identity made a copy of the buffer.
2497 * docs/gst/gstreamer-sections.txt:
2498 New symbols in gstbasetransform.h
2499 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2500 (gst_base_transform_init), (gst_base_transform_transform_size),
2501 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2502 (gst_base_transform_default_prepare_buf),
2503 (gst_base_transform_get_unit_size),
2504 (gst_base_transform_buffer_alloc),
2505 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2506 (gst_base_transform_change_state),
2507 (gst_base_transform_set_passthrough),
2508 (gst_base_transform_set_in_place),
2509 (gst_base_transform_is_in_place):
2510 * gst/base/gstbasetransform.h:
2511 Change BaseTransform to separate in_place operate from same_caps
2512 output. in_place implies that the element can perform the transform
2513 on incoming buffers in-place, even if the caps on the output are
2515 Sub-class elements can now implement special buffer allocation
2516 methods for outgoing buffers if they wish to.
2517 Big documentation addition.
2518 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2519 * gst/elements/gstelements.c:
2520 Changes for basetransform modifications.
2521 * gst/elements/Makefile.am:
2522 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2523 Compile fix. Extra debug output.
2525 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2527 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2529 add tests for valid pad naming
2530 * gst/check/gstcheck.c: (gst_check_log_message_func),
2531 (gst_check_log_critical_func):
2533 remove printing of code, it is fragile when the code contains
2534 % and the line number is enough info
2535 * gst/check/gstcheck.h:
2536 * gst/gstpad.c: (gst_pad_template_new):
2539 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2542 say what CHECK flags we use
2543 * docs/libs/gstreamer-libs.types:
2544 * libs/gst/controller/Makefile.am:
2545 * libs/gst/controller/gst-controller.c:
2546 * libs/gst/controller/gst-controller.h:
2547 * libs/gst/controller/gst-helper.c:
2548 * libs/gst/controller/gst-interpolation.c:
2549 * libs/gst/controller/gstcontroller.c:
2550 * libs/gst/controller/gsthelper.c:
2551 * libs/gst/controller/gstinterpolation.c:
2552 * tools/gst-inspect.c: (print_plugin_info):
2553 we don't use dashes in header names
2555 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * check/Makefile.am:
2558 * check/gst/.cvsignore:
2559 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2560 (gst_pipeline_suite), (main):
2561 adding a test for pipelines and state changes
2562 * gst/gstutils.c: (get_state_func):
2564 * gstreamer.spec.in:
2567 2005-09-08 Michael Smith <msmith@fluendo.com>
2569 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2570 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2571 (gst_file_src_is_seekable), (gst_file_src_get_size),
2572 (gst_file_src_start):
2573 * gst/elements/gstfilesrc.h:
2574 Various fixes for unseekable, unmmapable, and non-normal files, so
2575 that fallback to read() rather than mmap() works.
2576 * gst/gstevent.c: (gst_event_new_newsegment):
2577 Allow newsegment events with segment_start == segment_end, as will
2578 correctly happen if you use filesrc on a zero-size file, for
2581 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2583 * gst/gstplugin.c: (gst_plugin_load_file):
2584 Call g_module_close when we don't load the module
2586 * gst/registries/gstlibxmlregistry.c:
2587 (gst_xml_registry_get_property):
2588 Port leak fix from 0.8
2590 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2592 * docs/gst/gstreamer-docs.sgml:
2593 * docs/gst/tmpl/.cvsignore:
2594 * docs/gst/tmpl/gsttrace.sgml:
2595 * docs/gst/tmpl/gsttrashstack.sgml:
2604 * gst/gsttaginterface.c:
2605 * gst/gsttaginterface.h:
2608 * gst/gsttagsetter.c:
2609 * gst/gsttagsetter.h:
2612 * gst/gsttrashstack.c:
2613 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2614 inlined docs for gsttrace, gsttrashstack
2616 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2619 * gst/elements/gstbufferstore.h:
2620 * gst/elements/gsttypefindelement.c:
2621 * gst/elements/gsttypefindelement.h:
2623 * gst/gsttypefind.c:
2624 * gst/gsttypefind.h:
2625 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2626 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2627 (gst_type_find_factory_dispose),
2628 (gst_type_find_factory_unload_thyself),
2629 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2630 (gst_type_find_factory_get_caps),
2631 (gst_type_find_factory_get_extensions),
2632 (gst_type_find_factory_call_function):
2633 * gst/gsttypefindfactory.h:
2634 * gst/registries/gstlibxmlregistry.c:
2635 * gst/registries/gstxmlregistry.c:
2636 splitted gsttypefind into gsttypefind, gsttypefindfactory
2638 2005-09-07 Andy Wingo <wingo@pobox.com>
2640 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2641 condition whereby the pad's task function is entered before the
2642 pad_mode variable was set.
2644 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2646 * gst/gstpad.c: (gst_pad_alloc_buffer):
2647 Catch misbehaving pad_alloc functions that don't
2648 set up caps and do it for them.
2650 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2652 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2654 * docs/gst/tmpl/.cvsignore:
2655 * docs/gst/tmpl/gstmemchunk.sgml:
2656 * docs/gst/tmpl/gstparse.sgml:
2657 * docs/gst/tmpl/gsttaglist.sgml:
2658 * docs/gst/tmpl/gsttagsetter.sgml:
2659 * docs/gst/tmpl/gsttypefind.sgml:
2660 * docs/gst/tmpl/gsttypefindfactory.sgml:
2661 * gst/gstmemchunk.c:
2664 * gst/gsttaginterface.c:
2665 * gst/gsttypefind.c:
2666 * gst/gsttypefind.h:
2669 === release 0.9.2 ===
2671 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
2676 releasing 0.9.2, "South"
2678 2005-09-05 Andy Wingo <wingo@pobox.com>
2680 * gst/registries/gstxmlregistry.h:
2681 * gst/registries/gstxmlregistry.c: Um... resurrect...
2683 * gst/registries/gstxmlregistry.h:
2684 * gst/registries/gstxmlregistry.c: and update to newer API.
2685 Incidentally they should be a bit faster now that they don't have
2688 2005-09-05 Andy Wingo <wingo@pobox.com>
2690 * gst/registries/gstxmlregistry.h:
2691 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2692 replaced by the libxml registry a while back
2694 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2696 * docs/gst/tmpl/gstplugin.sgml:
2697 * gst/elements/gstelements.c:
2699 * gst/gstplugin.c: (gst_plugin_register_func),
2700 (gst_plugin_desc_copy), (gst_plugin_desc_free),
2701 (gst_plugin_get_source):
2703 * gst/registries/gstlibxmlregistry.c: (load_plugin),
2704 (gst_xml_registry_save_plugin):
2705 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2706 (gst_xml_registry_save_plugin):
2707 * tools/gst-inspect.c: (print_plugin_info):
2708 add a "source" plugin description field, to represent the source
2709 module this plugin is a part of. By default GST_PLUGIN_DEFINE
2710 will set it to PACKAGE, which is automake's idea of the name of
2713 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2719 * docs/faq/Makefile.am:
2720 * docs/gst/tmpl/gstelement.sgml:
2721 * docs/gst/tmpl/gsttypes.sgml:
2722 * docs/htmlinstall.mak:
2723 * docs/manual/Makefile.am:
2724 * docs/pwg/Makefile.am:
2725 reorganize doc build a little
2726 split out docbook and gtk-doc stuff
2727 have two separate --enable's and enable them through autogen
2728 but disable by default in configure (to be similar to other
2730 * gstreamer.spec.in:
2731 clean up docs install
2751 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
2753 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2756 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2757 (gst_fake_sink_change_state):
2758 Make state change function thread-safe.
2760 * gst/gstpad.c: (gst_pad_alloc_buffer):
2761 Set offset on generic buffer allocated by fallback.
2763 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2765 * docs/gst/gstreamer-sections.txt:
2766 * docs/gst/tmpl/gstelement.sgml:
2768 * libs/gst/controller/gst-controller.c:
2769 (gst_controlled_property_set_interpolation_mode),
2770 (gst_controlled_property_new),
2771 (gst_controller_find_controlled_property):
2772 run the wingo-magic script against the docs
2774 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2776 * docs/gst/gstreamer-docs.sgml:
2777 * docs/gst/gstreamer-sections.txt:
2778 * docs/gst/tmpl/.cvsignore:
2779 * docs/gst/tmpl/gstelementdetails.sgml:
2780 * docs/gst/tmpl/gstelementfactory.sgml:
2783 * gst/gstelementfactory.c:
2784 * gst/gstelementfactory.h:
2785 merged elementdetails docs into elementfactory docs
2788 2005-09-02 Andy Wingo <wingo@pobox.com>
2790 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2791 consider this enum an enum and not a flags.
2793 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2795 * docs/gst/gstreamer-docs.sgml:
2796 * docs/gst/tmpl/.cvsignore:
2797 * docs/gst/tmpl/gstghostpad.sgml:
2798 * docs/gst/tmpl/gstiterator.sgml:
2799 * docs/gst/tmpl/gstmacros.sgml:
2800 * docs/gst/tmpl/gstrealpad.sgml:
2801 * docs/gst/tmpl/gstregistry.sgml:
2802 * docs/gst/tmpl/gstregistrypool.sgml:
2803 * docs/gst/tmpl/gststructure.sgml:
2804 * docs/gst/tmpl/gstsystemclock.sgml:
2805 * docs/gst/tmpl/gsttrace.sgml:
2806 * gst/gstghostpad.c:
2808 * gst/gstmemchunk.c:
2809 * gst/gstmemchunk.h:
2811 * gst/gstregistry.c:
2812 * gst/gstregistrypool.c:
2813 * gst/gststructure.c:
2814 * gst/gstsystemclock.c:
2817 2005-09-02 Andy Wingo <wingo@pobox.com>
2819 * gst/gstelement.h (GstState): Renamed from GstElementState,
2820 changed to be a normal enum instead of flags.
2821 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2822 munged to be GST_STATE_CHANGE_*.
2823 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2824 work with the new state representation.
2825 (GstStateChange): New enumeration of possible state transitions.
2826 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2827 (GstElementClass::change_state): Pass the GstStateChange along as
2828 an argument. Helps language bindings, so they don't have to use
2829 tricky lock-needing macros like GST_STATE_CHANGE ().
2831 * scripts/update-states (file): New script. Run it on a file to
2832 update it for state naming and API changes. Updates files in
2835 * All files updated for the new API.
2837 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2840 * gst/gstutils.c: (gst_util_set_value_from_string),
2841 (gst_util_set_object_arg):
2842 fix a bunch of unchecked return values
2843 * tools/gst-complete.c: (main):
2844 * gstreamer.spec.in:
2847 2005-09-01 Wim Taymans <wim@fluendo.com>
2849 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2850 (gst_base_sink_event), (gst_base_sink_do_sync),
2851 (gst_base_sink_handle_event):
2852 * gst/base/gstbasesink.h:
2853 Handle newsegments more correctly.
2858 * gst/gstevent.c: (gst_event_new_newsegment):
2859 A newsegment cannot have a start_time of -1
2861 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
2863 * win32/gstenumtypes.c:
2864 * win32/gstenumtypes.h:
2867 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2869 * libs/gst/controller/gst-controller.c:
2870 (gst_controlled_property_set_interpolation_mode),
2871 (gst_controlled_property_new):
2874 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2876 * docs/faq/gst-uninstalled:
2881 * gst/gstutils.c: (gst_element_link_filtered):
2883 add gst_element_link_filtered
2885 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2887 * docs/gst/gstreamer-docs.sgml:
2888 * docs/gst/gstreamer-sections.txt:
2889 * docs/gst/tmpl/.cvsignore:
2890 * docs/gst/tmpl/gsterror.sgml:
2891 * docs/gst/tmpl/gstfilter.sgml:
2892 * docs/gst/tmpl/gsturihandler.sgml:
2893 * docs/gst/tmpl/gsturitype.sgml:
2894 * docs/gst/tmpl/gstutils.sgml:
2895 * docs/gst/tmpl/gstxml.sgml:
2903 inlined more docs, fixed double id-ref
2905 2005-08-31 Wim Taymans <wim@fluendo.com>
2907 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2908 (gst_base_transform_handle_buffer):
2909 Passthrough elements don't need the caps as they don't care.
2911 2005-08-31 Wim Taymans <wim@fluendo.com>
2913 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2914 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2915 Don't leak refcounts on buffers.
2917 2005-08-31 Wim Taymans <wim@fluendo.com>
2919 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2920 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2921 (gst_base_transform_chain), (gst_base_transform_change_state):
2922 * gst/base/gstbasetransform.h:
2923 Handle the case where we are not negotiated more gracefully.
2925 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2927 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2928 (gst_file_src_map_region):
2929 Set READONLY flag on mmap'ed buffers, otherwise
2930 gst_buffer_make_writable() won't work properly (#314708).
2932 2005-08-31 Wim Taymans <wim@fluendo.com>
2934 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2935 passthrough elements can even do inplace on non writable
2936 buffers (as they don't touch them).
2938 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2940 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2941 (gst_test_mono_source_set_property),
2942 (gst_test_mono_source_class_init), (GST_START_TEST),
2943 (gst_controller_suite):
2944 more tests (hehe I have the most)
2946 describe popping messages whenusing mulltiple sources
2947 * libs/gst/controller/gst-controller.c:
2948 (gst_controlled_property_set_interpolation_mode),
2949 (gst_controlled_property_new):
2950 * libs/gst/controller/gst-controller.h:
2951 * libs/gst/controller/gst-interpolation.c:
2952 implement boolean properties
2954 2005-08-31 Wim Taymans <wim@fluendo.com>
2956 * gst/gstminiobject.c: (gst_mini_object_ref):
2957 Cannot assert that the refcount has to be positive
2958 since a disposed object can be resurrected.
2960 2005-08-31 Wim Taymans <wim@fluendo.com>
2962 * gst/gstpad.c: (gst_pad_init):
2963 Revert change, need to first fix badly behaving
2966 2005-08-30 Wim Taymans <wim@fluendo.com>
2968 * check/elements/fakesrc.c: (setup_fakesrc):
2969 * check/elements/identity.c: (setup_identity):
2970 Activate pads before using them.
2972 2005-08-30 Wim Taymans <wim@fluendo.com>
2974 * gst/base/gstadapter.c: (gst_adapter_flush):
2975 Flushing out 0 bytes is ok for this function.
2977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2978 no newsegment gives a warning and sets the start/stop to
2981 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2982 (gst_base_transform_set_passthrough):
2985 * gst/gstminiobject.c: (gst_mini_object_ref):
2986 Check refcount here too.
2988 * gst/gstpad.c: (gst_pad_init):
2989 Pads are initially flushing and refusing data.
2991 * gst/gstutils.c: (gst_element_link_pads_filtered):
2992 When adding a capsfilter element make sure it has the
2993 same state as the parent bin.
2995 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2997 * docs/gst/tmpl/.cvsignore:
2998 * docs/gst/tmpl/gstformat.sgml:
2999 * docs/gst/tmpl/gstversion.sgml:
3003 * gst/gstversion.h.in:
3004 more docs and two more inlined
3006 2005-08-30 Wim Taymans <wim@fluendo.com>
3008 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3009 Don't sync to clock.
3011 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3013 * docs/gst/gstreamer-sections.txt:
3014 ultral33t func10ns deserve to appear in the docs actually
3015 * docs/gst/tmpl/.cvsignore:
3016 * docs/gst/tmpl/gstcompat.sgml:
3017 * docs/gst/tmpl/gstconfig.sgml:
3018 * gst/check/gstcheck.c:
3020 * gst/gstconfig.h.in:
3023 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3025 * docs/gst/tmpl/.cvsignore:
3026 * docs/gst/tmpl/gstquery.sgml:
3027 * docs/gst/tmpl/gstutils.sgml:
3030 inlined and extended docs
3032 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3034 * check/gst-libs/controller.c: (GST_START_TEST),
3035 (gst_controller_suite):
3037 * docs/gst/tmpl/gstutils.sgml:
3038 * docs/libs/gstreamer-libs-sections.txt:
3039 * docs/libs/tmpl/gstdataprotocol.sgml:
3041 * examples/controller/audio-example.c: (main):
3042 controller example works now
3045 * tools/gst-inspect.c: (print_element_properties_info):
3046 show param spec flags
3048 2005-08-29 Andy Wingo <wingo@pobox.com>
3050 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3052 2005-08-28 Andy Wingo <wingo@pobox.com>
3054 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3055 as having two arguments instead of just one. Allows superclasses
3056 to access information on subclasses -- see the terrible for() loop
3057 in gtype.c:g_type_create_instance for the reason why. All callers
3060 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3062 * docs/design/part-messages.txt:
3064 * docs/gst/tmpl/.cvsignore:
3065 * docs/gst/tmpl/gstcaps.sgml:
3066 * docs/gst/tmpl/gstclock.sgml:
3073 added descriptions for bus and message
3074 inline caps and clock docs
3076 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3082 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3084 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3087 2005-08-26 Andy Wingo <wingo@pobox.com>
3089 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3090 element_set_state's return val.
3091 (test_2_elements): Add test that's been disabled for months.
3093 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3094 can-activate-pull properties.
3096 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3097 can-activate-pull properties. Implement is_seekable so fakesrc can
3098 operate in pull mode.
3100 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3102 (gst_base_sink_activate, gst_base_sink_activate_pull)
3103 (gst_base_sink_activate_push): Make activation mode choosing work.
3105 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3106 is right. Make pull mode work. Post an eos before pausing in pull
3108 (gst_base_sink_change_state): Pay attention to the core's
3109 change_state() return val.
3111 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3112 has-getrange properties. Cleanups.
3114 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3115 has_getrange and replace with can_activate_pull and
3118 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3119 locking comments. Remove has_loop, has_chain and replace with
3120 can_activate_pull and can_activate_push.
3122 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3125 * examples/Makefile.am:
3126 * examples/metadata/Makefile.am:
3127 * examples/metadata/read-metadata.c: (message_loop),
3128 (have_pad_handler), (make_pipeline), (print_tag), (main):
3129 Add metadata reading example that loops over a list of filenames,
3130 dumping any tags found.
3132 * gst/gstbus.c: (gst_bus_dispose):
3133 * gst/gstelement.c: (gst_element_dispose):
3134 Release a few potentially-held references in dispose.
3136 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3138 * docs/gst/tmpl/gstminiobject.sgml:
3139 do *not* add tmpl/*.sgml files to CVS!
3141 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3143 * libs/gst/bytestream/.cvsignore:
3144 * libs/gst/bytestream/Makefile.am:
3145 * libs/gst/bytestream/adapter.c:
3146 * libs/gst/bytestream/adapter.h:
3147 * libs/gst/bytestream/bytestream.c:
3148 * libs/gst/bytestream/bytestream.h:
3149 * libs/gst/bytestream/filepad.c:
3150 * libs/gst/bytestream/filepad.h:
3151 removing obsolete files
3153 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3155 * docs/gst/gstreamer-docs.sgml:
3156 * docs/libs/gstreamer-libs-docs.sgml:
3157 disabed additional index entries again, as this makes docs-gen just
3158 slow and they aren't useful yet
3159 * docs/libs/gstreamer-libs-sections.txt:
3160 little -section.txt cleanup for libs
3162 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3165 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3166 fix up some debugging
3167 (gst_base_transform_get_unit_size),
3168 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3169 (gst_base_transform_handle_buffer):
3170 * gst/base/gstbasetransform.h:
3171 handle and store timed NEWSEGMENT events so that subclasses that
3172 calculate time by counting samples have a segment_start time they
3173 need to add to their timestamps - see audioresample
3175 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3178 removed ';' from the end of macro defs
3179 * docs/gst/gstreamer-docs.sgml:
3180 * docs/gst/gstreamer-sections.txt:
3181 * docs/gst/tmpl/.cvsignore:
3183 * gst/gstelement.c: (gst_element_class_init),
3184 (gst_element_set_state), (activate_pads),
3185 (gst_element_save_thyself):
3186 * gst/gstevent.c: (gst_event_new_newsegment):
3188 * gst/gstiterator.c:
3189 * gst/gstiterator.h:
3192 * gst/gstutils.c: (gst_pad_query_convert):
3194 fixed parameter name mismatches between source, header and docs
3195 added some more docs, resolved the last batch of unused elements in
3196 docs (now someone needs to doc them)
3198 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3200 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3201 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3202 don't walk through the plugins backwards. Where is all this
3203 reversed logic coming from ?
3205 2005-08-25 Wim Taymans <wim@fluendo.com>
3207 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3208 (gst_base_transform_transform_size),
3209 (gst_base_transform_configure_caps),
3210 (gst_base_transform_get_unit_size),
3211 (gst_base_transform_buffer_alloc),
3212 (gst_base_transform_change_state):
3213 * gst/base/gstbasetransform.h:
3214 Cache caps unit_size.
3215 Make sure we cannot negotiate up and downstream at the
3218 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3220 * gst/gst.c: (init_pre), (init_post):
3221 register the installed plugin path after the env var
3222 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3223 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3224 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3225 directories, so the tests can prefer uninstalled over installed
3227 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3229 * gst/base/gstbasetransform.h:
3234 2005-08-25 Wim Taymans <wim@fluendo.com>
3236 * gst/gstbin.c: (bin_bus_handler):
3237 Be a bit more conservative about the posted message.
3239 * gst/gstbus.c: (gst_bus_post):
3240 Some cleanups, warn wrong return values.
3242 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3244 * check/gst/gstbin.c: (GST_START_TEST):
3245 * gst/gstbin.c: (bin_bus_handler):
3246 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3247 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3248 (gst_message_new_warning), (gst_message_new_tag),
3249 (gst_message_new_state_changed), (gst_message_new_segment_start),
3250 (gst_message_new_segment_done), (gst_message_new_custom):
3252 * tools/gst-launch.c: (event_loop):
3253 * tools/gst-md5sum.c: (event_loop):
3254 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3256 2005-08-25 Wim Taymans <wim@fluendo.com>
3258 * check/generic/states.c: (GST_START_TEST):
3259 Cleanup can be done at the end.
3261 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3262 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3263 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3264 Oh boy.. Thanks for finding this, Thomas.
3266 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3268 * docs/gst/gstreamer.types:
3271 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3273 * docs/gst/gstreamer-docs.sgml:
3274 * docs/gst/gstreamer-sections.txt:
3275 * docs/gst/tmpl/.cvsignore:
3277 * gst/gstiterator.c:
3279 * gst/registries/gstxmlregistry.h:
3280 added missing classes and symbols (123 more to go)
3281 removed removed symbols from section file
3282 fixed many doc-comments
3284 2005-08-24 Wim Taymans <wim@fluendo.com>
3286 * check/generic/states.c: (GST_START_TEST):
3287 Make sure all tasks are stopped.
3289 * check/gst/gstbin.c: (GST_START_TEST):
3290 Unref after usage for proper valgrinding.
3292 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3293 Really wait for the task to stop before destroying the
3296 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3297 (gst_queue_src_activate_push):
3298 Small cleanups. Don't stop the task when we did not start
3301 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3302 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3303 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3306 Protect the stream lock with the object lock.
3307 Disallow setting the stream lock when running.
3308 Add cleanup_all to wait for the threadpool to finish.
3309 Remove code to autoallocate a mutex if none was provided.
3310 Add _join() to wait for a task to stop.
3311 Protect the thread pool with a global lock.
3313 2005-08-24 Wim Taymans <wim@fluendo.com>
3315 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3316 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3317 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3318 * gst/base/gstbasesink.h:
3319 Handle newsegment events correctly.
3320 Drop buffers out of the segment range.
3322 2005-08-22 Andy Wingo <wingo@pobox.com>
3324 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3325 macro, implements an interface and gstimplementsinterface for a
3328 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3330 * check/Makefile.am:
3331 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3332 add a test that does a bunch of state changes on elements
3333 needs some fixing for valgrind
3334 * check/states/sinks.c: (gst_object_suite):
3337 add prototype for gst_caps_is_equal_fixed
3339 * gst/gstregistrypool.c:
3342 2005-08-24 Andy Wingo <wingo@pobox.com>
3344 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3345 convert a negative value. Doesn't make much sense. Mostly this is
3346 here to force callers to ensure -1 maps to -1.
3348 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3350 * docs/pwg/advanced-types.xml:
3351 Well done to Michael for catching my deliberate introduction
3352 of this spelling mistake.
3353 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3355 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3356 unlink pads before removing the element from the bin.
3358 2005-08-24 Andy Wingo <wingo@pobox.com>
3360 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3361 the same thing as GST_DEBUG=*:4.
3362 (parse_debug_level, parse_debug_category): New helper parsers.
3364 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3366 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3367 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3368 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3369 (gst_base_transform_buffer_alloc),
3370 (gst_base_transform_handle_buffer):
3371 use gboolean return values and pointers to size so we can use the
3372 full GST_BUFFER_SIZE range (guint) for buffer sizes
3373 use GstPadDirection for transform_caps
3374 * gst/base/gstbasetransform.h:
3375 rename get_size to get_unit_size since that's what it is
3376 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3377 use GstPadDirection for transform_caps
3378 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3380 cleanup and debugging
3382 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3384 * gst/gstelement.c: (gst_element_class_init),
3385 (gst_element_set_state), (activate_pads),
3386 (gst_element_save_thyself):
3387 * tools/gst-compprep.c: (main):
3388 * tools/gst-inspect.c: (print_element_properties_info):
3389 * tools/gst-xmlinspect.c: (print_element_properties):
3390 Fixed long standing mem-leak
3392 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3394 * check/gst/gstbin.c: (GST_START_TEST):
3395 * gst/gstbin.c: (bin_bus_handler):
3396 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3397 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3398 (gst_message_new_warning), (gst_message_new_tag),
3399 (gst_message_new_state_changed), (gst_message_new_segment_start),
3400 (gst_message_new_segment_done), (gst_message_new_custom):
3402 * tools/gst-launch.c: (event_loop):
3403 * tools/gst-md5sum.c: (event_loop):
3404 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3405 that applications can sensibly post custom messages with references
3406 to their own objects.
3408 2005-08-24 Andy Wingo <wingo@pobox.com>
3410 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3413 2005-08-24 Wim Taymans <wim@fluendo.com>
3415 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3416 (gst_base_transform_transform_caps),
3417 (gst_base_transform_transform_size),
3418 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3419 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3420 (gst_base_transform_handle_buffer):
3421 * gst/base/gstbasetransform.h:
3422 Many fixes and new features added by Thomas. Can now also do
3423 transforms with variable sizes and a custom fixate_caps function.
3425 2005-08-24 Wim Taymans <wim@fluendo.com>
3427 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3431 Cast to ClockTime before formatting to time.
3436 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3438 * check/gst-libs/controller.c: (GST_START_TEST),
3439 (gst_controller_suite):
3440 * docs/gst/tmpl/gstcaps.sgml:
3441 * docs/gst/tmpl/gstghostpad.sgml:
3442 * docs/gst/tmpl/gstquery.sgml:
3443 * docs/gst/tmpl/gstutils.sgml:
3444 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3445 (gst_object_sink_values), (gst_object_get_value_arrays),
3446 (gst_object_get_value_array):
3447 gracefully handle helper method calls to objects that are not beeing
3448 controlled, added test case for that
3450 2005-08-23 Wim Taymans <wim@fluendo.com>
3452 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3453 (gst_event_new_newsegment), (gst_event_parse_newsegment),
3454 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3455 (gst_event_parse_qos), (gst_event_new_seek),
3456 (gst_event_parse_seek):
3458 Some more debugging output and doc cleanups.
3460 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3461 Fix possible deadlock.
3463 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3465 * docs/gst/gstreamer-docs.sgml:
3466 * docs/gst/gstreamer-sections.txt:
3467 * docs/gst/gstreamer.types:
3468 * docs/gst/tmpl/.cvsignore:
3473 added 100 symbols from gstreamer-unused.txt to the right sections
3474 fixed more broken comments
3475 added GstBus to docs
3477 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3479 * docs/gst/gstreamer-sections.txt:
3480 * docs/gst/tmpl/.cvsignore:
3481 * docs/gst/tmpl/gstbin.sgml:
3482 * docs/gst/tmpl/gstbuffer.sgml:
3483 * gst/base/gstbasesrc.c:
3484 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3487 * tools/gst-launch.1.in:
3488 inlined more doc comments, added missing comments and fixed comments
3491 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
3493 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3497 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3499 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3500 * gst/gststructure.h:
3501 add a fixate function for booleans; add a FIXME that these func
3502 names should probably be gst_structure_fixate_*
3504 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3506 * docs/gst/gstreamer-docs.sgml:
3507 * docs/gst/gstreamer-sections.txt:
3509 * gst/gstbin.c: (gst_bin_get_type),
3510 (gst_bin_child_proxy_get_child_by_index),
3511 (gst_bin_child_proxy_get_children_count),
3512 (gst_bin_child_proxy_init):
3513 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3514 (gst_child_proxy_get_child_by_index),
3515 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3516 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3517 (gst_child_proxy_get), (gst_child_proxy_set_property),
3518 (gst_child_proxy_set_valist), (gst_child_proxy_set),
3519 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3520 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3521 * gst/gstchildproxy.h:
3522 * gst/parse/grammar.y:
3523 * tools/gst-inspect.c: (print_interfaces),
3524 (print_element_properties_info), (print_element_info):
3525 ported gstchildproxy over from 0.8
3526 ported gst-inspect fixes and enhancements over from 0.8
3528 2005-08-22 Wim Taymans <wim@fluendo.com>
3530 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3531 (gst_base_transform_handle_buffer):
3532 Also call the transform function if we have ANY caps.
3534 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3537 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3539 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3540 Don't pretend to handle seek events if the source is not seekable
3542 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3545 Remove extra parameter to debug output
3547 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3548 (gst_base_src_do_seek), (gst_base_src_activate_push):
3549 Fix seek event handling.
3551 * gst/gstpipeline.c: (gst_pipeline_change_state):
3552 * gst/gstqueue.c: (gst_queue_handle_sink_event),
3553 (gst_queue_src_activate_push):
3554 Don't start the src pad task on FLUSH_STOP if the pad
3558 2005-08-22 Wim Taymans <wim@fluendo.com>
3560 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3561 Added check for gst_static_caps_get() refcounting.
3563 2005-08-22 Wim Taymans <wim@fluendo.com>
3565 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3566 Make _static_caps_get() refcounting sane.
3568 * gst/gstelement.c: (gst_element_set_state):
3569 Add g_return_val_if_fail() to protect against segfaults.
3571 2005-08-22 Stefan Kost <ensonic@users.sf.net>
3573 * docs/gst/tmpl/gstevent.sgml:
3576 inlined remaining docs, added missing doc comments
3578 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
3580 * check/gst/gstbin.c: (GST_START_TEST):
3581 since we don't know when preroll is done, use refcount range
3583 * gst/check/gstcheck.h:
3584 add macro for checking refcount range
3586 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3588 * check/Makefile.am:
3589 clean up environment for when registry gets built versus
3590 when actual tests are run; valgrind seems to not report
3591 leaks if GST_PLUGIN_PATH is set to some specific values
3592 * check/gst/gstbin.c: (GST_START_TEST):
3593 add more refcounting checks; maybe this exposes a
3596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3597 * gst/check/gstcheck.h:
3598 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3599 (gst_bin_change_state):
3600 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3601 add/fix debugging/whitespace
3603 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3605 * check/gst/gstevent.c: (event_probe), (test_event),
3607 Er, don't call gst_bin_watch_for_state_change you idiot.
3609 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3611 * check/Makefile.am:
3612 Use CHECK_CFLAGS and CHECK_LIBS
3613 * check/gst/gstevent.c: (event_probe), (test_event),
3616 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3617 (gst_base_src_start), (gst_base_src_stop),
3618 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3619 (gst_base_src_change_state):
3620 Sprinkle gst_base_src_stop liberally around error paths to fix
3621 problems reusing a source after failed state changes.
3622 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3623 (helper_find_suggest), (gst_type_find_helper):
3624 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3626 * docs/gst/tmpl/gstevent.sgml:
3627 Migrate part of the docs from the SGML file. Wait for ensonic to
3628 tell me how I did it wrong ;)
3629 * tools/gst-typefind.c: (main):
3630 Extra robustness to state changes between files.
3632 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3634 * check/Makefile.am:
3635 don't valgrind the controller test - it's leaking - Stefan, HELP
3636 * gst/check/gstcheck.c: (gst_check_message_error),
3637 (gst_check_chain_func), (gst_check_setup_element),
3638 (gst_check_teardown_element), (gst_check_setup_src_pad),
3639 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3640 (gst_check_teardown_sink_pad):
3641 * gst/check/gstcheck.h:
3642 add a bunch of methods to set up elements, and src and sink pads
3643 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3644 * check/elements/identity.c: (setup_identity), (cleanup_identity),
3649 whitespace/doc fixes
3651 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3654 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3655 be handled by the application and not always printed as well
3657 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3659 * check/Makefile.am:
3661 * gst/check/gstcheck.c: (gst_check_message_error):
3662 * gst/check/gstcheck.h:
3663 add a fail_unless_equals_int
3664 add fail_unless for error messages
3666 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3668 * check/Makefile.am:
3670 * common/Makefile.am:
3673 factor out some of the common stuff so we can use it
3675 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3677 * check/Makefile.am:
3678 * check/gst/gstiterator.c: (GST_START_TEST):
3679 * check/gst/gstsystemclock.c: (GST_START_TEST),
3680 (gst_systemclock_suite):
3681 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3685 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3687 * check/elements/.cvsignore:
3688 * check/elements/gstfakesrc.c:
3689 rename to name of element
3690 * check/elements/identity.c: (chain_func), (event_func),
3691 (setup_identity), (cleanup_identity), (GST_START_TEST),
3692 (identity_suite), (main):
3693 add a test for identity
3694 * check/Makefile.am:
3695 * pkgconfig/Makefile.am:
3696 * pkgconfig/gstreamer-check.pc.in:
3697 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3701 move the check stuff to a library that gets installed
3702 * check/gst-libs/controller.c: (GST_START_TEST):
3703 * check/gst-libs/gdp.c:
3704 * check/gst/gst.c: (GST_START_TEST):
3705 * check/gst/gstbin.c:
3706 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3707 * check/gst/gstbus.c:
3708 * check/gst/gstcaps.c: (GST_START_TEST):
3709 * check/gst/gstelement.c:
3710 * check/gst/gstghostpad.c:
3711 * check/gst/gstiterator.c:
3712 * check/gst/gstmessage.c:
3713 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3714 * check/gst/gstobject.c:
3715 * check/gst/gstpad.c: (GST_START_TEST):
3716 * check/gst/gststructure.c: (GST_START_TEST):
3717 * check/gst/gstsystemclock.c: (GST_START_TEST),
3718 (gst_systemclock_suite):
3719 * check/gst/gsttag.c: (gst_tag_suite):
3720 * check/gst/gstvalue.c:
3721 * check/pipelines/cleanup.c:
3722 * check/pipelines/simple_launch_lines.c:
3723 * check/states/sinks.c:
3724 change include statement
3726 * docs/gst/gstreamer-sections.txt:
3727 * docs/gst/tmpl/gstpad.sgml:
3728 document more pad stuff
3729 * gst/gstminiobject.c: (gst_mini_object_ref),
3730 (gst_mini_object_unref):
3733 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3735 * docs/gst/tmpl/gst.sgml:
3737 eliminate another tmpl file, fix spelling in the long-description
3739 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3741 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3742 (test_event), (timediff), (gstevents_suite):
3743 Should fix build on 64-bit arch's
3745 2005-08-18 Andy Wingo <wingo@pobox.com>
3747 Make sure that when a pipeline goes to PLAYING, that data has
3748 actually hit the sink.
3750 * check/states/sinks.c (test_sink): A sink that doesn't get any
3751 data shouldn't return SUCCESS for going to either PLAYING or
3752 PAUSED. Test also the return values on the way back down.
3754 * gst/gstelement.c (gst_element_set_state): When changing the
3755 state of an element currently changing state asynchronously, go to
3756 lost-state after commiting the pending state. Makes future calls
3757 to get_state continue to return ASYNC.
3759 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3760 ASYNC when going to PLAYING if we still don't have preroll, as can
3761 happen with live sources.
3763 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3765 * docs/pwg/advanced-types.xml:
3766 Hack long paragraph into 2 chunks as a workaround for buggy
3767 jadetex version in sid and breezy that loops infinitely and
3770 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3772 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3773 (test_event), (timediff), (gstevents_suite):
3774 Provide more error margin in clock measurements to allow for
3775 g_get_current_time inaccuracies.
3777 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3779 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3780 (test_event), (timediff), (gstevents_suite):
3781 Fix error message output so I might be able to tell why the
3782 test works here but fails on the build farm.
3784 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3786 * check/Makefile.am:
3787 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3788 (test_event), (timediff), (gstevents_suite), (main):
3791 * docs/design/part-seeking.txt:
3794 * docs/gst/tmpl/gstevent.sgml:
3795 * docs/gst/tmpl/gstfakesrc.sgml:
3798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3799 Treat a buffer-without-newsegment the same as a receiving
3800 a newsegment not in time format, and disable syncing to the clock
3803 * gst/gstbus.c: (gst_bus_set_sync_handler):
3804 Assert if anyone tries to replace the existing sync_handler for bus,
3805 as only the owner should be setting it.
3808 Have a fixed set of custom event enums with events identified by
3809 their structure name (as in 0.8), rather than a free-for-all
3810 allowing collisions between enum values from different plugins.
3812 * gst/gstpad.c: (gst_pad_class_init):
3815 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3816 Handle out-of-band downstream events from the sending thread.
3818 2005-08-17 Andy Wingo <wingo@pobox.com>
3820 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3821 play-timeout==0 to mean no timeout at all. In that case, don't
3822 bother with a get_state or a warning, just return directly, even
3825 * gst/base/gstbasetransform.c: Debug changes.
3828 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3829 ensure bins post state change messages. A bit of a hack but I can't
3830 think of a way to avoid it.
3832 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3834 2005-08-16 Andy Wingo <wingo@pobox.com>
3836 * gst/base/gstadapter.h:
3837 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3838 peek() but you own the data. Not terribly efficient atm.
3840 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3842 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3843 (gst_element_found_tags):
3845 Add two utility functions for tag handling.
3847 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3849 * docs/manual/advanced-dataaccess.xml:
3850 * docs/manual/basics-helloworld.xml:
3851 Fix docs to use _bin_add() before _link(), which fixes the examples
3852 with recent core versions (reported by Madhan Raj M
3853 <raj_madan@rediffmail.com>, #313199).
3855 2005-08-16 Wim Taymans <wim@fluendo.com>
3857 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3858 Added subtract checks.
3860 * docs/design/part-events.txt:
3861 Some more docs about newsegment
3863 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3866 * gst/gstcaps.c: (gst_caps_to_string):
3867 Add comments, cleanups.
3869 * gst/gstelement.c: (gst_element_save_thyself):
3872 * gst/gstvalue.c: (gst_value_collect_int_range),
3873 (gst_string_unwrap), (gst_value_union_int_int_range),
3874 (gst_value_union_int_range_int_range),
3875 (gst_value_intersect_int_int_range),
3876 (gst_value_intersect_int_range_int_range),
3877 (gst_value_intersect_double_double_range),
3878 (gst_value_intersect_double_range_double_range),
3879 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3880 (gst_value_subtract_int_range_int),
3881 (gst_value_subtract_double_range_double),
3882 (gst_value_subtract_double_range_double_range),
3883 (gst_value_subtract_from_list), (gst_value_subtract_list),
3884 (gst_value_can_compare), (gst_value_compare_fraction):
3885 Cleanups, add comments, remove unneeded asserts.
3887 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3889 * tools/gst-launch.c: (event_loop):
3890 don't convert NULL structures to strings
3892 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3894 * docs/gst/gstreamer-sections.txt:
3895 made some defines private
3896 * docs/gst/tmpl/gstconfig.sgml:
3897 * docs/gst/tmpl/gstqueue.sgml:
3898 * docs/gst/tmpl/gsttaglist.sgml:
3899 * docs/gst/tmpl/gsttypes.sgml:
3900 * docs/gst/tmpl/gstutils.sgml:
3901 * docs/pwg/appendix-porting.xml:
3902 * gst/base/gstbasesink.h:
3903 * gst/base/gstbasesrc.c:
3904 * gst/base/gstbasesrc.h:
3905 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3906 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3907 * gst/gstelement.c: (gst_element_class_init):
3908 * gst/gstpad.c: (gst_pad_class_init):
3909 * gst/gstqueue.c: (gst_queue_class_init):
3910 * gst/gstxml.c: (gst_xml_class_init):
3911 documented all undocumented signal inline
3912 * libs/gst/controller/gst-controller.h:
3915 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3917 * docs/pwg/appendix-porting.xml:
3918 Document _set_link_function -> _set_setcaps_function.
3920 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3922 * check/Makefile.am:
3923 add a .check target for running the check
3924 * check/gst-libs/controller.c: (GST_START_TEST):
3926 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3927 complete checks for gstbuffer; would be nice if I could get the
3928 gcov stuff to work so I can see if I actually completed gstbuffer.c
3930 add ASSERT_BUFFER_REFCOUNT
3932 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3934 * docs/gst/gstreamer-sections.txt:
3935 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3937 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3938 spew out a warning if a tag that is already registered
3939 is re-registered, unless it is re-registered with a
3940 different type (#308438).
3942 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3944 * docs/pwg/appendix-porting.xml:
3945 * docs/pwg/building-state.xml:
3946 Add some paragraphs about state changes in 0.9 to the PWG
3947 and the porting guide, in particular about the new meaning
3948 of GST_STATE_PAUSED and how to write state change functions
3949 with concurrent access by multiple threads in mind.
3951 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3953 * docs/gst/gstreamer-docs.sgml:
3954 * docs/libs/gstreamer-libs-docs.sgml:
3955 added deprecation and since indexes
3956 * libs/gst/controller/gst-controller.c:
3957 * libs/gst/controller/gst-helper.c:
3961 2005-08-11 Wim Taymans <wim@fluendo.com>
3963 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3964 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3965 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3966 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3967 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3968 (gst_ghost_pad_set_target):
3969 Actually implement (re)setting the target on a ghostpad
3970 as described in the docs.
3972 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3974 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3975 Check whether GST_DEBUG_NO_COLOR environment variable is
3976 set and disable coloured debug output if that is the case.
3978 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3980 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3981 (gst_type_find_helper):
3982 The memory returned by gst_type_find_peek() needs to
3983 stay valid until the end of a typefind function, and
3984 typefind functions may keep results from different
3985 offsets around, so we can't just unref the buffer from
3986 the previous _peek(), but have to save all buffers
3987 returned by _peek() until typefinding is done and only
3990 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3992 * docs/gst/gstreamer-sections.txt:
3994 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3996 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3998 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3999 Fix a pretty good memleak.
4001 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4003 * gst/gstiterator.h:
4004 Fix wrong include and 'make distcheck'.
4006 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4008 * gst/gstbin.c: (bin_bus_handler):
4009 Use gst_element_post_message() instead.
4011 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4013 * gst/base/gstadapter.h:
4014 * gst/base/gstbasesink.h:
4015 * gst/base/gstbasesrc.h:
4016 * gst/base/gstbasetransform.h:
4017 * gst/base/gstcollectpads.h:
4018 * gst/base/gstpushsrc.h:
4019 * gst/gstiterator.h:
4020 Add padding to our base elements' class and instance structs and
4021 to GstIterator (you will need to rebuild all plugins and apps!)
4023 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4025 * gst/gstbin.c: (bin_bus_handler):
4026 Make default message forwarding from child->bus to bin->bus
4027 threadsafe and make it not emit warnings if the parent has no bus.
4029 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4031 * gst/gstelement.c: (activate_pads):
4032 On paused->ready, set pad->caps to NULL, as is the documented
4033 behaviour in this state change. Fixes playback of series of
4034 media files when visualization is enabled in Totem.
4036 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4038 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4039 Allow NULL as filter-caps (which means "any").
4041 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4043 * docs/libs/gstreamer-libs-sections.txt:
4044 * libs/gst/controller/gst-controller.c:
4045 * libs/gst/controller/gst-controller.h:
4046 * libs/gst/controller/gst-helper.c:
4047 adding more entries to the docs and fix small doc-bugs
4049 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4051 * docs/gst/gstreamer-docs.sgml:
4052 * docs/gst/gstreamer-sections.txt:
4053 * docs/gst/gstreamer.types:
4054 * docs/gst/tmpl/gstbasesink.sgml:
4055 * docs/gst/tmpl/gstbasesrc.sgml:
4056 * docs/gst/tmpl/gstbasetransform.sgml:
4057 * docs/gst/tmpl/gstfakesrc.sgml:
4058 * gst/base/gstcollectpads.c:
4059 * gst/base/gstcollectpads.h:
4060 * libs/gst/controller/gst-controller.c:
4061 * libs/gst/controller/gst-controller.h:
4062 * libs/gst/controller/gst-helper.c:
4063 * libs/gst/controller/gst-interpolation.c:
4064 * libs/gst/controller/lib.c:
4065 added long/short desc for controller docs
4066 added collectpads base class docs
4067 added correct includes to base-class docs
4069 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4071 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4072 (gst_test_mono_source_set_property),
4073 (gst_test_mono_source_class_init), (GST_START_TEST),
4074 (gst_controller_suite):
4075 * docs/gst/gstreamer-docs.sgml:
4076 * docs/gst/gstreamer-sections.txt:
4077 * docs/gst/gstreamer.types:
4078 * docs/libs/gstreamer-libs-docs.sgml:
4079 * docs/libs/gstreamer-libs-sections.txt:
4080 * gst/base/gstadapter.c:
4081 * libs/gst/controller/gst-controller.c:
4082 (gst_controlled_property_new), (gst_controlled_property_free),
4083 (gst_controller_new_valist),
4084 (gst_controller_remove_properties_valist),
4085 (gst_controller_sink_values), (_gst_controller_finalize):
4086 * libs/gst/controller/gst-controller.h:
4087 * libs/gst/controller/gst-helper.c:
4088 (gst_object_control_properties), (gst_object_uncontrol_properties),
4089 (gst_object_get_controller), (gst_object_set_controller),
4090 (gst_object_sink_values), (gst_object_get_value_arrays),
4091 (gst_object_get_value_array):
4092 more tests (and fixes) for the controller
4093 more docs for the controller
4094 integrated companies docs for the adapter
4096 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4098 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4099 (GST_START_TEST), (fakesrc_suite):
4100 add tests for sizetype
4102 2005-08-04 Andy Wingo <wingo@pobox.com>
4104 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4105 fixes buffer_alloc proxying among other things.
4107 * gst/base/gstbasetransform.c:
4108 * gst/base/gstbasetransform.h:
4109 Revert patch to gstbasetransform from 7-28 removing
4112 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4113 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4114 Semantics changed, should return not the size of the output buffer
4115 but the byte size of a buffer with a given caps.
4117 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4119 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4120 out) are not the pad caps until setcaps finishes.
4121 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4122 not-in-place case as well. Deal with changing from in-place to
4123 not-in-place within calling pad_alloc_buffer. Still a bit
4124 concerned about the overhead here...
4126 2005-08-03 Andy Wingo <wingo@pobox.com>
4128 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4129 fixating is an error.
4131 2005-08-04 Edward Hervey <edward@fluendo.com>
4133 * gst/base/gstadapter.h:
4134 Added gst_adapter_get_type() to the header
4136 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4138 * check/Makefile.am:
4139 * check/gst-libs/controller.c:
4140 * libs/gst/controller/gst-controller.c:
4141 (gst_controller_new_valist):
4142 added check test suite for the controller
4143 * gst/base/gstpushsrc.c:
4146 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4148 * docs/gst/Makefile.am:
4149 * docs/gst/gstreamer-docs.sgml:
4150 * docs/gst/gstreamer-sections.txt:
4151 * docs/gst/gstreamer.types:
4152 * docs/gst/tmpl/gstfakesrc.sgml:
4154 * gst/base/gstbasesink.c:
4155 * gst/base/gstbasesink.h:
4156 * gst/base/gstbasesrc.c:
4157 * gst/base/gstbasesrc.h:
4158 * gst/base/gstbasetransform.c:
4159 * gst/base/gstpushsrc.c:
4160 * gst/base/gstpushsrc.h:
4161 add short/long description docs to base classes
4162 add pushsrc to the docs
4163 remove consolidated doc fragments
4165 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4168 * docs/libs/Makefile.am:
4169 * docs/libs/gstreamer-libs-docs.sgml:
4170 * docs/libs/gstreamer-libs-sections.txt:
4171 * docs/libs/gstreamer-libs.types:
4172 * examples/Makefile.am:
4173 * examples/controller/.cvsignore:
4174 * examples/controller/Makefile.am:
4175 * examples/controller/audio-example.c: (main):
4176 * libs/gst/Makefile.am:
4177 * libs/gst/controller/.cvsignore:
4178 * libs/gst/controller/Makefile.am:
4179 * libs/gst/controller/gst-controller.c:
4180 (on_object_controlled_property_changed), (gst_timed_value_compare),
4181 (gst_timed_value_find),
4182 (gst_controlled_property_set_interpolation_mode),
4183 (gst_controlled_property_new), (gst_controlled_property_free),
4184 (gst_controller_find_controlled_property),
4185 (gst_controller_new_valist), (gst_controller_new),
4186 (gst_controller_remove_properties_valist),
4187 (gst_controller_remove_properties), (gst_controller_set),
4188 (gst_controller_set_from_list), (gst_controller_unset),
4189 (gst_controller_get), (gst_controller_get_all),
4190 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4191 (gst_controller_get_value_array),
4192 (gst_controller_set_interpolation_mode),
4193 (_gst_controller_finalize), (_gst_controller_init),
4194 (_gst_controller_class_init), (gst_controller_get_type):
4195 * libs/gst/controller/gst-controller.h:
4196 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4197 (g_object_uncontrol_properties), (g_object_get_controller),
4198 (g_object_set_controller), (g_object_sink_values),
4199 (g_object_get_value_arrays), (g_object_get_value_array):
4200 * libs/gst/controller/gst-interpolation.c:
4201 (gst_controlled_property_find_timed_value_node),
4202 (interpolate_none_get), (interpolate_trigger_get),
4203 (interpolate_trigger_get_value_array):
4204 * libs/gst/controller/lib.c: (gst_controller_init):
4205 * pkgconfig/Makefile.am:
4206 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4207 * pkgconfig/gstreamer-control.pc.in:
4208 * testsuite/Makefile.am:
4209 * testsuite/controller/.cvsignore:
4210 * testsuite/controller/Makefile.am:
4211 * testsuite/controller/interpolator.c: (main):
4212 added controller code
4213 removed dparam pc files
4215 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4216 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4217 (gst_collectpads_stop):
4218 Broadcast the condition when shutting down, to make sure we wake all
4219 threads up. Shut down pads on finalize, for safety.
4221 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4222 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4223 (gst_base_transform_handle_buffer),
4224 (gst_base_transform_change_state):
4225 Handle PAUSED->READY->PAUSED transition after negotiation
4227 * gst/gstmessage.c: (gst_message_init):
4228 Extra piece of debug for new messages.
4230 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4233 * docs/gst/tmpl/gstbasesrc.sgml:
4234 * docs/gst/tmpl/gstelement.sgml:
4235 * docs/gst/tmpl/gstevent.sgml:
4236 * docs/gst/tmpl/gstfakesrc.sgml:
4237 * docs/gst/tmpl/gstformat.sgml:
4238 * docs/gst/tmpl/gstghostpad.sgml:
4239 * docs/gst/tmpl/gstpad.sgml:
4240 * docs/gst/tmpl/gstquery.sgml:
4241 * docs/gst/tmpl/gststructure.sgml:
4242 * docs/gst/tmpl/gsttaglist.sgml:
4243 * docs/gst/tmpl/gstvalue.sgml:
4244 * docs/libs/gstreamer-libs-docs.sgml:
4245 * docs/libs/gstreamer-libs-sections.txt:
4246 * docs/libs/gstreamer-libs.types:
4247 * libs/gst/Makefile.am:
4248 * libs/gst/control/.cvsignore:
4249 * libs/gst/control/Makefile.am:
4250 * libs/gst/control/control.c:
4251 * libs/gst/control/control.h:
4252 * libs/gst/control/dparam.c:
4253 * libs/gst/control/dparam.h:
4254 * libs/gst/control/dparam_smooth.c:
4255 * libs/gst/control/dparam_smooth.h:
4256 * libs/gst/control/dparamcommon.h:
4257 * libs/gst/control/dparammanager.c:
4258 * libs/gst/control/dparammanager.h:
4259 * libs/gst/control/dplinearinterp.c:
4260 * libs/gst/control/dplinearinterp.h:
4261 * libs/gst/control/unitconvert.c:
4262 * libs/gst/control/unitconvert.h:
4263 * testsuite/Makefile.am:
4264 * testsuite/dynparams/.cvsignore:
4265 * testsuite/dynparams/Makefile.am:
4266 * testsuite/dynparams/dparamstest.c:
4267 * tools/Makefile.am:
4268 * tools/gst-inspect.c: (print_element_info), (main):
4269 * tools/gst-xmlinspect.c: (print_element_info), (main):
4270 deactivate and remove dparams (libgstcontrol)
4272 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4274 * gst/elements/gsttypefindelement.c:
4275 (gst_type_find_element_have_type), (gst_type_find_element_init),
4276 (stop_typefinding), (gst_type_find_element_handle_event),
4277 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4278 * gst/elements/gsttypefindelement.h:
4279 Set caps on all outgoing buffers, not just the first one.
4281 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4283 * gst/elements/gsttypefindelement.c:
4284 (gst_type_find_element_have_type),
4285 (gst_type_find_element_check_set_buffer_caps),
4286 (gst_type_find_element_init), (stop_typefinding),
4287 (gst_type_find_element_handle_event),
4288 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4289 * gst/elements/gsttypefindelement.h:
4290 Set caps on first outgoing buffer when we've found the type.
4292 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4294 * docs/gst/gstreamer-docs.sgml:
4295 * docs/gst/gstreamer-sections.txt:
4296 * docs/gst/tmpl/gstscheduler.sgml:
4297 * docs/gst/tmpl/gstschedulerfactory.sgml:
4298 Remove some old cruft from docs.
4300 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
4303 Fix inline docs for GstPadLinkReturn.
4305 * gst/gststructure.c: (gst_structure_has_name):
4306 * gst/gststructure.h:
4307 * docs/gst/gstreamer-sections.txt:
4308 New API: gst_structure_has_name().
4310 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
4313 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4314 and _LARGEFILE_SOURCE in config.h as required. Do not
4315 export those flags in our .pc files any longer (#142209).
4317 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4319 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4320 (gst_file_sink_do_seek), (gst_file_sink_event),
4321 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4322 Redo seek/tell calls with large file support in mind; add some
4323 debugging messages; add log message that tells us when large
4324 file support is unavailable or not enabled for some reason.
4326 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4327 Add log message that tells us when large file support
4328 is unavailable or not enabled for some reason.
4330 2005-07-29 Wim Taymans <wim@fluendo.com>
4332 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4333 Added test for removing an element with ghostpad from a bin.
4334 Fixed test as current implementation does the right thing.
4336 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4337 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4338 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4339 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4340 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4341 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4342 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4343 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4344 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4345 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4346 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4347 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4348 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4349 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4350 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4351 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4352 * gst/gstghostpad.h:
4353 Clean up ghostpads, remove properties for internal stuff.
4356 Prepare for switching targets, not all use cases work yet.
4358 2005-07-29 Wim Taymans <wim@fluendo.com>
4360 * docs/design/part-gstghostpad.txt:
4363 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4364 (gst_bin_remove_func):
4365 Unlinking pads while holding the bin LOCK is not a good
4368 * gst/gstpad.c: (gst_pad_class_init),
4369 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4370 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4371 No prob setting template after creating the pad.
4373 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4375 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4376 (gst_bus_peek), (gst_bus_source_dispatch),
4377 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4378 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4379 gst_bus_poll may be called from other threads. Handle
4380 this nicely by not making poll_data disappear off the
4381 stack once gst_bus_poll returns.
4382 gst_bus_peek now increments the refcount on the returned
4385 2005-07-29 Wim Taymans <wim@fluendo.com>
4387 * docs/design/part-gstghostpad.txt:
4388 Overview of current GhostPad datastructures and use
4389 cases for changing the target.
4391 2005-07-28 Wim Taymans <wim@fluendo.com>
4393 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4394 Added checks for hierarchy consistency whan adding linked
4397 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4398 Added check to test element scheduling without bin/pipeline.
4400 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4401 First add elements to bin, then link.
4403 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4404 (gst_bin_remove_func):
4405 Unlink pads from elements added/removed from bin to maintain
4406 hierarchy consistency.
4408 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4410 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4411 (gst_base_transform_handle_buffer):
4412 * gst/base/gstbasetransform.h:
4413 Remove broken delay_configure (fixes renegotiation of software
4414 scaling pipelines); remove some leftover printf()s.
4416 2005-07-28 Wim Taymans <wim@fluendo.com>
4418 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4419 Added some more tests for wrong hierarchy
4421 * docs/design/part-overview.txt:
4424 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4427 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4428 (gst_element_dispose):
4431 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4432 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4433 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4434 (gst_pad_set_caps), (gst_pad_send_event):
4435 Check for correct hierarchy when linking pads. Moving to
4436 strict requirement for ghostpads when linking elements in
4440 Clean ups. Added WRONG_HIERARCHY return value.
4442 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4444 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4445 Better debug if no transform is possible.
4447 2005-07-27 Wim Taymans <wim@fluendo.com>
4449 * docs/random/wtay/network-transp:
4452 2005-07-27 Wim Taymans <wim@fluendo.com>
4454 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4455 (gst_dp_event_from_packet):
4456 Fix serialization of seek events.
4458 2005-07-27 Wim Taymans <wim@fluendo.com>
4460 * check/gst-libs/gdp.c: (GST_START_TEST):
4461 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4462 Fix compilation and fix event serialization.
4464 2005-07-27 Wim Taymans <wim@fluendo.com>
4467 * docs/design/part-TODO.txt:
4468 * docs/design/part-events.txt:
4471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4472 (gst_base_sink_event), (gst_base_sink_do_sync),
4473 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4474 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4475 (gst_base_src_do_seek), (gst_base_src_event_handler),
4476 (gst_base_src_loop):
4477 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4478 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4479 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4480 (gst_base_transform_event), (gst_base_transform_handle_buffer),
4481 (gst_base_transform_set_passthrough),
4482 (gst_base_transform_is_passthrough):
4483 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4484 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4490 * gst/gstelement.c: (gst_element_seek):
4492 Update gst_element_seek.
4494 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4495 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4496 (gst_event_new_flush_start), (gst_event_new_flush_stop),
4497 (gst_event_new_eos), (gst_event_new_newsegment),
4498 (gst_event_parse_newsegment), (gst_event_new_tag),
4499 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4500 (gst_event_parse_qos), (gst_event_new_seek),
4501 (gst_event_parse_seek), (gst_event_new_navigation):
4503 Make GstEvent use GstStructure. Add parsing code, make sure the
4504 API is sufficiently generic.
4505 Mark possible directions of events and serialization.
4507 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4508 (_gst_message_copy), (gst_message_new_segment_start),
4509 (gst_message_new_segment_done), (gst_message_new_custom),
4510 (gst_message_parse_segment_start),
4511 (gst_message_parse_segment_done):
4514 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4515 (gst_pad_set_caps), (gst_pad_send_event):
4516 Update for new events.
4517 Catch events sent in wrong directions.
4519 * gst/gstqueue.c: (gst_queue_link_src),
4520 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4521 (gst_queue_handle_src_query):
4526 Remove event code from this file.
4528 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4529 (gst_dp_event_from_packet):
4532 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4534 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4535 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4536 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4537 Make debugging actually useful.
4539 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4541 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4542 (gst_pad_fixate_caps):
4543 Implement default fixation once again, so that gst_pad_fixate()
4544 actually does anything at all. This probably needs to be some
4545 sort of a last resort, and use profile-based fixation first, but
4546 since that doesn't exist yet, this is the best we have. Fixes
4547 visualization in Totem.
4549 2005-07-22 Wim Taymans <wim@fluendo.com>
4551 * docs/design/part-events.txt:
4554 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4555 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4556 (gst_base_sink_activate_pull):
4559 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4560 (gst_fake_src_create):
4561 Fix handoff marshall.
4563 * gst/elements/gstidentity.c: (gst_identity_class_init),
4564 (gst_identity_transform_ip):
4565 We're a real inplace element.
4567 * gst/gstbus.c: (gst_bus_post):
4568 Added some comments.
4570 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4571 * tests/muxing/case1.c: (main):
4572 * tests/sched/dynamic-pipeline.c: (main):
4573 * tests/sched/interrupt1.c: (main):
4574 * tests/sched/interrupt2.c: (main):
4575 * tests/sched/interrupt3.c: (main):
4576 * tests/sched/runxml.c: (main):
4577 * tests/sched/sched-stress.c: (main):
4578 * tests/seeking/seeking1.c: (event_received), (main):
4579 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4581 * tests/threadstate/threadstate3.c: (main):
4582 * tests/threadstate/threadstate4.c: (main):
4583 * tests/threadstate/threadstate5.c: (main):
4586 2005-07-21 Wim Taymans <wim@fluendo.com>
4588 * docs/design/part-seeking.txt:
4589 Some small additions.
4591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4592 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4593 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4594 * gst/base/gstbasesink.h:
4595 discont values are gint64, handle the math correctly.
4597 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4598 Make the basesrc report error if the source pad is not linked.
4600 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4601 (gst_queue_loop), (gst_queue_handle_src_query),
4602 (gst_queue_src_activate_push):
4603 Make queue collect data even if the srcpad is not linked.
4604 Start pushing out data as soon as it is linked.
4606 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4608 Added gst_flow_get_name() to ease error reporting.
4610 2005-07-20 Wim Taymans <wim@fluendo.com>
4612 * gst/gstmessage.c: (gst_message_new_segment_start),
4613 (gst_message_new_segment_done), (gst_message_parse_segment_start),
4614 (gst_message_parse_segment_done):
4616 Added a bunch of messages for advanced seeking.
4618 * gst/parse/grammar.y:
4619 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4620 (gst_dpman_state_changed):
4621 Fix some new-pad -> pad-added signals
4623 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4625 * docs/manual/appendix-porting.xml:
4626 * docs/pwg/appendix-porting.xml:
4627 Document new-pad/state-change signal renames and the FixedList
4630 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4632 * docs/manual/advanced-autoplugging.xml:
4633 * docs/manual/basics-helloworld.xml:
4634 * docs/manual/basics-pads.xml:
4635 * docs/random/ds/0.9-suggested-changes:
4636 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4641 * gst/gststructure.c: (gst_structure_value_get_generic_type),
4642 (gst_structure_parse_array), (gst_structure_parse_value):
4643 * gst/gstvalue.c: (gst_type_is_fixed),
4644 (gst_value_list_prepend_value), (gst_value_list_append_value),
4645 (gst_value_list_get_size), (gst_value_list_get_value),
4646 (gst_value_transform_array_string), (gst_value_serialize_array),
4647 (gst_value_deserialize_array), (gst_value_intersect_array),
4648 (gst_value_is_fixed), (_gst_value_initialize):
4650 GstElement::new-pad -> pad-added, GstElement::state-change ->
4651 state-changed, GstValueFixedList -> GstValueArray, add format and
4652 flags as their own arguments in gst_element_seek() (should improve
4653 "bindeability"), remove function generators since they don't work
4654 under a whole bunch of compilers (they were deprecated already
4657 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4659 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4660 (_gst_debug_register_funcptr):
4662 Fix illegal cast on some platforms (#309253).
4664 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4666 * gst/gstmessage.c: (gst_message_new_custom):
4668 Add _new_custom, make _new_application a macro to _new_custom.
4670 2005-07-20 Wim Taymans <wim@fluendo.com>
4672 * gst/base/gstbasesrc.c: (gst_base_src_init),
4673 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4674 * gst/base/gstbasesrc.h:
4675 Add a gboolean to decide when to push out a discont.
4677 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4678 (gst_queue_loop), (gst_queue_handle_src_query),
4679 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4680 (gst_queue_set_property), (gst_queue_get_property):
4683 * tests/threadstate/threadstate1.c: (main):
4684 Make a thread test compile and run... very silly..
4687 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4689 * docs/manual/appendix-porting.xml:
4690 Mention removal of libgstgconf-0.9.la and existence of gconf
4693 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4695 * docs/pwg/advanced-clock.xml:
4696 * docs/pwg/appendix-porting.xml:
4697 * docs/pwg/intro-preface.xml:
4698 * docs/pwg/other-base.xml:
4699 * docs/pwg/other-manager.xml:
4700 * docs/pwg/other-nton.xml:
4701 * docs/pwg/other-ntoone.xml:
4702 * docs/pwg/other-oneton.xml:
4704 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4705 demuxer), remove n-to-n (was never written), fix some code examples
4706 and links and update the porting section to include all this.
4708 2005-07-19 Wim Taymans <wim@fluendo.com>
4710 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4711 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4712 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4713 (gst_queue_src_activate_push), (gst_queue_change_state),
4714 (gst_queue_get_property):
4716 Propagate GstFlowReturn more intelligently upstream and output
4717 an ERROR/EOS when streaming stopped due to fatal error.
4719 2005-07-19 Wim Taymans <wim@fluendo.com>
4721 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4722 Don't block forever for the state change to complete, the
4723 pipeline already did with a sensible timeout.
4725 2005-07-19 Wim Taymans <wim@fluendo.com>
4727 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4728 Make sure we never call the create function is we
4731 2005-07-19 Andy Wingo <wingo@pobox.com>
4733 * gst/parse/parse.l: Attempt to solve bug #172815.
4735 2005-07-19 Wim Taymans <wim@fluendo.com>
4737 * docs/design/part-clocks.txt:
4738 * docs/design/part-events.txt:
4739 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4741 Only update the seeking values when we are not
4744 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4746 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4747 Oops, ignore the result of gst_pad_push_event here.
4749 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4751 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4752 (gst_base_src_activate_push):
4753 Send discont event from the loop function, as pads
4754 aren't activated yet in the activate_push handler.
4756 * gst/gstbin.c: (bin_bus_handler):
4757 Don't leak element name.
4759 2005-07-18 Andy Wingo <wingo@pobox.com>
4761 * configure.ac: Use AS_LIBTOOL_TAGS.
4763 2005-07-18 Wim Taymans <wim@fluendo.com>
4765 * docs/gst/gstreamer.types:
4766 Remove deleted types.
4768 2005-07-18 Wim Taymans <wim@fluendo.com>
4770 * check/elements/gstfakesrc.c: (GST_START_TEST):
4773 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4774 (init_popt_callback):
4776 * gst/gst_private.h:
4777 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4778 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4781 * gst/gstconfig.h.in:
4782 * gst/gstelement.c: (gst_element_class_init),
4783 (gst_element_set_base_time), (gst_element_get_base_time),
4784 (iterator_fold_with_resync), (gst_element_change_state),
4785 (gst_element_dispose), (gst_element_get_bus):
4787 * gst/gstelementfactory.h:
4788 * gst/gsterror.c: (_gst_core_errors_init):
4791 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4793 * gst/gstinfo.c: (_gst_debug_init):
4794 * gst/gstmessage.c: (_gst_message_copy):
4796 * gst/gstminiobject.h:
4799 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4800 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4803 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4804 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4805 (gst_pipeline_get_last_stream_time):
4806 * gst/gstpipeline.h:
4807 * gst/gstpluginfeature.h:
4809 * gst/gstscheduler.c:
4810 * gst/gstscheduler.h:
4811 * gst/gststructure.h:
4812 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4813 (gst_task_finalize), (gst_task_func), (gst_task_create),
4814 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4815 (gst_task_stop), (gst_task_pause):
4817 * gst/gsttypefind.h:
4819 * gst/registries/gstlibxmlregistry.c: (load_feature),
4820 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4821 * gst/registries/gstxmlregistry.c:
4822 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4823 * gst/schedulers/threadscheduler.c:
4824 * libs/gst/control/dparammanager.h:
4825 * tools/gst-inspect.c: (print_element_list),
4826 (print_plugin_features), (print_element_features):
4827 * tools/gst-xmlinspect.c: (print_element_list),
4828 (print_plugin_info), (main):
4829 Removed plugable schedulers.
4830 Removed Scheduler/Manager from elements.
4831 Removed gsttypes.h, rearranged includes.
4832 Removed dependency pad<->element, element<>pipeline, and
4833 various others, fix includes.
4834 implement gst_pad_get_parent() with gst_object_get_parent()
4835 Make GstTask sefcontained.
4836 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4838 Fix endless loop in iterator_fold_with_resync.
4841 2005-07-18 Wim Taymans <wim@fluendo.com>
4847 2005-07-18 Wim Taymans <wim@fluendo.com>
4852 2005-07-18 Wim Taymans <wim@fluendo.com>
4858 2005-07-18 Wim Taymans <wim@fluendo.com>
4860 * docs/design/part-dynamic.txt:
4861 * docs/design/part-events.txt:
4862 * docs/design/part-seeking.txt:
4863 Some more docs in the works.
4865 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4866 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4867 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4868 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4869 (gst_base_transform_handle_buffer),
4870 (gst_base_transform_sink_activate_push),
4871 (gst_base_transform_src_activate_pull),
4872 (gst_base_transform_set_passthrough),
4873 (gst_base_transform_is_passthrough):
4876 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4879 * gst/gstevent.c: (gst_event_finalize):
4882 * gst/gstutils.c: (gst_element_unlink),
4883 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4884 (gst_pad_proxy_setcaps):
4886 Add _get_parent_element() to get a pads parent as an element.
4888 2005-07-18 Wim Taymans <wim@fluendo.com>
4890 * check/gst/gstbin.c: (GST_START_TEST):
4893 2005-07-18 Wim Taymans <wim@fluendo.com>
4895 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4896 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4897 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4898 (gst_base_sink_event), (gst_base_sink_do_sync),
4899 (gst_base_sink_chain), (gst_base_sink_loop),
4900 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4901 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4903 Fix logic for returning ASYNC when not prerolled.
4905 2005-07-18 Wim Taymans <wim@fluendo.com>
4907 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4908 Fix nasty refcount bug.
4910 2005-07-16 Philippe Khalaf <burger@speedy.org>
4912 * gst/elements/gstfdsrc.c:
4913 * gst/elements/gstfdsrc.h:
4914 * gst/elements/gstelements.c:
4915 * gst/elements/Makefile.am:
4916 Ported fdsrc to 0.9.
4918 2005-07-16 Wim Taymans <wim@fluendo.com>
4920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4921 (gst_base_sink_do_sync):
4924 2005-07-16 Wim Taymans <wim@fluendo.com>
4926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4927 (gst_base_sink_event), (gst_base_sink_get_times),
4928 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4929 * gst/base/gstbasesink.h:
4930 Store and use discont values when syncing buffers as described
4933 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4934 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4935 (gst_base_src_activate_push):
4936 Push discont event when starting.
4938 * gst/elements/gstidentity.c: (gst_identity_transform):
4941 * gst/gstbin.c: (gst_bin_change_state):
4942 Small cleanups in base_time distribution.
4944 * gst/gstelement.c: (gst_element_set_base_time),
4945 (gst_element_get_base_time), (gst_element_change_state):
4947 Added methods for the base_time of the element.
4950 * gst/gstpipeline.c: (gst_pipeline_send_event),
4951 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4952 (gst_pipeline_get_last_stream_time):
4953 * gst/gstpipeline.h:
4955 Handle seeking as described in design doc, remove stream_time
4957 Cleanups clock and stream_time selection code. Added accessors
4958 for the stream_time.
4961 2005-07-16 Andy Wingo <wingo@pobox.com>
4963 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4966 2005-07-16 Wim Taymans <wim@fluendo.com>
4968 * check/gst/gstbin.c: (GST_START_TEST):
4969 Make elements silent as the deep_notify refs the
4970 parent, which might make the test fail.
4972 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4973 Don't hold the lock for too long.
4975 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4977 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4978 Don't unref the caps we passed to gst_caps_make_writable() after
4979 passing them. gst_caps_make_writable() will do that for us.
4981 2005-07-15 Andy Wingo <wingo@pobox.com>
4983 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4986 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4987 own marshalling function for the handoff signal. Properly type the
4988 buffer as a buffer. Fixes some warnings. Should do a more general
4990 (gst_identity_class_init): Plug into the right marshaller.
4992 2005-07-15 Wim Taymans <wim@fluendo.com>
4994 * docs/design/part-TODO.txt:
4995 * docs/design/part-clocks.txt:
4996 * docs/design/part-element-sink.txt:
4997 * docs/design/part-events.txt:
4998 * docs/design/part-gstpipeline.txt:
4999 Updated docs, mostly DISCONT related.
5001 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5003 * docs/pwg/building-pads.xml:
5004 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5006 2005-07-15 Andy Wingo <wingo@pobox.com>
5008 * tools/gst-typefind.c: Update, add copyright block.
5010 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5011 Normalize and truncate caps before fixation.
5014 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5015 discards all but the first structure from its argument.
5017 2005-07-15 Wim Taymans <wim@fluendo.com>
5019 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5020 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5021 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5022 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5023 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5024 (gst_base_transform_chain), (gst_base_transform_change_state),
5025 (gst_base_transform_set_passthrough),
5026 (gst_base_transform_is_passthrough):
5027 * gst/base/gstbasetransform.h:
5028 Make passthrough work using the bufferpools.
5029 Changed API a bit, subclasses have to write into a buffer
5030 provided by the base class.
5031 More debug info in nego functions.
5033 * gst/elements/gstidentity.c: (gst_identity_init),
5034 (gst_identity_transform):
5035 Port to new base class.
5037 2005-07-15 Wim Taymans <wim@fluendo.com>
5039 * gst/gstmessage.c: (gst_message_new_state_changed):
5040 * tools/gst-launch.c: (event_loop), (main):
5041 Totally dump messages in -launch with the -m option.
5042 Fix message name for State messages,
5044 2005-07-14 Wim Taymans <wim@fluendo.com>
5046 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5047 Post error messages on errors.
5049 2005-07-14 Wim Taymans <wim@fluendo.com>
5051 * gst/gstcaps.c: (gst_caps_do_simplify):
5055 Define error for stream stopped.
5057 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5058 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5059 Do proper return values.
5061 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5062 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5063 (gst_pad_get_range):
5064 Better return values.
5067 Reorganise return values, add macro to check for fatal errors.
5069 * gst/gstqueue.c: (gst_queue_chain):
5070 Return proper GstFlowReturn values,
5072 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5074 * docs/gst/gstreamer-sections.txt:
5075 * docs/gst/gstreamer.types:
5076 * docs/gst/tmpl/gst.sgml:
5077 * docs/gst/tmpl/gstbasesink.sgml:
5078 * docs/gst/tmpl/gstbasesrc.sgml:
5079 * docs/gst/tmpl/gstbasetransform.sgml:
5080 * docs/gst/tmpl/gstbin.sgml:
5081 * docs/gst/tmpl/gstbuffer.sgml:
5082 * docs/gst/tmpl/gstcaps.sgml:
5083 * docs/gst/tmpl/gstclock.sgml:
5084 * docs/gst/tmpl/gstcompat.sgml:
5085 * docs/gst/tmpl/gstconfig.sgml:
5086 * docs/gst/tmpl/gstelement.sgml:
5087 * docs/gst/tmpl/gstelementdetails.sgml:
5088 * docs/gst/tmpl/gstelementfactory.sgml:
5089 * docs/gst/tmpl/gstenumtypes.sgml:
5090 * docs/gst/tmpl/gsterror.sgml:
5091 * docs/gst/tmpl/gstevent.sgml:
5092 * docs/gst/tmpl/gstfakesink.sgml:
5093 * docs/gst/tmpl/gstfakesrc.sgml:
5094 * docs/gst/tmpl/gstfilesink.sgml:
5095 * docs/gst/tmpl/gstfilesrc.sgml:
5096 * docs/gst/tmpl/gstfilter.sgml:
5097 * docs/gst/tmpl/gstformat.sgml:
5098 * docs/gst/tmpl/gstghostpad.sgml:
5099 * docs/gst/tmpl/gstimplementsinterface.sgml:
5100 * docs/gst/tmpl/gstindex.sgml:
5101 * docs/gst/tmpl/gstindexfactory.sgml:
5102 * docs/gst/tmpl/gstinfo.sgml:
5103 * docs/gst/tmpl/gstiterator.sgml:
5104 * docs/gst/tmpl/gstmacros.sgml:
5105 * docs/gst/tmpl/gstmemchunk.sgml:
5106 * docs/gst/tmpl/gstminiobject.sgml:
5107 * docs/gst/tmpl/gstobject.sgml:
5108 * docs/gst/tmpl/gstpad.sgml:
5109 * docs/gst/tmpl/gstpadtemplate.sgml:
5110 * docs/gst/tmpl/gstparse.sgml:
5111 * docs/gst/tmpl/gstpipeline.sgml:
5112 * docs/gst/tmpl/gstplugin.sgml:
5113 * docs/gst/tmpl/gstpluginfeature.sgml:
5114 * docs/gst/tmpl/gstquery.sgml:
5115 * docs/gst/tmpl/gstqueue.sgml:
5116 * docs/gst/tmpl/gstregistry.sgml:
5117 * docs/gst/tmpl/gstregistrypool.sgml:
5118 * docs/gst/tmpl/gstscheduler.sgml:
5119 * docs/gst/tmpl/gstschedulerfactory.sgml:
5120 * docs/gst/tmpl/gststructure.sgml:
5121 * docs/gst/tmpl/gstsystemclock.sgml:
5122 * docs/gst/tmpl/gsttaglist.sgml:
5123 * docs/gst/tmpl/gsttagsetter.sgml:
5124 * docs/gst/tmpl/gsttrace.sgml:
5125 * docs/gst/tmpl/gsttrashstack.sgml:
5126 * docs/gst/tmpl/gsttypefind.sgml:
5127 * docs/gst/tmpl/gsttypefindfactory.sgml:
5128 * docs/gst/tmpl/gsttypes.sgml:
5129 * docs/gst/tmpl/gsturihandler.sgml:
5130 * docs/gst/tmpl/gsturitype.sgml:
5131 * docs/gst/tmpl/gstutils.sgml:
5132 * docs/gst/tmpl/gstvalue.sgml:
5133 * docs/gst/tmpl/gstversion.sgml:
5134 * docs/gst/tmpl/gstxml.sgml:
5135 * docs/libs/tmpl/gstcontrol.sgml:
5136 * docs/libs/tmpl/gstdataprotocol.sgml:
5137 * docs/libs/tmpl/gstdparam.sgml:
5138 * docs/libs/tmpl/gstdplinint.sgml:
5139 * docs/libs/tmpl/gstdpman.sgml:
5140 * docs/libs/tmpl/gstdpsmooth.sgml:
5141 * docs/libs/tmpl/gstgetbits.sgml:
5142 * docs/libs/tmpl/gstunitconvert.sgml:
5143 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5144 (gst_push_src_base_init), (gst_push_src_class_init),
5145 (gst_push_src_init), (gst_push_src_create):
5146 * gst/base/gstpushsrc.h:
5147 * gst/elements/gstelements.c:
5148 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5149 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5150 (gst_fake_sink_init), (gst_fake_sink_set_property),
5151 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5152 (gst_fake_sink_event), (gst_fake_sink_preroll),
5153 (gst_fake_sink_render), (gst_fake_sink_change_state):
5154 * gst/elements/gstfakesink.h:
5155 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5156 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5157 (gst_fake_src_base_init), (gst_fake_src_class_init),
5158 (gst_fake_src_init), (gst_fake_src_event_handler),
5159 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5160 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5161 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5162 (gst_fake_src_create_buffer), (gst_fake_src_create),
5163 (gst_fake_src_start), (gst_fake_src_stop):
5164 * gst/elements/gstfakesrc.h:
5165 * gst/elements/gstfilesink.c: (_do_init),
5166 (gst_file_sink_base_init), (gst_file_sink_class_init),
5167 (gst_file_sink_init), (gst_file_sink_dispose),
5168 (gst_file_sink_set_location), (gst_file_sink_set_property),
5169 (gst_file_sink_get_property), (gst_file_sink_open_file),
5170 (gst_file_sink_close_file), (gst_file_sink_query),
5171 (gst_file_sink_event), (gst_file_sink_render),
5172 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5173 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5174 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5175 * gst/elements/gstfilesink.h:
5176 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5177 (gst_file_src_class_init), (gst_file_src_init),
5178 (gst_file_src_finalize), (gst_file_src_set_location),
5179 (gst_file_src_set_property), (gst_file_src_get_property),
5180 (gst_file_src_map_region), (gst_file_src_map_small_region),
5181 (gst_file_src_create_mmap), (gst_file_src_create_read),
5182 (gst_file_src_create), (gst_file_src_is_seekable),
5183 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5184 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5185 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5186 (gst_file_src_uri_handler_init):
5187 * gst/elements/gstfilesrc.h:
5188 more autistic cleanliness in functions/names/defines
5190 2005-07-13 Andy Wingo <wingo@pobox.com>
5192 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5193 source couldn't negotiate.
5195 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5199 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5200 function. I am channeling Hades. Put your boots on suckers!!!
5202 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5204 * testsuite/caps/Makefile.am:
5205 * testsuite/caps/value_compare.c:
5206 * testsuite/caps/value_intersect.c:
5207 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5208 move two testsuite apps over to the check dir
5210 2005-07-12 Wim Taymans <wim@fluendo.com>
5212 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5213 Added more debug info in the negotiate process.
5216 Prepare for segment playback.
5218 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5224 * tools/gst-launch.c: (main):
5225 NULL pipeline on errors.
5227 2005-07-12 Andy Wingo <wingo@pobox.com>
5229 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5230 not it comes from a malloc region. Make sure our copy gets freed.
5232 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5234 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5235 * check/gst/gstmessage.c: (GST_START_TEST):
5236 * check/gst/gststructure.c: (GST_START_TEST),
5237 (gst_structure_suite), (main):
5239 * gst/gstelement.c: (gst_element_message_full):
5240 clean up GError and debug string now that they get copied
5241 * gst/gstmessage.c: (gst_message_new_error),
5242 (gst_message_new_warning), (gst_message_parse_error),
5243 (gst_message_parse_warning):
5244 use GST_TYPE_G_ERROR for structure_new, and take copies of
5245 arguments, so that we don't mess up refcounting
5247 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5249 * check/Makefile.am:
5250 add per-test valgrind targets
5251 * check/gst-libs/gdp.c: (GST_START_TEST),
5252 (gst_data_protocol_suite), (main):
5255 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5257 * check/Makefile.am:
5258 instate more valgrindable tests
5259 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5260 (GST_START_TEST), (fakesrc_suite):
5261 * check/gst/gstpad.c: (GST_START_TEST):
5262 * check/gst/gststructure.c: (GST_START_TEST):
5264 * docs/gst/tmpl/gstminiobject.sgml:
5265 * gst/gstpad.c: (gst_pad_finalize):
5266 fix the static mutex leak
5268 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5270 * check/Makefile.am:
5271 add two more tests for valgrinding
5272 * check/gst/gstvalue.c: (GST_START_TEST):
5273 test refcount of deserialized buffer, found a leak
5274 * docs/gst/gstreamer-docs.sgml:
5275 * docs/gst/gstreamer-sections.txt:
5276 * docs/gst/gstreamer.types:
5277 * docs/gst/tmpl/gstminiobject.sgml:
5278 add miniobject to docs
5279 * gst/gstminiobject.c:
5281 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5282 (gst_string_unwrap):
5283 fix a hard-to-find invalid write for one of the tests
5284 fix a leak for deserialized buffers
5286 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5288 * docs/pwg/advanced-events.xml:
5289 * docs/pwg/advanced-request.xml:
5290 * docs/pwg/advanced-scheduling.xml:
5291 * docs/pwg/appendix-porting.xml:
5292 * docs/pwg/building-boiler.xml:
5293 * docs/pwg/intro-preface.xml:
5294 * docs/pwg/other-ntoone.xml:
5295 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5296 of example code and explanation for pad activation, loop() and
5297 getrange() functions and a bit more. Remove old comments pointing
5299 * examples/pwg/Makefile.am:
5300 Add loop/getrange examples.
5302 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5305 check for valgrind binary + some fixes
5307 valgrind suppressions for the tests
5308 * check/Makefile.am:
5309 add a valgrind: target that valgrinds the unit tests
5310 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5311 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5312 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5313 * check/gst/gstghostpad.c:
5315 * check/gst/gstdata.c:
5317 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5318 (thread_unref), (gst_mini_object_suite), (main):
5320 * gst/gst.c: (gst_deinit):
5322 add a method to clean up.
5323 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5324 (gst_system_clock_obtain):
5325 allow for disposing the system clock.
5326 * tools/gst-launch.c: (main):
5329 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5331 * docs/gst/tmpl/gstbasesrc.sgml:
5332 * docs/gst/tmpl/gstfakesrc.sgml:
5333 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5334 (gst_base_src_init), (gst_base_src_set_property),
5335 (gst_base_src_get_property), (gst_base_src_get_range),
5336 (gst_base_src_start):
5337 * gst/base/gstbasesrc.h:
5338 add num-buffers property
5339 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5340 (gst_fakesrc_init), (gst_fakesrc_set_property),
5341 (gst_fakesrc_get_property), (gst_fakesrc_create),
5342 (gst_fakesrc_start):
5343 remove num-buffers property
5345 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5347 * docs/gst/gstreamer-sections.txt:
5348 * docs/gst/tmpl/gstbasesink.sgml:
5349 * docs/gst/tmpl/gstbasesrc.sgml:
5350 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5351 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5352 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5353 (gst_base_sink_set_property), (gst_base_sink_get_property),
5354 (gst_base_sink_handle_object), (gst_base_sink_event),
5355 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5356 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5357 (gst_base_sink_loop), (gst_base_sink_deactivate),
5358 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5359 (gst_base_sink_change_state):
5360 * gst/base/gstbasesink.h:
5361 * gst/base/gstbasesrc.h:
5362 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5363 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5364 (gst_filesink_init):
5365 more macro splitting
5367 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5369 * gst/gstelement.c: (gst_element_get_bus):
5371 * tools/gst-launch.c: (check_intr), (event_loop):
5374 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5376 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5379 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5381 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5382 (gst_base_src_finalize):
5383 add finalize method and clean up properly
5384 * gst/gstpipeline.c: (gst_pipeline_dispose):
5387 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5389 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5391 add more things to check
5392 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5396 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5398 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5399 (GST_START_TEST), (fakesrc_suite):
5400 * check/gst-libs/gdp.c: (GST_START_TEST):
5401 * check/gst/gst.c: (GST_START_TEST):
5402 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5403 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5404 * check/gst/gstbus.c: (GST_START_TEST):
5405 * check/gst/gstcaps.c: (GST_START_TEST):
5406 * check/gst/gstdata.c: (GST_START_TEST):
5407 * check/gst/gstelement.c: (GST_START_TEST):
5408 * check/gst/gstghostpad.c: (GST_START_TEST):
5409 * check/gst/gstiterator.c: (GST_START_TEST):
5410 * check/gst/gstmessage.c: (GST_START_TEST):
5411 * check/gst/gstobject.c: (GST_START_TEST):
5412 * check/gst/gstpad.c: (GST_START_TEST):
5413 * check/gst/gststructure.c: (GST_START_TEST):
5414 * check/gst/gstsystemclock.c: (GST_START_TEST),
5415 (gst_systemclock_suite):
5416 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5417 * check/gst/gstvalue.c: (GST_START_TEST):
5418 * check/pipelines/cleanup.c: (GST_START_TEST):
5419 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5420 * check/states/sinks.c: (GST_START_TEST):
5421 * check/gstcheck.c: (gst_check_init):
5423 add debugging category
5424 use GST_START_TEST now, so we add a debug line
5426 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5428 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5429 add test for state change message on a bin
5430 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5432 * gst/gstbin.c: (gst_bin_init):
5433 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5434 * gst/gstelement.c: (gst_element_post_message),
5435 (gst_element_set_state):
5436 * gst/gstelementfactory.c: (gst_element_factory_create):
5437 * gst/gstmessage.c: (gst_message_new):
5438 * gst/gstscheduler.c:
5439 various debugging additions and cleanups
5441 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5443 * check/Makefile.am:
5444 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5446 adding tests for elements
5447 * gst/gstelement.c: (gst_element_dispose):
5449 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5451 * gst/registries/gstlibxmlregistry.c: (load_feature):
5452 plug more leaks. A simple gst_init() now is leakfree, yay.
5454 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5456 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5457 (gst_xml_registry_load):
5458 plug another memleak
5460 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5463 use GST_SET_ERROR_CFLAGS
5465 change to ERROR_CFLAGS
5467 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5470 make GST_ERROR_CFLAGS overridable and re-enable Werror
5472 add a note about error CFLAGS
5473 * docs/gst/tmpl/gstfakesrc.sgml:
5474 * gst/elements/gstfakesrc.c:
5475 comment out some unused code
5476 * gst/gst.c: (split_and_iterate):
5477 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5481 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5483 * common/Makefile.am:
5484 * common/gtk-doc.mak:
5485 * docs/gst/Makefile.am:
5486 factor out gtk-doc.mak
5488 2005-07-07 Wim Taymans <wim@fluendo.com>
5490 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5491 (gst_thread_scheduler_dispose):
5492 Unlock the STREAM_LOCK completely.
5494 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5496 * check/Makefile.am:
5497 * check/elements/.cvsignore:
5498 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5499 (START_TEST), (fakesrc_suite), (main):
5500 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5501 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5502 (gst_fakesrc_create), (gst_fakesrc_start):
5503 * gst/elements/gstfakesrc.h:
5504 adding a first element test
5506 2005-07-07 Andy Wingo <wingo@pobox.com>
5508 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5511 2005-07-07 Wim Taymans <wim@fluendo.com>
5517 2005-07-07 Wim Taymans <wim@fluendo.com>
5519 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5520 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5521 Allow subclasses to implement their own negotiation.
5523 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5525 * docs/design/part-gstbin.txt:
5526 * docs/design/part-gstpipeline.txt:
5527 Update design notes to reflect the movement of
5528 responsibility for bus handling from GstPipeline to
5531 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5534 Remove unnecessary queue2/3/4 examples.
5536 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5538 * examples/Makefile.am:
5539 * examples/helloworld/helloworld.c: (event_loop), (main):
5540 * examples/queue/queue.c: (event_loop), (main):
5541 * examples/queue2/queue2.c: (main):
5542 Update a couple of the examples to work again.
5544 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5545 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5546 Spelling corrections and extra debug.
5548 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5549 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5550 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5552 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5553 (gst_pipeline_change_state):
5554 * gst/gstpipeline.h:
5555 Move the bus handler for children to the GstBin, and create a
5556 separate bus for receiving messages from children to the one the
5557 bus sends 'upwards' on.
5559 2005-07-06 Wim Taymans <wim@fluendo.com>
5562 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5563 (gst_base_sink_handle_object), (gst_base_sink_loop),
5564 (gst_base_sink_change_state):
5565 * gst/base/gstbasesink.h:
5566 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5567 (gst_base_src_init), (gst_base_src_setcaps),
5568 (gst_base_src_getcaps), (gst_base_src_loop),
5569 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5570 (gst_base_src_start), (gst_base_src_change_state):
5571 * gst/base/gstbasesrc.h:
5572 Make basesrc negotiate.
5573 Handle the case where preroll fails in basesink.
5576 2005-07-06 Wim Taymans <wim@fluendo.com>
5578 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5579 Implement the fixate function.
5580 Clean up acceptcaps.
5582 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5584 * docs/pwg/building-filterfactory.xml:
5586 Remove never-written filter-factory chapter; I'll add the various
5587 base classes to part 4 ("other element types") later on.
5589 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5591 * docs/pwg/advanced-negotiation.xml:
5592 * docs/pwg/building-boiler.xml:
5593 * docs/pwg/building-pads.xml:
5595 * examples/pwg/Makefile.am:
5596 Add a chapter on caps negotiation, simplify the original code
5597 samples a bit w.r.t. caps negotiation, add link to the advanced
5598 section. Add a bunch of examples showing different use cases of
5599 different types of caps negotiation. Upstream renegotiation isn't
5600 fully documented yet since nobody knows how that works.
5602 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
5604 * check/gst/gstpad.c:
5606 * gst/gstpad.c: (gst_pad_get_internal_links_default):
5607 if pad has no parent, return NULL as list of internal links
5609 2005-07-05 Andy Wingo <wingo@pobox.com>
5611 * gst/elements/gstfilesrc.c:
5612 * gst/elements/gstfakesrc.c:
5613 * gst/base/gstpushsrc.c:
5614 * gst/base/gstbasesrc.h:
5615 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5617 2005-07-05 Stefan Kost <ensonic@users.sf.net>
5620 better report generation target (lcov needs a patch)
5622 2005-07-05 Andy Wingo <wingo@pobox.com>
5624 * gst/elements, testsuite: Null if we got it...
5626 2005-07-05 Wim Taymans <wim@fluendo.com>
5629 * libs/gst/dataprotocol/Makefile.am:
5630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5631 * libs/gst/dataprotocol/dataprotocol.h:
5632 * pkgconfig/Makefile.am:
5633 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5634 * pkgconfig/gstreamer-dataprotocol.pc.in:
5635 Ported dataprotol to 0.9.
5636 Added pkgconfig files.
5638 2005-07-05 Andy Wingo <wingo@pobox.com>
5640 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5641 Default to returning TRUE for the case when tranform_caps returns
5642 a fixed caps, like for identity or volume.
5644 * check/gst/gstbus.c (pound_bus_with_messages):
5645 * check/gst/gstmessage.c (START_TEST):
5646 * check/pipelines/simple_launch_lines.c (got_handoff): Application
5649 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5650 logic weaks here: always run transform_caps, trying passthrough
5651 operation only if the original caps intersects with the transform.
5653 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5654 source and sink caps.
5656 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5657 Intersect the peer caps with the pad template before going into
5659 (gst_base_transform_transform_caps): More debugging.
5661 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5664 2005-07-04 Edward Hervey <edward@fluendo.com>
5668 (gst_pad_add_*_probe): now returns the signal id for better wrapping
5671 2005-07-04 Andy Wingo <wingo@pobox.com>
5673 * check/gst/gstpad.c: Only set explicit caps on pads.
5675 2005-07-01 Andy Wingo <wingo@pobox.com>
5677 * tests/network-clock.scm: Commentary update.
5679 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5680 Didn't really make sense, not implementable with basetransform,
5682 (gst_identity_transform): Unref inbuf via make_writable. Feeble
5683 attempt at implementing the sync property, needs an unlock method.
5685 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5686 New func, by default returns the same caps (the identity
5688 (gst_base_transform_getcaps): Uses transform_caps to return
5690 (gst_base_transform_setcaps): Complicated logic to get caps on
5691 both pads, even if they are different, and to call set_caps once
5692 for every time both pads get their caps set.
5693 (gst_base_transform_handle_buffer): Give the ref to the transform
5694 function. Allows in-place modification of the buffer.
5696 * gst/base/gstbasetransform.h (transform_caps): New class method.
5697 Given caps on one side, what can I do on the other.
5698 (set_caps): Take two caps, one for each side of the element.
5701 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5702 caps in place. This is safe because we can check the mutability of
5703 the caps, and a good idea because fixate functions are just called
5704 as a matter of last resort. (Not actually implemented.)
5705 (gst_pad_set_caps): If the caps we're setting is actually the same
5706 as the existing pad caps, just update the pointer without calling
5707 setcaps. Assert that caps is either NULL or fixed, as per the
5710 * gst/gstghostpad.c: Update for fixate changes.
5712 2005-07-02 Andy Wingo <wingo@pobox.com>
5715 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5716 two refcounts makes it immutable, which is enough. Doc more.
5718 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
5720 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5721 Put the mini_object into GValue as a mini_object,
5722 not a gpointer, since that's how we declared
5725 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5727 * examples/pwg/Makefile.am:
5730 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5732 * docs/pwg/building-testapp.xml:
5734 * examples/pwg/Makefile.am:
5737 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5740 * examples/Makefile.am:
5741 * examples/pwg/Makefile.am:
5742 * examples/pwg/extract.pl:
5743 Enable building the PWG examples.
5744 * docs/pwg/advanced-interfaces.xml:
5745 Add URI interface stub.
5746 * docs/pwg/advanced-types.xml:
5747 * docs/pwg/other-autoplugger.xml:
5748 * docs/pwg/appendix-porting.xml:
5750 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5751 * docs/pwg/building-boiler.xml:
5752 * docs/pwg/building-chainfn.xml:
5753 * docs/pwg/building-pads.xml:
5754 * docs/pwg/building-props.xml:
5755 * docs/pwg/building-state.xml:
5756 * docs/pwg/building-testapp.xml:
5757 Update the building-*.xml parts for 0.9 changes. All examples
5758 code blocks compile in examples/pwg/*.
5760 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5762 * docs/manual/advanced-autoplugging.xml:
5763 * docs/manual/appendix-checklist.xml:
5764 * docs/manual/appendix-integration.xml:
5765 * docs/manual/highlevel-components.xml:
5766 Fix playbin/decodebin examples, update docs a bit, mention bus
5767 instead of signals in various places, mention kmplayer and
5768 kaffeine since they have a working GStreamer backend in the KDE
5771 2005-06-30 Wim Taymans <wim@fluendo.com>
5774 * docs/design/draft-ghostpads.txt:
5775 * docs/design/draft-push-pull.txt:
5776 * docs/design/draft-query.txt:
5777 * docs/design/part-TODO.txt:
5778 * docs/design/part-query.txt:
5779 Added CHANGES-0.9 doc, updated status of other docs.
5784 2005-06-30 Wim Taymans <wim@fluendo.com>
5786 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5787 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5788 (gst_base_sink_change_state):
5789 * gst/base/gstbasesink.h:
5790 Some tweaks, only EOS and a buffer complete a preroll.
5792 2005-06-30 Andy Wingo <wingo@pobox.com>
5794 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5795 activate_push down to the internal pad as well.
5797 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5799 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5801 * gst/gsttaginterface.c:
5802 Some documentation fixes (#307394 and #307397).
5804 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5806 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5808 * gst/gstvalue.c: (gst_value_intersect_list):
5809 Fix memleak (#309125).
5811 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5813 * docs/manual/advanced-dataaccess.xml:
5814 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5815 * docs/manual/basics-pads.xml:
5816 Add reference for filtered caps to above chapter.
5818 2005-06-30 Wim Taymans <wim@fluendo.com>
5820 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5821 (gst_bin_change_state):
5823 Lame attempt at making the state change function a bit
5826 2005-06-30 Wim Taymans <wim@fluendo.com>
5828 * docs/design/part-clocks.txt:
5829 * docs/design/part-element-sink.txt:
5830 * docs/design/part-events.txt:
5831 * docs/design/part-preroll.txt:
5832 * docs/design/part-states.txt:
5833 Some more tweeks and additions to the docs.
5835 2005-06-30 Wim Taymans <wim@fluendo.com>
5837 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5838 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5839 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5840 (gst_pad_check_pull_range), (gst_pad_get_range),
5841 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5843 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5844 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5845 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5846 (gst_pad_remove_buffer_probe):
5847 Removed atomic operations, use existing LOCK.
5848 Move exception handling out of main code path.
5850 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5852 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5853 (silly_return_true_function), (gst_pad_class_init),
5854 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5855 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5856 (gst_pad_send_event):
5857 Fix accumulator, add default value by using _emitv() instead
5858 of _emit() for signal emission.
5860 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5862 * docs/manual/advanced-dataaccess.xml:
5863 * examples/manual/Makefile.am:
5865 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5868 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5870 * gst/elements/gstfilesink.c: (gst_filesink_render):
5871 Simplify code so that we don't have to handle short
5872 writes and return GST_FLOW_ERROR if an error occured.
5874 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5876 * docs/gst/gstreamer-docs.sgml:
5879 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5881 * docs/gst/gstreamer-sections.txt:
5882 * docs/gst/tmpl/gstpad.sgml:
5883 * docs/gst/tmpl/gstprobe.sgml:
5885 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5886 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5887 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5888 (gst_pad_push_event), (gst_pad_send_event):
5890 * gst/gstutils.c: (gst_pad_add_data_probe),
5891 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5892 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5893 (gst_pad_remove_buffer_probe):
5895 Remove old probes, add new g-signal-based probes and some utility
5898 2005-06-29 Edward Hervey <edward@fluendo.com>
5900 * gst/gstelementfactory.c:
5903 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5904 the definition to the header file.
5906 2005-06-29 Andy Wingo <wingo@pobox.com>
5908 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5909 plugins from the source directory.
5911 2005-06-29 Wim Taymans <wim@fluendo.com>
5913 * docs/gst/tmpl/gstbuffer.sgml:
5914 * docs/gst/tmpl/gstclock.sgml:
5915 Some fixings for blantently wrong text.
5917 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5919 * check/Makefile.am:
5920 * gst/gst.c: (add_path_func), (init_pre):
5921 * gst/gstregistry.c: (gst_registry_add_path):
5922 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5923 only scan the GST_PLUGIN_PATH locations, and not add
5926 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5928 * docs/gst/gstreamer-sections.txt:
5929 * docs/gst/tmpl/gstbasesrc.sgml:
5936 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5938 * docs/manual/advanced-autoplugging.xml:
5939 Fix autoplugging example.
5941 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5943 * docs/manual/advanced-autoplugging.xml:
5944 * docs/manual/mime-world.fig:
5945 Try to get autoplugging working, fix type detection. Fix text
5946 in hello-world image.
5948 2005-06-29 Wim Taymans <wim@fluendo.com>
5950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5951 (gst_base_sink_change_state):
5955 map SIGNAL and BROADCAST to the right function.
5958 Remove redundant braces.
5960 * gst/gstpad.c: (gst_pad_set_caps):
5961 Don't call setcaps function when reseting caps to NULL.
5963 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5964 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5965 (gst_system_clock_id_unschedule):
5966 Use BROADCAST as this is what we do.
5968 2005-06-29 Wim Taymans <wim@fluendo.com>
5970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5971 We are actually prerolling before commiting the state
5974 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5976 * docs/manual/advanced-clocks.xml:
5977 * docs/manual/advanced-interfaces.xml:
5978 * docs/manual/advanced-metadata.xml:
5979 * docs/manual/advanced-position.xml:
5980 * docs/manual/advanced-schedulers.xml:
5981 * docs/manual/advanced-threads.xml:
5982 * docs/manual/appendix-porting.xml:
5983 * docs/manual/basics-bins.xml:
5984 * docs/manual/basics-bus.xml:
5985 * docs/manual/basics-elements.xml:
5986 * docs/manual/basics-helloworld.xml:
5987 * docs/manual/basics-pads.xml:
5988 * docs/manual/highlevel-components.xml:
5989 * docs/manual/manual.xml:
5990 * docs/manual/thread.fig:
5991 Update (until threads/scheduling) Application Development Manual;
5992 remove GstThread, add GstBus, add simple porting checklist, add
5993 documentation for tag writing, clocks, make all examples until this
5994 part compile and run.
5995 * examples/manual/Makefile.am:
5996 Update from changes to Application Development Manual; add bus
5997 example, remove thread example.
5999 2005-06-28 Wim Taymans <wim@fluendo.com>
6001 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6002 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6003 (gst_bus_source_dispatch):
6004 Add debugging messages.
6005 Make internal methods static.
6006 Handle the case where the bus is flushed in the handler.
6008 * gst/gstelement.c: (gst_element_get_bus):
6009 Fix refcount in _get_bus();
6011 * gst/gstpipeline.c: (gst_pipeline_change_state),
6012 (gst_pipeline_get_clock_func):
6013 Clock refcounting fixes.
6014 Handle the case where preroll timed out more gracefully.
6016 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6017 Clean up the internal thread in dispose. This is needed
6018 for subclasses that actually get disposed.
6020 * gst/schedulers/threadscheduler.c:
6021 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6022 (gst_thread_scheduler_dispose):
6023 Free thread pool in dispose.
6025 2005-06-28 Andy Wingo <wingo@pobox.com>
6027 * tests/network-clock-utils.scm (debug, print-event): New utils.
6029 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6030 (*packet-loss*): Unified loss probability.
6031 (network-time): Report out-of-band events.
6033 * tests/plot-data: Add support for out-of-band events. Hack it
6034 into this script instead of passing it down the pipe; should fix
6037 2005-06-28 Wim Taymans <wim@fluendo.com>
6039 * docs/gst/gstreamer.types:
6040 * docs/gst/tmpl/gstbasesrc.sgml:
6041 * docs/gst/tmpl/gstpad.sgml:
6044 2005-06-28 Wim Taymans <wim@fluendo.com>
6046 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6047 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6048 (gst_proxy_pad_do_fixatecaps):
6049 Correctly proxy the check_pull_range function.
6051 2005-06-28 Andy Wingo <wingo@pobox.com>
6053 * tests/network-clock.scm: Removed need for slib.
6055 2005-06-28 Wim Taymans <wim@fluendo.com>
6057 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6058 (gst_basesink_preroll_queue_flush):
6059 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6060 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6061 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6062 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6063 (gst_proxy_pad_set_property):
6066 * gst/gstqueue.c: (gst_queue_init):
6067 The deprecated pad loop function is removed now.
6069 2005-06-28 Andy Wingo <wingo@pobox.com>
6071 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6072 New parameters, simulate network packet loss.
6074 * tests/network-clock-utils.scm: Initialize the RNG.
6076 2005-06-28 Wim Taymans <wim@fluendo.com>
6078 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6079 (gst_basesink_event), (gst_basesink_deactivate):
6080 Flushing the preroll queue always needs to unlock the waiters.
6082 2005-06-28 Edward Hervey <edward@fluendo.com>
6084 * gst/gstpipeline.c: (gst_pipeline_send_event):
6085 Wheen a seek was successful on a pipeline, set the stream_time to the
6086 seek offset in order to have a synchronized stream_time.
6088 2005-06-28 Wim Taymans <wim@fluendo.com>
6090 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6091 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6092 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6093 (gst_proxy_pad_do_fixatecaps):
6094 Call wrapper function instead of just calling the function
6095 pointers. This takes care of any locking and whatmore.
6097 2005-06-28 Wim Taymans <wim@fluendo.com>
6099 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6100 (gst_pad_pull_range):
6102 CONNECTED -> LINKED.
6104 2005-06-28 Andy Wingo <wingo@pobox.com>
6106 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6107 source-munging commit!!!
6109 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6110 (gst_object_sink): Take gpointer arguments, not GstObject --
6111 avoids casts. Like GLib.
6113 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6116 2005-06-27 Andy Wingo <wingo@pobox.com>
6118 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6121 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6122 returns a sorted copy of the trace list.
6123 (gst_alloc_trace_print_live): New API, only prints traces with
6124 live objects. Sort the list.
6125 (gst_alloc_trace_print_all): Sort the list.
6126 (gst_alloc_trace_print): Align columns.
6128 * gst/elements/gstttypefindelement.c:
6129 * gst/elements/gsttee.c:
6130 * gst/base/gstbasesrc.c:
6131 * gst/base/gstbasesink.c:
6132 * gst/base/gstbasetransform.c:
6133 * gst/gstqueue.c: Adapt for pad activation changes.
6135 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6137 (gst_pipeline_dispose): Drop ref on sched.
6139 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6140 (gst_pad_activate_default): Push mode by default.
6141 (pre_activate_switch, post_activate_switch): New stubs, things to
6142 do before and after switching activation modes on pads.
6143 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6144 the pad's activate function to choose which mode to activate.
6145 Shortcut on deactivation and call the right function directly.
6146 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6148 (gst_pad_activate_push): New API, same for push mode.
6149 (gst_pad_set_activate_function)
6150 (gst_pad_set_activatepull_function)
6151 (gst_pad_set_activatepush_function): Setters for new API.
6153 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6154 Trace all miniobjects.
6155 (gst_mini_object_make_writable): Unref the arg if we copy, like
6156 gst_caps_make_writable.
6158 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6160 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6161 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6162 Adapt for new pad API.
6164 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6167 * gst/gstelement.c (gst_element_iterate_src_pads)
6168 (gst_element_iterate_sink_pads): New API functions.
6170 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6171 should fold into gstiterator.c in some form.
6172 (gst_element_pads_activate): Simplified via use of fold and
6173 delegation of decisions to gstpad->activate.
6175 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6178 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6179 class once in init, like gstmessage. Didn't run into this issue
6180 but it seems correct. Don't initialize a trace, gstminiobject does
6183 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6184 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6186 (assert_live_count): New util function, uses alloc traces to check
6189 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6190 To be modified when unlink drops the internal pad.
6192 2005-06-27 Wim Taymans <wim@fluendo.com>
6194 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6195 (gst_bin_change_state):
6196 Cleanup the get_state() function a little, make sure it
6197 iterates the same set of elements.
6198 Added stub iterate_state_order().
6200 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6202 * docs/gst/gstreamer-docs.sgml:
6203 * docs/gst/gstreamer-sections.txt:
6204 * docs/gst/gstreamer.types:
6205 * docs/gst/tmpl/gstbasesink.sgml:
6206 * docs/gst/tmpl/gstbasesrc.sgml:
6207 * docs/gst/tmpl/gstbasetransform.sgml:
6208 * docs/gst/tmpl/gstelement.sgml:
6209 * docs/gst/tmpl/gstiterator.sgml:
6210 * gst/base/gstbasesrc.c:
6211 * gst/base/gstbasesrc.h:
6212 * gst/base/gstbasetransform.h:
6214 * gst/gstiterator.h:
6215 adding basetransform and iterator docs
6217 2005-06-27 Andy Wingo <wingo@pobox.com>
6219 * docs/design/part-activation.txt: Notes on how activation should
6220 work -- not quite implemented yet.
6222 2005-06-25 Wim Taymans <wim@fluendo.com>
6224 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6225 At least get the chain function correct, needs more
6228 2005-06-25 Wim Taymans <wim@fluendo.com>
6230 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6231 (gst_basesink_handle_object), (gst_basesink_event),
6232 (gst_basesink_do_sync), (gst_basesink_handle_event),
6233 (gst_basesink_change_state):
6235 Right, two problems here: ghostpads don't take locks and
6236 glib _rec_mutex_lock_full() with depth==0 still locks.
6237 Catch illegal locking and g_warn them.
6239 2005-06-25 Wim Taymans <wim@fluendo.com>
6241 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6242 Have to check for completion now...
6244 2005-06-25 Wim Taymans <wim@fluendo.com>
6246 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6247 (gst_basesink_handle_object), (gst_basesink_event),
6248 (gst_basesink_do_sync), (gst_basesink_handle_event),
6249 (gst_basesink_change_state):
6251 Unlock STREAM_LOCK whatever the recursion was.
6253 2005-06-25 Wim Taymans <wim@fluendo.com>
6255 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6256 (gst_basesink_preroll_queue_empty),
6257 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6258 (gst_basesink_event), (gst_basesink_do_sync),
6259 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6260 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6261 (gst_basesink_change_state):
6262 Reworked the base sink, handle event and buffer serialisation
6263 correctly and removed possible deadlock.
6264 Handle EOS correctly.
6266 2005-06-25 Wim Taymans <wim@fluendo.com>
6268 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6269 (gst_pipeline_change_state):
6270 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6271 Allow elements to post EOS in the state change function.
6272 Fix up -launch, make it exit the poll loop when the
6273 pipeline actually changed state.
6274 Fix up warning parsing in -launch.
6276 2005-06-25 Wim Taymans <wim@fluendo.com>
6278 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6279 (gst_tee_sink_activate):
6280 Core takes STREAM_LOCK for us now.
6282 2005-06-25 Wim Taymans <wim@fluendo.com>
6284 * gst/gstelement.c: (gst_element_get_state_func),
6285 (gst_element_set_state):
6287 * gst/gstmessage.c: (gst_message_parse_error),
6288 (gst_message_parse_warning):
6289 Keep track of current target state while performing a state
6290 change so that subclasses can do something interesting.
6291 Fix parsing of warning/error messages when GError is NULL.
6293 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6295 * docs/gst/Makefile.am:
6296 * docs/gst/gstreamer-docs.sgml:
6297 * docs/gst/gstreamer-sections.txt:
6298 * docs/gst/gstreamer.types:
6299 * docs/gst/tmpl/gstbasesink.sgml:
6300 * docs/gst/tmpl/gstbasesrc.sgml:
6301 * docs/gst/tmpl/gstbin.sgml:
6302 * docs/gst/tmpl/gstcompat.sgml:
6303 * docs/gst/tmpl/gstfakesink.sgml:
6304 * docs/gst/tmpl/gstfakesrc.sgml:
6305 * docs/gst/tmpl/gstfilesink.sgml:
6306 * docs/gst/tmpl/gstfilesrc.sgml:
6307 * docs/gst/tmpl/gstindex.sgml:
6308 * docs/manual/appendix-quotes.xml:
6309 * gst/base/gstbasesrc.h:
6310 * gst/elements/gstfakesrc.h:
6312 start pulling in base classes and elements in our docs
6314 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6316 * docs/gst/Makefile.am:
6317 * docs/libs/Makefile.am:
6318 fixed make distcheck with gtk-doc 1.3
6320 2005-06-23 Wim Taymans <wim@fluendo.com>
6322 * gst/gstelement.c: (gst_element_get_state_func),
6323 (gst_element_set_state), (gst_element_change_state):
6324 When the state did not change, also report NO_PREROLL
6327 2005-06-23 Wim Taymans <wim@fluendo.com>
6329 * gst/gstpad.c: (gst_pad_event_default):
6330 * gst/gstqueue.c: (gst_queue_loop):
6331 No unsafe task pausing please.
6333 2005-06-23 Wim Taymans <wim@fluendo.com>
6335 * gst/schedulers/threadscheduler.c:
6336 (gst_thread_scheduler_task_start),
6337 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6338 Ref the task before pushing it on the threadpool. This
6339 makes sure that we have a ref when the threadfunction is
6342 2005-06-23 Andy Wingo <wingo@pobox.com>
6344 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6345 offset is greater than the file's size.
6347 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6348 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6349 * gst/gstobject.c (gst_object_class_init): Make the class lock
6350 recursive. Wim won't let me drop deep_notify. Decodebin works
6353 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6354 internal pad, and hacks accordingly. Doesn't do it on the target
6355 pad because we change its caps. Probably catches all cases of
6357 (gst_ghost_pad_set_property): Connect to notify::caps as
6360 * tests/network-clock.scm (plot-simulation): Pipe data to the
6361 elite python skript.
6363 * tests/network-clock-utils.scm (define-parameter): New macro,
6364 defines a parameter that can be set via the command line.
6365 (set-parameter!, parse-parameter-arguments): Command line args
6368 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6371 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6373 * gst/elements/gsttypefindelement.c:
6374 (gst_type_find_element_handle_event):
6375 Don't restart typefinding on a discont.
6376 * gst/gstelement.c: (gst_element_set_state):
6378 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6379 Allow changing mode of an active pad.
6381 * gst/registries/gstlibxmlregistry.c: (load_feature):
6382 Don't cast a static pad template to a normal pad template.
6384 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6386 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6387 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6388 remove gst_strtoll completely, since it didn't actually do
6389 anything more than what g_ascii_strtoull already does.
6390 check for range errors when deserializing
6391 do a cast for the unsigned cases; but further fixing needs
6392 a decision on what the interpretation of "(int)" and
6393 deserialization should be for values that fall outside the
6394 type's boundaries (ie, refuse, or interpret as casting)
6396 2005-06-23 Wim Taymans <wim@fluendo.com>
6398 * check/Makefile.am:
6399 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6400 * docs/design/part-live-source.txt:
6401 * docs/design/part-states.txt:
6402 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6403 (gst_basesrc_set_live), (gst_basesrc_is_live),
6404 (gst_basesrc_get_range), (gst_basesrc_activate),
6405 (gst_basesrc_change_state):
6406 * gst/base/gstbasesrc.h:
6407 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6408 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6409 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6410 * gst/gstelement.c: (gst_element_get_state_func),
6411 (gst_element_set_state):
6414 * tools/gst-launch.c: (event_loop), (main):
6415 Added support for live sources and other elements that
6417 Updated design docs, added live-source design doc.
6418 Implemented live source functionality in basesrc
6419 Fix error condition in _bin_get_state()
6420 Implement live source handling in -launch.
6421 Added check for live sources.
6422 Fixed case in GstBin where elements were changed state
6426 2005-06-23 Andy Wingo <wingo@pobox.com>
6428 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6431 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6432 gst_caps_replace takes care of this for us.
6434 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6435 gst_pad_set_caps on the target, not just its setcaps() function.
6437 * tests/network-clock.scm:
6438 * tests/network-clock-utils.scm: A network clock simulator.
6439 Something of an algorithmic testbed before doing something in C.
6441 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6443 * check/Makefile.am:
6444 * check/gst/capslist.h:
6445 copy over from 0.8, and add two with bitmasks specified with
6447 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6448 add test to parse everything from capslist.h
6449 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6451 add test for structure deserialization
6452 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6453 add tests for deserialization of strings to int types
6454 * gst/gststructure.c: (gst_structure_nth_field_name):
6455 * gst/gststructure.h:
6456 add a way to get the name of a field referenced by index
6457 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6458 instead of checking if the resulting long long lies between
6459 min and max, we check if the long long would fit into
6460 a number of bytes for the final type.
6461 This fixes cases where a string represents 2^32 - 1, which
6462 when cast to int would be the (valid) -1, but is bigger than
6465 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6467 * gst/parse/grammar.y:
6468 add a log line for type deserialization
6470 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6472 * check/gst/gstvalue.c: (START_TEST):
6473 * gst/gstvalue.c: (gst_value_deserialize):
6474 return long long, not int, so gint64 deserialization actually
6475 works. Is there any flag that makes the compiler check this ?
6478 2005-06-22 Wim Taymans <wim@fluendo.com>
6481 Added convenience macros for setting buffers in GValue.
6483 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6485 * check/gst/.cvsignore:
6486 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6487 add a test deserializing int64, and comment part out because
6490 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6492 * check/Makefile.am:
6493 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6494 * testsuite/Makefile.am:
6495 * testsuite/caps/Makefile.am:
6496 * testsuite/caps/value_serialize.c:
6497 * testsuite/test_gst_init.c:
6498 move a value_serialize test over
6500 2005-06-20 Wim Taymans <wim@fluendo.com>
6505 * gst/gstvalue.c: (gst_value_compare_buffer),
6506 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6507 (gst_value_compare_flags), (gst_value_serialize_flags),
6508 (gst_value_deserialize_flags), (_gst_value_initialize):
6509 Fix serialisation of buffers, they are not boxed types anymore
6511 2005-06-20 Wim Taymans <wim@fluendo.com>
6513 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6514 Testcase to show error in buffer-on-caps serialisation.
6516 2005-06-20 Andy Wingo <wingo@pobox.com>
6518 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6519 will be adding to later.
6521 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6522 if its socks fill with rocks.
6523 (gst_system_clock_obtain): Set the name on object construction.
6524 Avoid double-checked locking.
6526 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
6528 * gst/gsturi.c: (gst_element_make_from_uri):
6529 Fix potential endless loop.
6531 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * check/Makefile.am:
6535 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6537 move over from testsuite dir and clean up
6540 * testsuite/Makefile.am:
6541 * testsuite/tags/.cvsignore:
6542 * testsuite/tags/Makefile.am:
6543 * testsuite/tags/merge.c:
6544 remove testsuite/tags
6546 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6548 * docs/gst/gstreamer-sections.txt:
6549 * docs/gst/tmpl/gstenumtypes.sgml:
6550 * win32/gstenumtypes.c:
6551 clean up documentation build a little
6553 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6556 add macros for checking refcounts on objects and caps
6557 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6558 add some more unit tests
6559 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6560 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6561 fix leaked refcounts (I hope :)) so unittest works
6565 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6567 * configure.ac: back to HEAD
6569 === release 0.9.1 ===
6571 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6577 2005-06-17 Andy Wingo <wingo@pobox.com>
6579 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6580 assert; it's always possible that the pad gets deactivated in
6581 between the checks in gstpad.c and the implementation. Rely on
6582 finish_preroll() to return a FLUSHING or similar instead of on the
6585 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6586 clock and post an EOS message if we come out of finish_preroll in
6589 2005-06-16 David Schleef <ds@schleef.org>
6591 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6592 (gst_capsfilter_set_property): Allow NULL as possible value
6593 for filter_caps property, indicating GST_CAPS_ANY.
6595 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6599 * gst/schedulers/Makefile.am:
6601 * gstreamer.spec.in:
6604 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6606 * gstreamer.spec.in:
6609 2005-06-08 Andy Wingo <wingo@pobox.com>
6611 * gst/gstutils.c: RPAD fixes all around.
6612 (gst_element_link_pads): Refcounting fixes.
6614 * tools/gst-inspect.c:
6615 * tools/gst-xmlinspect.c:
6617 * gst/base/gsttypefindhelper.c:
6618 * gst/base/gstbasesink.c:
6619 * gst/gstqueue.c: RPAD fixes.
6621 * gst/gstghostpad.h:
6622 * gst/gstghostpad.c: New ghost pad implementation as full proxy
6623 pads. The tricky thing is they provide both source and sink
6624 interfaces, since they proxy the internal pad for the external
6625 pad, and vice versa. Implement with lower-level ProxyPad objects,
6626 with the interior proxy pad as a child of the exterior ghost pad.
6627 Should write a doc on this.
6629 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6630 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6633 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6634 pads are real pads. No ghost pads in this file. Not documenting
6635 the myriad s/RPAD/PAD/ and REALIZE fixes.
6636 (gst_pad_class_init): Add properties for "direction" and
6637 "template". Both are construct-only, so they can't change during
6638 the life of the pad. Fixes properly deriving from GstPad.
6639 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6640 derived objects, just set properties when creating the objects via
6642 (gst_pad_get_parent): Implement as a function, return NULL if the
6643 parent is not an element.
6644 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6645 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6647 * gst/gstobject.c (gst_object_class_init): Make name a construct
6648 property. Don't set it in the object init.
6650 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6651 with UNKNOWN direction.
6652 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6653 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6654 (gst_element_remove_pad): Remove ghost-pad special cases.
6655 (gst_element_pads_activate): Remove rpad cruft.
6657 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6658 catch the pad's-parent-not-an-element case.
6660 * gst/gst.h: Include gstghostpad.h.
6662 * gst/gst.c (init_post): No more real, ghost pads.
6664 * gst/Makefile.am: Add gstghostpad.[ch].
6666 * check/Makefile.am:
6667 * check/gst/gstbin.c:
6668 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6669 into a bin creates ghost pads, and that the refcounts are right.
6670 Partly moved from gstbin.c.
6672 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6674 * check/gst-libs/.cvsignore:
6675 * check/gst/.cvsignore:
6676 * check/pipelines/.cvsignore:
6678 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6679 (START_TEST), (cleanup_suite), (main):
6680 add some tests related to cleanup after running pipelines
6682 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6684 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6685 add a testsuite for GstBuffer
6687 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * gst/gstminiobject.h:
6690 add defines for accessing the refcount
6692 2005-06-03 Stefan Kost <ensonic@users.sf.net>
6694 * Makefile.am: added support for html unit test coverage reports
6696 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
6698 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6699 Free existing caps if the capsfilter changes. Add a FIXME about
6700 setting those caps on the pads.
6702 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6703 Before adding a ghost pad to a parent bin, check that there isn't
6704 already one for the element on the bin. Prevents infinite recursion
6705 when using decodebin in parse pipelines. Andy says he'll rewrite the
6706 way this works anyway, so ignore the hack.
6708 2005-06-02 Andy Wingo <wingo@pobox.com>
6710 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6711 file size, pass it on to the type find helper.
6713 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6714 segment_start and segment_end properly according to the seek
6715 method. Segment_end is still a bit flaky because offset can be
6716 negative for CUR and END cases, but it takes -1 as an "unset"
6719 2005-06-02 Wim Taymans <wim@fluendo.com>
6721 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6722 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6723 (gst_basesink_activate):
6724 * gst/base/gstbasesink.h:
6725 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6726 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6727 (gst_pad_query), (gst_pad_start_task):
6729 * gst/gstqueue.c: (gst_queue_bufferalloc),
6730 (gst_queue_handle_sink_event), (gst_queue_chain):
6731 Bufferalloc: return GstFlowReturn to more accuratly report
6732 why allocation failed.
6734 2005-06-02 Wim Taymans <wim@fluendo.com>
6736 * gst/gstpipeline.c: (gst_pipeline_send_event):
6737 Take snapshot of state without blocking.
6739 2005-06-02 Wim Taymans <wim@fluendo.com>
6741 * docs/design/part-TODO.txt:
6742 * docs/design/part-caps.txt:
6743 * docs/design/part-clocks.txt:
6744 * docs/design/part-negotiation.txt:
6745 * docs/design/part-preroll.txt:
6748 2005-05-30 Wim Taymans <wim@fluendo.com>
6750 * gst/elements/gstidentity.c: (gst_identity_event),
6751 (gst_identity_transform), (gst_identity_get_property):
6752 Protect last_message property as it is accessed from
6755 2005-05-30 Wim Taymans <wim@fluendo.com>
6757 * gst/gstelement.c: (gst_element_init),
6758 (gst_element_pads_activate), (gst_element_change_state):
6759 Slicker pad activation code.
6761 2005-05-30 Wim Taymans <wim@fluendo.com>
6765 * gst/gstelementfactory.h:
6767 Move elementfactory methods to separate .h file.
6769 2005-05-30 Wim Taymans <wim@fluendo.com>
6771 * docs/design/part-overview.txt:
6772 * gst/gstsystemclock.h:
6773 Small typo fixes, doc updates.
6775 2005-05-30 Wim Taymans <wim@fluendo.com>
6777 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6778 (init_popt_callback):
6779 Remove cpu-opt flag.
6781 2005-05-30 Wim Taymans <wim@fluendo.com>
6783 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6784 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6786 Avoid typechecking in places where not needed.
6787 Added accessor for malloc_data.
6789 2005-05-30 Wim Taymans <wim@fluendo.com>
6791 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6792 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6793 (gst_pad_configure_sink), (gst_pad_configure_src),
6794 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6795 (gst_pad_start_task):
6796 Propagate errors from _set_caps() in configure_src/sink
6797 functions instead of returning TRUE.
6798 FLUSH events can travel up and downstream
6801 2005-05-30 Wim Taymans <wim@fluendo.com>
6803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6804 (gst_basesink_activate):
6805 Handle EOS in preroll.
6807 2005-05-30 Wim Taymans <wim@fluendo.com>
6809 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6810 (gst_queue_loop), (gst_queue_handle_src_event):
6811 Remove old pieces of code
6812 Flushing the queue in an upstream event is a very bad idea.
6814 2005-05-26 Andy Wingo <wingo@pobox.com>
6816 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6817 gst_value_set_mini_object so as to add a ref on the object (which
6818 will be removed when the value is unset).
6820 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6821 arg type in ::handoff.
6823 * gst/gstelement.c (gst_element_change_state): Also deactivate
6824 pads in READY->NULL, just in case the element didn't make it to
6825 PAUSED. Wingo tested, Wim approved.
6827 2005-05-26 Wim Taymans <wim@fluendo.com>
6829 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6830 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6831 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6832 A flushing pad cannot be used to alloc_buffer from.
6834 2005-05-26 Wim Taymans <wim@fluendo.com>
6836 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6837 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6838 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6839 (gst_bus_create_watch), (gst_bus_add_watch_full):
6841 Implement a real GSource and use g_main_context_wakeup() to
6842 signal new messages instead of the socketpair.
6844 2005-05-25 Wim Taymans <wim@fluendo.com>
6846 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6847 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6848 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6849 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6850 (gst_pad_send_event), (gst_pad_start_task):
6851 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6852 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6853 (gst_queue_sink_activate), (gst_queue_src_activate),
6854 (gst_queue_change_state):
6856 Fix state changes for non sinks. We now change sinks, then elements
6857 with unconnected srcpads, then the rest.
6858 More efficient queue unlocking in flush and state changes.
6859 Set the pad activate mode even if it does not have an activate
6862 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6864 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6865 Don't go in pull mode for non-seekable sources.
6866 * gst/elements/gsttypefindelement.h:
6867 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6868 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6869 (free_entry), (stop_typefinding),
6870 (gst_type_find_element_handle_event), (find_peek),
6871 (gst_type_find_element_chain), (do_pull_typefind),
6872 (gst_type_find_element_change_state):
6873 Allow typefinding (w/o seeking) in push-mode, simplified version
6875 * gst/gstutils.c: (gst_buffer_join):
6877 gst_buffer_join() from 0.8.
6879 2005-05-25 Wim Taymans <wim@fluendo.com>
6881 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6882 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6883 (gst_pad_send_event), (gst_pad_start_task):
6884 Disable attempt at mode switching until it is figured out.
6886 2005-05-25 Wim Taymans <wim@fluendo.com>
6888 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6889 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6890 (gst_basesink_finish_preroll), (gst_basesink_chain),
6891 (gst_basesink_loop), (gst_basesink_activate),
6892 (gst_basesink_change_state):
6893 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6894 (gst_basesrc_get_range), (gst_basesrc_loop),
6895 (gst_basesrc_activate):
6896 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6897 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6898 (gst_real_pad_init), (gst_real_pad_set_property),
6899 (gst_real_pad_get_property), (gst_pad_set_active),
6900 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6901 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6902 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6903 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6904 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6905 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6906 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6907 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6908 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6909 (gst_pad_stop_task):
6911 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6912 (gst_queue_loop), (gst_queue_src_activate):
6913 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6914 (gst_task_get_state):
6916 * gst/schedulers/threadscheduler.c:
6917 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6918 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6920 Remove ACTIVE pad flag, use FLUSHING everywhere
6921 Added _pad_chain(), _pad_get_range() to call chain/getrange
6923 Add locks around IS_FLUSHING when reading.
6924 Take STREAM lock in chain(), get_range() functions so plugins
6925 don't need to take it anymore.
6929 2005-05-25 Wim Taymans <wim@fluendo.com>
6931 * tools/gst-launch.c: (event_loop):
6932 Unref message after using its contents instead of
6935 2005-05-24 Wim Taymans <wim@fluendo.com>
6937 * docs/design/draft-ghostpads.txt:
6938 * docs/design/draft-push-pull.txt:
6939 * docs/design/draft-query.txt:
6940 * docs/design/part-overview.txt:
6941 Docs updates, added general overview doc.
6943 2005-05-21 David Schleef <ds@schleef.org>
6945 * docs/gst/tmpl/old/GstBin.sgml:
6946 * docs/gst/tmpl/old/GstBuffer.sgml:
6947 * docs/gst/tmpl/old/GstCaps.sgml:
6948 * docs/gst/tmpl/old/GstClock.sgml:
6949 * docs/gst/tmpl/old/GstCompat.sgml:
6950 * docs/gst/tmpl/old/GstData.sgml:
6951 * docs/gst/tmpl/old/GstElement.sgml:
6952 * docs/gst/tmpl/old/GstEvent.sgml:
6953 * docs/gst/tmpl/old/GstIndex.sgml:
6954 * docs/gst/tmpl/old/GstStructure.sgml:
6955 * docs/gst/tmpl/old/GstTag.sgml:
6956 * docs/gst/tmpl/old/cothreads.sgml:
6957 * docs/gst/tmpl/old/cothreads_compat.sgml:
6958 * docs/gst/tmpl/old/gettext.sgml:
6959 * docs/gst/tmpl/old/gobject2gtk.sgml:
6960 * docs/gst/tmpl/old/grammar.tab.sgml:
6961 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6962 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6963 * docs/gst/tmpl/old/gst_private.sgml:
6964 * docs/gst/tmpl/old/gstaggregator.sgml:
6965 * docs/gst/tmpl/old/gstarch.sgml:
6966 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6967 * docs/gst/tmpl/old/gstbufferstore.sgml:
6968 * docs/gst/tmpl/old/gstdata_private.sgml:
6969 * docs/gst/tmpl/old/gstdisksink.sgml:
6970 * docs/gst/tmpl/old/gstdisksrc.sgml:
6971 * docs/gst/tmpl/old/gstelementfactory.sgml:
6972 * docs/gst/tmpl/old/gstextratypes.sgml:
6973 * docs/gst/tmpl/old/gstfakesink.sgml:
6974 * docs/gst/tmpl/old/gstfakesrc.sgml:
6975 * docs/gst/tmpl/old/gstfdsink.sgml:
6976 * docs/gst/tmpl/old/gstfdsrc.sgml:
6977 * docs/gst/tmpl/old/gstfilesink.sgml:
6978 * docs/gst/tmpl/old/gstfilesrc.sgml:
6979 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6980 * docs/gst/tmpl/old/gstidentity.sgml:
6981 * docs/gst/tmpl/old/gstindexfactory.sgml:
6982 * docs/gst/tmpl/old/gstmarshal.sgml:
6983 * docs/gst/tmpl/old/gstmd5sink.sgml:
6984 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6985 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6986 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6987 * docs/gst/tmpl/old/gstpipefilter.sgml:
6988 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6989 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6990 * docs/gst/tmpl/old/gstshaper.sgml:
6991 * docs/gst/tmpl/old/gstspider.sgml:
6992 * docs/gst/tmpl/old/gstspideridentity.sgml:
6993 * docs/gst/tmpl/old/gststatistics.sgml:
6994 * docs/gst/tmpl/old/gsttee.sgml:
6995 * docs/gst/tmpl/old/gsttimecache.sgml:
6996 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6997 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6998 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6999 * docs/gst/tmpl/old/types.sgml:
7000 I didn't intend to add these or check them in.
7002 2005-05-19 David Schleef <ds@schleef.org>
7004 * configure.ac: Use -no-common everywhere. In a sane world, it
7005 would be the default in libtool, because without it, you can't
7006 build DLLs on Windows.
7007 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7008 * docs/gst/gstreamer-sections.txt:
7009 * docs/gst/tmpl/gstcpu.sgml:
7010 * docs/gst/tmpl/gstdata.sgml:
7011 * docs/gst/tmpl/gstthread.sgml:
7013 2005-05-19 David Schleef <ds@schleef.org>
7015 * gst/gstminiobject.c: (gst_value_set_mini_object),
7016 (gst_value_take_mini_object), (gst_value_get_mini_object):
7017 * gst/gstminiobject.h: Add GValue set/get functions.
7019 2005-05-19 Wim Taymans <wim@fluendo.com>
7021 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7022 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7023 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7025 * gst/gstbus.c: (gst_bus_post):
7026 * gst/gstelement.c: (gst_element_get_random_pad):
7027 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7028 Make subbufer unref the parent in finalize.
7029 some more debugging info.
7032 2005-05-19 Wim Taymans <wim@fluendo.com>
7034 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7035 (gst_basesink_init), (gst_basesink_finalize),
7036 (gst_basesink_activate), (gst_basesink_change_state):
7037 Don't free preroll queue too early.
7039 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7043 Hi, I'm outdated. Please shoot me.
7045 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7047 * gst/gstpipeline.c: (gst_pipeline_send_event):
7048 Do not access variables after they have been deleted.
7050 2005-05-19 Wim Taymans <wim@fluendo.com>
7052 * tools/gst-inspect.c: (print_plugin_features):
7053 A plugin feature does unfortunatly not use the
7056 2005-05-18 Wim Taymans <wim@fluendo.com>
7058 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7059 Port _span() functions to new subbuffers.
7061 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7063 * gst/gstbin.c: (gst_bin_add_func):
7064 Fix clock settery in bins when adding kids after the clock has
7067 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7069 * gst/elements/gstidentity.c: (gst_identity_class_init):
7070 Workaround until signals support GstMiniObject.
7072 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7075 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7077 2005-05-18 Wim Taymans <wim@fluendo.com>
7079 * gst/base/Makefile.am:
7080 * gst/base/gstadapter.c: (gst_adapter_base_init),
7081 (gst_adapter_class_init), (gst_adapter_init),
7082 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7083 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7084 (gst_adapter_flush), (gst_adapter_available),
7085 (gst_adapter_available_fast):
7086 * gst/base/gstadapter.h:
7087 Ported and added adapter to the base classes.
7089 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7093 Make sure the class is reffed/unreffed once before threads can be
7094 used. Fixes #304551.
7096 2005-05-17 Wim Taymans <wim@fluendo.com>
7098 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7099 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7100 * gst/gstminiobject.c: (gst_mini_object_get_type),
7101 (gst_mini_object_free):
7102 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7103 (gst_pad_push), (gst_pad_push_event):
7104 * gst/gstqueue.c: (gst_queue_change_state):
7105 Don't queue buffers in basesink when we are flushing.
7106 Unref buffer when flushing in basesink.
7107 Flush queue when going to READY
7108 Unref buffer when _push() returns an error.
7109 Don't free MiniObject instance when refcount is incremented
7110 in _finalize() so that we can recover objects.
7112 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7114 * docs/manual/advanced-schedulers.xml:
7115 * docs/manual/appendix-checklist.xml:
7116 * docs/pwg/advanced-clock.xml:
7117 * docs/pwg/advanced-interfaces.xml:
7118 * docs/pwg/advanced-request.xml:
7119 * docs/pwg/advanced-types.xml:
7120 * docs/pwg/intro-preface.xml:
7121 * examples/plugins/example.c: (gst_example_get_type),
7122 (gst_example_class_init), (gst_example_chain),
7123 (gst_example_set_property), (gst_example_get_property),
7124 (gst_example_change_state), (plugin_init):
7125 * examples/plugins/example.h:
7128 2005-05-17 Wim Taymans <wim@fluendo.com>
7130 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7131 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7132 * gst/gstqueue.c: (gst_queue_change_state):
7133 Clear queue when going to READY.
7134 Remove IN_SETCAPS flag too.
7136 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7138 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7139 Remove implicit cast from gboolean to GstElementStateReturn;
7140 make sure we still return failure in paused => ready case if
7141 the parent class fails to change state and our own stop
7144 2005-05-17 Wim Taymans <wim@fluendo.com>
7146 * tools/gst-launch.c: (event_loop):
7147 Message was unreffed too soon.
7149 2005-05-16 Andy Wingo <wingo@pobox.com>
7151 * gst/gstbin.c (sink_iterator_filter): Err... um...
7153 * check/gst/gstbin.c (test_ghost_pads): New test for the
7154 ghosting-if-elements-not-in-same-bin behavior.
7156 2005-05-16 David Schleef <ds@schleef.org>
7158 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7159 accessing refcount directly.
7161 2005-05-15 David Schleef <ds@schleef.org>
7163 * check/Makefile.am: remove GstData checks
7164 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7165 * gst/Makefile.am: add miniobject, remove data
7166 * gst/gst.h: add miniobject, remove data
7167 * gst/gstdata.c: remove
7168 * gst/gstdata.h: remove
7169 * gst/gstdata_private.h: remove
7170 * gst/gsttypes.h: remove GstEvent and GstMessage
7171 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7172 * gst/gstmarshal.list: change BOXED -> OBJECT
7174 Implement GstMiniObject.
7175 * gst/gstminiobject.c:
7176 * gst/gstminiobject.h:
7178 Modify to be subclasses of GstMiniObject.
7179 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7180 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7181 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7182 (gst_subbuffer_get_type), (gst_subbuffer_init),
7183 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7186 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7187 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7188 (_gst_event_copy), (gst_event_new):
7190 * gst/gstmessage.c: (_gst_message_initialize),
7191 (gst_message_get_type), (gst_message_class_init),
7192 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7193 (gst_message_new), (gst_message_new_error),
7194 (gst_message_new_warning), (gst_message_new_tag),
7195 (gst_message_new_state_changed), (gst_message_new_application):
7197 * gst/gstprobe.c: (gst_probe_perform),
7198 (gst_probe_dispatcher_dispatch):
7200 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7201 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7202 (_gst_query_copy), (gst_query_new):
7204 Update elements for GstData -> GstMiniObject changes
7206 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7207 (gst_queue_chain), (gst_queue_loop):
7208 * gst/elements/gstbufferstore.c:
7209 (gst_buffer_store_add_buffer_func),
7210 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7211 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7212 (gst_fakesink_render):
7213 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7214 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7215 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7216 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7217 (gst_filesrc_create_read):
7218 * gst/elements/gstidentity.c: (gst_identity_class_init):
7219 * gst/elements/gsttypefindelement.c:
7220 (gst_type_find_element_src_event), (free_entry_buffers),
7221 (gst_type_find_element_handle_event):
7222 * libs/gst/dataprotocol/dataprotocol.c:
7223 (gst_dp_header_from_buffer):
7224 * libs/gst/dataprotocol/dataprotocol.h:
7225 * libs/gst/dataprotocol/dp-private.h:
7227 2005-05-15 David Schleef <ds@schleef.org>
7229 * gst/elements/gstelements.c: Don't include headers that were
7232 2005-05-15 David Schleef <ds@schleef.org>
7234 * gst/elements/Makefile.am: Remove some elements that don't
7235 need to be in the core (or even exist at all).
7236 * gst/elements/gstaggregator.c:
7237 * gst/elements/gstaggregator.h:
7238 * gst/elements/gstmd5sink.c:
7239 * gst/elements/gstmd5sink.h:
7240 * gst/elements/gstmultifilesrc.c:
7241 * gst/elements/gstmultifilesrc.h:
7242 * gst/elements/gstpipefilter.c:
7243 * gst/elements/gstpipefilter.h:
7244 * gst/elements/gstshaper.c:
7245 * gst/elements/gstshaper.h:
7246 * gst/elements/gststatistics.c:
7247 * gst/elements/gststatistics.h:
7248 * po/POTFILES.in: Remove above files.
7250 2005-05-14 Andy Wingo <wingo@pobox.com>
7252 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7253 so as to get the refs right.
7254 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7255 unreffing objects that don't pass the filter.
7257 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7258 gst_element_set_bus.
7259 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7260 normal cases, this will destroy the bus.
7262 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7265 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7268 2005-05-13 Andy Wingo <wingo@pobox.com>
7270 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7271 gst_pad_link, call pad_link_maybe_ghosting,
7272 (pad_link_maybe_ghosting): Links pads, making sure that the
7273 elements being linked are in the same bin.
7274 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7275 Helpers for pad_link_maybe_ghosting.
7277 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7280 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7282 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7284 * docs/design/part-element-source.txt:
7287 2005-05-12 Wim Taymans <wim@fluendo.com>
7289 * gst/base/gstbasesink.c: (gst_basesink_init),
7290 (gst_basesink_activate):
7291 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7292 (gst_basesrc_is_seekable):
7293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7294 (bin_element_is_sink), (gst_bin_change_state):
7295 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7297 Identify sinks by their flag to avoid overly complicated
7299 Do state changes even for elements not reachable from the
7301 BaseSink is a sink now :)
7302 Some more debugging info in the basesrc.
7305 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7308 Implement _query on a bin, similar to _send_event.
7310 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
7312 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7313 Discont event offset format should be GST_FORMAT_BYTES,
7314 not GST_FORMAT_TIME.
7316 2005-05-12 Wim Taymans <wim@fluendo.com>
7318 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7319 Same fix as Ronald's but without the signal.
7321 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7323 * gst/gstutils.c: (gst_element_query_position):
7324 No, an element is not a pad.
7326 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7328 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7329 (gst_bin_get_state):
7330 If a child is removed from a bin while we remove the child from
7331 the bin and while we're retrieving its state, signal this to the
7332 get_state function so we abort the wait (instead of waiting for
7333 a timeout) and can immediately re-iterate over all other elements.
7335 2005-05-12 Wim Taymans <wim@fluendo.com>
7337 * gst/base/Makefile.am:
7338 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7339 (gst_basesrc_start):
7340 * gst/base/gstbasesrc.h:
7341 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7342 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7343 (gst_pushsrc_init), (gst_pushsrc_create):
7344 * gst/base/gstpushsrc.h:
7345 Added is_seekable to BaseSrc
7346 Added simple PushSrc.
7348 2005-05-11 Wim Taymans <wim@fluendo.com>
7350 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7351 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7352 (gst_element_link_pads), (gst_element_query_position),
7353 (gst_element_query_convert), (intersect_caps_func),
7354 (gst_pad_query_position), (gst_pad_query_convert):
7355 Fix refcounting in utils function.
7356 No point in trying to activate a pad when it's added, it could
7357 be added from the state change function and then we deadlock, the
7358 element has to decide what to do.
7360 2005-05-10 Andy Wingo <wingo@pobox.com>
7362 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7363 *all* the arguments.
7365 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7366 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7367 lock (according to the docs -- if this is wrong change the docs).
7369 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7370 flush messages in the NULL state.
7372 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7373 message immediately and return.
7374 (gst_bus_set_flushing): New function. If a bus is flushing, it
7375 flushes out any queued messages and immediately unrefs new
7376 messages. This is so when an element goes to NULL, all of the
7377 unhandled messages coming from it can be freed, and their
7378 references to the element dropped. In other words: message source
7379 ref considered harmful :P
7381 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7382 we're finished with it.
7384 * gst/gstmessage.c (gst_message_new_state_changed):
7386 2005-05-10 Wim Taymans <wim@fluendo.com>
7388 * gst/gstvalue.c: (gst_value_compare_flags),
7389 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7390 (_gst_value_initialize):
7391 Added flags serialize/deserialize/compare code.
7393 2005-05-09 Andy Wingo <wingo@pobox.com>
7395 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7396 Intersect the peer's caps with our caps.
7398 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7400 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7401 * gst/elements/gsttypefindelement.c: (find_peek):
7402 Handle negative offsets better. Fixes decodebin.
7404 2005-05-09 Wim Taymans <wim@fluendo.com>
7406 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7407 (gst_base_transform_event):
7408 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7409 Implement accept_caps.
7410 Fix silly lock/unlock mismatch in base class.
7412 2005-05-09 Wim Taymans <wim@fluendo.com>
7414 * docs/design/draft-push-pull.txt:
7415 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7416 * gst/elements/gstfilesink.c: (gst_filesink_init),
7417 (gst_filesink_query):
7418 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7419 (gst_type_find_handle_src_query), (find_element_get_length):
7420 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7424 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7425 (gst_real_pad_get_caps_unlocked),
7426 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7427 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7428 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7429 (gst_real_pad_dispose), (gst_real_pad_finalize),
7430 (gst_pad_load_and_link), (gst_pad_save_thyself),
7431 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7432 (gst_pad_check_pull_range), (gst_pad_pull_range),
7433 (gst_pad_template_get_type), (gst_pad_template_class_init),
7434 (gst_pad_template_init), (gst_pad_template_dispose),
7435 (name_is_valid), (gst_static_pad_template_get),
7436 (gst_pad_template_new), (gst_static_pad_template_get_caps),
7437 (gst_pad_template_get_caps), (gst_pad_set_element_private),
7438 (gst_pad_get_element_private), (gst_pad_start_task),
7439 (gst_pad_pause_task), (gst_pad_stop_task),
7440 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7441 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7442 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7443 (gst_ghost_pad_new):
7445 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7446 (gst_query_new_position), (gst_query_set_position),
7447 (gst_query_parse_position), (gst_query_new_convert),
7448 (gst_query_set_convert), (gst_query_parse_convert):
7450 * gst/gstqueryutils.c:
7451 * gst/gstqueryutils.h:
7452 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7453 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7454 (gst_queue_handle_src_query):
7455 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7456 (gst_element_query_position), (gst_element_query_convert),
7457 (intersect_caps_func), (gst_pad_query_position),
7458 (gst_pad_query_convert):
7460 * tools/gst-inspect.c: (print_pad_info):
7461 * tools/gst-xmlinspect.c: (print_element_info):
7462 Remove old query functions. Ported old code.
7463 Added position/convert helper functions to gstutils.
7464 Reordered gstpad.c code, grouping relevant things.
7465 Remove gst_message_new(), always need to speficy a specific
7469 2005-05-09 Andy Wingo <wingo@pobox.com>
7471 * gst/gstiterator.h: Add some includes.
7473 * gst/gstqueryutils.h: Include more headers.
7476 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7477 some uses of gst_pad_query.
7479 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7480 NULL out parameters.
7481 (gst_query_new_position): New proc, allocates a new position
7484 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7485 gstqueryutils.c to the build.
7487 * gst/gststructure.c (gst_structure_set_valist): Implement with
7488 the generic G_VALUE_COLLECT.
7490 2005-05-08 Edward Hervey <bilboed@bilboed.com>
7492 * gst/Makefile.am: (gst_headers):
7493 Added gstqueryutils.h to the list of headers to install, that was
7494 a 'nachty' move wingo :)
7496 2005-05-06 Andy Wingo <wingo@pobox.com>
7499 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7500 GstData, init a memchunk.
7501 (standard_definitions): Add a few query types, deprecate a few.
7502 (gst_query_get_type): New proc.
7503 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7505 (gst_query_new_application, gst_query_get_structure): New public
7508 * docs/design/draft-query.txt: Removed LINKS from the query types,
7509 because all the rest can be dispatched to other pads -- seemed
7510 ugly to have a query that couldn't be dispatched. internal_links
7511 is fine as a pad method.
7513 * gst/gstpad.h: Add query2 as a pad method, add the new functions
7514 in gstpad.c, but maintain binary compatibility for the moment.
7515 Will fix before 0.9 is out.
7517 * gst/gstqueryutils.c:
7518 * gst/gstqueryutils.h: New files, implement 3 methods for each
7519 query type: parse_query, parse_response, and set. Probably need an
7522 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7524 * gst/elements/gstfilesink.c (gst_filesink_query2):
7525 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7526 query_types, and formats methods.
7528 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7529 (gst_pad_set_query2_function): New functions.
7530 (gst_real_pad_init): Set query2_default as the default query2
7531 function. Basically just dispatches to internally linked pads.
7535 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7536 without using the atomic operations. Only one thread can possibly
7537 be accessing the data at this point. Changed so as to avoid
7538 gst_atomic operations.
7540 2005-05-06 Wim Taymans <wim@fluendo.com>
7542 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7543 Also set caps if we use the fallback buffer alloc.
7545 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
7547 * docs/gst/Makefile.am:
7548 * docs/gst/gstreamer-docs.sgml:
7549 * docs/gst/gstreamer-sections.txt:
7550 * docs/gst/tmpl/gstatomic.sgml:
7551 * docs/gst/tmpl/gstmemchunk.sgml:
7552 * testsuite/elements/struct_i386.h:
7553 * win32/GStreamer.vcproj:
7555 Purge GstAtomic stuff from docs and win32 makefiles as well
7557 2005-05-06 Wim Taymans <wim@fluendo.com>
7559 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7560 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7561 * gst/gstpad.c: (gst_pad_peer_get_caps):
7562 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7563 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7564 (gst_queue_src_activate), (gst_queue_change_state):
7566 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7567 (intersect_caps_func):
7568 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7569 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7570 Some fixes for the peer_get_caps() change.
7572 2005-05-06 Wim Taymans <wim@fluendo.com>
7574 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7575 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7576 (gst_basesink_activate):
7577 Actually do something with error codes returned from the push
7580 2005-05-06 Wim Taymans <wim@fluendo.com>
7582 * docs/design/part-element-sink.txt:
7583 * docs/design/part-element-source.txt:
7584 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7585 (gst_basesink_event), (gst_basesink_activate):
7586 * gst/base/gstbasesink.h:
7587 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7588 (gst_basesrc_activate):
7589 * gst/base/gstbasesrc.h:
7590 * gst/gstelement.c: (gst_element_pads_activate):
7591 Some more documentation.
7592 Fixed scheduling decision in _pads_activate().
7594 2005-05-05 Andy Wingo <wingo@pobox.com>
7596 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7599 2005-05-05 Wim Taymans <wim@fluendo.com>
7601 * gst/base/Makefile.am:
7602 * gst/base/gstbasesink.h:
7603 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7604 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7605 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7606 (gst_collectpads_class_init), (gst_collectpads_init),
7607 (gst_collectpads_finalize), (gst_collectpads_new),
7608 (gst_collectpads_set_function), (gst_collectpads_add_pad),
7609 (find_pad), (gst_collectpads_remove_pad),
7610 (gst_collectpads_is_active), (gst_collectpads_collect),
7611 (gst_collectpads_collect_range), (gst_collectpads_start),
7612 (gst_collectpads_stop), (gst_collectpads_peek),
7613 (gst_collectpads_pop), (gst_collectpads_available),
7614 (gst_collectpads_read), (gst_collectpads_flush),
7615 (gst_collectpads_chain):
7616 * gst/base/gstcollectpads.h:
7617 * gst/elements/Makefile.am:
7618 * gst/elements/gstelements.c:
7619 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7620 (gst_fakesink_get_times), (gst_fakesink_event),
7621 (gst_fakesink_preroll), (gst_fakesink_render):
7622 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7623 (gst_filesink_init), (gst_filesink_set_location),
7624 (gst_filesink_open_file), (gst_filesink_close_file),
7625 (gst_filesink_pad_query), (gst_filesink_event),
7626 (gst_filesink_render), (gst_filesink_change_state):
7627 * gst/elements/gstfilesink.h:
7628 Added object to help in making collect pad based elements.
7630 Make event function in sink baseclass return gboolean.
7632 2005-05-05 Wim Taymans <wim@fluendo.com>
7634 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7635 (gst_bin_get_by_name):
7637 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7638 (gst_clock_finalize):
7639 * gst/gstdata.c: (gst_data_replace):
7641 * gst/gstelement.c: (gst_element_request_pad),
7642 (gst_element_pads_activate):
7643 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7645 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7646 (gst_pad_set_checkgetrange_function),
7647 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7648 (gst_pad_check_pull_range), (gst_pad_pull_range),
7649 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7650 (gst_pad_pause_task), (gst_pad_stop_task):
7651 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7652 (gst_element_request_pad), (gst_pad_proxy_getcaps):
7653 Fix name lookup in GstBin.
7654 Added _data_replace() function and _buffer_replace()
7655 Use finalize method to clean up clock.
7656 Fix refcounting on request pads.
7657 Fix pad schedule mode error.
7658 Some more object refcounting debug info,
7661 2005-05-04 Andy Wingo <wingo@pobox.com>
7663 * check/Makefile.am:
7664 * docs/gst/tmpl/gstatomic.sgml:
7665 * docs/gst/tmpl/gstplugin.sgml:
7666 * gst/base/gstbasesink.c: (gst_basesink_activate):
7667 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7668 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7669 (gst_basesrc_query), (gst_basesrc_set_property),
7670 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7671 (gst_basesrc_activate):
7672 * gst/base/gstbasesrc.h:
7673 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7674 (gst_base_transform_src_activate):
7675 * gst/elements/gstelements.c:
7676 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7677 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7678 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7679 * gst/elements/gsttypefindelement.c: (find_element_get_length),
7680 (gst_type_find_element_checkgetrange),
7681 (gst_type_find_element_activate):
7682 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7683 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7684 (gst_caps_load_thyself):
7685 * gst/gstelement.c: (gst_element_pads_activate),
7686 (gst_element_save_thyself), (gst_element_restore_thyself):
7687 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7688 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7690 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7691 (gst_xml_parse_file), (gst_xml_parse_memory),
7692 (gst_xml_get_element), (gst_xml_make_element):
7693 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7694 (_file_index_id_save_xml), (gst_file_index_commit):
7695 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7696 (read_enum), (load_pad_template), (load_feature), (load_plugin),
7698 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7699 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7700 * tools/gst-complete.c: (main):
7701 * tools/gst-compprep.c: (main):
7702 * tools/gst-inspect.c: (print_element_properties_info):
7703 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7704 * tools/gst-xmlinspect.c: (print_element_properties):
7707 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7709 * gst/gstplugin.c: (gst_plugin_check_module),
7710 (gst_plugin_check_file), (gst_plugin_load_file):
7711 apply patch from #172526 to make register work on MacOSX
7713 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7715 * docs/gst/tmpl/gstconfig.sgml:
7716 * gst/gstconfig.h.in:
7717 move documentation for some symbols. Add doc for GST_PTR_FORMAT
7718 * testsuite/debug/printf_extension.c: (main):
7719 Do not use GST_PTR_FORMAT on pointers to types with
7720 sizeof < sizeof(gpointer). Fixes test on 64-bit
7721 * testsuite/elements/property.h:
7722 use correct printf format
7724 2005-05-02 Wim Taymans <wim@fluendo.com>
7726 * docs/design/draft-push-pull.txt:
7727 * docs/design/draft-query.txt:
7728 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7729 (gst_basesrc_start):
7730 Added draft for new query API.
7731 Added draft for better selecting scheduling methods.
7732 Make basesrc ignore length if the subclass does not support
7735 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7738 possible fixes for automake-1.5 - _LIBADD is reserved
7740 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7742 * docs/faq/Makefile.am:
7743 * docs/manual/Makefile.am:
7745 * docs/pwg/Makefile.am:
7747 possible fixes for automake-1.5
7749 2005-04-28 Wim Taymans <wim@fluendo.com>
7751 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7752 (gst_basesink_pad_getcaps), (gst_basesink_init),
7753 (gst_basesink_do_sync):
7754 * gst/gstclock.c: (gst_clock_entry_new):
7755 * gst/gstevent.c: (gst_event_discont_get_value):
7756 * gst/gstpipeline.c: (pipeline_bus_handler),
7757 (gst_pipeline_change_state):
7758 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7759 Better debugging of clocking info.
7760 Allow NULL values when getting discont values.
7762 2005-04-27 Wim Taymans <wim@fluendo.com>
7764 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7765 * check/gst/gstpad.c: (gst_pad_suite):
7766 Increase timeout for checks.
7768 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7770 * check/Makefile.am:
7771 fix the broken rule for cleanup. Apparently this rule is
7772 only needed on FC2, so maybe this warrants further autotool
7775 2005-04-26 Wim Taymans <wim@fluendo.com>
7777 * gst/gsttrashstack.h:
7778 Ooohh. a nasty one! After having a failed pop() from the stack,
7779 it's possible that the stack is empty. In that case, don't
7780 follow the NULL pointer.
7782 2005-04-25 Wim Taymans <wim@fluendo.com>
7784 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7785 (gst_pad_set_checkgetrange_function),
7786 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7787 (gst_pad_check_pull_range), (gst_pad_pull_range),
7788 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7789 (gst_pad_pause_task), (gst_pad_stop_task):
7790 * gst/gstplugin.c: (gst_plugin_load):
7792 Remove gst_library_load as it does more harm than good with
7793 the new g_module flags.
7794 Revert bogus caps template check in pad linking, pad caps
7795 are important when linking not the template, which is more
7796 general than the current caps.
7798 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7800 * gst/autoplug/.cvsignore:
7801 * gst/autoplug/Makefile.am:
7802 * gst/autoplug/gstsearchfuncs.c:
7803 * gst/autoplug/gstsearchfuncs.h:
7804 * gst/autoplug/gstspider.c:
7805 * gst/autoplug/gstspider.h:
7806 * gst/autoplug/gstspideridentity.c:
7807 * gst/autoplug/gstspideridentity.h:
7808 * gst/autoplug/spidertest.c:
7811 2005-04-25 Wim Taymans <wim@fluendo.com>
7813 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7814 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7815 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7816 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7818 Added stubs for unimplemented functions.
7820 2005-04-24 David Schleef <ds@schleef.org>
7822 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7825 2005-04-24 David Schleef <ds@schleef.org>
7827 Convert everything from GstAtomicInt to g_atomic_int_*, and
7832 * gst/gstatomic_impl.h:
7840 * gst/gstdata_private.h:
7847 * gst/gststructure.c:
7848 * gst/gststructure.h:
7849 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7852 2005-04-24 David Schleef <ds@schleef.org>
7854 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7855 make the regressions tests work. Remove some code that is no
7857 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7858 Disable warning for pads without templates.
7860 2005-04-24 David Schleef <ds@schleef.org>
7862 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7863 functions that handle filtered links.
7864 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7866 * gst/gstutils.c: Fix/remove utility functions that handle
7869 * gst/gstvalue.c: Add serialization/deserialization of caps
7870 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7871 requires fixing so that the filter caps notation creates
7872 a capsfilter element and sets the filter_caps property. I
7873 think everyone probably wants to keep the shorthand notation.
7874 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7875 * docs/gst/tmpl/gstpad.sgml:
7877 * gst/elements/gstelements.c: Register capsfilter element.
7878 * gst/Makefile.am: fix spacing
7879 * docs/random/ds/0.9-suggested-changes: random
7881 2005-04-23 David Schleef <ds@schleef.org>
7883 * gst/elements/Makefile.am:
7884 * gst/elements/gstcapsfilter.c: New element that acts like an
7885 identity, but filters caps. Will eventually replace filtered
7886 caps in pad linking.
7887 * gst/gstutils.c: (gst_element_create_all_pads): New function
7888 to create all the ALWAYS pads that are registered with an
7889 element class. This functionality should eventually be
7890 merged in with GstElement initialization.
7892 * testsuite/trigger/README: part of trigger test code that should
7893 have been checked in a long time ago.
7895 2005-04-23 David Schleef <ds@schleef.org>
7897 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7898 needed with new versions of libtool (nobody will confirm this),
7899 and hard to carry around.
7900 * gst/autoplug/Makefile.am:
7901 * gst/base/Makefile.am:
7902 * gst/elements/Makefile.am:
7903 * gst/indexers/Makefile.am:
7904 * gst/schedulers/Makefile.am:
7905 * libs/gst/bytestream/Makefile.am:
7906 * libs/gst/control/Makefile.am:
7907 * libs/gst/dataprotocol/Makefile.am:
7908 * libs/gst/getbits/Makefile.am:
7910 2005-04-21 Wim Taymans <wim@fluendo.com>
7912 * docs/design/draft-push-pull.txt:
7913 * docs/design/part-MT-refcounting.txt:
7914 * docs/design/part-TODO.txt:
7915 * docs/design/part-caps.txt:
7916 * docs/design/part-events.txt:
7917 * docs/design/part-gstbus.txt:
7918 * docs/design/part-gstpipeline.txt:
7919 * docs/design/part-messages.txt:
7920 * docs/design/part-push-pull.txt:
7921 * docs/design/part-query.txt:
7924 2005-04-21 Wim Taymans <wim@fluendo.com>
7926 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7927 (gst_message_new), (gst_message_new_error),
7928 (gst_message_new_warning), (gst_message_new_tag),
7929 (gst_message_new_state_changed), (gst_message_new_application),
7930 (gst_message_get_structure):
7932 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7933 (gst_structure_copy_conditional):
7934 Use parent refcount in GstMessage to ensure GstStructure
7936 Cleaned up headers a bit.
7939 2005-04-20 Wim Taymans <wim@fluendo.com>
7941 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7942 (gst_basesink_pad_getcaps), (gst_basesink_init),
7943 (gst_basesink_chain_unlocked):
7944 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7945 (gst_type_find_helper):
7946 * gst/elements/gsttypefindelement.c:
7947 (gst_type_find_element_have_type), (gst_type_find_element_init),
7948 (stop_typefinding), (gst_type_find_element_handle_event),
7949 (find_suggest), (gst_type_find_element_chain),
7950 (gst_type_find_element_checkgetrange),
7951 (gst_type_find_element_getrange), (do_typefind),
7952 (gst_type_find_element_activate):
7953 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7954 (gst_buffer_default_free), (gst_buffer_default_copy),
7955 (gst_buffer_set_caps):
7956 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7958 * gst/gstmessage.c: (gst_message_new),
7959 (gst_message_new_state_changed):
7960 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7961 (gst_pad_set_checkgetrange_function),
7962 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7963 (gst_pad_set_caps), (gst_pad_check_pull_range),
7964 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7966 * gst/gsttypefind.c: (gst_type_find_register):
7967 Make gst_caps_replace() work like other _replace() functions.
7968 Use _caps_replace() where possible.
7969 Make sure _message_new() initialises its field.
7970 Add gst_static_pad_template_get_caps()
7973 2005-04-18 Andy Wingo <wingo@pobox.com>
7975 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7976 on the peer, not the pad. I think that was a typo. Pass an extra
7977 arg to see if random access is possible. Activate the pads as
7978 PULL_RANGE if possible.
7980 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7982 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7983 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7986 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7988 * docs/faq/using.xml:
7989 Add note on gstreamer-properties (#154996).
7991 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7993 * docs/random/bbb/optional-properties:
7994 Some analysis on optional properties.
7996 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7998 * docs/gst/tmpl/gstelementfactory.sgml:
8000 * gst/gstelementfactory.c: (gst_element_factory_init),
8001 (gst_element_factory_cleanup), (gst_element_register),
8002 (__gst_element_factory_add_static_pad_template),
8003 (gst_element_factory_get_static_pad_templates),
8004 (gst_element_factory_can_src_caps),
8005 (gst_element_factory_can_sink_caps):
8006 * gst/registries/Makefile.am:
8007 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8008 (gst_xml_registry_class_init), (gst_xml_registry_init),
8009 (gst_xml_registry_new), (gst_xml_registry_set_property),
8010 (gst_xml_registry_get_property), (get_time), (make_dir),
8011 (gst_xml_registry_get_perms_func),
8012 (plugin_times_older_than_recurse), (plugin_times_older_than),
8013 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8014 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8015 (add_to_char_array), (read_string), (read_uint), (read_enum),
8016 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8017 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8018 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8019 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8020 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8021 (gst_xml_registry_rebuild):
8022 * gst/registries/gstlibxmlregistry.h:
8023 * tools/gst-compprep.c: (main):
8024 * tools/gst-inspect.c: (print_pad_templates_info):
8025 * tools/gst-xmlinspect.c: (print_element_info):
8026 Use libxml2 for registry parsing, use staticpadtemplates in
8027 elementfactories. Makes gst_init() +/- 10x faster.
8029 2005-04-12 Wim Taymans <wim@fluendo.com>
8031 * gst/base/Makefile.am:
8032 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8033 (gst_basesink_pad_getcaps), (gst_basesink_init),
8034 (gst_basesink_event), (gst_basesink_change_state):
8035 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8036 (gst_basesrc_init), (gst_basesrc_query),
8037 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8038 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8039 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8040 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8041 (gst_basesrc_stop), (gst_basesrc_activate),
8042 (gst_basesrc_change_state):
8043 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8044 (helper_find_suggest), (gst_type_find_helper):
8045 * gst/base/gsttypefindhelper.h:
8046 * gst/elements/Makefile.am:
8047 * gst/elements/gstelements.c:
8048 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8049 (gst_fakesink_get_times), (gst_fakesink_event),
8050 (gst_fakesink_preroll), (gst_fakesink_render):
8051 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8052 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8053 (gst_fakesrc_get_property), (gst_fakesrc_create),
8054 (gst_fakesrc_start), (gst_fakesrc_stop):
8055 * gst/elements/gstfakesrc.h:
8056 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8057 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8058 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8059 (gst_filesrc_create_read), (gst_filesrc_create),
8060 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8061 (gst_filesrc_start):
8062 * gst/elements/gsttypefindelement.c:
8063 (gst_type_find_element_have_type), (gst_type_find_element_init),
8064 (start_typefinding), (stop_typefinding), (push_buffer_store),
8065 (gst_type_find_element_handle_event),
8066 (gst_type_find_element_chain),
8067 (gst_type_find_element_checkgetrange),
8068 (gst_type_find_element_getrange), (do_typefind),
8069 (gst_type_find_element_activate),
8070 (gst_type_find_element_change_state):
8071 * gst/elements/gsttypefindelement.h:
8072 * gst/gstpipeline.c: (pipeline_bus_handler):
8073 Added typefind helper.
8074 Small preroll fix in the base sink.
8075 Disable typefind code in basesrc.
8076 Crude port of typefindelement.
8080 2005-04-11 Wim Taymans <wim@fluendo.com>
8082 * check/gst/gstbus.c: (gstbus_suite):
8083 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8085 Fix up the timeout so that the test does not fail.
8087 2005-04-06 Wim Taymans <wim@fluendo.com>
8090 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8091 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8092 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8093 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8094 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8095 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8096 (gst_basesrc_stop), (gst_basesrc_activate),
8097 (gst_basesrc_change_state), (basesrc_find_peek),
8098 (basesrc_find_suggest), (gst_basesrc_type_find):
8099 * gst/base/gstbasesrc.h:
8100 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8101 (gst_filesrc_class_init), (gst_filesrc_init),
8102 (gst_filesrc_finalize), (gst_filesrc_set_location),
8103 (gst_filesrc_set_property), (gst_filesrc_get_property),
8104 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8105 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8106 (gst_filesrc_create_read), (gst_filesrc_create),
8107 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8108 * gst/elements/gstfilesrc.h:
8109 * gst/gstelement.c: (gst_element_get_state_func),
8110 (gst_element_lost_state), (gst_element_pads_activate):
8111 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8112 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8113 (gst_pad_pull_range):
8115 More work on the generic source base class, implement seeking,
8117 Make filesrc extend the base source class.
8118 Added gst_pad_set_checkgetrange_function to GstPad.
8120 2005-04-06 Andy Wingo <wingo@pobox.com>
8122 * pkgconfig/gstreamer-base.pc.in:
8123 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8125 * pkgconfig/Makefile.am:
8126 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8128 2005-04-04 Wim Taymans <wim@fluendo.com>
8130 * gst/base/Makefile.am:
8132 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8133 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8134 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8135 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8136 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8137 (gst_basesrc_base_init), (gst_basesrc_class_init),
8138 (gst_basesrc_init), (gst_basesrc_get_formats),
8139 (gst_basesrc_get_query_types), (gst_basesrc_query),
8140 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8141 (gst_basesrc_set_property), (gst_basesrc_get_property),
8142 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8143 (gst_basesrc_loop), (gst_basesrc_activate),
8144 (gst_basesrc_change_state):
8145 * gst/base/gstbasesrc.h:
8146 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8147 (gst_fakesrc_class_init), (gst_fakesrc_init),
8148 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8149 (gst_fakesrc_get_property), (gst_fakesrc_create):
8150 * gst/elements/gstfakesrc.h:
8151 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8152 (gst_filesrc_open_file), (gst_filesrc_loop),
8153 (gst_filesrc_activate), (filesrc_find_peek),
8154 (gst_filesrc_type_find):
8155 Made base source class, make fakesrc extend it.
8156 Add comments to basesink class.
8157 Some filesrc cleanup.
8159 2005-03-31 David Schleef <ds@schleef.org>
8161 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8162 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8163 expected to link against libgstreamer.
8164 * gst/base/Makefile.am: link against libgstreamer
8165 * gst/elements/Makefile.am: same
8167 2005-03-31 Andy Wingo <wingo@pobox.com>
8169 * tests/instantiate/Makefile.am:
8170 * tests/instantiate/caps.c: Add test to test speed of caps copy
8173 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8174 GMemChunk to be fair.
8176 * gst/gsttrashstack.h: Remove warning about using the fallback
8177 trash stack implementation, it's still faster than malloc.
8179 2005-03-30 Andy Wingo <wingo@pobox.com>
8181 * tests/complexity.c: Add a copyright.
8183 2005-03-31 Wim Taymans <wim@fluendo.com>
8185 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8186 (gst_base_transform_class_init), (gst_base_transform_init),
8187 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8188 (gst_base_transform_get_property),
8189 (gst_base_transform_sink_activate),
8190 (gst_base_transform_src_activate),
8191 (gst_base_transform_change_state):
8192 * gst/base/gstbasetransform.h:
8193 * gst/elements/gstidentity.c: (gst_identity_class_init),
8194 (gst_identity_event), (gst_identity_check_perfect),
8195 (gst_identity_transform), (gst_identity_start),
8196 (gst_identity_stop):
8197 Added start/stop methods to transform base class so subclasses
8198 don't need to deal with state changes even.
8200 2005-03-31 Wim Taymans <wim@fluendo.com>
8202 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8203 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8205 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8206 (gst_pad_pull_range):
8207 Added rate to the discont event to prepare for variable speed
8208 and reverse playback.
8210 2005-03-29 David Schleef <ds@schleef.org>
8213 * testsuite/trigger/Makefile.am:
8214 * testsuite/trigger/trigger.c: A little example program to show
8215 how trigger-based elements can work.
8217 2005-03-29 Wim Taymans <wim@fluendo.com>
8219 * gst/base/Makefile.am:
8221 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8222 (gst_basesink_base_init), (gst_basesink_class_init),
8223 (gst_basesink_pad_getcaps), (gst_basesink_init),
8224 (gst_basesink_activate), (gst_basesink_change_state):
8225 * gst/base/gstbasesink.h:
8226 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8227 (gst_base_transform_base_init), (gst_base_transform_finalize),
8228 (gst_base_transform_class_init), (gst_base_transform_init),
8229 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8230 (gst_base_transform_event), (gst_base_transform_getrange),
8231 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8232 (gst_base_transform_set_property),
8233 (gst_base_transform_get_property),
8234 (gst_base_transform_sink_activate),
8235 (gst_base_transform_src_activate),
8236 (gst_base_transform_change_state):
8237 * gst/base/gstbasetransform.h:
8238 * gst/elements/gstidentity.c: (gst_identity_finalize),
8239 (gst_identity_class_init), (gst_identity_init),
8240 (gst_identity_event), (gst_identity_check_perfect),
8241 (gst_identity_transform), (gst_identity_set_property),
8242 (gst_identity_get_property), (gst_identity_change_state):
8243 * gst/elements/gstidentity.h:
8244 * gst/gstelement.c: (gst_element_get_state_func),
8245 (gst_element_lost_state), (gst_element_pads_activate):
8246 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8247 (gst_pad_check_pull_range), (gst_pad_pull_range):
8249 Simplify pad activation.
8250 Added function to check if pull_range can be performed.
8251 Error out when pulling inactive or flushing pads.
8252 Removed const from refcounted types as it does not make sense.
8253 Simplify pad templates in basesink
8254 Added base class for simple 1-to-1 transforms.
8255 Make identity subclass the base transform.
8257 2005-03-29 Andy Wingo <wingo@pobox.com>
8259 * docs/libs/gstreamer-libs-overrides.txt:
8260 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8261 really don't understand what's going on, but like whatever. I want
8264 * docs/gst/Makefile.am:
8265 * docs/libs/Makefile.am: Dist the overrides files.
8267 * check/Makefile.am (clean-local): Remove .libs directories.
8269 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8270 elements to EXTRA_DIST, so po/ files are happy.
8272 * po/POTFILES.in: Er, remove it here.
8274 * po/POTFILES: Remove gstspider.c.
8276 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8278 * docs/libs/gstreamer-libs-docs.sgml:
8279 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8282 * tests/complexity.c (main): Set the length of the preroll queue
8283 on the sinks to prevent a lockup.
8285 * libs/gst/dataprotocol/Makefile.am:
8286 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8287 the same as the one in check/gst-libs/gdp.c.
8289 * po/, docs/gst/: Commit automatic changes to docs and po files.
8291 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8292 the versioned libgstbase.
8294 * check/Makefile.am: Depend on an unversioned gst-register, seems
8295 to make autoconf happier.
8297 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8299 2005-03-28 Wim Taymans <wim@fluendo.com>
8302 * docs/design/part-gstelement.txt:
8303 * docs/design/part-negotiation.txt:
8304 * docs/design/part-preroll.txt:
8305 * docs/design/part-scheduling.txt:
8306 * docs/design/part-states.txt:
8308 * gst/base/Makefile.am:
8310 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8311 (gst_basesink_base_init), (gst_basesink_class_init),
8312 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8313 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8314 (gst_basesink_set_pad_functions),
8315 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8316 (gst_basesink_set_property), (gst_basesink_get_property),
8317 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8318 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8319 (gst_basesink_preroll_queue_push),
8320 (gst_basesink_preroll_queue_empty),
8321 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8322 (gst_basesink_event), (gst_basesink_get_times),
8323 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8324 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8325 (gst_basesink_loop), (gst_basesink_activate),
8326 (gst_basesink_change_state):
8327 * gst/base/gstbasesink.h:
8328 * gst/elements/Makefile.am:
8329 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8330 (gst_fakesink_class_init), (gst_fakesink_init),
8331 (gst_fakesink_set_property), (gst_fakesink_get_property),
8332 (gst_fakesink_get_times), (gst_fakesink_event),
8333 (gst_fakesink_preroll), (gst_fakesink_render),
8334 (gst_fakesink_change_state):
8335 * gst/elements/gstfakesink.h:
8336 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8337 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8338 * gst/gstelement.c: (gst_element_add_pad),
8339 (gst_element_get_state_func), (gst_element_abort_state),
8340 (gst_element_commit_state), (gst_element_lost_state),
8341 (gst_element_set_state), (gst_element_pads_activate):
8342 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8343 * gst/gstpipeline.c: (gst_pipeline_send_event),
8344 (gst_pipeline_change_state):
8345 Added state change code.
8347 Added sink base class, make fakesink extend the base class.
8348 Small cleanups in GstPipeline.
8350 2005-03-26 David Schleef <ds@schleef.org>
8352 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8353 is broken and should be implemented in a different library.
8354 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8355 * gst/gst.h: remove gstcpu.h
8356 * gst/gstcpu.c: remove
8357 * gst/gstcpu.h: remove
8358 * gst/Makefile.am.future: Remove this file. It's ancient.
8360 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8362 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8363 (gst_bin_send_event):
8364 Add default event/set_manager handlers. The set_manager handler
8365 takes care that the manager is distributed over kids that were
8366 already in the bin before the manager was set. The event handler
8367 is a utility virtual function that sends the event over all sinks,
8368 so that gst_element_send_event (bin, event); has the expected
8370 * gst/gstpad.c: (gst_pad_event_default):
8371 Re-install default event handling for discontinuities, so that
8372 seeking works without requiring hacks in applications or extra
8374 * gst/gstpipeline.c: (gst_pipeline_class_init),
8375 (gst_pipeline_send_event):
8376 Half hack, half utility: set a pipeline to PAUSED for seek events,
8377 since that is the only way we can guarantee a/v sync. Means that
8378 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8379 and it "just works".
8381 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8383 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8384 Lock/unlock mismatch.
8386 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8388 * docs/faq/gst-uninstalled:
8389 add gst-plugins-base
8390 * docs/gst/Makefile.am:
8391 don't error out until docs are fixed
8392 * docs/gst/gstreamer.types:
8395 2005-03-22 Wim Taymans <wim@fluendo.com>
8397 * check/Makefile.am:
8398 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8399 * gst/gststructure.c: (gst_structure_set_valist),
8400 (gst_structure_copy_conditional):
8401 Activated more tests.
8403 Added G_TYPE_POINTER to GstStructure.
8406 2005-03-22 Wim Taymans <wim@fluendo.com>
8408 * docs/design/part-TODO.txt:
8409 * docs/design/part-events.txt:
8410 * docs/design/part-gstbin.txt:
8411 * docs/design/part-gstbus.txt:
8412 * docs/design/part-gstpipeline.txt:
8413 * docs/design/part-messages.txt:
8418 2005-03-21 Wim Taymans <wim@fluendo.com>
8420 * gst/gstbus.c: (gst_bus_post):
8421 Fix copy-and-paste error.
8423 2005-03-21 Wim Taymans <wim@fluendo.com>
8425 * check/Makefile.am:
8427 * gst/elements/Makefile.am:
8428 * gst/elements/gstelements.c:
8429 * gst/elements/gstfakesink.c: (gst_fakesink_init),
8430 (gst_fakesink_event), (gst_fakesink_chain):
8431 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8432 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8433 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8434 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8435 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8436 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8437 (gst_fakesrc_loop), (gst_fakesrc_activate),
8438 (gst_fakesrc_change_state):
8439 * gst/elements/gstfakesrc.h:
8440 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8441 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8442 (gst_filesrc_open_file), (gst_filesrc_loop),
8443 (gst_filesrc_activate), (gst_filesrc_change_state),
8444 (filesrc_find_peek), (filesrc_find_suggest),
8445 (gst_filesrc_type_find):
8446 * gst/elements/gstidentity.c: (gst_identity_finalize),
8447 (gst_identity_class_init), (gst_identity_init),
8448 (gst_identity_proxy_getcaps), (identity_queue_push),
8449 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8450 (gst_identity_getrange), (gst_identity_chain),
8451 (gst_identity_sink_loop), (gst_identity_src_loop),
8452 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8453 (gst_identity_set_property), (gst_identity_get_property),
8454 (gst_identity_change_state):
8455 * gst/elements/gstidentity.h:
8456 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8457 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8458 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8459 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8460 (gst_tee_sink_activate):
8461 * gst/elements/gsttee.h:
8462 * gst/gst.c: (gst_register_core_elements), (init_post):
8464 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8465 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8466 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8467 (gst_bin_change_state):
8469 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8470 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8471 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8472 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8473 (gst_bus_set_sync_handler), (gst_bus_create_watch),
8474 (bus_watch_callback), (bus_watch_destroy),
8475 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8476 (poll_timeout), (gst_bus_poll):
8480 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8481 (gst_element_post_message), (gst_element_message_full),
8482 (gst_element_get_state_func), (gst_element_get_state),
8483 (gst_element_abort_state), (gst_element_commit_state),
8484 (gst_element_lost_state), (gst_element_set_state),
8485 (gst_element_pads_activate), (gst_element_change_state),
8486 (gst_element_dispose), (gst_element_set_manager_func),
8487 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8488 (gst_element_set_manager), (gst_element_get_manager),
8489 (gst_element_set_bus), (gst_element_get_bus),
8490 (gst_element_set_scheduler), (gst_element_get_scheduler):
8492 * gst/gstevent.c: (gst_event_new_segment_seek),
8493 (gst_event_new_flush):
8495 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8496 (_gst_message_free), (gst_message_get_type), (gst_message_new),
8497 (gst_message_new_eos), (gst_message_new_error),
8498 (gst_message_new_warning), (gst_message_new_tag),
8499 (gst_message_new_state_changed), (gst_message_new_application),
8500 (gst_message_get_structure), (gst_message_parse_tag),
8501 (gst_message_parse_state_changed), (gst_message_parse_error),
8502 (gst_message_parse_warning):
8504 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8505 (gst_real_pad_set_property), (gst_pad_set_active),
8506 (gst_pad_is_active), (gst_pad_set_blocked_async),
8507 (gst_pad_set_blocked), (gst_pad_is_blocked),
8508 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8509 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8510 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8511 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8512 (gst_pad_link_filtered), (gst_pad_relink_filtered),
8513 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8514 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8515 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8516 (gst_pad_set_caps), (gst_pad_configure_sink),
8517 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8518 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8519 (gst_real_pad_dispose), (gst_real_pad_finalize),
8520 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8521 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8522 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8524 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8525 (pipeline_bus_handler), (gst_pipeline_change_state),
8526 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8527 * gst/gstpipeline.h:
8529 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8530 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8531 (gst_queue_link_src), (gst_queue_bufferalloc),
8532 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8533 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8534 (gst_queue_loop), (gst_queue_handle_src_event),
8535 (gst_queue_handle_src_query), (gst_queue_src_activate),
8536 (gst_queue_change_state):
8538 * gst/gstscheduler.c: (gst_scheduler_init),
8539 (gst_scheduler_dispose), (gst_scheduler_create_task),
8540 (gst_scheduler_factory_create):
8541 * gst/gstscheduler.h:
8542 * gst/gststructure.c: (gst_structure_get_type),
8543 (gst_structure_copy_conditional):
8544 * gst/gststructure.h:
8545 * gst/gsttaginterface.h:
8546 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8547 (gst_task_init), (gst_task_dispose), (gst_task_create),
8548 (gst_task_get_state), (gst_task_start), (gst_task_stop),
8554 * gst/schedulers/Makefile.am:
8555 * gst/schedulers/cothreads_compat.h:
8556 * gst/schedulers/entryscheduler.c:
8557 * gst/schedulers/faircothreads.c:
8558 * gst/schedulers/faircothreads.h:
8559 * gst/schedulers/fairscheduler.c:
8560 * gst/schedulers/gstbasicscheduler.c:
8561 * gst/schedulers/gstoptimalscheduler.c:
8562 * gst/schedulers/gthread-cothreads.h:
8563 * gst/schedulers/threadscheduler.c:
8564 (gst_thread_scheduler_task_get_type),
8565 (gst_thread_scheduler_task_class_init),
8566 (gst_thread_scheduler_task_init),
8567 (gst_thread_scheduler_task_start),
8568 (gst_thread_scheduler_task_stop),
8569 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8570 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8571 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8572 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8574 * libs/gst/Makefile.am:
8575 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8576 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8577 (gst_file_pad_parent_set):
8578 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8579 (gst_dp_event_from_packet):
8580 * tests/complexity.c: (main):
8581 * tests/mass_elements.c: (main):
8582 * testsuite/states/locked.c: (message_received), (main):
8583 * testsuite/states/parent.c: (main):
8584 * tools/gst-inspect.c: (print_element_flag_info),
8585 (print_implementation_info), (print_pad_info):
8586 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8588 * tools/gst-md5sum.c: (event_loop), (main):
8589 * tools/gst-typefind.c: (main):
8590 * tools/gst-xmlinspect.c: (print_element_info):
8592 Added GstBus for mainloop integration.
8593 Added GstMessage for sending notifications on the bus.
8594 Added GstTask as an abstraction for pipeline entry points.
8597 Simplified GstQueue for multithreaded core.
8598 Made _link threadsafe, removed old capsnego.
8599 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8600 Added pad blocking functions.
8601 Reworked scheduling functions in GstPad to prepare for
8602 scheduling updates soon.
8603 Moved events out of data stream.
8604 Simplified GstEvent types.
8605 Added return values to push/pull.
8606 Removed clocking from GstElement.
8607 Added prototypes for state change function for next merge.
8608 Removed iterate from bins and state change management.
8609 Fixed some elements, disabled others for now.
8610 Fixed -inspect and -launch.
8611 Added check for GstBus.
8613 2005-03-10 Wim Taymans <wim@fluendo.com>
8615 * docs/design/part-MT-refcounting.txt:
8616 * docs/design/part-clocks.txt:
8617 * docs/design/part-gstelement.txt:
8618 * docs/design/part-gstobject.txt:
8619 * docs/design/part-standards.txt:
8620 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8621 (gst_bin_remove_func), (gst_bin_remove):
8625 * testsuite/clock/clock1.c: (main):
8626 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8628 * testsuite/dlopen/loadgst.c: (do_test):
8629 * testsuite/refcounting/bin.c: (add_remove_test1),
8630 (add_remove_test2), (main):
8631 * testsuite/refcounting/element.c: (main):
8632 * testsuite/refcounting/element_pad.c: (main):
8633 * testsuite/refcounting/pad.c: (main):
8634 * tools/gst-launch.c: (sigint_handler_sighandler):
8635 * tools/gst-typefind.c: (main):
8637 Added doc about clock.
8638 removed gst_bin_iterate_recurse_up(), marked methods
8640 Fix more testsuites.
8642 2005-03-09 Wim Taymans <wim@fluendo.com>
8644 * gst/gstpad.c: (gst_pad_get_direction),
8645 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8646 (gst_pad_collect_valist):
8647 * testsuite/bins/interface.c: (main):
8648 * testsuite/caps/audioscale.c: (test_caps):
8649 * testsuite/caps/caps.c: (test1), (test2), (test3):
8650 * testsuite/caps/deserialize.c: (main):
8651 * testsuite/caps/enumcaps.c: (main):
8652 * testsuite/caps/filtercaps.c: (main):
8653 * testsuite/caps/intersect2.c: (main):
8654 * testsuite/caps/random.c: (main):
8655 * testsuite/caps/renegotiate.c: (my_fixate), (main):
8656 * testsuite/caps/sets.c: (check_caps):
8657 * testsuite/caps/simplify.c: (check_caps), (main):
8658 * testsuite/caps/subtract.c: (check_caps):
8659 Fix _pad_get_direction wrt ghostpads.
8662 2005-03-09 Wim Taymans <wim@fluendo.com>
8664 * check/Makefile.am:
8665 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8666 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8667 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8668 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8669 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8670 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8671 (gst_bin_remove), (gst_bin_iterate_recurse_up),
8672 (bin_element_is_sink), (gst_bin_iterate_sinks),
8673 (gst_bin_iterate_all_by_interface):
8675 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8676 (gst_element_change_state), (gst_element_dispose),
8677 (gst_element_finalize), (gst_element_set_loop_function):
8679 * gst/gstiterator.c: (find_custom_fold_func):
8680 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8681 (gst_pad_collectv), (gst_pad_collect_valist),
8682 (gst_pad_template_new):
8683 * gst/gstpipeline.c: (gst_pipeline_class_init),
8684 (gst_pipeline_dispose), (gst_pipeline_set_property),
8685 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8686 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8687 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8689 * gst/schedulers/entryscheduler.c:
8690 * gst/schedulers/gstbasicscheduler.c:
8691 (gst_basic_scheduler_cothreaded_chain),
8692 (gst_basic_scheduler_chain_add_element):
8693 * testsuite/bins/interface.c: (main):
8695 Added GstSystemClock test.
8696 Implemented clock distribution code in GstBin.
8697 Implemented iterate sinks method for future use.
8698 Rearranged gstelement.h
8699 Fix GstIterator comparison bug.
8700 Moved some code to GstPipeline, mostly clocking related.
8702 2005-03-09 Wim Taymans <wim@fluendo.com>
8705 * gst/gst_private.h:
8706 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8707 (gst_bin_remove_func), (gst_bin_remove),
8708 (gst_bin_get_by_name_recurse_up):
8709 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8710 (gst_clock_id_compare_func), (gst_clock_id_wait),
8711 (gst_clock_id_wait_async), (gst_clock_init),
8712 (gst_clock_adjust_unlocked), (gst_clock_get_time):
8714 * gst/gstinfo.c: (_gst_debug_init):
8716 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8717 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8719 Bump version number, we're now 0.9.0
8720 Add future debugging category.
8721 Fix NULL _unref() in _get_by_name_recurse_up
8725 2005-03-08 Wim Taymans <wim@fluendo.com>
8727 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8728 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8729 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8730 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8731 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8732 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8733 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8734 * gst/elements/gstidentity.c: (gst_identity_class_init):
8735 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8736 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8737 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8738 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8739 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8741 * gst/gstelement.c: (gst_element_class_init),
8742 (gst_element_base_class_init), (gst_element_init),
8743 (gst_element_get_random_pad), (gst_element_wait_state_change),
8744 (gst_element_change_state), (gst_element_dispose),
8745 (gst_element_finalize), (gst_element_set_loop_function):
8747 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8748 * gst/gstthread.c: (gst_thread_class_init),
8749 (gst_thread_release_children_locks), (gst_thread_change_state):
8750 * gst/schedulers/gstbasicscheduler.c:
8751 (gst_basic_scheduler_loopfunc_wrapper),
8752 (gst_basic_scheduler_chain_wrapper),
8753 (gst_basic_scheduler_src_wrapper),
8754 (gst_basic_scheduler_remove_element):
8755 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8756 Remove threadsafe properties. Fix elements because GObject
8757 complains when installing a property before declaring a
8758 set/get_property handler.
8759 Rearrange gstelement.h file, use STATE macros for state locks.
8760 Free mutexes in the finalize method instead of dispose.
8762 2005-03-08 Wim Taymans <wim@fluendo.com>
8764 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8765 * gst/gstthread.c: (gst_thread_release_children_locks):
8766 Added parentage check.
8767 Fix build og GstThread again.
8769 2005-03-08 Wim Taymans <wim@fluendo.com>
8771 * docs/design/part-MT-refcounting.txt:
8772 * docs/design/part-conventions.txt:
8773 * docs/design/part-gstobject.txt:
8774 * docs/design/part-relations.txt:
8775 * docs/design/part-standards.txt:
8776 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8777 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8778 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8779 (gst_bin_iterate_all_by_interface):
8782 * gst/gstelement.c: (gst_element_class_init),
8783 (gst_element_change_state), (gst_element_set_loop_function):
8785 * gst/gstiterator.c:
8786 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8787 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8788 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8789 (gst_object_set_parent), (gst_object_unparent),
8790 (gst_object_check_uniqueness):
8792 Docs updates, clean up some headers.
8794 2005-03-07 Wim Taymans <wim@fluendo.com>
8797 * check/Makefile.am:
8798 * check/gst-libs/.cvsignore:
8799 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8800 * check/gst/.cvsignore:
8801 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8802 (START_TEST), (gstbus_suite), (main):
8803 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8804 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8805 (gst_data_suite), (main):
8806 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8807 (add_fold_func), (gstiterator_suite), (main):
8808 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8809 (thread_name_object), (thread_name_object_default),
8810 (gst_object_name_compare), (gst_object_suite), (main):
8811 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8812 (gst_pad_suite), (main):
8813 * check/gstcheck.c: (gst_check_log_message_func),
8814 (gst_check_log_critical_func), (gst_check_init):
8816 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8817 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8820 2005-03-07 Wim Taymans <wim@fluendo.com>
8822 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8823 (gst_list_iterator_next), (gst_list_iterator_resync),
8824 (gst_list_iterator_free), (gst_iterator_new_list),
8825 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8826 (gst_iterator_free), (gst_iterator_push), (filter_next),
8827 (filter_resync), (filter_uninit), (filter_free),
8828 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8829 (gst_iterator_foreach), (find_custom_fold_func),
8830 (gst_iterator_find_custom):
8831 * gst/gstiterator.h:
8832 Added missing files.
8834 2005-03-07 Wim Taymans <wim@fluendo.com>
8838 * docs/design/part-MT-refcounting.txt:
8839 * docs/design/part-conventions.txt:
8840 * docs/design/part-gstobject.txt:
8841 * docs/design/part-relations.txt:
8842 * examples/mixer/mixer.c: (main):
8843 * examples/thread/thread.c: (eos), (main):
8845 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8846 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8847 (gst_spider_plug_from_srcpad):
8848 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8849 (gst_spider_identity_change_state),
8850 (gst_spider_identity_sink_loop_type_finding):
8851 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8852 * gst/elements/gstidentity.c: (gst_identity_init):
8853 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8854 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8855 * gst/elements/gsttypefindelement.c: (free_entry):
8858 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8859 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8860 (gst_bin_set_index), (gst_bin_set_element_sched),
8861 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8862 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8863 (gst_bin_iterate_elements), (iterate_child_recurse),
8864 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8865 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8866 (compare_interface), (gst_bin_get_by_interface),
8867 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8869 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8870 (gst_buffer_default_free), (gst_buffer_default_copy),
8871 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8872 (gst_buffer_create_sub):
8874 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8875 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8876 (gst_caps_unref), (gst_static_caps_get),
8877 (gst_caps_remove_and_get_structure), (gst_caps_append),
8878 (gst_caps_append_structure), (gst_caps_remove_structure),
8879 (gst_caps_copy_nth), (gst_caps_set_simple),
8880 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8881 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8882 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8883 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8884 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8885 (gst_caps_structure_figure_out_union),
8886 (gst_caps_switch_structures), (gst_caps_do_simplify),
8887 (gst_caps_replace), (gst_caps_from_string),
8888 (gst_caps_copy_conditional):
8890 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8891 (_gst_clock_id_free), (gst_clock_id_unref),
8892 (gst_clock_id_compare_func), (gst_clock_id_wait),
8893 (gst_clock_id_wait_async), (gst_clock_class_init),
8894 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8895 (gst_clock_get_time), (gst_clock_set_time_adjust),
8896 (gst_clock_set_property), (gst_clock_get_property):
8899 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8900 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8902 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8903 (gst_element_requires_clock), (gst_element_provides_clock),
8904 (gst_element_set_clock), (gst_element_clock_wait),
8905 (gst_element_wait), (gst_element_set_time_delay),
8906 (gst_element_is_indexable), (gst_element_add_pad),
8907 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8908 (pad_compare_name), (gst_element_get_static_pad),
8909 (gst_element_request_pad), (gst_element_get_request_pad),
8910 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8911 (gst_element_class_get_pad_template_list),
8912 (gst_element_class_get_pad_template), (gst_element_error_func),
8913 (gst_element_get_random_pad), (gst_element_get_event_masks),
8914 (gst_element_send_event), (gst_element_seek),
8915 (gst_element_get_query_types), (gst_element_query),
8916 (gst_element_get_formats), (gst_element_convert),
8917 (gst_element_is_locked_state), (gst_element_set_locked_state),
8918 (gst_element_sync_state_with_parent), (gst_element_change_state),
8919 (gst_element_finalize), (gst_element_yield),
8920 (gst_element_interrupt), (gst_element_set_scheduler),
8921 (gst_element_get_scheduler), (gst_element_set_loop_function):
8924 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8925 (gst_format_get_by_nick), (gst_format_get_details),
8926 (gst_format_iterate_definitions):
8928 * gst/gstindex.c: (gst_index_gtype_resolver):
8931 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8932 (gst_mem_chunk_free):
8933 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8934 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8935 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8936 (gst_object_dispatch_properties_changed),
8937 (gst_object_set_name_default), (gst_object_set_name),
8938 (gst_object_get_name), (gst_object_set_name_prefix),
8939 (gst_object_get_name_prefix), (gst_object_set_parent),
8940 (gst_object_get_parent), (gst_object_unparent),
8941 (gst_object_check_uniqueness), (gst_object_save_thyself),
8942 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8943 (gst_object_set_property), (gst_object_get_property),
8944 (gst_object_get_path_string):
8946 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8947 (gst_real_pad_init), (gst_real_pad_get_property),
8948 (gst_pad_custom_new), (gst_pad_get_direction),
8949 (gst_pad_set_active), (gst_pad_is_active),
8950 (gst_pad_set_event_function), (gst_pad_is_linked),
8951 (gst_pad_link_free), (gst_pad_link_intersect),
8952 (gst_pad_link_fixate), (gst_pad_set_caps),
8953 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8954 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8955 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8956 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8957 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8958 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8959 (gst_pad_realize), (gst_pad_get_allowed_caps),
8960 (gst_real_pad_dispose), (gst_real_pad_finalize),
8961 (gst_pad_collectv), (gst_pad_collect_valist),
8962 (gst_pad_template_dispose), (gst_pad_template_new),
8963 (gst_pad_get_internal_links):
8965 * gst/gstpipeline.c: (gst_pipeline_dispose),
8966 (gst_pipeline_change_state):
8967 * gst/gstpipeline.h:
8969 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8970 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8971 * gst/gstpluginfeature.h:
8972 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8973 * gst/gstquery.c: (_gst_query_type_initialize),
8974 (gst_query_type_register), (gst_query_type_get_by_nick),
8975 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8977 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8978 * gst/gstscheduler.c: (gst_scheduler_add_element),
8979 (gst_scheduler_factory_create):
8980 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8981 (gst_structure_free), (gst_structure_set_name),
8982 (gst_structure_id_set_value), (gst_structure_set_value),
8983 (gst_structure_set_valist), (gst_structure_remove_field),
8984 (gst_structure_remove_fields),
8985 (gst_structure_remove_fields_valist),
8986 (gst_structure_remove_all_fields), (gst_structure_foreach),
8987 (gst_structure_map_in_place),
8988 (gst_caps_structure_fixate_field_nearest_int),
8989 (gst_caps_structure_fixate_field_nearest_double):
8990 * gst/gststructure.h:
8991 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8992 (gst_system_clock_init), (gst_system_clock_dispose),
8993 (gst_system_clock_async_thread),
8994 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8995 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8996 * gst/gstsystemclock.h:
8997 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8998 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8999 * gst/gsttaginterface.c:
9000 * gst/gstthread.c: (gst_thread_dispose),
9001 (gst_thread_release_children_locks), (gst_thread_change_state),
9002 (gst_thread_main_loop):
9003 * gst/gsttrashstack.h:
9004 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9006 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9007 (gst_element_request_pad), (gst_element_get_pad_from_template),
9008 (gst_element_request_compatible_pad),
9009 (gst_element_get_compatible_pad_filtered),
9010 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9011 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9012 (gst_element_link_many), (gst_element_link),
9013 (gst_element_link_pads), (gst_element_unlink_pads),
9014 (gst_element_unlink_many), (gst_element_unlink),
9015 (gst_pad_can_link_filtered), (gst_pad_can_link),
9016 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9017 (gst_object_default_error), (gst_bin_add_many),
9018 (gst_bin_remove_many), (gst_element_populate_std_props),
9019 (gst_element_class_install_std_props), (gst_buffer_merge),
9020 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9021 (link_fold_func), (gst_pad_proxy_setcaps):
9023 * gst/gstvalue.c: (gst_value_deserialize_string):
9024 * gst/parse/grammar.y:
9025 * gst/schedulers/gstbasicscheduler.c:
9026 (gst_basic_scheduler_cothreaded_chain),
9027 (gst_basic_scheduler_chain_recursive_add),
9028 (gst_basic_scheduler_pad_link):
9029 * gst/schedulers/gstoptimalscheduler.c:
9030 (get_group_schedule_function),
9031 (gst_opt_scheduler_state_transition),
9032 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9033 * libs/gst/bytestream/bytestream.c:
9034 * libs/gst/dataprotocol/dataprotocol.c:
9035 (gst_dp_header_from_buffer):
9038 * tests/threadstate/threadstate2.c: (eos):
9039 * tools/gst-compprep.c: (main):
9040 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9041 (print_pad_info), (print_children_info):
9042 * tools/gst-launch.c: (idle_func), (main):
9043 * tools/gst-md5sum.c: (idle_func), (main):
9044 * tools/gst-xmlinspect.c: (print_element_info):
9045 First THREADED backport attempt, focusing on adding locks and
9046 making sure the API is threadsafe. Needs more work. More docs
9049 2005-02-24 Andy Wingo <wingo@pobox.com>
9051 * tests/bench-complexity.scm:
9052 * tests/complexity.gnuplot: New files, good for running complexity
9055 * tests/Makefile.am:
9056 * tests/complexity.c: New test, sets up N elements, at each level
9057 teeing into M streams per element. Eeeenteresting.
9059 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9060 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9061 running bench-mass_elements.scm.
9063 * tests/bench-mass_elements.scm: New script, runs mass_elements
9064 for various numbers of identities, outputting the results to a
9065 file. Requires guile 1.6. Just for testing.
9067 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9069 * gst/schedulers/fairscheduler.c:
9070 compile with debug disabled
9072 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9075 hunting season on 0.9 is now OPEN