1 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
3 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4 (gst_base_sink_queue_object_unlocked),
5 (gst_base_sink_queue_object), (gst_base_sink_event),
6 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
7 When we received EOS and are waiting for when to post the EOS message,
8 our state is prerolled and we should not return ASYNC.
9 Reorganize some code paths to implement this behavior.
11 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
12 (gst_sinks_suite):
13 Add unit test to verify above EOS fix.
15 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
17 * plugins/elements/gsttypefindelement.c:
18 (gst_type_find_element_have_type), (gst_type_find_element_init),
19 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
20 Move detecting the input caps of the sinkpad to the setcaps function.
21 This allows us to update the output caps when we receive new input caps
22 instead of always using the first detected caps.
24 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
26 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
27 (gst_base_sink_get_position):
28 Don't try to preroll non-async elements after a flush.
29 Subtract latency form clock times when reporting position.
31 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
33 * gst/gstpad.c: (gst_pad_pause_task):
34 * gst/gstutils.c:
35 Small comment and documentation update.
37 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
39 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
40 (gst_base_src_set_live), (gst_base_src_is_live),
41 (gst_base_src_query_latency), (gst_base_src_perform_seek),
42 (gst_base_src_default_event), (gst_base_src_wait),
43 (gst_base_src_do_sync), (gst_base_src_get_range),
44 (gst_base_src_pad_get_range), (gst_base_src_loop),
45 (gst_base_src_unlock), (gst_base_src_unlock_stop),
46 (gst_base_src_set_flushing), (gst_base_src_set_playing),
47 (gst_base_src_activate_push), (gst_base_src_activate_pull),
48 (gst_base_src_change_state):
49 Rework the locking of basesrc in a similar fashion to basesink. We
50 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
51 us to handle live sources and semi live ones much better.
52 Simplify flushing.
53 Fix unlocking when seeking, shutting down and pausing in live sources.
55 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
57 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
58 Fix compilation again.
60 2007-10-03 Stefan Kost <ensonic@users.sf.net>
62 * gst/gstelement.c:
63 Use meaningful categories for the logs to clean the default one.
65 2007-10-03 Stefan Kost <ensonic@users.sf.net>
67 * tests/check/pipelines/cleanup.c:
68 Print message name and not just number.
70 2007-10-03 Stefan Kost <ensonic@users.sf.net>
72 * docs/design/draft-tagreading.txt:
73 Add some more thoughts.
75 2007-10-03 Stefan Kost <ensonic@users.sf.net>
77 * tests/check/pipelines/simple-launch-lines.c:
78 Print message name and not just number.
80 2007-10-03 Stefan Kost <ensonic@users.sf.net>
82 * libs/gst/base/gsttypefindhelper.c:
83 Speedup typefinding. This is work in progress (see #459862).
85 2007-10-03 Stefan Kost <ensonic@users.sf.net>
87 * gst/gstplugin.c:
88 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
89 Spotted by Josep Torra Valles <josep@fluendo.com>.
91 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
93 * gst/gstclock.h:
94 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
95 field has moved to GstObject.
97 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
99 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
100 (gst_base_src_get_range), (gst_base_src_change_state):
101 Call unlock for live sources so that they can't get stuck in _create and
102 produce a buffer before they are set back to PLAYING.
104 2007-10-02 Edward Hervey <bilboed@bilboed.com>
106 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
107 (gst_queue_locked_dequeue):
108 Comment the segment-related code... in the PROPER function.
109 See #482147 and my commit from yesterday.
111 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
113 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
114 Also initialize the counter that calculates the first timestamp on a
115 buffer correctly for non-live sources.
117 2007-10-01 Edward Hervey <bilboed@bilboed.com>
119 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
120 Disable code that's breaking the current-time-level reporting.
121 See #482147
123 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
125 * docs/gst/gstreamer-sections.txt:
126 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
127 as they shouldn't show up. Fixes the docs build.
129 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
131 * gst/gstinfo.h:
132 Add an explicit variable importation needed on VS6 (only for MSC_VER)
133 Define M_PI which is used in files which are including gstinfo.h.
134 VS6 includes doesn't define it.
135 * win32/common/libgstbase.def:
136 * win32/common/libgstcontroller.def:
137 * win32/common/libgstreamer.def:
138 Add new exported functions and variables.
139 * win32/vs6/libgstcontroller.dsp:
140 * win32/vs6/libgstreamer.dsp:
141 Update the list of files to build.
143 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
145 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
147 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
148 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
149 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
150 Improve debugging. Fixes #480858.
152 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
154 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
156 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
157 First patch of code cleanups, use the macros and right arguments in the
158 macros to signal and lock the queue. See #480858.
160 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
162 * gst/gstbus.c: (poll_func):
163 Improve debugging when dealing with _poll().
165 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
167 * gst/gstregistryxml.c:
168 Fix memory leak I introduced a few days ago.
170 2007-09-26 Michael Smith <msmith@fluendo.com>
172 * gst/gstbuffer.c: (gst_buffer_finalize):
173 Make it once again possible to free GstBuffers in the default
174 build.
175 The poisoning scribbles on parts of the miniobject we need in
176 order to free it.
177 Fixes #480341
179 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
181 * docs/gst/gstreamer-sections.txt:
182 * gst/gsttaglist.c:
183 * gst/gsttaglist.h:
184 API: add GST_TAG_COMPOSER, fixes #459809.
186 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
188 * gst/gstplugin.c:
189 * gst/gstplugin.h:
190 Add the 3-clause BSD license and the MIT/X11 license to the license
191 list. Fixes #479784.
193 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
195 * docs/faq/getting.xml:
196 Add Q+A about different GStreamer versions (#364056).
198 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
200 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
201 (gst_base_sink_event), (gst_base_sink_change_state):
202 Return correct gboolean from query function.
204 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
206 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
207 (gst_base_sink_event), (gst_base_sink_query),
208 (gst_base_sink_change_state):
209 Simplify latency query.
210 When not synchronizing, we can report latency without querying the peer
211 element.
213 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
215 * gst/gstobject.h:
216 * gst/gstvalue.c:
217 Fix small typos in the docs.
219 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
221 * docs/design/draft-latency.txt:
222 * docs/design/draft-push-pull.txt:
223 * docs/design/draft-tagreading.txt:
224 * docs/design/part-MT-refcounting.txt:
225 * docs/design/part-activation.txt:
226 * docs/design/part-block.txt:
227 * docs/design/part-element-source.txt:
228 * docs/design/part-events.txt:
229 * docs/design/part-gstbin.txt:
230 * docs/design/part-gstelement.txt:
231 * docs/design/part-gstobject.txt:
232 * docs/design/part-gstpipeline.txt:
233 * docs/design/part-messages.txt:
234 * docs/design/part-preroll.txt:
235 * docs/design/part-push-pull.txt:
236 * docs/design/part-qos.txt:
237 * docs/design/part-query.txt:
238 * docs/design/part-scheduling.txt:
239 * docs/design/part-seeking.txt:
240 * docs/design/part-segments.txt:
241 * docs/design/part-states.txt:
242 Documentation updates and typo fixes.
244 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
246 * plugins/elements/gstfakesink.c:
247 Add some debug text to error message to indicate that
248 we errored out on request.
250 * tools/gst-launch.c:
251 When the state change to PLAYING fails, check for an
252 error message on the bus and print it.
254 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
256 translated by: Jorge González González <aloriel@gmail.com>
258 * po/LINGUAS:
259 * po/es.po:
260 Added Spanish translation.
262 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
264 * plugins/elements/gstqueue.c: (gst_queue_push_one):
265 Fix printf arguments.
267 2007-09-20 Stefan Kost <ensonic@users.sf.net>
269 * tests/check/generic/states.c:
270 Improved state change unit test.
272 2007-09-20 Stefan Kost <ensonic@users.sf.net>
274 * gst/gstbin.h:
275 Move priv to the right place.
277 * gst/gstsystemclock.c:
278 Add FIXME: and improve log.
280 * tests/check/Makefile.am:
281 * tests/examples/manual/Makefile.am:
282 Work with all types of registries.
284 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
286 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
287 Don't unref the event after pushing it. Fixes #478401.
289 2007-09-19 Stefan Kost <ensonic@users.sf.net>
291 * .cvsignore:
292 * tests/examples/manual/.cvsignore:
293 Ignore registries in any format.
295 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
297 * gst/glib-compat-private.h:
298 Add compatibility macro for g_intern_string() for
299 GLib-2.8 (any reason we can't just bump the
300 requirement to at least 2.10?)
302 * gst/gstpadtemplate.h:
303 * gst/gstelementfactory.c:
304 * gst/gstregistryxml.c:
305 * gst/gstregistrybinary.c:
306 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
307 up the internal code accordingly. This shouldn't be a problem, since
308 there is no reason external code could ever assume the string in such
309 a structure is dynamically allocated unless it did that itself; the
310 use of g_strdup() is private to element factories. The new code also
311 saves some memory by putting pad template name strings into the GLib
312 quark table instead of allocating them dynamically.
313 Declaring this field constant fixes warnings with g++-4.2 when using
314 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
316 2007-09-19 Stefan Kost <ensonic@users.sf.net>
318 * gst/gstelementfactory.c:
319 Release static caps. Fixes #475723.
321 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
323 * gst/gstinfo.c:
324 * gst/gstinfo.h:
325 Make some internal API take const gchar * instead of just
326 gchar * to avoid compiler warnings with g++-4.2.2 when
327 passing string constants (partially fixes #478092).
329 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
331 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
332 A latency query fails when one of the sinks fail.
334 * gst/gstelement.c: (gst_element_set_base_time):
335 Improve debugging.
337 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
339 * gst/gstbin.c: (gst_bin_continue_func):
340 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
341 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
342 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
344 Fix minor compilation warnings shown with Forte.
346 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
348 * plugins/elements/gstqueue.c: (apply_buffer),
349 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
350 Measure queue level based on the diff between head and tail timestamps
351 even when pushing the first buffer.
353 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
355 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
356 (gst_base_sink_event), (gst_base_sink_change_state):
357 Sinks that don't preroll can always be queried for the latency.
358 Don't post ASYNC start when we are not async.
360 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
362 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
363 (gst_queue_handle_sink_event), (gst_queue_chain),
364 (gst_queue_push_one), (gst_queue_handle_src_query),
365 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
366 * plugins/elements/gstqueue.h:
367 When downstream returns UNEXPECTED from pushing a buffer, don't try to
368 push more buffers but allow pushing of EOS and NEWSEGMENT.
369 Add some more debug info here and there. Fixes #476514.
371 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
373 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
374 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
375 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
376 (gst_base_sink_set_flushing), (gst_base_sink_query),
377 (gst_base_sink_change_state):
378 Latency query is allowed after we are prerolled. Introduce a new flag
379 for this and stop abusing other variables.
381 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
383 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
384 Push OOB events downstream when we get them in send_event. This allows
385 the application to insert events in the pipeline.
386 Add some more comments.
388 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
390 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
391 (do_bin_latency), (gst_bin_change_state_func):
392 * gst/gstpipeline.c: (gst_pipeline_change_state):
393 Move latency query from GstPipeline to GstBin so that we can also
394 use it when async-handling is enabled on bins.
396 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
398 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
399 (gst_base_src_do_sync), (gst_base_src_change_state):
400 Update docs.
401 Clean up the timestamping and syncing code for pseudo live sources.
403 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
405 Patch by: Steve Fink <sphink gmail com>
407 * docs/manual/appendix-checklist.xml:
408 Mention less -R switch in the section about debug output (#474055).
410 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
412 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
413 Queue can latency to the pipeline up to the configured max size in time.
414 Report this fact in the latency query.
416 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
418 Patch by: Sebastien Moutte <sebastien at moutte dot net>
420 * libs/gst/controller/gstinterpolation.c:
421 * libs/gst/controller/gstlfocontrolsource.c:
422 Use gst_guint64_to_gdouble() when converting from a uint64 or
423 GstClockTime to double to fix the build on win32. Fixes #474371.
425 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
427 * gst/gstbuffer.c: (gst_buffer_finalize):
428 Implement poisoning for GstBuffer if --enable-poisoning is specified.
429 When finalizing a buffer the complete struct is filled with 0xff,
430 thus making a use of the buffer after the final unref impossible.
432 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
434 * tests/check/libs/controller.c: (GST_START_TEST):
435 Use fail_unless_equals_int(a, b) instead of
436 fail_unless_equals (a == b) to get better output on failures.
438 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
440 * tests/check/gst/gsturi.c:
441 Also check for the other file URI variant on win32.
443 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
445 * gst/gsturi.c: (gst_uri_get_location):
446 If there's no hostname, we want to return 'c:/foo/bar.txt'
447 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
449 * tests/check/gst/gsturi.c:
450 Unit test for the above and a few more things.
452 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
454 * docs/design/part-live-source.txt:
455 Add docs on how live sources should timestamp.
457 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
458 Add some more debug info.
459 For subclasses that are live and like to sync, add aditional startup
460 latency to sync time and timestamps so that we timstamp according to the
461 design doc.
463 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
465 * gst/gstbuffer.c:
466 Also do a g_type_class_ref() for the subbuffer type in
467 the init function.
469 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
471 * docs/gst/gstreamer-sections.txt:
472 * gst/gstpad.c: (gst_pad_peer_query):
473 * gst/gstpad.h:
474 Add function to perform a query on the peer of a pad.
475 API: gst_pad_peer_query()
477 2007-09-11 Stefan Kost <ensonic@users.sf.net>
479 * tests/check/gst/gstsystemclock.c:
480 Cleanup the test a little (use gst-logging and not g_message). Improve
481 test to check if a wait reached the target.
483 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
485 * docs/libs/gstreamer-libs-sections.txt:
486 Add new API to docs and fix the build.
488 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
490 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
491 (gst_base_src_init), (gst_base_src_set_do_timestamp),
492 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
493 (gst_base_src_get_property), (gst_base_src_do_sync):
494 * libs/gst/base/gstbasesrc.h:
495 Add property to make the basesrc timestamp buffers based on the current
496 running time.
497 API: GstBaseSrc::do-timestamp
498 API: gst_base_src_set_do_timestamp()
499 API: gst_base_src_get_do_timestamp()
501 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
503 * docs/random/release:
504 Really make sure translations are up-to-date before
505 a release (#465010).
507 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
509 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
510 Always destroy the timer, also in error cases.
512 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
514 * docs/manual/highlevel-xml.xml:
515 Fix XML example code. Fixes #472714.
517 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
519 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
520 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
521 (gst_base_sink_query):
522 Protect eos and have_preroll with the OBJECT lock so we don't need to
523 take the PREROLL lock when querying the latency. Fixes #473846.
525 2007-09-05 Stefan Kost <ensonic@users.sf.net>
527 * gst/gstelement.c:
528 Give some log-messages a category.
530 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
532 * gst/gststructure.c:
533 (gst_structure_fixate_field_nearest_fraction):
534 Fix fraction list fixation code. Take the fraction with the smallest
535 difference with the target instead of the first one in the list.
537 * tests/check/gst/gststructure.c: (GST_START_TEST),
538 (gst_structure_suite):
539 Added test to verify correct fraction list fixation behaviour.
541 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
543 * win32/common/libgstreamer.def:
544 Export gst_bus_add_signal_watch too.
546 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
548 * docs/libs/gstreamer-libs-sections.txt:
549 Add new methods to docs.
551 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
552 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
553 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
554 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
555 * libs/gst/base/gstbasesink.h:
556 Add ts-offset property to fine-tune the synchronisation.
557 API: GstBaseSink::ts-offset property
558 API: gst_base_sink_set_ts_offset()
559 API: gst_base_sink_get_ts_offset()
561 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
563 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
564 (gst_base_sink_init), (gst_base_sink_set_sync),
565 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
566 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
567 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
568 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
569 (gst_base_sink_get_property), (gst_base_sink_change_state):
570 * libs/gst/base/gstbasesink.h:
571 Add async property to instruct the sink never to inform the parent about
572 ASYNC state changes, update docs.
573 Check argument with g_return_* for the public functions.
574 API: GstBaseSink::async property
575 API: gst_base_sink_set_async_enabled()
576 API: gst_base_sink_is_async_enabled()
578 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
580 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
581 Improve debugging.
583 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
584 (gst_base_src_default_query), (gst_base_src_wait),
585 (gst_base_src_do_sync), (gst_base_src_change_state):
586 Rearrange some code so that we can add support for measuring the
587 startup latency.
589 2007-08-27 Stefan Kost <ensonic@users.sf.net>
591 * docs/random/ensonic/dynlink.txt:
592 More thoughs on this.
594 * plugins/elements/gstcapsfilter.c:
595 Add bugzilla ticket number to FIXME comment.
597 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
599 * docs/design/part-TODO.txt:
600 * docs/design/part-block.txt:
601 Update some docs.
603 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
605 * gst/Makefile.am:
606 Revert patch which uses $(gst_headers) instead of $^ because it
607 breaks make dist.
609 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
611 * tests/check/gst/gstbin.c: (GST_START_TEST):
612 Fix leaks in the new unit test.
614 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
616 * gst/gst.c:
617 Don't use GST_INFO before the debug system is actually initialised
618 (shouldn't do any harm, but won't print anything either, so we can
619 just as well remove it).
621 * gst/gstinfo.h:
622 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
623 compilers that don't support variadic macros (such as MSVC), should
624 check for debug_level <= __gst_debug_min as well, since that's the
625 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
626 inline helper functions. Should improve performance a bit, but also
627 makes sure uses of GST_INFO et.al are ignored if the debugging
628 system isn't initialised yet (instead of printing an assertion
629 failure).
631 2007-08-23 Stefan Kost <ensonic@users.sf.net>
633 patch by: David Nečas <yeti@physics.muni.cz>
635 * gst/Makefile.am:
636 Replace some non portable makefile constructs.
638 2007-08-21 Stefan Kost <ensonic@users.sf.net>
640 * common/gtk-doc-plugins.mak:
641 Grrrrr. Don't remove the types file on make clean.
643 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
645 * tools/gst-launch.1.in:
646 Add colorspace to example pipeline. Fixes #458274.
648 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
650 * docs/random/release:
651 The release manager should run 'make download-po' before making a
652 release to make sure translations are up-to-date.
654 * po/LINGUAS:
655 * po/be.po:
656 * po/pl.po:
657 * po/rw.po:
658 Add some new translations.
660 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
662 * tools/gst-launch.c: (event_loop), (main):
663 Don´t try to do any state management when a live pipeline posts
664 buffering messages.
665 Also make the buffering string translatable.
667 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
669 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
670 (bin_handle_async_start), (gst_bin_handle_message_func):
671 Improve debugging.
672 When adding elements, insert messages into the bus of the newly added
673 element and make sure the element is the source of the message. This
674 allows the parent bin to intercept the message and do the
675 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
676 messages to the app (which is not allowed).
677 Update some docs.
679 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
680 Fix testsuite so that is does not work around messages that should not
681 have been posted in the first place.
683 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
685 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
686 (update_degree), (gst_bin_sort_iterator_next):
687 Fix annoying bug in the sorted iterator where a sink that is not really
688 a sink (when it has downstream links) screwed up the iterator.
690 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
691 Unit test to verify the fix.
693 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
695 * gst/gstmessage.h:
696 Add some more docs for the messages.
698 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
699 (gst_base_sink_query):
700 Add some more debugging.
702 * tools/gst-launch.c: (event_loop):
703 When interrupting, don't try to set pipeline to PAUSED twice.
705 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
708 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
709 (bin_handle_async_start), (gst_bin_handle_message_func):
710 Move ASYNC_START message posting to where it belongs, similar to
711 async_done.
712 Don't post ASYNC_START when we are in error.
713 Post ASYNC_START when we added an async element to a bin.
715 2007-08-14 Julien MOUTTE <julien@moutte.net>
717 * gst/gstindex.c: (gst_index_add_association): Fix index entry
718 generation from vargs. Fixes #466595.
720 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
722 * gst/gstbin.c: (gst_bin_element_set_state):
723 Always change the state of a NO_PREROLL element even if it has ASYNC
724 elements inside (in case of a bin).
726 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
727 Unit test for this case.
729 2007-08-13 Stefan Kost <ensonic@users.sf.net>
731 * libs/gst/check/gstbufferstraw.c:
732 * libs/gst/check/gstcheck.h:
733 * libs/gst/controller/gstcontroller.c:
734 * libs/gst/controller/gstcontrolsource.h:
735 * libs/gst/controller/gstlfocontrolsource.h:
736 * plugins/elements/gstcapsfilter.h:
737 * plugins/elements/gstfdsink.h:
738 * plugins/elements/gstfdsrc.h:
739 Add more missing docs.
741 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
743 * gst/gststructure.c:
744 Add Since tag to docs.
746 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
748 * docs/gst/gstreamer-sections.txt:
749 * gst/gststructure.c: (gst_structure_get_uint):
750 * gst/gststructure.h:
751 Add function to get uint from a structure.
752 API: gst_structure_get_uint()
754 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
756 * gst/gstcaps.c: (gst_caps_set_simple_valist),
757 (gst_caps_intersect):
758 Fix proper check for simple caps.
760 2007-08-10 Stefan Kost <ensonic@users.sf.net>
762 * docs/gst/Makefile.am:
763 * docs/libs/Makefile.am:
764 Remove cruft and do some cleanups.
766 * docs/gst/gstreamer-docs.sgml:
767 * docs/libs/gstreamer-libs-docs.sgml:
768 Prepare for comming gtkdoc features (rebase against online docs).
770 2007-08-10 Michael Smith <msmith@fluendo.com>
772 * docs/gst/gstreamer-sections.txt:
773 Add gst_registry_add_path to docs.
775 2007-08-10 Michael Smith <msmith@fluendo.com>
777 * gst/gstregistry.h:
778 Add gst_registry_add_path, which was missing from this header.
780 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
782 * libs/gst/controller/gstlfocontrolsource.c:
783 Printf format fix.
785 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
787 * libs/gst/base/gstbasesink.c:
788 Don't send an async_start message during downwards state change if
789 target state is less than READY
791 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
793 translated by: Gabor Kelemen <kelemeng@gnome.hu>
795 * po/LINGUAS:
796 * po/hu.po:
797 Added Hungarian translation.
799 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
801 * po/fi.po:
802 * po/it.po:
803 * po/nl.po:
804 * po/sv.po:
805 * po/uk.po:
806 Updated translations.
808 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
810 * libs/gst/controller/Makefile.am:
811 Dist gstlfocontrolsourceprivate.h
813 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
815 * docs/libs/gstreamer-libs.types:
816 Don't register the enum type gst_lfo_waveform_get_type() in the
817 .types file - only GObject derived types belong.
819 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
821 Patch by: <arenevier at fdn dot fr>
823 * gst/gstbuffer.h:
824 Remove comma from last element in enum to avoid compile errors when
825 using -pendantic. Fixes #464366.
827 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
829 * docs/design/part-TODO.txt:
830 Add some more TODO items
832 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
833 Improve debugging.
835 * gst/gstcaps.c: (gst_caps_intersect):
836 Optimize trivial intersection case between identical caps pointers.
838 * gst/gstelement.c: (gst_element_continue_state),
839 (gst_element_set_state_func):
840 * gst/gstpad.c:
841 Fix spelling and grammar mistakes.
843 2007-08-05 Stefan Kost <ensonic@users.sf.net>
845 * po/POTFILES.in:
846 * po/POTFILES.skip:
847 Update POTFILES. Fixes #461599.
849 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
851 * gst/gst.c:
852 Fix confusing typo in debug output.
854 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
856 reviewed by: Stefan Kost <ensonic@users.sf.net>
858 * libs/gst/controller/Makefile.am:
859 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
860 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
861 (gst_lfo_control_source_new),
862 (gst_lfo_control_source_set_waveform),
863 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
864 (gst_lfo_control_source_finalize),
865 (gst_lfo_control_source_dispose),
866 (gst_lfo_control_source_set_property),
867 (gst_lfo_control_source_get_property),
868 (gst_lfo_control_source_class_init):
869 * libs/gst/controller/gstlfocontrolsource.h:
870 * libs/gst/controller/gstlfocontrolsourceprivate.h:
871 API: Add GstLFOControlSource, a control source that gives values
872 for specific timestamps based on several periodic waveforms.
873 Fixes #459717.
875 * tests/check/libs/controller.c: (GST_START_TEST),
876 (gst_controller_suite):
877 * docs/libs/gstreamer-libs-docs.sgml:
878 * docs/libs/gstreamer-libs-sections.txt:
879 * docs/libs/gstreamer-libs.types:
880 Add documentation and unit tests for GstLFOControlSource.
882 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
884 * configure.ac:
885 Back to CVS
887 === release 0.10.14 ===
889 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
891 * configure.ac:
892 releasing 0.10.14, "Breathing Vacuum"
894 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
896 * gst/gstelement.c: (gst_element_class_set_details_simple):
897 * gst/gstelement.h:
898 Make strings passed to gst_element_class_set_details_simple()
899 constant, as they should be (#462752).
901 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
903 * gst/gstbin.c: (gst_bin_change_state_func),
904 (bin_handle_async_done), (gst_bin_handle_message_func):
905 Don't forget about the fact that some element went ASYNC even after a
906 resync. This makes us post the ASYNC_DONE message correctly.
907 Fixes #462558.
909 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
911 * gst/gstregistry.c: (gst_registry_add_feature):
912 When replacing an existing feature in the registry, make sure to
913 continue holding a reference until we've replaced the name string
914 within our feature hash table. Make sure to use g_hash_table_replace
915 instead of g_hash_table_insert to ensure the new name string is used
916 as a key instead of the old one that we're about to free.
917 Fixes: #462085
919 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
921 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
922 (gst_plugin_feature_set_name):
923 Revert patch from #459466 until after the release and we can work
924 out exactly what the problem is (if any).
926 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
928 * docs/gst/gstreamer-sections.txt:
929 * gst/gsttaglist.c:
930 * gst/gsttaglist.h:
931 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
933 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
935 * docs/libs/Makefile.am:
936 Include our build-prefix libs and includes before the generic ones to
937 avoid linking against the installed libs when we want the build-tree
938 ones.
940 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
942 Patch by: Steve Fink <sphink gmail com>
944 * docs/pwg/building-testapp.xml:
945 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
946 if people try to build or install the example from the plugin
947 template against a GStreamer from package using the configure
948 defaults.
950 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
952 Patch by: Steve Fink <sphink gmail com>
954 * tools/gst-inspect.1.in:
955 Document --print-all and --print-plugin-auto-install-info command
956 line options in man page.
958 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
960 * docs/gst/gstreamer-sections.txt:
961 Add docs for new api function.
963 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
965 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
966 * gst/gstelementfactory.h:
967 API: gst_element_factory_has_interface()
968 Added method to check if an element factory implements a named
969 interface.
971 2007-07-25 Stefan Kost <ensonic@users.sf.net>
973 * configure.ac:
974 * docs/gst/gstreamer.types.in:
975 Another conditional doc check.
977 * gst/gstmessage.c:
978 * gst/gstparamspecs.h:
979 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
980 * gst/gstvalue.c:
981 * gst/gstxml.h:
982 API-doc fixes.
984 2007-07-24 Stefan Kost <ensonic@users.sf.net>
986 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
987 (gst_registry_binary_load_feature),
988 (gst_registry_binary_load_plugin),
989 (gst_registry_binary_read_cache):
990 Print error just once and with additional info.
992 2007-07-24 Stefan Kost <ensonic@users.sf.net>
994 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
995 (helper_find_suggest), (helper_find_get_length),
996 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
997 (gst_type_find_helper_for_buffer):
998 Cleanup the typefindhelper code and add private doc comments.
1000 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1002 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1003 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1004 Fix capsfilter for cases where the caps set on capsfilter will provide
1005 additional information.
1006 Fixes #449197
1008 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1010 * gst/gsttypefindfactory.c:
1011 Fix docs that recommened wrong function to use.
1013 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1015 * tools/gst-inspect.c: (print_plugin_features):
1016 Also give media-type for typefinders in element output.
1018 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1020 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1021 (gst_registry_remove_features_for_plugin_unlocked),
1022 (gst_registry_add_feature), (gst_registry_remove_feature),
1023 (gst_registry_lookup_feature_locked):
1024 * gst/gstregistry.h:
1025 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1026 Fixes #459501.
1028 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1030 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1031 (gst_plugin_feature_set_name):
1032 Avoid double memory usage for pluginfeature names. Fixes #459466.
1034 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1036 * gst/gstpad.h:
1037 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1038 driving the pipeline may need to explicitly check for NOT_LINKED as
1039 well, since IS_FATAL doesn't cover that.
1041 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1043 * docs/pwg/advanced-types.xml:
1044 Fix typo and duplicate entry in video formats list.
1046 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1048 * libs/gst/controller/gstinterpolation.c:
1049 Also round to the nearest int when using cubic interpolation.
1051 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1053 * libs/gst/controller/gstinterpolation.c:
1054 When linearly interpolating integer types, round to the nearest int
1055 by adding 0.5. Don't do it for float/double types.
1056 Fixes the failing controller test on my machine, which is somehow
1057 rounding differently than on the buildbots.
1059 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1061 * tools/gst-plot-timeline.py:
1062 Better log parsing (categories can have -). Adjust text vs. lines, so
1063 that they span the same y-range.
1065 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1067 * docs/random/ensonic/audiobaseclasses.txt:
1068 * docs/random/ensonic/dynlink.txt:
1069 * docs/random/ensonic/profiling.txt:
1070 Save my thoughts.
1072 * docs/random/moving-plugins:
1073 Add note to use g_assert type macros.
1075 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1077 * configure.ac:
1078 * libs/gst/check/Makefile.am:
1079 Add libm check as we use in for plugins.
1081 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1083 * gst/gstbin.c: (gst_bin_continue_func):
1084 Check that the state_cookie hasn't changed since the continue_func
1085 was scheduled. Avoids problems where the state changes back to
1086 something it shouldn't be because it was changed in the meantime.
1088 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1090 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1091 (gst_registry_binary_save_string),
1092 (gst_registry_binary_save_pad_template),
1093 (gst_registry_binary_save_feature),
1094 (gst_registry_binary_save_plugin),
1095 (gst_registry_binary_load_feature),
1096 (gst_registry_binary_load_plugin),
1097 (gst_registry_binary_read_cache):
1098 Fix memory leak. Be less verbose in the log.
1100 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1102 * tests/check/elements/.cvsignore:
1103 Add file to cvsignore as commanded.
1105 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1107 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1108 (mq_dummypad_event), (run_output_order_test):
1109 Use a GStaticMutex to protect all cases where libcheck
1110 fail_if/fail_unless macros might be called from multiple threads
1111 simultaneously to avoid errors like:
1112 "check_pack.c:107: :-1081725400:Bad message type arg"
1114 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1116 * tests/check/pipelines/stress.c: (GST_START_TEST):
1117 Make sure we set the pipeline back to the NULL state before
1118 dropping our final reference.
1120 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1122 * tests/check/elements/tee.c: (GST_START_TEST):
1123 Make the tee stress-test a little less stressful so it doesn't just
1124 time out on slow-machines, and remove a small race when it's starting
1125 up by adding a get_state() call.
1127 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1129 * gst/gst.c:
1130 Avoid reading registry twice on startup. Fixes #457322.
1132 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1134 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1135 * pkgconfig/gstreamer-check.pc.in:
1136 Substitute the CFLAGS for libcheck into our .pc file too so that
1137 dependent modules will pick it up properly if libcheck is installed
1138 into some other prefix.
1140 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1142 * configure.ac:
1143 Revert the pkg-config check for libcheck, since it pulls in the
1144 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1145 a proper solution, either from the check project, or something else.
1147 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1149 * configure.ac:
1150 Use pkg-config to locate check.
1152 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1154 * gst/gsttaglist.c:
1155 Fix doc syntax.
1157 * gst/gstutils.c:
1158 * gst/gstutils.h:
1159 Add deprecation guards.
1161 * libs/gst/base/gstcollectpads.h:
1162 Don't document object (this is implicitly private).
1164 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1166 * gst/gststructure.c: (gst_structure_parse_value):
1167 When deserialising foo=bar without a type cast, check if it's a
1168 boolean before falling back to a string type, otherwise things like
1169 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1170 because the filtercaps end up having a signed=(string)true field,
1171 which causes problems later when intersection caps.
1173 * tests/check/gst/gststructure.c: (GST_START_TEST):
1174 Add a unit test for this.
1176 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1178 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1180 * libs/gst/controller/Makefile.am:
1181 * libs/gst/controller/gstcontroller.c:
1182 (gst_controlled_property_add_interpolation_control_source),
1183 (gst_controlled_property_new), (gst_controlled_property_free),
1184 (gst_controller_find_controlled_property),
1185 (gst_controller_new_valist), (gst_controller_new_list),
1186 (gst_controller_new), (gst_controller_remove_properties_valist),
1187 (gst_controller_remove_properties_list),
1188 (gst_controller_remove_properties),
1189 (gst_controller_set_property_disabled),
1190 (gst_controller_set_disabled), (gst_controller_set_control_source),
1191 (gst_controller_get_control_source), (gst_controller_get),
1192 (gst_controller_sync_values), (gst_controller_get_value_array),
1193 (_gst_controller_dispose), (gst_controller_get_type),
1194 (gst_controlled_property_set_interpolation_mode),
1195 (gst_controller_set), (gst_controller_set_from_list),
1196 (gst_controller_unset), (gst_controller_unset_all),
1197 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1198 * libs/gst/controller/gstcontroller.h:
1199 * libs/gst/controller/gstcontrollerprivate.h:
1200 * libs/gst/controller/gstcontrolsource.c:
1201 (gst_control_source_class_init), (gst_control_source_init),
1202 (gst_control_source_get_value),
1203 (gst_control_source_get_value_array), (gst_control_source_bind):
1204 * libs/gst/controller/gstcontrolsource.h:
1205 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1206 (gst_object_get_control_source):
1207 * libs/gst/controller/gstinterpolation.c:
1208 (gst_interpolation_control_source_find_control_point_node),
1209 (gst_interpolation_control_source_get_first_value),
1210 (_interpolate_none_get), (interpolate_none_get),
1211 (interpolate_none_get_boolean_value_array),
1212 (interpolate_none_get_enum_value_array),
1213 (interpolate_none_get_string_value_array),
1214 (_interpolate_trigger_get), (interpolate_trigger_get),
1215 (interpolate_trigger_get_boolean_value_array),
1216 (interpolate_trigger_get_enum_value_array),
1217 (interpolate_trigger_get_string_value_array):
1218 * libs/gst/controller/gstinterpolationcontrolsource.c:
1219 (gst_control_point_free), (gst_interpolation_control_source_reset),
1220 (gst_interpolation_control_source_new),
1221 (gst_interpolation_control_source_set_interpolation_mode),
1222 (gst_interpolation_control_source_bind),
1223 (gst_control_point_compare), (gst_control_point_find),
1224 (gst_interpolation_control_source_set_internal),
1225 (gst_interpolation_control_source_set),
1226 (gst_interpolation_control_source_set_from_list),
1227 (gst_interpolation_control_source_unset),
1228 (gst_interpolation_control_source_unset_all),
1229 (gst_interpolation_control_source_get_all),
1230 (gst_interpolation_control_source_get_count),
1231 (gst_interpolation_control_source_init),
1232 (gst_interpolation_control_source_finalize),
1233 (gst_interpolation_control_source_dispose),
1234 (gst_interpolation_control_source_class_init):
1235 * libs/gst/controller/gstinterpolationcontrolsource.h:
1236 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1237 API: Refactor GstController into the core controller which can take
1238 a GstControlSource for providing actual values for timestamps.
1239 Implement a interpolation control source and use this for backward
1240 compatibility, deprecate a bunch of functions that are now handled
1241 by GstControlSource or GstInterpolationControlSource.
1242 Make it possible to disable the controller completely or only for
1243 specific properties. Fixes #450711.
1244 * docs/libs/gstreamer-libs-docs.sgml:
1245 * docs/libs/gstreamer-libs-sections.txt:
1246 * docs/libs/gstreamer-libs.types:
1247 Add new functions and classes to the docs.
1248 * tests/check/libs/controller.c: (GST_START_TEST),
1249 (gst_controller_suite):
1250 * tests/examples/controller/audio-example.c: (main):
1251 Port unit test and example to the new API and add some new
1252 unit tests.
1254 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1256 Patch by: Mark Nauwelaerts <manauw at skynet be>
1258 * plugins/elements/gstmultiqueue.c:
1259 (gst_multi_queue_get_internal_links), (apply_buffer),
1260 (single_queue_overrun_cb), (gst_single_queue_new):
1261 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1262 the pipeline layout can be tracked correctly. Fixes #453732.
1264 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1266 * docs/gst/Makefile.am:
1267 * docs/libs/Makefile.am:
1268 * docs/plugins/Makefile.am:
1269 Simplify --extra-dir as gtkdoc scans recursively.
1271 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1273 * tools/gst-launch.c: (main):
1274 When we got an error, there is no point in waiting for preroll when
1275 shutting down.
1277 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1279 * plugins/elements/gsttee.c: (gst_tee_base_init),
1280 (gst_tee_request_new_pad), (gst_tee_release_pad),
1281 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1282 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1283 (gst_tee_chain):
1284 Be a lot smarter when deciding what srcpad to use for proxying
1285 the buffer_alloc. Also handle pad added/removed when doing so.
1286 Fixes #357959.
1287 Keep track of what pads we already pushed on in case we have pads
1288 added/removed while pushing. Fixes #374639
1290 * tests/check/Makefile.am:
1291 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1292 (tee_suite):
1293 Added unit test for pad resync.
1295 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1297 * po/nl.po:
1298 * po/sv.po:
1299 Updated translations.
1301 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1303 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1305 * po/LINGUAS:
1306 * po/fi.po:
1307 Added new Finnish translation.
1309 2007-06-28 Wim Taymans <wim@fluendo.com>
1311 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1312 (single_queue_overrun_cb):
1313 When figuring out when a queue is filled, use our internal time estimate
1314 based on segments, just like check_full does.
1316 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1318 * gst/gstminiobject.c: (gst_mini_object_get_type):
1319 Remove 3 do-nothing methods.
1321 2007-06-27 Wim Taymans <wim@fluendo.com>
1323 Patch by: Tim Angus <tim at ngus dot net>
1325 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1326 (gst_capsfilter_set_property):
1327 Take a reference instead of a copy when setting "caps".
1328 Fix documentation to clarify this behaviour. Fixes #449414.
1330 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1332 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1333 * gst/gstplugin.c: (gst_plugin_init):
1334 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1335 * gst/gstquery.c: (gst_query_get_type):
1336 * gst/gstregistry.c: (gst_registry_init):
1337 * gst/gsturi.c: (gst_uri_handler_base_init):
1338 Remove empty instance_init() functions to save relocs and lessen the
1339 noise. Remove some of the function prototypes that are doubled by
1340 G_DEFINE_TYPE.
1342 2007-06-27 Wim Taymans <wim@fluendo.com>
1344 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1346 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1347 Add peer and direction in the XML serialisation of ghostpads.
1348 Fixes #449226.
1350 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1352 * configure.ac:
1353 Preserve useful information, thanks Tim.
1355 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1357 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1358 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1359 (gst_single_queue_push_one), (gst_multi_queue_loop),
1360 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1361 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1362 (compute_high_id), (gst_single_queue_new):
1363 * plugins/elements/gstmultiqueue.h:
1364 Take the multiqueue lock when updating the fill level so we don't get
1365 confused.
1367 After applying a buffer or event on the src pad segment, make sure to
1368 call gst_data_queue_limits_changed() to get the data queue to unblock
1369 and check the filled state again.
1371 Rework the not-linked pad handling so the logic is that not-linked
1372 pads can push as fast as they like, but only so they never get
1373 ahead of any linked pads.
1375 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1376 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1377 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1379 Add a test to check that not-linked pads always stay behind
1380 linked pads.
1382 Fixes: #430682
1384 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1386 * docs/random/release:
1387 Some updates to the release procedure.
1389 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1391 * gst/gstelementfactory.c: (__gst_element_details_clear):
1392 Microoptimization that saves stunning 80 bytes.
1394 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1396 * docs/plugins/gstreamer-plugins.args:
1397 * docs/plugins/inspect/plugin-coreelements.xml:
1398 * docs/plugins/inspect/plugin-coreindexers.xml:
1399 Update docs with caps info.
1401 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1403 * po/it.po:
1404 Updated Italian translation.
1406 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1408 * ChangeLog:
1409 * po/vi.po:
1410 Update Vietnamese translations.
1412 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1414 * libs/gst/base/gstbasesink.c:
1415 Remove unused signal enum.
1417 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1419 * docs/gst/gstreamer-sections.txt:
1420 * gst/gstelement.c:
1421 * gst/gstutils.c: (gst_type_register_static_full):
1422 Beef up and include the docs for gst_type_register_static_full and
1423 gst_element_class_set_details_simple and add the API keyword
1424 in the ChangeLog.
1426 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1428 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1429 (update_time_level), (gst_single_queue_push_one),
1430 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1431 (single_queue_overrun_cb), (single_queue_underrun_cb),
1432 (single_queue_check_full):
1433 Fix setting max-* properties after adding queues.
1434 Use IS_FILLED for checking visible items.
1435 Signal overrun if multiple queues overrun.
1436 Add extra debug output.
1437 Patch by: Wim Taymans <wim@fluendo.com>
1439 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1441 * gst/gstelement.c: (gst_element_class_set_details_simple):
1442 * gst/gstelement.h:
1443 * gst/gstutils.c: (gst_type_register_static_full):
1444 * gst/gstutils.h:
1445 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1446 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1447 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1448 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1449 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1450 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1451 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1452 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1453 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1454 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1455 (apply_buffer), (gst_queue_chain):
1456 * plugins/elements/gsttee.c: (gst_tee_base_init):
1457 * plugins/elements/gsttypefindelement.c:
1458 (gst_type_find_element_base_init),
1459 (gst_type_find_element_class_init):
1460 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1461 API: add gst_type_register_static_full
1462 API: add gst_element_class_set_details_simple
1464 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1466 * docs/pwg/advanced-types.xml:
1467 Fix typo in iana.org URI.
1469 2007-06-19 Andy Wingo <wingo@pobox.com>
1471 * tests/check/pipelines/simple-launch-lines.c
1472 (test_state_change_returns): Enable pull-mode tests now that
1473 basesink has been fixed.
1475 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1476 Changed from gst_base_sink_is_prerolled, reversing the sense of
1477 the return value. Returns FALSE also if the sink is in pull mode,
1478 in which case it needs no preroll.
1479 (gst_base_sink_query, gst_base_sink_change_state): Update for
1480 needs_preroll change.
1481 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1482 chaining up, in which we return SUCCESS directly if we activated
1483 in pull mode instead of ASYNC. Involves countering an async_start
1484 message sent before chaining up; not sure if this is correct, in
1485 an ideal world we only send async-start when activating in push
1486 mode.
1488 * tests/check/pipelines/simple-launch-lines.c
1489 (test_state_change_returns): New test, partially disabled until
1490 basesink is fixed.
1492 2007-06-19 Wim Taymans <wim@fluendo.com>
1494 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1495 (gst_multi_queue_sink_event):
1496 Fix event leak.
1498 2007-06-19 Wim Taymans <wim@fluendo.com>
1500 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1501 (gst_bin_change_state_func), (bin_push_state_continue),
1502 (bin_handle_async_start), (bin_handle_async_done),
1503 (gst_bin_handle_message_func):
1504 Move the common code for posting state-change messages into
1505 one function.
1506 Broadcast the state signal after we posted the messages.
1507 Mark the bin as busy when it's doing a state-change.
1508 Make sure async-start/done messages don't interfere with the bin's
1509 state when it's busy.
1510 After the state change, let the bin check which elements completed the
1511 state change while it was busy so that it can update its state.
1513 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
1515 * docs/random/release:
1516 Add a note about updating the doap file to the release checklist
1518 2007-06-18 Wim Taymans <wim@fluendo.com>
1520 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1521 (gst_single_queue_push_one), (gst_multi_queue_chain),
1522 (gst_multi_queue_sink_event):
1523 Make sure we don't reference the buffer/event after we have given away
1524 ownership in the queue.
1526 2007-06-18 Wim Taymans <wim@fluendo.com>
1528 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1529 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1530 Update queue state _after_ adding the item in the queue because else we
1531 could end up being full without the element added yet.
1533 2007-06-18 Wim Taymans <wim@fluendo.com>
1535 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1536 (gst_bin_remove_func), (gst_bin_get_state_func),
1537 (gst_bin_element_set_state), (gst_bin_continue_func),
1538 (bin_push_state_continue), (bin_handle_async_start),
1539 (bin_handle_async_done), (gst_bin_handle_message_func):
1540 * gst/gstbin.h:
1541 Immediatly commit the toplevel bin state when receiving an async-done
1542 message. This enables us to avoid spawning a thread to commit the state
1543 in some common cases and it also avoids some races.
1544 Avoid spawning a state thread when adding/removing async elements to a
1545 toplevel bin. Instead we immediatly update the bin state.
1546 Get rid of iterating all the children when getting the state in the bin
1547 because it is now always up-to-date.
1548 Fix bug where locked elements would always return _SUCCESS even it they
1549 returned NO_PREROLL before being locked.
1550 Fix the order of the state_change, async-start/done messages that was
1551 sometimes incorrect.
1552 Mark the state_dirty field as deprecated, we don't need it anymore as we
1553 are always up-to-date.
1555 * gst/gstelement.c: (gst_element_get_state_func),
1556 (gst_element_continue_state):
1557 Small debug inprovements.
1558 Return the previous element state return when nothing is pending instead
1559 of blindly returning SUCCESS.
1561 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1562 (gst_sinks_suite):
1563 Add a whole bunch of new testcases.
1565 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
1567 * po/uk.po:
1568 * po/vi.po:
1569 Update translations.
1571 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
1573 * gst/gstpad.c:
1574 Fix typo in the docs.
1576 2007-06-15 Wim Taymans <wim@fluendo.com>
1578 * docs/libs/gstreamer-libs-sections.txt:
1579 Add docs for new methods.
1581 2007-06-15 Wim Taymans <wim@fluendo.com>
1583 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1584 (gst_multi_queue_item_new):
1585 Don't use GSlice because we don't depend on >= 2.10 yet.
1587 2007-06-15 Wim Taymans <wim@fluendo.com>
1589 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1590 (update_time_level), (apply_segment), (apply_buffer),
1591 (gst_single_queue_push_one), (gst_multi_queue_item_new),
1592 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1593 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1594 (single_queue_underrun_cb), (single_queue_check_full):
1595 Remove debug printf.
1597 2007-06-15 Wim Taymans <wim@fluendo.com>
1599 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1600 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1601 (gst_data_queue_set_flushing), (gst_data_queue_push),
1602 (gst_data_queue_pop), (gst_data_queue_drop_head),
1603 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1604 * libs/gst/base/gstdataqueue.h:
1605 Various cleanups.
1606 Added methods to get the current levels and to inform the queue that the
1607 'full' limits changed.
1609 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1610 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1611 (gst_single_queue_flush), (update_time_level), (apply_segment),
1612 (apply_buffer), (gst_single_queue_push_one),
1613 (gst_multi_queue_item_steal_object),
1614 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1615 (gst_multi_queue_loop), (gst_multi_queue_chain),
1616 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1617 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1618 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1619 (single_queue_underrun_cb), (single_queue_check_full),
1620 (gst_single_queue_new):
1621 Keep track of time in the queue by measuring the difference between
1622 running_time on input and output. This gives more accurate results and
1623 can compensate for segments correctly.
1624 Make a queue by default only 5 buffers deep. We will now increase the
1625 buffer size depending on the filledness of the other queues.
1626 Factor out commong flush code.
1627 Make sure we don't add additional refcounts to buffers when we can avoid
1628 it.
1629 Propagate GstFlowReturn differently.
1630 Use GSlice for intermediate GstMultiQueueItems.
1631 Keep track of EOS.
1632 Resize queues on over and underruns based on filled level of other
1633 queues.
1634 When checking if the queue is filled, prefer to measure in time if we
1635 can and fall back to bytes when no time is known.
1637 * plugins/elements/gstqueue.c:
1638 Fix return value.
1640 2007-06-15 Wim Taymans <wim@fluendo.com>
1642 * libs/gst/base/gstbasetransform.c:
1643 (gst_base_transform_sink_event):
1644 Work around the brokenness of the event vmethod in basetransform. Prefer
1645 to return TRUE when the subclass returned FALSE (meaning don't forward
1646 the event).
1648 * libs/gst/base/gstbasetransform.h:
1649 Clarify the docs.
1651 2007-06-15 Wim Taymans <wim@fluendo.com>
1653 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1654 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1655 (gst_base_src_default_query), (gst_base_src_get_range),
1656 (gst_base_src_start):
1657 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1658 Improve debugging.
1660 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1662 * docs/pwg/advanced-types.xml:
1663 Added more formats to caps table.
1665 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1667 * tools/gst-launch.c: (main):
1668 Remove crufy code. GOption does not need this workaround.
1670 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1672 * libs/gst/controller/gstcontroller.c:
1673 (gst_controlled_property_set_interpolation_mode):
1674 Fix wrong getter for enums in controller.
1676 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1678 * libs/gst/check/gstcheck.c: (gst_check_init):
1679 Intercept criticals and warnings in the Gst-Phonon log domain, so
1680 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1681 well.
1683 2007-06-14 Edward Hervey <edward@fluendo.com>
1685 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1686 Since this file doesn't include "gst.h" it will not go through the
1687 macros that disable GST_LOG if debugging was disabled.
1689 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1691 * libs/gst/check/Makefile.am:
1692 * libs/gst/check/gstcheck.h:
1693 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1694 * pkgconfig/gstreamer-check.pc.in:
1695 Ugly 'fix' for the controller unit test on the p5 bot: in
1696 fail_unless_equals_float() check whether the values are 'almost
1697 equal' by allowing a small absolute error, which should be good
1698 enough for our use cases (normal numbers and values close to 0).
1699 Proper fixage left to floating point arithmetic aficionados.
1701 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1703 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1704 (gst_base_sink_render_object), (gst_base_sink_get_position):
1705 Add two breaks thats where missing.
1707 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1709 * docs/libs/gstreamer-libs-sections.txt:
1710 * libs/gst/check/gstcheck.h:
1711 API: add fail_unless_equals_float() and assert_equals_float().
1712 Add documentation for some of the macros.
1714 * tests/check/libs/controller.c: (GST_START_TEST):
1715 Use newly-added asserts.
1717 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1719 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1720 Show the caps change in the log to help spotting the case of not
1721 exactly matching caps.
1723 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1725 * docs/pwg/building-boiler.xml:
1726 Fix typos, spotted by Thijs Vermeir (#447190).
1728 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1730 * docs/plugins/tmpl/.cvsignore:
1731 Ignore file to keep the buildbots happy
1733 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1735 * docs/plugins/Makefile.am:
1736 * docs/plugins/gstreamer-plugins-docs.sgml:
1737 * docs/plugins/gstreamer-plugins-sections.txt:
1738 Pull fdsink into the docs too.
1740 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1742 * libs/gst/controller/gstinterpolation.c:
1743 Actually use the new functions with min/max checks for the trigger and
1744 none interpolation modes for get() and get_value_array() instead of
1745 just the latter.
1747 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1749 * libs/gst/controller/gstcontroller.c:
1750 (gst_controlled_property_free):
1751 Unset the minimum and maximum GValues when freeing the corresponding
1752 GstControllerProperty struct.
1754 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1756 * libs/gst/controller/gstcontroller.c:
1757 (gst_controlled_property_new):
1758 * libs/gst/controller/gstcontrollerprivate.h:
1759 * libs/gst/controller/gstinterpolation.c:
1760 (gst_controlled_property_find_control_point_node),
1761 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1762 (interpolate_none_get_string_value_array),
1763 (interpolate_trigger_get),
1764 (interpolate_trigger_get_enum_value_array),
1765 (interpolate_trigger_get_string_value_array):
1766 Protect against values larger or smaller than the minimum or maximum
1767 allowed value for the property when using values that can be compared.
1769 Optimize trigger interpolator a bit by taking the last requested value
1770 into account instead of always looping through the complete list.
1772 Fix coding style a bit, everywhere else we use "return foo" instead
1773 of "return (foo)".
1775 * tests/check/libs/controller.c: (GST_START_TEST),
1776 (gst_controller_suite):
1777 Add unit test for the protection against too large or too small
1778 values.
1780 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1782 * docs/random/slomo/controller.txt:
1783 Add some thoughts about the future of the controller.
1785 2007-06-08 Wim Taymans <wim@fluendo.com>
1787 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1788 Don't overflow in retimestamping code.
1790 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1792 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1793 Use gst_util_guint64_to_gdouble for conversions.
1794 * win32/common/libgstreamer.def:
1795 Add new exported functions.
1797 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1799 * gst/gstutils.c:
1800 Small docs addition.
1802 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1804 * README:
1805 Remove that test line again.
1807 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1809 * README:
1810 Test commit mail sending.
1812 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1814 * configure.ac:
1815 Fix typo and test commit mail sending.
1817 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1819 * tests/examples/controller/audio-example.c:
1820 Improve comment and test commit mail sending.
1822 2007-06-07 Wim Taymans <wim@fluendo.com>
1824 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1825 (gst_bin_remove_func), (gst_bin_element_set_state),
1826 (bin_handle_async_start), (bin_handle_async_done),
1827 (gst_bin_handle_message_func):
1828 Add helper function to find messages.
1829 Generate the async-done messages together with the state change
1830 messages.
1831 Small cleanups in handling toplevel bins.
1833 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1835 * libs/gst/base/gstdataqueue.c:
1836 * libs/gst/base/gstdataqueue.h:
1837 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1838 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1839 (gst_multi_queue_sink_event):
1840 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1841 Fix multiqueue leaking buffers and events when downstream or the
1842 queue are flushing. Make refcounting assumptions explicit and
1843 document them (shouldn't break existing code that uses it other than
1844 maybe leak miniobjects, but that already happens anyway). Add unit
1845 test for the most common flushing case. Fixes #423700.
1847 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1849 * libs/gst/controller/gstcontroller.c:
1850 Clarify docs: The get_all, get_value_array(s) functions
1851 don't modify the GObject properties.
1853 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1855 * libs/gst/controller/gstcontroller.c:
1856 (gst_controlled_property_set_interpolation_mode),
1857 (gst_controlled_property_prepend_default),
1858 (gst_controlled_property_new), (gst_controller_set_unlocked),
1859 (gst_controller_set), (gst_controller_set_from_list),
1860 (gst_controller_unset), (gst_controller_unset_all):
1861 * libs/gst/controller/gstcontrollerprivate.h:
1862 * libs/gst/controller/gstinterpolation.c:
1863 Factor out the 'set' logic into gst_controller_set_unlocked for the
1864 gst_controller_set and gst_controller_set_from_list functions.
1866 To make life of the interpolators easier always add a control point
1867 at timestamp zero with the default value.
1869 In the linear interpolator make things more obvious by better variable
1870 naming (slope).
1872 Implement cubic interpolation mode (by using a natural cubic spline)
1873 and map the quadratic interpolation mode to this too (as quadratic
1874 doesn't make much sense, see discussion on the list).
1876 * tests/check/libs/controller.c: (GST_START_TEST),
1877 (gst_controller_suite):
1878 Add unit test for the cubic interpolation mode and check everywhere
1879 if the interpolation mode could be set as expected.
1881 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1883 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1884 Don't use GLib-2.10 functions, we still depend on
1885 GLib-how-old-is-it-again-2.8.
1887 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1889 * docs/gst/gstreamer-sections.txt:
1890 * gst/Makefile.am:
1891 * gst/gst.c:
1892 * gst/gst.h:
1893 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1894 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1895 (_gst_param_fraction_values_cmp),
1896 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1897 * gst/gstparamspecs.h:
1898 * gst/gstvalue.c:
1899 * tests/check/Makefile.am:
1900 * tests/check/gst/.cvsignore:
1901 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1902 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1903 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1904 (GST_START_TEST), (gst_param_spec_suite):
1905 API: add GstParamSpecFraction, so elements can have fraction
1906 properties without lots of painful string parsing (#444648).
1908 2007-06-05 Wim Taymans <wim@fluendo.com>
1910 * gst/gstobject.c: (gst_object_class_init):
1911 Fix signal signature.
1913 * gst/gstsegment.c:
1914 Add small clarification in the api docs.
1916 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1917 States are protected with object lock.
1919 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1921 * AUTHORS:
1922 I should probably be listed as an author by now.
1924 * docs/random/release:
1925 Update the release doc
1927 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1929 * gst/gstvalue.c:
1930 Make docs for gst_value_compare() mention return enums that
1931 actually exist.
1933 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1935 * configure.ac:
1936 Back to CVS
1938 === release 0.10.13 ===
1940 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1942 * configure.ac:
1943 releasing 0.10.13, "With or without you"
1945 2007-05-25 Wim Taymans <wim@fluendo.com>
1947 * gst/gstbin.c: (bin_handle_async_done):
1948 Make sure that the child bin stops after completing the async state
1949 change so that the parent can continue the state change to PLAYING.
1950 Fixes #441159.
1952 2007-05-25 Wim Taymans <wim@fluendo.com>
1954 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1955 (unref_data), (gst_collect_pads_remove_pad),
1956 (gst_collect_pads_check_pads):
1957 Use additional refcounting to avoid crashes when dynamically adding and
1958 removing pads. Fixes #420206.
1960 2007-05-24 Wim Taymans <wim@fluendo.com>
1962 * tools/gst-launch.c: (event_loop):
1963 When buffering goes from a two digit to a single digit number, make sure
1964 to remove the old second digit by writing a blank over it.
1966 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1968 * libs/gst/base/gstdataqueue.c:
1969 Eliminate tabs and trailing comma in enum list; fix some typos.
1971 2007-05-24 Wim Taymans <wim@fluendo.com>
1973 * tests/check/gst/gstbin.c: (GST_START_TEST):
1974 Allow refcount of 3 and 4 because some state thread might still be busy
1975 with it.
1977 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1979 * plugins/elements/Makefile.am:
1980 * plugins/elements/gstmultiqueue.h:
1981 * plugins/elements/gstqueue.h:
1982 These are not installed headers, no need for padding.
1984 2007-05-24 Wim Taymans <wim@fluendo.com>
1986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1987 (gst_bin_continue_func):
1988 Enable latency for next release.
1989 Restore STATE_LOCK around recalc_state that was left out during the
1990 rewrite and could result in racy behaviour when _get_state and
1991 recalc_state are run concurrently. See #440463.
1993 2007-05-23 Wim Taymans <wim@fluendo.com>
1995 * tests/check/gst/gstsystemclock.c: (store_callback),
1996 (GST_START_TEST):
1997 Improve test_async_order to also work when both timers are already
1998 expired when we get scheduled to check it.
2000 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2002 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2003 (gst_bin_set_property), (gst_bin_get_property),
2004 (gst_bin_remove_func), (gst_bin_handle_message_func):
2005 * gst/gstbin.h:
2006 'private' is a c++ keyword, let's not use that in header files,
2007 otherwise c++ compilers will throw a tantrum.
2009 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2011 * plugins/elements/gstelements.c:
2012 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2013 (gst_file_sink_get_current_offset):
2014 * plugins/indexers/gstindexers.c: (plugin_init):
2015 Use #ifdef for HAVE_XYZ for consistency.
2017 * tests/check/Makefile.am:
2018 * tests/check/elements/.cvsignore:
2019 * tests/check/elements/filesink.c: (setup_filesink),
2020 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2021 Add some unit tests for filesink.
2023 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2025 Patch by: Mark Nauwelaerts <manauw at skynet be>
2027 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2028 (gst_file_sink_query), (gst_file_sink_do_seek),
2029 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2030 * plugins/elements/gstfilesink.h:
2031 Fix position reporting; rename data_written member to current_pos to
2032 reflect its real meaning (fixes #412648).
2034 2007-05-22 Edward Hervey <edward@fluendo.com>
2036 * docs/gst/gstreamer-sections.txt:
2037 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2038 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2039 (gst_bin_remove_func), (gst_bin_handle_message_func):
2040 * gst/gstbin.h:
2041 Add a property for bins that handle the state change of their childs.
2042 Fixes #435880
2044 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2046 * libs/gst/controller/gstinterpolation.c:
2047 Use an array of the correct type when using _get_value_array with
2048 linear interpolation.
2050 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2052 * gst/gstelement.c (gst_element_requires_clock,
2053 gst_element_provides_clock, gst_element_request_pad,
2054 gst_element_class_set_details, gst_element_class_set_details_simple,
2055 gst_element_default_send_event, gst_element_abort_state,
2056 gst_element_continue_state, gst_element_set_state,
2057 gst_element_set_state_func, iterator_activate_fold_with_resync):
2058 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2059 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2060 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2061 gst_pad_get_range, gst_pad_pull_range):
2062 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2063 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2064 GstPadActivateModeFunction, GstPadChainFunction,
2065 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2066 GstPadFixateCapsFunction, GstPadTemplate):
2067 * gst/gstpipeline.c (gst_pipeline_change_state,
2068 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2069 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2070 gst_pipeline_get_delay):
2071 Whitespace and docs fixes.
2073 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2075 * libs/gst/controller/gstinterpolation.c:
2076 (interpolate_trigger_get_enum_value_array),
2077 (interpolate_trigger_get_string_value_array):
2078 Add support for retrieving value arrays when using the trigger
2079 interpolation mode.
2081 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2083 * libs/gst/controller/gstcontroller.c:
2084 (gst_controller_get_value_array):
2085 * libs/gst/controller/gstcontroller.h:
2086 Clarify the docs of gst_controller_get_value_array(): The array where
2087 the values should be written to must be allocated as there seems to be
2088 no way to get the size of a random GType. This doesn't change any
2089 behaviour. Also fix some typos all over the place and remove an unused,
2090 commented function that is not necessary as g_object_set() could be
2091 used instead.
2092 * tests/check/libs/controller.c: (GST_START_TEST),
2093 (gst_controller_suite):
2094 Add unit test for gst_controller_get_value_array().
2096 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2098 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2100 Disable part of the gst_buffer_try_new_and_alloc test, because
2101 it can happily succeed on 64-bit systems where there's more address
2102 space available.
2104 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2106 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2107 Add unit test for the improved caps checking from bug #421543.
2109 2007-05-21 Wim Taymans <wim@fluendo.com>
2111 * docs/design/part-synchronisation.txt:
2112 Small addition.
2114 * gst/gstbin.c: (gst_bin_query):
2115 * plugins/elements/gstqueue.c: (apply_segment):
2116 Improve debugging.
2118 * gst/gstmessage.h:
2119 Improve docs.
2121 2007-05-21 Wim Taymans <wim@fluendo.com>
2123 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2124 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2125 (gst_pad_configure_src):
2126 Added simple version of improved caps checking. It was previously
2127 assumed that a setcaps function would check the validity of the caps but
2128 people prefer us to check caps against the template automatically.
2129 Fixes #421543.
2131 2007-05-21 Wim Taymans <wim@fluendo.com>
2133 * libs/gst/base/gstbasetransform.h:
2134 Fix macro for locking/unlocking the transform lock.
2136 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2138 * docs/plugins/tmpl/.cvsignore:
2139 Ignore more.
2141 2007-05-18 Edward Hervey <edward@fluendo.com>
2143 * plugins/elements/gstqueue.c: (gst_queue_loop):
2144 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2145 for the subtle art of warning a potentially blocking thread that it
2146 should check the source pad return value, and relay the information
2147 upstream.
2149 2007-05-18 Edward Hervey <edward@fluendo.com>
2151 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2152 Release the queue lock !
2154 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2156 * docs/libs/gstreamer-libs-sections.txt:
2157 Add the two new controller functions to the appropiate places.
2159 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2161 reviewed by: Stefan Kost <ensonic@users.sf.net>
2163 * libs/gst/controller/gstcontroller.c:
2164 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2165 (_gst_controller_get_property), (_gst_controller_set_property),
2166 (_gst_controller_init), (_gst_controller_class_init):
2167 * libs/gst/controller/gstcontroller.h:
2168 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2169 (gst_object_get_control_rate), (gst_object_set_control_rate):
2170 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2171 Add API that provides sync suggestion timestamps for elements that
2172 call gst_object_sync_values() from which those elements can subdivide
2173 their processing loop to get the best results for the controlled
2174 properties. For now it just suggests last_sync + control_rate as
2175 new timestamp but this will be improved in the future.
2177 While doing that change the control-rate property to a GstClockTime
2178 from guint and change it's meaning from samples to nanoseconds as
2179 the GstController doesn't know anything about sampling rate. Strictly
2180 speaking this breaks ABI but as the control-rate property didn't do
2181 anything in the past and as such couldn't be used this should be no
2182 problem.
2184 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2186 reviewed by: Stefan Kost <ensonic@users.sf.net>
2188 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2189 (gst_controller_unset_all):
2190 * libs/gst/controller/gstcontrollerprivate.h:
2191 * libs/gst/controller/gstinterpolation.c:
2192 (gst_controlled_property_find_control_point_node):
2193 Save last synced value from the list to continue searching from there
2194 in future syncs. This speeds everything up a bit.
2196 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2198 reviewed by: Stefan Kost <ensonic@users.sf.net>
2200 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2201 (gst_control_point_find), (gst_controlled_property_new),
2202 (gst_control_point_free), (gst_controlled_property_free),
2203 (gst_controller_set), (gst_controller_set_from_list),
2204 (gst_controller_unset), (gst_controller_unset_all),
2205 (gst_controller_sync_values):
2206 * libs/gst/controller/gstcontroller.h:
2207 * libs/gst/controller/gstcontrollerprivate.h:
2208 * libs/gst/controller/gstinterpolation.c:
2209 (gst_controlled_property_find_control_point_node),
2210 (interpolate_none_get), (interpolate_trigger_get):
2211 Add a new private GstControlPoint struct which "inherits" from
2212 GstTimedValue to allow different interpolators to store internal
2213 values next to each control point. From the outside everything is
2214 still a GstControlPoint so we don't loose binary compatibility.
2215 Also fixup all the GValue handling to not leak GValues or list nodes.
2216 * tests/check/libs/controller.c: (GST_START_TEST):
2217 Free the list nodes and GValues in the controller_misc test.
2219 2007-05-17 Edward Hervey <edward@fluendo.com>
2221 * gst/gstsegment.c:
2222 Small doc fix.
2224 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2226 * gst/gstplugin.c: (gst_plugin_load_file):
2227 If we fail to load a plugin because of unresolved symbols or missing
2228 libraries and spew a warning to stderr, we may just as well mention
2229 which plugin it was that failed to load.
2231 2007-05-13 David Schleef <ds@schleef.org>
2233 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2234 handles the case when ENABLE_GTK_DOC is false, and installs
2235 the prebuilt documentation. So gtk-doc subdirs are
2236 unconditionally enabled. Fixes: #349099.
2238 2007-05-13 David Schleef <ds@schleef.org>
2240 * gst/gstutils.h: Reword some documentation.
2242 2007-05-12 David Schleef <ds@schleef.org>
2244 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2245 do anything with the passed "module" parameter, so remove it.
2246 Allows removal of additional vestigal code.
2248 2007-05-12 David Schleef <ds@schleef.org>
2250 * gst/gstplugin.c:
2251 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2252 Switch to using g_stat() because it's more portable.
2254 2007-05-12 David Schleef <ds@schleef.org>
2256 * gst/gst.c:
2257 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2258 parsing for embedded systems.
2259 * gst/gstelementfactory.c:
2260 Allow gst_element_register() to be called with plugin==NULL.
2261 Did nobody notice that static elements were broken?
2263 2007-05-12 Wim Taymans <wim@fluendo.com>
2265 * tools/gst-launch.c: (event_loop):
2266 Give more interesting info when buffering starts and stops.
2267 Fix case where buffering starts but we fail to update the buffering flag
2268 because the target state is not PLAYING.
2270 2007-05-12 Wim Taymans <wim@fluendo.com>
2272 * plugins/elements/gstqueue.c: (gst_queue_init),
2273 (gst_queue_finalize), (update_time_level), (apply_segment),
2274 (apply_buffer), (gst_queue_locked_flush),
2275 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2276 (gst_queue_handle_sink_event), (gst_queue_chain),
2277 (gst_queue_push_one), (gst_queue_loop):
2278 * plugins/elements/gstqueue.h:
2279 Refactor an cleanup queue a bit.
2280 Do better time level calculations that also work when the srcpad is not
2281 yet running.
2282 Remove some unneeded debug lines.
2284 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2285 Added testcase for time level measurement.
2286 Try to make some stuff more racefree.
2288 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2290 * gst/gsturi.c: (gst_element_make_from_uri):
2291 Don't leak plugin feature.
2293 * tests/check/Makefile.am:
2294 * tests/check/gst/.cvsignore:
2295 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2296 Add brain-dead unit test.
2298 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2300 Patch by: Jeroen Wouters <woutersj at gmail com>
2302 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2303 Treat protocol strings in a case-insensitive way (#437563).
2305 2007-05-11 Michael Smith <msmith@fluendo.com>
2307 * gst/gstplugin.c: (gst_plugin_load_file):
2308 * gst/gstregistry.c: (gst_registry_scan_path_level):
2309 Don't print a g_warning for any failure to load a shared object.
2310 Instead, push this down into gstplugin.c, and warn _only_ if we
2311 failed to open the module (i.e. failure to link).
2312 Avoids warnings on normal, working, non-plugin .so files.
2314 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2316 * gst/gstplugin.c (gst_plugin_load_file):
2317 * gst/gstregistry.c (GST_CAT_DEFAULT,
2318 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2319 Print a g_warning if there was an error when loading a plugins during
2320 registry scan. The shuld help beginners starting with gst-plugin
2321 template.
2323 2007-05-10 Wim Taymans <wim@fluendo.com>
2325 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2326 (update_time_level), (gst_queue_locked_flush),
2327 (gst_queue_handle_sink_event), (gst_queue_chain),
2328 (gst_queue_push_one), (gst_queue_loop):
2329 * plugins/elements/gstqueue.h:
2330 Be smarter when calculating the current amount of data in the queue by
2331 measuring the difference between start and end timestamps (in running
2332 time) inside the queue. Fixes #432876.
2333 API: GstQueue::pushing to notify elements that we are pushing data again
2334 since the running signal is rather broken for this purpose.
2336 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2338 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2339 gst_queue_base_init, gst_queue_init):
2340 use GST_BOILERPLATE
2342 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2344 * win32/common/libgstreamer.def:
2345 Add new exported functions.
2346 * win32/vs6/grammar.dsp:
2347 Use grammar pre-generated files.
2349 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2351 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2353 * gst/Makefile.am:
2354 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2355 * gst/gstparse.h:
2356 * gst/gstutils.c: (gst_parse_bin_from_description):
2357 * gst/gstutils.h:
2358 Maintain API and ABI when --disable-parse is used. Now that
2359 we have an appropriate error code, we can just return NULL and the
2360 appropriate error when gst_parse_launch() is used despite it having
2361 been disabled (#342564).
2363 * tests/check/Makefile.am:
2364 * tests/check/pipelines/.cvsignore:
2365 * tests/check/pipelines/parse-disabled.c:
2366 Make sure these functions exist and return NULL plus a GError when
2367 --disable-parse is used.
2369 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2371 * tests/benchmarks/complexity.c: (main):
2372 * tests/benchmarks/mass-elements.c: (main):
2373 Set a good example and don't leak messages.
2375 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2377 * docs/gst/Makefile.am:
2378 * docs/libs/Makefile.am:
2379 Correct fixxrefs options.
2381 * docs/plugins/Makefile.am:
2382 * docs/plugins/gstreamer-plugins-docs.sgml:
2383 * docs/plugins/gstreamer-plugins-sections.txt:
2384 * plugins/elements/Makefile.am:
2385 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2386 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2387 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2388 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2389 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2390 _GstCapsFilterClass, trans_class):
2391 * plugins/elements/gstelements.c (name, rank, type, _elements):
2392 * plugins/elements/gstidentity.c
2393 (gst_identity_check_imperfect_timestamp,
2394 gst_identity_check_imperfect_offset):
2395 Document capsfilter and add doc-blurb to identity.
2397 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2399 * libs/gst/controller/gstcontroller.c:
2400 (gst_controlled_property_set_interpolation_mode):
2401 * libs/gst/controller/gstinterpolation.c:
2402 Don't crash if someone tries to set an interpolation mode that
2403 is invalid or that isn't supported yet. Fixes #422295.
2405 * tests/check/libs/controller.c: (GST_START_TEST),
2406 (gst_controller_suite):
2407 Add a test case for the above.
2409 2007-05-03 Edward Hervey <edward@fluendo.com>
2411 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2412 Properly set the last_stop position on GstSegment. This will only happen
2413 if there is a buffer to push out.
2415 2007-05-03 Wim Taymans <wim@fluendo.com>
2417 * libs/gst/base/gstbasetransform.c:
2418 (gst_base_transform_buffer_alloc):
2419 always_in_place does not mean that the sink and source caps are the
2420 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2422 2007-05-03 Wim Taymans <wim@fluendo.com>
2424 * docs/libs/gstreamer-libs-sections.txt:
2425 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2426 (gst_base_src_default_query), (gst_base_src_get_range):
2427 * libs/gst/base/gstbasesrc.h:
2428 API: gst_base_src_query_latency(). Added method so that subclasses can
2429 easily get the latency values of the base source class.
2431 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2433 * tools/gst-inspect.c (print_implementation_info):
2434 Remove 0.8 cruft.
2436 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2438 * tools/Makefile.am:
2439 * tools/gst-launch.1.in:
2440 Don't create a customised man page based on the host architecture,
2441 describe the default registry path generically. That way the man
2442 page is the same for all architectures and packagers have one
2443 multilib issue less to deal with. Fixes #434926.
2445 2007-05-02 Wim Taymans <wim@fluendo.com>
2447 * gst/gstpad.c:
2448 Fix documentation as spotted by rg on IRC.
2450 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2452 * gst/gstutils.c:
2453 Improve docs for gst_element_{link,unlink}.
2455 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2457 * docs/design/part-events.txt:
2458 * docs/design/part-overview.txt:
2459 * gst/gstevent.c:
2460 * gst/gsturi.c:
2461 * gst/gsturi.h:
2462 * libs/gst/base/gstbasesink.c:
2463 Typo fixes; minor docs addition.
2465 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2467 * docs/gst/gstreamer-sections.txt:
2468 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2469 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2470 * gst/gsturi.h:
2471 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2472 or src that supports a given URI protocol exists.
2474 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2476 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2477 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2478 Set the location to NULL if "file://" is set as URI. Otherwise
2479 some random previous URI would still be set if "file://" is
2480 set on an already used filesink/filesrc.
2482 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2484 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2485 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2486 Special case the "file://" URI as as this is used by some
2487 applications to test with gst_element_make_from_uri if there's
2488 an element that supports the URI protocol.
2489 Also move the g_path_is_absolute() check for the location part
2490 of the URI to also check this for "file://localhost/bla" URIs.
2492 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2494 * docs/gst/gstreamer-sections.txt:
2495 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2496 * gst/gstbuffer.h:
2497 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2498 (gst_buffer_suite):
2499 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2501 2007-04-26 Stefan Kost <ensonic@users.sf.net>
2503 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2504 (gst_registry_binary_load_pad_template),
2505 (gst_registry_binary_load_plugin),
2506 (gst_registry_binary_read_cache):
2507 * gst/gstregistrybinary.h:
2508 Implement no-mmap alternative for registry reading. Do code cleanups.
2509 Add more comments about avoiding strdups for all text data. Comments
2510 welcome.
2512 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2514 * gst/gstregistrybinary.h (GstBinaryPluginElement,
2515 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2516 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2517 Comment structs and reformat to fix the build (that stuff should go
2518 into a priv. header).
2520 2007-04-25 Stefan Kost <ensonic@users.sf.net>
2522 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2523 (gst_registry_binary_load_feature):
2524 * gst/gstregistrybinary.h:
2525 Refactor so that we can implement multiple features. Add support for
2526 TypeFindFactory features.
2528 2007-04-24 Stefan Kost <ensonic@users.sf.net>
2530 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2532 * configure.ac:
2533 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2535 2007-04-23 Stefan Kost <ensonic@users.sf.net>
2537 * gst/gstbin.c: (gst_bin_element_set_state),
2538 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2539 (bin_handle_async_done), (gst_bin_handle_message_func):
2540 Fix build with --gst-disable-gst-debug
2542 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
2544 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2545 Make sure streaming has finished before calling the ::stop() vfunc,
2546 since that vfunc might clear state which is being used in the
2547 streaming thread. This fixes a race that caused crashes in
2548 audioresample when shutting down a pipeline (#420106).
2550 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2552 * docs/gst/gstreamer-sections.txt:
2553 That was one byte missing.
2555 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2557 * configure.ac:
2558 * docs/gst/gstreamer-sections.txt:
2559 * gst/Makefile.am:
2560 * gst/gstconfig.h.in:
2561 * gst/gstobject.c: (gst_object_class_init),
2562 (gst_signal_object_class_init):
2563 * gst/gstobject.h:
2564 2nd attempt to have a xml-less build as a joined effort of #413123
2565 and #421480.
2567 2007-04-20 Stefan Kost <ensonic@users.sf.net>
2569 * docs/design/draft-tagreading.txt:
2570 Added open issues/thoughts to draft.
2572 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2574 * gst/parse/grammar.tab.pre.c:
2575 * gst/parse/grammar.tab.pre.h:
2576 * gst/parse/lex._gst_parse_yy.pre.c:
2577 Update the prebuild parser sources.
2579 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2581 * gst/parse/Makefile.am:
2582 And now fix the building of the flex sources. Now everything should
2583 work as expected.
2585 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2587 * gst/parse/Makefile.am:
2588 Now hopefully fix the build failures by setting proper rule
2589 dependencies and moving instead of copying.
2591 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2593 * tests/benchmarks/complexity.gnuplot:
2594 * tests/benchmarks/complexity.scm:
2595 * tests/benchmarks/mass-elements.gnuplot:
2596 * tests/benchmarks/mass-elements.scm:
2597 Total licensification.
2599 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2601 * gst/parse/Makefile.am:
2602 Fix the build by correcting the rule that gave wrong files to flex.
2604 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2606 * tests/benchmarks/complexity.c:
2607 * tests/benchmarks/mass-elements.c:
2608 Change licence to LGPL as granted by Benjamin and Andy.
2610 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2612 * gst/parse/Makefile.am:
2613 Add correct grammar.tab.h dependency if compiling without new enough
2614 flex. Fixes #431150.
2616 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2618 * gst/parse/Makefile.am:
2619 Fix typo and use outdated sources if the flex/bison sources are newer
2620 than the pregenerated ones but flex is too old. Print a warning in
2621 that case. This should fix the build on the build bot.
2623 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2625 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2626 * gst/parse/Makefile.am:
2627 * gst/parse/grammar.y:
2628 * gst/parse/parse.l:
2629 Make the parser reentrant and recursively callable. This requires flex
2630 >= 2.5.31, for older versions pregenerated sources are used as we
2631 can't bump the build dependency. Finally fixes #349180.
2633 * gst/gstparse.c: (gst_parse_launch):
2634 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2635 now anyway.
2637 * docs/gst/Makefile.am:
2638 * docs/gst/Makefile.am:
2639 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2640 (__gst_parse_strfree), (__gst_parse_link_new),
2641 (__gst_parse_link_free), (__gst_parse_chain_new),
2642 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2643 (gst_parse_element_set), (gst_parse_free_link),
2644 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2645 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2646 (_gst_parse_launch):
2647 * gst/parse/grammar.tab.pre.h:
2648 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2649 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2650 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2651 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2652 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2653 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2654 (_gst_parse_yypop_buffer_state),
2655 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2656 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2657 (yy_fatal_error), (_gst_parse_yyget_extra),
2658 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2659 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2660 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2661 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2662 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2663 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2664 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2665 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2666 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2667 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2668 (_gst_parse_yyfree):
2669 If the installed flex version is too old use pre-generated parser
2670 sources. These pre-generated parser sources are always updated when
2671 the actual flex/bison sources change but require everybody who wants
2672 to change something in the parser to have flex >= 2.5.31 installed.
2674 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2676 * common/m4/gst-gettext.m4:
2677 * gst/gst-i18n-lib.h:
2678 Make --disable-nls to work
2680 2007-04-17 Wim Taymans <wim@fluendo.com>
2682 * gst/gstconfig.h.in:
2683 Revert previous change that broke the build.
2685 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2687 * configure.ac:
2688 * gst/Makefile.am:
2689 * gst/gstconfig.h.in:
2690 Drop libxml2 dependency when building with
2691 --enable-binary-registry --disable-loadsave
2693 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2695 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2696 (gst_registry_binary_read_cache):
2697 * gst/gstregistrybinary.h:
2698 Remove unnecessary <sys/mman.h> include which broke the win32 build
2699 with MingW; move includes from header file to .c file, even if the
2700 header file isn't installed; use g_strerror() where UTF-8 strings
2701 are expected, such as in GST_DEBUG messages.
2703 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2705 * docs/libs/gstreamer-libs-sections.txt:
2706 Remove bogus addition for API I didn't end up keeping.
2708 * libs/gst/base/gstbasesrc.h:
2709 Mention Since: 0.10.13 in the documentation.
2711 Add the API keyword to the previous ChangeLog entry.
2713 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2715 * docs/libs/gstreamer-libs-sections.txt:
2716 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2717 (gst_base_src_default_prepare_seek_segment),
2718 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2719 * libs/gst/base/gstbasesrc.h:
2720 Allow basesrc derived classes to execute seeks in other formats
2721 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2722 to prepare the GstSegment in any format that their perform_seek method
2723 will be able to understand. The default implementation provides the
2724 old behaviour of attempting to convert the seek offsets to the
2725 configured native format.
2727 API: basesrc::prepare_seek_segment vmethod.
2729 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2731 * gst/gstelement.c: (gst_element_get_state_func):
2732 Don't output the same debug statement twice.
2734 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2735 (gst_adapter_peek), (gst_adapter_take_buffer):
2736 Optimise the case where we have buffers at the head of the queue that
2737 can be joined quickly (because they're contiguous sub-buffers) by
2738 merging them together rather than copying data out into new memory.
2740 * gst/parse/grammar.y:
2741 * tests/check/pipelines/parse-launch.c:
2742 Fix a leak in an error path for parse_launch, and add a check
2743 for it to the testsuite.
2745 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2747 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2748 Don't deadlock when releasing a pad - gst_pad_set_active may try
2749 and take the multiqueue lock too.
2751 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2753 * gst/gsterror.c: (_gst_core_errors_init):
2754 * gst/gsterror.h:
2755 API: add GST_CORE_ERROR_DISABLED (#392804).
2757 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2759 * docs/faq/gst-uninstalled:
2760 don't get empty paths on the PATH variables
2761 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2762 Don't format for the uncommon terminal width of 84 characters.
2764 2007-04-06 Wim Taymans <wim@fluendo.com>
2766 * gst/gstpipeline.c: (reset_stream_time),
2767 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2768 Only try to select a different pipeline clock when we went back to
2769 PAUSED and not when we merely got flushed.
2771 2007-04-05 Michael Smith <msmith@fluendo.com>
2773 * tools/gst-launch.1.in:
2774 fractions are better supported in gstreamer than ractions, so
2775 suggest using those.
2777 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2779 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2781 * po/LINGUAS:
2782 * po/da.po:
2783 Added Danish translation.
2785 2007-04-05 Wim Taymans <wim@fluendo.com>
2787 * libs/gst/base/gstbasesink.c:
2788 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2789 Fix leak caused when refusing newsegment after EOS.
2791 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2792 (gst_fake_sink_init), (gst_fake_sink_set_property),
2793 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2794 (gst_fake_sink_render), (gst_fake_sink_change_state):
2795 * plugins/elements/gstfakesink.h:
2796 Add num-buffers property to make the element generate EOS after a
2797 configurable amount of buffers.
2798 API: fakesink::num-buffers property.
2800 * tests/check/elements/fakesink.c: (GST_START_TEST),
2801 (fakesink_suite):
2802 Fix GstBus leak in test.
2803 Test for fakesink num-buffers.
2805 2007-04-05 Wim Taymans <wim@fluendo.com>
2807 * libs/gst/base/gstbasesink.c:
2808 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2809 (gst_base_sink_change_state):
2810 Don't accept anything after an EOS, return UNEXPECTED instead.
2812 * tests/check/elements/fakesink.c: (GST_START_TEST),
2813 (fakesink_suite):
2814 Unit test for new EOS behaviour.
2816 2007-04-05 Wim Taymans <wim@fluendo.com>
2818 * gst/gstelement.c: (gst_element_get_request_pad):
2819 Make padtemplates also work when they don't contain %s or %d.
2821 2007-04-05 Wim Taymans <wim@fluendo.com>
2823 * docs/gst/gstreamer-sections.txt:
2824 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2825 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2826 * gst/gstclock.h:
2827 Improve _adjust_unlocked() so that it overflows less.
2828 Add gst_clock_unadjust_unlocked to convert from external time to
2829 internal time based on calibration.
2830 Add some more debug.
2831 API: GstClock::gst_clock_unadjust_unlocked()
2833 2007-04-03 Wim Taymans <wim@fluendo.com>
2835 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2837 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2838 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2839 when releasing sink pad. Fixes #425400.
2841 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2843 * docs/random/ensonic/dynlink.txt:
2844 More work on proposal for new core api.
2846 * docs/libs/gstreamer-libs-sections.txt:
2847 * libs/gst/base/gstbasetransform.h:
2848 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2850 * libs/gst/controller/gstcontroller.c:
2851 (on_object_controlled_property_changed),
2852 (gst_controller_sync_values),
2853 (gst_controller_set_interpolation_mode):
2854 * libs/gst/controller/gstcontroller.h:
2855 Less verbose logging add docs for unimplemented parts and correctly
2856 return when using unavailable parts.
2858 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2860 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2861 Move all the debug to the CLOCK category, and associate it with
2862 the clock object.
2864 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2866 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2867 Make take_buffer a bit quicker by removing redundant checks
2868 caused by calling gst_adapter_take.
2870 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2872 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2873 Don't leak GCond.
2875 * tests/check/Makefile.am:
2876 * tests/check/elements/.cvsignore:
2877 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2878 (GST_START_TEST), (multiqueue_suite):
2879 Add some dead simple unit tests for the 'multiqueue' element
2880 (some bits don't work yet and are disabled for now).
2882 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2884 * gst/gstelement.c: (gst_element_get_request_pad),
2885 (gst_element_class_get_request_pad_template):
2886 Make gst_element_get_request_pad() create request pads only for
2887 request pad templates and not for, say, sometimes pad templates.
2889 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2891 * docs/design/draft-klass.txt:
2892 Add example that needs more thinking.
2894 * docs/design/draft-missing-plugins.txt:
2895 More thoughts about wrapper plugins.
2897 * docs/random/ensonic/embedded.txt:
2898 * docs/random/ensonic/profiling.txt:
2899 More design work.
2901 2007-03-25 Wim Taymans <wim@fluendo.com>
2903 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2904 (gst_base_src_loop):
2905 Only push the segment events in the PLAYING state for live sources.
2907 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2909 * gst/gstpipeline.c: (gst_pipeline_change_state):
2910 Modify the clock distribution path in PAUSED->PLAYING so that we
2911 never attempt to choose a new clock unless we're actually leaving
2912 the PAUSED state for the first time. This prevents choosing a
2913 different clock when the state_change gets called for a 2nd time due
2914 to some element doing an async state change.
2916 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2918 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2919 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2920 (gst_pad_chain_unchecked), (gst_pad_push):
2921 Revert last commit. This needs some more thoughts.
2923 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2925 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2926 (gst_pad_chain_unchecked), (gst_pad_push):
2927 Check in set_caps if the caps are compatible with the pad and remove
2928 two functions that are redundant now. Fixes #421543.
2930 2007-03-22 Wim Taymans <wim@fluendo.com>
2932 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2933 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2934 Unref some more to make valgrind happy.
2936 2007-03-22 Wim Taymans <wim@fluendo.com>
2938 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2939 (gst_system_clock_id_wait_jitter),
2940 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2941 Fix anoying regression that survived a few releases. When adding an
2942 async entry while blocking on a sync entry, the sync entry will unblock
2943 but still be busy, so it should continue to wait instead of returning
2944 _BUSY to the app.
2945 Add some comments here and there.
2947 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2948 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2949 Add testcase for this.
2951 2007-03-22 Wim Taymans <wim@fluendo.com>
2953 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2954 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2955 WRONG_STATE and can silently pause the task. All other cases should
2956 error out.
2958 2007-03-22 Wim Taymans <wim@fluendo.com>
2960 Patch by: Ville Syrjala <syrjala at sci dot fi>
2962 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2963 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2964 Improve debugging.
2966 2007-03-21 Michael Smith <msmith@fluendo.com>
2968 * docs/pwg/advanced-types.xml:
2969 Fix some errors in the typefinding docs pointed out on irc.
2971 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2973 * libs/gst/base/gstbasesrc.c:
2974 Clarify FIXME comment in the face of having added unlock_stop()
2976 2007-03-21 Wim Taymans <wim@fluendo.com>
2978 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2979 Prepare for release where we warn against possible app breakage in the
2980 case of live pipelines along with an env var to enable/disable live
2981 preroll mode (GST_COMPAT=[no-]live-preroll).
2983 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2985 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2986 So we should use correct constants for checking for None offset.
2988 2007-03-20 Wim Taymans <wim@fluendo.com>
2990 * docs/design/part-block.txt:
2991 Mention the fact that the newly switched element should be set to at
2992 least PAUSED.
2994 2007-03-20 Wim Taymans <wim@fluendo.com>
2996 * gst/gst.c:
2997 Fix compilation with registry disabled as spotted by Saur.
2999 2007-03-20 Wim Taymans <wim@fluendo.com>
3001 Patch by: Olivier Crete <tester at tester dot ca>
3003 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3004 Look at the pending state too when syncing the element state to the
3005 parent. Fixes #420133.
3007 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3009 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3010 (gst_base_sink_change_state):
3011 * libs/gst/base/gstbasesink.h:
3012 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3013 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3014 (gst_base_src_deactivate):
3015 * libs/gst/base/gstbasesrc.h:
3016 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3017 for sub-classes to correctly clear any state they set trying to
3018 unlock, such as clearing out unlock commands from a command fd.
3019 API: basesrc::unlock_stop
3020 API: basesink::unlock_stop
3022 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3023 (gst_fd_sink_render), (gst_fd_sink_unlock),
3024 (gst_fd_sink_unlock_stop):
3025 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3026 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3027 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3029 Implement unlock_stop in fdsrc and fdsink.
3030 Implement seeking in fdsrc when a seekable fd is passed, as in
3031 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3033 2007-03-19 Wim Taymans <wim@fluendo.com>
3035 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3037 * gst/gstelement.c: (gst_element_class_init):
3038 Fix pad-added and pad-removed signal signatures so that the pad type is
3039 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3041 2007-03-19 Wim Taymans <wim@fluendo.com>
3043 * docs/gst/gstreamer-sections.txt:
3044 Add new element field and method.
3046 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3047 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3048 (gst_bin_recalc_state), (gst_bin_get_state_func),
3049 (gst_bin_element_set_state), (gst_bin_change_state_func),
3050 (gst_bin_continue_func), (bin_bus_handler),
3051 (bin_push_state_continue), (bin_handle_async_start),
3052 (bin_handle_async_done), (gst_bin_handle_message_func):
3053 Make async state changes a bit smarter by using new ASYNC_START and
3054 ASYNC_DONE messages. This reduces the number of times we run the state
3055 recalculation thread.
3056 Don't change state of element with a pending ASYNC_START message.
3057 Deprecate STATE_DIRTY messages.
3059 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3060 (gst_element_get_state_func), (gst_element_continue_state),
3061 (gst_element_lost_state), (gst_element_set_state_func),
3062 (gst_element_change_state):
3063 * gst/gstelement.h:
3064 Keep the state that was last set by the app in a new element field.
3065 Don't allow state changes when handling an element event.
3066 Post ASYNC_START and ASYNC_DONE messages.
3067 Change lost_state so that we go to PAUSED and wait for the parent to set
3068 us to PLAYING again (so latency calculation can be performed)
3069 Export gst_element_change_state() method so that subclasses can use it.
3070 API: gst_element_change_state()
3071 API: GST_STATE_TARGET
3073 * gst/gstpipeline.c: (gst_pipeline_class_init),
3074 (reset_stream_time), (gst_pipeline_change_state),
3075 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3076 Using the new ASYNC_START message we can reset the base_time when
3077 needed. This can then be used to implement base_time redistribution in
3078 flushing seeks so that we can remove the explicit seek handling.
3079 Perform latency query and configuration when going to PLAYING.
3081 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3082 (gst_base_sink_query), (gst_base_sink_change_state):
3083 Post new ASYNC_START/ASYNC_DONE messages.
3085 * tests/check/generic/sinks.c: (GST_START_TEST):
3086 Fix test because the bin will not set the async element to PLAYING right
3087 away.
3089 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3090 Make the message check a little stronger.
3091 Handle ASYNC messages.
3093 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3094 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3095 Expect ASYNC_DONE messages.
3097 2007-03-19 Wim Taymans <wim@fluendo.com>
3099 * docs/gst/gstreamer-sections.txt:
3100 * gst/gstmessage.c: (gst_message_new_async_start),
3101 (gst_message_new_async_done), (gst_message_parse_info),
3102 (gst_message_parse_async_start):
3103 * gst/gstmessage.h:
3104 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3105 support.
3107 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3109 * tools/gst-inspect.c:
3110 (print_plugin_automatic_install_info_codecs):
3111 Now that we don't check for the 'Codec' keyword any longer in the
3112 klass, we shouldn't spew a warning if the klass isn't a decoder or
3113 encoder (since it might be a Source/Network, for example).
3115 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3117 * tools/gst-inspect.c:
3118 (print_plugin_automatic_install_info_codecs):
3119 Don't require decoder/demuxer/depayloader elements or
3120 encoder/muxer/paylader elements to have 'Codec' as part of their
3121 factory class string when introspecting a plugin's capabilities.
3122 draft-klass.txt mentions that it might be removed in future, and
3123 flump3dec doesn't have it as part of its class string, so chances
3124 are others might also not have it.
3126 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3128 * po/af.po:
3129 * po/az.po:
3130 * po/bg.po:
3131 * po/ca.po:
3132 * po/cs.po:
3133 * po/de.po:
3134 * po/en_GB.po:
3135 * po/fr.po:
3136 * po/it.po:
3137 * po/nb.po:
3138 * po/nl.po:
3139 * po/ru.po:
3140 * po/sq.po:
3141 * po/sr.po:
3142 * po/sv.po:
3143 * po/tr.po:
3144 * po/uk.po:
3145 * po/vi.po:
3146 * po/zh_CN.po:
3147 * po/zh_TW.po:
3148 Update translations from translation project
3150 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3152 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3153 (gst_child_proxy_set_property):
3154 Invert precondition check to be alike the ones in the mimiced gobject
3155 api.
3157 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3159 * docs/design/draft-tagreading.txt:
3160 * docs/random/ensonic/audiobaseclasses.txt:
3161 Do some Architect work.
3163 * gst/gstobject.c: (gst_object_set_name):
3164 Add a WARNING.
3166 * gst/gstpad.c:
3167 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3169 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3171 * gst/gstsystemclock.c: (gst_system_clock_init),
3172 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3173 Defer starting the async system clock thread until the first async
3174 wait is scheduled. Fixes #414986.
3176 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3178 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3179 (gst_single_queue_free):
3180 Fix small leak (free GstSingleQueue structure too, not only contents).
3182 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3184 * gst/gstbin.c:(gst_bin_add):
3185 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3186 * win32/common/libgstbase.def:
3187 * win32/common/libgstreamer.def:
3188 Add new exported functions.
3190 2007-03-09 Wim Taymans <wim@fluendo.com>
3192 * docs/plugins/gstreamer-plugins-sections.txt:
3193 Fix GstTee docs.
3195 2007-03-09 Wim Taymans <wim@fluendo.com>
3197 * docs/gst/gstreamer-sections.txt:
3198 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3199 * gst/gstbuffer.h:
3200 Add metadata copy functions. Fixes #393099.
3201 API: gst_buffer_copy_metadata()
3203 * gst/gstutils.c: (gst_buffer_stamp):
3204 * libs/gst/base/gstbasetransform.c:
3205 (gst_base_transform_prepare_output_buffer):
3206 Use new metadata copy functions.
3208 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3210 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3211 (gst_identity_init), (gst_identity_check_perfect),
3212 (gst_identity_check_imperfect_timestamp),
3213 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3214 (gst_identity_set_property), (gst_identity_get_property):
3215 * plugins/elements/gstidentity.h:
3216 Separate out check-imperfect-timestamp and check-imperfect-offset.
3217 Put back check-perfect as it was to keep compatibility.
3219 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3221 * gst/gstelement.c: (gst_element_dispose):
3222 There's no need to warn if VOID_PENDING is not NONE here, as
3223 long as the state is NULL it's ok, and that's checked immediately
3224 above.
3226 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3228 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3229 Fix check for perfect stream to ignore buffers with -1
3230 offsets/offset ends when checking data contiguity.
3232 2007-03-08 Wim Taymans <wim@fluendo.com>
3234 * tools/gst-launch.c: (event_loop):
3235 Print INFO messages.
3237 2007-03-08 Wim Taymans <wim@fluendo.com>
3239 * libs/gst/base/gstbasetransform.c:
3240 (gst_base_transform_sink_eventfunc),
3241 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3242 (gst_base_transform_activate):
3243 * libs/gst/base/gstbasetransform.h:
3244 Add support for dropping buffers with custom GstFlowReturn.
3245 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3246 buffers or dropped buffers.
3248 * docs/libs/gstreamer-libs-sections.txt:
3249 docs for new custom return code.
3251 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3252 Use drop support in base class to implement drop-probability.
3254 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3256 * gst/gst.c: (load_plugin_func):
3257 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3258 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3259 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3260 Remove newlines at end of debug log strings.
3262 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3264 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3265 Only post bus message at max, once per buffer received.
3267 2007-03-07 Wim Taymans <wim@fluendo.com>
3269 * docs/design/Makefile.am:
3270 * docs/design/part-synchronisation.txt:
3271 Add doc about synchronisation
3273 * docs/design/draft-latency.txt:
3274 * docs/design/part-TODO.txt:
3275 * docs/design/part-clocks.txt:
3276 * docs/design/part-events.txt:
3277 * docs/design/part-gstbus.txt:
3278 * docs/design/part-gstpipeline.txt:
3279 * docs/design/part-live-source.txt:
3280 * docs/design/part-messages.txt:
3281 * docs/design/part-overview.txt:
3282 * docs/design/part-streams.txt:
3283 * docs/design/part-trickmodes.txt:
3284 Documentation updates.
3286 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3288 * gstreamer.doap:
3289 Update the doap file.
3291 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3293 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3294 Rename non-perfect to imperfect for Mike and for the sanctity of the
3295 language.
3296 Also make sure bus message gets emitted for data-incontiguities.
3298 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3300 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3301 (gst_identity_start):
3302 * plugins/elements/gstidentity.h:
3303 Emit bus message if check-perfect is true and we encounter a
3304 non-perfect stream between 2 consecutive buffers.
3305 Fixes #415394.
3307 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3309 * configure.ac:
3310 Back to CVS
3312 === release 0.10.12 ===
3314 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3316 * configure.ac:
3317 releasing 0.10.12, "Inevitable Demise"
3319 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3321 * configure.ac:
3322 Version 0.10.11.2 (0.10.12 pre-release)
3323 Bump libtool versioning.
3325 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3327 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3328 Log flow-names and not numbers.
3330 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3332 * configure.ac:
3333 Convert to new AG_GST style.
3335 2007-02-28 Wim Taymans <wim@fluendo.com>
3337 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3338 Don't unref query twice.
3340 2007-02-28 Wim Taymans <wim@fluendo.com>
3342 * gst/gstvalue.c: (gst_value_transform_object_string),
3343 (_gst_value_initialize):
3344 Implement GstObject -> string transform so we print object names
3345 when serializing GValues containing GstObjects.
3347 2007-02-28 Wim Taymans <wim@fluendo.com>
3349 * docs/gst/gstreamer-sections.txt:
3350 Add new stuff to docs.
3352 2007-02-28 Wim Taymans <wim@fluendo.com>
3354 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3355 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3356 (gst_base_sink_change_state):
3357 Improve latency query code.
3358 Don't leak latency events.
3360 * tests/check/gst/gstbin.c: (GST_START_TEST):
3361 Improve debugging.
3363 2007-02-28 Wim Taymans <wim@fluendo.com>
3365 * gst/gstelement.c: (gst_element_message_full),
3366 (gst_element_get_state_func):
3367 * gst/gstelement.h:
3368 Improve docs a little. Added Since: for new macro.
3370 * gst/gstobject.c: (gst_object_sink):
3371 * gst/gstpipeline.c: (gst_pipeline_change_state),
3372 (gst_pipeline_set_new_stream_time):
3373 * gst/gstpipeline.h:
3374 Improve debugging and docs.
3376 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3377 Improve debugging.
3379 2007-02-28 Wim Taymans <wim@fluendo.com>
3381 * gst/gstelement.c: (gst_element_message_full),
3382 (gst_element_set_locked_state), (gst_element_get_state_func),
3383 (gst_element_change_state):
3384 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3385 Documentation updates.
3386 Small code cleanups.
3388 * gst/gstmessage.c: (gst_message_new_info),
3389 (gst_message_parse_info):
3390 * gst/gstmessage.h:
3391 API: gst_message_new_info()
3392 API: gst_message_parse_info()
3393 Add INFO message create and parse code.
3395 2007-02-28 Wim Taymans <wim@fluendo.com>
3397 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3398 (bin_query_latency_done):
3399 Also report the live parameter of a latency query.
3401 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3403 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3404 Copy the current generic/states example from -base and adapt so
3405 we can use the exact same code everywhere.
3406 Check a STATES_IGNORE_ELEMENTS env var which can be used
3407 to ignore certain element factories for this test, which is
3408 what is being done in -base
3409 * tests/check/Makefile.am:
3410 Mention this environment variable.
3412 2007-02-27 Wim Taymans <wim@fluendo.com>
3414 * docs/gst/gstreamer-sections.txt:
3415 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3416 (gst_bus_timed_pop), (gst_bus_pop):
3417 * gst/gstbus.h:
3418 API: gst_bus_timed_pop()
3419 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3420 message to arrive on the bus.
3422 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3423 (gst_bus_suite):
3424 Two unit tests for new _timed_pop() function.
3426 2007-02-23 Wim Taymans <wim@fluendo.com>
3428 * gst/gstpipeline.c: (gst_pipeline_change_state),
3429 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3430 Don't ref a NULL clock in _provide_clock_func().
3431 Don't allow an INVALID delay.
3432 Don't try to calculate base_time with an invalid start_time.
3433 Also distribute and notify a NULL clock when it was selected.
3435 * tools/gst-launch.c: (event_loop):
3436 Don't crash when a NULL clock was selected in the pipeline.
3438 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3440 * docs/design/Makefile.am:
3441 * docs/design/draft-missing-plugins.txt:
3442 * docs/random/draft-missing-plugins.txt:
3443 Some small updates: update plugin system identifier prefix
3444 ('gstreamer.net' to 'gstreamer'), mention our new install
3445 API in libgstbaseutils rather than libgimme-codec, add
3446 reference to the online docs.
3448 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3450 * win32/common/config.h:
3451 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3452 use moap cl ci to only check in what is mentioned in the ChangeLog.
3454 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3456 * docs/gst/gstreamer-sections.txt:
3457 * gst/gstelement.h:
3458 Fix up documentation to link to the correct GstGError section.
3459 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3461 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3463 * tools/gst-launch.c: (event_loop):
3464 Make sure that we actually show the important message part of a
3465 warning message.
3466 No need to check if the gerror is not NULL to free; first of all
3467 g_free accepts NULL; and second the default error handler would
3468 segfault if gerror was NULL.
3470 2007-02-21 Wim Taymans <wim@fluendo.com>
3472 * docs/gst/gstreamer-sections.txt:
3473 Removed docs as well.
3475 2007-02-21 Wim Taymans <wim@fluendo.com>
3477 * gst/gstmessage.c: (gst_message_parse_duration):
3478 * gst/gstmessage.h:
3479 Remove new messages for release.
3481 2007-02-20 Wim Taymans <wim@fluendo.com>
3483 * docs/design/part-gstghostpad.txt:
3484 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3485 (gst_ghost_pad_new_full):
3486 Make the ghostpad a parent of the internal pad again for better backward
3487 compatibility. Don't write code that relies on this however.
3489 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3490 (gst_pad_link_check_hierarchy):
3491 Require that parents should be GstElements in the hierarchy check.
3493 2007-02-20 Wim Taymans <wim@fluendo.com>
3495 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3496 (gst_bin_change_state_func), (bin_query_min_max_init),
3497 (bin_query_latency_fold), (bin_query_latency_done),
3498 (gst_bin_query):
3499 Improve debug info.
3500 Implement latency query.
3502 2007-02-20 Wim Taymans <wim@fluendo.com>
3504 * docs/design/part-gstghostpad.txt:
3505 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3506 (gst_ghost_pad_internal_do_activate_push),
3507 (gst_ghost_pad_internal_do_activate_pull),
3508 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3509 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3510 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3511 Do not set the internal pad as a parent anymore so we can avoid
3512 hierarchy linking errors when the ghostpad has no parent yet. This also
3513 fixes failed activation because of unlinked internal pads, which in
3514 turn fixes the impossible case where you have to activate a pad before
3515 you can add it to a running element.
3516 Also fix the docs.
3518 * gst/gstpad.c: (pre_activate), (post_activate),
3519 (gst_pad_set_active), (gst_pad_activate_pull),
3520 (gst_pad_activate_push), (gst_pad_check_pull_range):
3521 Add some more debug info.
3522 Mark activation mode in pre_activate so that we don't try to activate in
3523 endless loops. Fixes #385084.
3525 2007-02-19 Wim Taymans <wim@fluendo.com>
3527 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3528 (gst_base_transform_check_get_range):
3529 Implement a checkgetrange function instead of relying on the default
3530 core behaviour that assumes we can operate in pull mode if we have a
3531 getrange function. First step at fixing #385084.
3533 2007-02-15 Stefan Kost <ensonic@users.sf.net>
3535 * gst/gstchildproxy.h:
3536 * libs/gst/base/gstbasesink.h:
3537 * libs/gst/base/gstbasesrc.h:
3538 * libs/gst/base/gstbasetransform.h:
3539 More docs coverage and some ChangeLog surgery (add missing names)
3541 2007-02-15 Wim Taymans <wim@fluendo.com>
3543 * docs/design/part-TODO.txt:
3544 * docs/design/part-activation.txt:
3545 * docs/design/part-block.txt:
3546 * docs/design/part-buffering.txt:
3547 * docs/design/part-clocks.txt:
3548 * docs/design/part-element-source.txt:
3549 * docs/design/part-events.txt:
3550 * docs/design/part-gstbin.txt:
3551 * docs/design/part-gstbus.txt:
3552 * docs/design/part-gstpipeline.txt:
3553 * docs/design/part-live-source.txt:
3554 * docs/design/part-messages.txt:
3555 * docs/design/part-overview.txt:
3556 * docs/design/part-qos.txt:
3557 * docs/design/part-query.txt:
3558 * docs/design/part-states.txt:
3559 * docs/design/part-trickmodes.txt:
3560 Some doc updates. Start renaming from stream_time to running_time where
3561 it was used wrongly.
3563 2007-02-15 Wim Taymans <wim@fluendo.com>
3565 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3566 Answer LATENCY query.
3568 2007-02-15 Wim Taymans <wim@fluendo.com>
3570 * tests/check/gst/gstevent.c: (event_probe), (test_event),
3571 (GST_START_TEST):
3572 Improve debugging.
3574 2007-02-15 Wim Taymans <wim@fluendo.com>
3576 * gst/gstpad.c: (gst_pad_get_internal_links_default),
3577 (gst_pad_dispatcher):
3578 Improve debugging of default pad dispatcher and query functions.
3580 2007-02-15 Wim Taymans <wim@fluendo.com>
3582 * docs/gst/gstreamer-sections.txt:
3583 Remove old unused method.
3585 2007-02-13 Wim Taymans <wim@fluendo.com>
3587 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3588 Fix check
3590 2007-02-13 Wim Taymans <wim@fluendo.com>
3592 * docs/design/part-seeking.txt:
3593 Some small update.
3595 * gst/gstsegment.c: (gst_segment_set_seek):
3596 Revert old bogus change that should make seeking work again.
3598 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3600 * docs/random/ensonic/dynlink.txt:
3601 * docs/random/ensonic/interfaces.txt:
3602 * docs/random/ensonic/receipies.txt:
3603 Possible dynamic reconnection api, plus some type fixes the other two
3604 docs.
3606 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3608 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3609 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3610 Also check for an absolute path following file:// in the filesrc
3611 element. Remove redundant check and call g_path_is_absolute() on the
3612 unescaped location.
3614 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3616 * docs/design/draft-klass.txt:
3617 Add existing category analysis.
3619 * gst/gstcaps.c:
3620 Fix doc example, framerate is a fraction.
3622 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3624 * configure.ac:
3625 * docs/gst/Makefile.am:
3626 * docs/gst/gstreamer-sections.txt:
3627 * docs/libs/Makefile.am:
3628 Erm, forgot a bunch of --extra-dir.
3630 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3632 * configure.ac:
3633 * docs/gst/Makefile.am:
3634 * docs/libs/Makefile.am:
3635 * docs/plugins/Makefile.am:
3636 Add crossreferences to glib/gobject docs.
3638 2007-02-12 Wim Taymans <wim@fluendo.com>
3640 * docs/design/draft-latency.txt:
3641 Small update.
3643 * docs/libs/gstreamer-libs-sections.txt:
3644 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3645 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3646 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3647 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3648 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3649 (gst_base_sink_get_position), (gst_base_sink_query),
3650 (gst_base_sink_change_state):
3651 * libs/gst/base/gstbasesink.h:
3652 API: gst_base_sink_query_latency() to let subclasses query the upstream
3653 latency.
3654 API: gst_base_sink_get_latency() to let subclasses query the configured
3655 latency in the sink.
3656 Implement query and set latency.
3657 Update some docs.
3658 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3659 don't continue preroll when we are flushing. Fixes #405284.
3661 * tests/check/pipelines/stress.c: (change_state_timeout),
3662 (quit_timeout), (GST_START_TEST), (stress_suite):
3663 Test for #405284.
3665 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3667 Patch by: René Stadler <mail at renestadler de>
3669 * docs/gst/gstreamer-sections.txt:
3670 * gst/gsttaglist.c: (_gst_tag_initialize):
3671 * gst/gsttaglist.h:
3672 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3674 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3676 * docs/libs/Makefile.am:
3677 Fix path to core docs.
3679 * gst/gstbin.c: (gst_bin_get_by_interface),
3680 (gst_bin_iterate_all_by_interface):
3681 Refix docs by also renaming 'interface' to 'iface' in implementation.
3683 * docs/gst/gstreamer-sections.txt:
3684 * gst/gstcaps.c:
3685 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3686 * gst/gstchildproxy.h:
3687 * gst/gstelementfactory.c:
3688 * gst/gstpadtemplate.h:
3689 * libs/gst/controller/gstcontroller.c:
3690 (gst_controlled_property_new):
3691 Document more.
3693 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3695 * gst/gstbin.h:(gst_bin_get_by_interface),
3696 (gst_bin_iterate_all_by_interface):
3697 Replace interface parameter name by iface as interface is
3698 a reserved keyword in Visual Studio for C++ projects so it removes
3699 a build error for application developpers using VS.
3700 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3701 Fix a bug on Windows in uri format check. Now the prefix checked
3702 is file:// and next we check if the path after file:// is absolute.
3703 * win32/common/libgstbase.def:
3704 * win32/common/libgstdataprotocol.def:
3705 * win32/common/libgstgstreamer.def:
3706 Add new exported functions.
3708 2007-02-09 Andy Wingo <wingo@pobox.com>
3710 * tests/check/pipelines/simple-launch-lines.c
3711 (simple_launch_lines_suite, test_tee): Disable tee test until I
3712 have time to fix it :-(
3714 * tests/check/Makefile.am (noinst_HEADERS):
3715 * tests/check/libs/libsabi.c:
3716 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3717 * tests/check/gst/gstabi.c:
3718 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3720 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3721 tests for push and pull tee behavior.
3723 * plugins/elements/gsttee.h:
3724 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3725 mark as deprecated as well as unimplemented. It was a crack idea.
3726 Add support for tee operating in pull mode, off by default.
3728 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3729 normal-case logs down to LOG, raise errors to WARNING.
3730 (gst_registry_xml_read_cache): Don't log before calling a function
3731 that logs.
3733 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3734 exit (registry finalize).
3735 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3736 DEBUG log when we emit signals that people don't even have the
3737 chance to connect to.
3738 (gst_registry_scan_path_level): Less logging in the normal case.
3740 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3742 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3744 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3745 Correctly generate EOS for non-seekable files. We don't have a total
3746 length for them and would get an unexpected end of file if we only
3747 special-cased for regular files. (Fixes: #404569)
3749 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3751 * tests/check/elements/filesrc.c: (GST_START_TEST),
3752 (filesrc_suite):
3753 Add unit test for the GstURIHandler interface in filesrc. This also
3754 tests the newly added file://localhost/foo/bar support.
3756 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3758 * gst/gstelementfactory.h:
3759 The klass string is not a hierarchy. Add reference to the design doc
3760 for more information and common types.
3762 2007-02-02 Wim Taymans <wim@fluendo.com>
3764 * gst/gstquery.c: (gst_query_new_latency):
3765 Remove old structure field.
3767 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3769 * tools/gst-launch.1.in:
3770 Give example for network streaming (#351998)
3772 2007-02-02 Wim Taymans <wim@fluendo.com>
3774 * docs/gst/gstreamer-sections.txt:
3775 Add docs for new methods.
3777 * gst/gstevent.c: (gst_event_new_latency),
3778 (gst_event_parse_latency):
3779 * gst/gstevent.h:
3780 Add new LATENCY event to configure latency in a pipeline.
3781 API: gst_event_new_latency
3782 API: gst_event_parse_latency
3784 * gst/gstmessage.c: (gst_message_new_buffering),
3785 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3786 (gst_message_new_latency), (gst_message_parse_buffering),
3787 (gst_message_parse_lost_preroll):
3788 * gst/gstmessage.h:
3789 Added messages used in draft-latency.
3790 API: gst_message_new_lost_preroll
3791 API: gst_message_parse_lost_preroll
3792 API: gst_message_new_prerolled
3793 API: gst_message_new_latency
3795 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3796 (gst_query_parse_latency):
3797 * gst/gstquery.h:
3798 Implemented new latency query as in design doc.
3799 API: gst_query_new_latency
3800 API: gst_query_set_latency
3801 API: gst_query_parse_latency
3803 2007-02-02 Wim Taymans <wim@fluendo.com>
3805 * docs/design/draft-latency.txt:
3806 Slight redesign to allow for dynamic latency adjustments.
3808 * docs/design/part-negotiation.txt:
3809 Fix some typos.
3811 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3813 reviewed by: Wim Taymans <wim@fluendo.com>
3815 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3816 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3817 Allow file://localhost/foo/bar URLs and correctly fail for every other
3818 hostname that one sets. This was gnomevfssrc is linked for those if
3819 installed as it can handle it (#403172)
3821 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3823 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3825 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3826 (unref_data), (gst_collect_pads_add_pad_full):
3827 * libs/gst/base/gstcollectpads.h:
3828 Don't put the previously added destroy notify in the GstCollectData
3829 struct as all it's padding is already used and we don't want to break
3830 ABI. Instead put in the pad's GObject data for now. This should be
3831 cleaned up for 0.11 (#402393).
3833 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3835 reviewed by: Wim Taymans <wim@fluendo.com>
3837 * docs/libs/gstreamer-libs-sections.txt:
3838 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3839 (unref_data), (gst_collect_pads_add_pad),
3840 (gst_collect_pads_add_pad_full):
3841 * libs/gst/base/gstcollectpads.h:
3842 API: Add function to specify a destroy notification for custom
3843 GstCollectData when adding new pads in GstCollectPads (#402393).
3845 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3847 * po/sv.po:
3848 Update Swedish translation (#378255).
3850 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3852 * docs/design/draft-klass.txt:
3853 Fix the previous change, this is a list of categories and not a hierarchy.
3855 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3857 * docs/design/draft-klass.txt:
3858 Add info about how to get a list of used classes.
3860 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3862 * plugins/elements/gsttypefindelement.c:
3863 (gst_type_find_element_chain_do_typefinding),
3864 (gst_type_find_element_change_state):
3865 Don't leak found caps in chain function (no idea why that never
3866 showed up as a leak anywhere).
3868 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3870 * gst/gstplugin.h:
3871 Fix and expand GstPluginDesc API docs.
3873 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3875 * gst/gstcaps.c:
3876 * gst/gstelementfactory.c:
3877 * gst/gstpadtemplate.h:
3878 api doc fixes
3880 * libs/gst/controller/gstcontroller.c:
3881 (gst_controlled_property_new):
3882 * tests/examples/controller/audio-example.c:
3883 comment fixes
3885 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3887 * configure.ac:
3888 comment about refining the xml deps
3890 * docs/manuals.mak:
3891 comments about moving away from jade for docs
3893 * gst/gst.c:
3894 recommit the ifdefs to use the binary registry
3896 * gst/gstbin.c: (gst_bin_change_state_func):
3897 this break is obsolete
3899 * gst/gstelementfactory.h:
3900 better GST_ELEMENT_DETAILS docs, add comment about translation
3902 * gst/gstinfo.h:
3903 remove eol slash
3905 * gst/gstobject.c: (gst_signal_object_get_type):
3906 add G_UNLIKELY as usual
3908 * gst/gstpad.c: (gst_pad_event_default):
3909 add fall trhu comment
3911 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3912 (gst_registry_binary_initialize_magic),
3913 (gst_registry_binary_save_string),
3914 (gst_registry_binary_save_pad_template),
3915 (gst_registry_binary_save_feature),
3916 (gst_registry_binary_save_plugin),
3917 (gst_registry_binary_write_cache),
3918 (gst_registry_binary_check_magic),
3919 (gst_registry_binary_load_pad_template),
3920 (gst_registry_binary_load_feature),
3921 (gst_registry_binary_load_plugin),
3922 (gst_registry_binary_read_cache):
3923 comment typo and formatting
3925 * gst/gstutils.c: (gst_element_state_get_name),
3926 (gst_element_state_change_return_get_name):
3927 remove obsolete breaks
3929 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3930 add FIXME 0.11 and remove cpp comment
3932 2007-01-29 Edward Hervey <edward@fluendo.com>
3934 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3935 Fix print statement in an even more portable way.
3937 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3939 * docs/gst/gstreamer-sections.txt:
3940 * gst/gstutils.h:
3941 API: add GST_ROUND_DOWN_* macros (#401781).
3943 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3945 * docs/gst/gstreamer.types.in:
3946 * gst/gstregistry.c: (gst_registry_class_init):
3947 Document registry signals and make gtk-doc pick them up (#401381).
3949 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3951 * docs/pwg/building-testapp.xml:
3952 Add some audioconverts and audioresample to the pipeline, and some
3953 more comments and error handling.
3955 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3957 * docs/manual/manual.xml:
3958 * docs/pwg/pwg.xml:
3959 Fix typo (#400987).
3961 2007-01-26 Wim Taymans <wim@fluendo.com>
3963 * gst/gstcaps.c: (gst_static_caps_get):
3964 Init caps flags too.
3966 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3968 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3970 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3971 If not using mmap'ed files try to seek to the end instead of the
3972 start to determine whether we can seek at all. This fixes the case
3973 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3974 seeks for everything afterwards fail. Fixes #400656
3976 2007-01-25 Wim Taymans <wim@fluendo.com>
3978 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3979 Add some refcount debugging.
3980 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3981 in multiple streaming threads.
3983 2007-01-25 Wim Taymans <wim@fluendo.com>
3985 Patch by: David Schleef <ds at schleef dot org>
3987 * docs/libs/gstreamer-libs-sections.txt:
3988 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3989 * libs/gst/base/gstadapter.h:
3990 API: gst_adapter_copy() that can reduce the amount of memcpy when
3991 getting data from the adapter. Fixes #388201.
3993 2007-01-25 Edward Hervey <edward@fluendo.com>
3995 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3996 In print statements, "%x" is for guint. Fixes build on macosx.
3998 2007-01-24 Edward Hervey <edward@fluendo.com>
4000 * plugins/elements/gstmultiqueue.c:
4001 (gst_multi_queue_loop):
4002 Small fix.
4003 (single_queue_overrun_cb), (single_queue_underrun_cb),
4004 (single_queue_check_full), (gst_single_queue_new):
4005 Implement single queue growth system.
4006 This uses the extra-size properties, and will grow single queues by
4007 that much if one goes full whereas there are others empty. This is
4008 called extra-mode in the code.
4009 When a single queue's levels go back below the initial max-size
4010 limits, it is no longer in extra-mode. This is to ensure we don't
4011 consume too much memory.
4012 Fixes #399875
4014 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4016 * gst/gst.c: (gst_init_get_option_group):
4017 Make warning about late g_thread_init() calls a bit more explicit,
4018 so that it's more obvious to application developers what they need
4019 to do if a user files a bug against their application.
4021 2007-01-22 Edward Hervey <edward@fluendo.com>
4023 * plugins/elements/gstmultiqueue.c:
4024 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4025 Remove previous hack of unsetting the flushing flag for the source pad
4026 instead of activating it. Instead, fix the source pad activate function
4027 so that it no longer depends on having a parent set or not.
4029 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4031 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4033 * docs/manual/basics-bus.xml:
4034 Fix example code, gst_element_unref() doesn't exist any longer.
4036 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4038 Patch by: Mark Nauwelaerts <manauw at skynet be>
4040 * gst/gstpad.c:
4041 Fix two docs typoes (#399094).
4043 2007-01-19 Edward Hervey <edward@fluendo.com>
4045 * docs/faq/gst-uninstalled:
4046 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4047 depending on libgstbaseutils can work in uninstalled environment.
4049 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4051 * gst/gsttaglist.h:
4052 * gst/gsttagsetter.c:
4053 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4054 statement for new tag.
4056 2007-01-17 Edward Hervey <edward@fluendo.com>
4058 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4059 When dynamically creating single queues, activate sinkpad before adding
4060 it.
4061 We should be doing the same thing for the source pad, but we can't
4062 since it would call a method which needs the parent to be set in order
4063 to work propertly. Instead of activating the source pad, we just unset
4064 the flushing flag, which is the minimal requirement for adding a pad
4065 to an element in a state greater than READY.
4067 2007-01-17 Edward Hervey <edward@fluendo.com>
4069 * docs/faq/gst-uninstalled:
4070 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4071 Mac OS X.
4073 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4075 * tests/check/gst/gstabi.c:
4076 * tests/check/gst/struct_hppa.h:
4077 * tests/check/libs/libsabi.c:
4078 * tests/check/libs/struct_hppa.h:
4079 Add ABI structs for HPPA (see #393796).
4081 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4083 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4084 Actually write ABI structs to the file specified in the GST_ABI
4085 environment variable, as the message we print claims we would.
4087 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4089 * tests/check/gst/gsttask.c:
4090 Fix header comment.
4092 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4094 * gst/gsttaglist.c: (_gst_tag_initialize):
4095 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4096 previous two entries.
4098 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4100 * docs/gst/gstreamer-sections.txt:
4101 * gst/gsttaglist.c: (_gst_tag_initialize):
4102 * gst/gsttaglist.h:
4103 Add tag support for beat-per-minute.
4105 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4107 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4108 (gst_registry_binary_initialize_magic),
4109 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4110 (gst_registry_binary_save_pad_template),
4111 (gst_registry_binary_save_feature),
4112 (gst_registry_binary_save_plugin),
4113 (gst_registry_binary_write_cache),
4114 (gst_registry_binary_check_magic),
4115 (gst_registry_binary_load_pad_template),
4116 (gst_registry_binary_load_feature),
4117 (gst_registry_binary_load_plugin),
4118 (gst_registry_binary_read_cache):
4119 * gst/gstregistrybinary.h:
4120 Use glib types, cleanup comments, impement interfaces and uri-types.
4122 2007-01-13 Andy Wingo <wingo@pobox.com>
4124 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4125 getrange() to return buffers with other caps, while we fix
4126 demuxers and typefind, or otherwise change part-negotiation.txt.
4128 2007-01-12 Andy Wingo <wingo@pobox.com>
4130 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4131 Factor start/stop into this private function instead of partially
4132 in activate functions and partially in the change_state function.
4133 Fixes setup before the element has changed from READY->PAUSED, as
4134 is the case in pull-mode pipelines.
4135 (gst_base_transform_sink_activate_push)
4136 (gst_base_transform_src_activate_pull): Refactor to use
4137 gst_base_transform_activate().
4138 (gst_base_transform_change_state): Removed, not needed any more.
4140 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4141 Truncate before fixating.
4143 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4144 Don't set_caps() if the result of fixating is ANY, as it's not
4145 supported, and not necessary in the case of a link with no
4146 template caps on either side. Fixes tests/check/libs/basesrc in
4147 some pull-mode tests.
4149 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4150 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4151 (gst_base_transform_src_activate_pull):
4152 Track the activation mode.
4153 (gst_base_transform_setcaps): In pull mode, when activating the
4154 src pad, after activating the sink pad, activate the sink pad's
4155 peer, as discussed in part-negotiation.txt.
4157 * libs/gst/base/gstbasesrc.h:
4158 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4159 vmethod, as in basesink.
4161 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4163 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4164 mode, first proxy the setcaps to the peer pad.
4165 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4166 new fixate vmethod.
4167 (gst_base_sink_default_activate_pull): Rename from
4168 gst_base_sink_activate_pull.
4169 (gst_base_sink_negotiate_pull): New function, performs negotiation
4170 in pull mode before calling ::activate_pull().
4171 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4172 vmethod instead of the default implementation. I have no idea how
4173 this worked before. Negotiate before calling activate_pull.
4175 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4176 sink pads in pull mode. In addition to being correct, fixes
4177 filesrc ! decodebin ! identity ! fakesink.
4178 (gst_pad_get_range, gst_pad_pull_range): Don't call
4179 gst_pad_set_caps() if the caps changes; instead error out with
4180 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4182 2007-01-12 Andy Wingo <wingo@pobox.com>
4184 * docs/design/part-negotiation.txt: Update with more policy.
4186 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4188 * libs/gst/check/gstbufferstraw.h:
4189 * libs/gst/check/gstcheck.h:
4190 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4191 belongs.
4193 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4195 * tests/check/Makefile.am:
4196 * tests/check/gst/.cvsignore:
4197 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4198 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4199 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4200 (GST_START_TEST), (gst_tag_setter_suite):
4201 Add minimal unit test for beforementioned GstTagSetter bug.
4203 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4205 Patch by: René Stadler <mail at renestadler dot de>
4207 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4208 gst_tag_list_merge() returns a new list, so it's not the best idea
4209 to ingore its return value. Effectively meant that tags could only
4210 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4211 Also add function guard to require a non-NULL taglist as input (has
4212 always been so due to gst_tag_list_copy(), just making it explicit).
4214 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4216 * docs/random/draft-missing-plugins.txt:
4217 Some additions: mention new API that is supposed to be used at the
4218 various stages; short blob about new gst-inspect introspection
4219 option; mention potential future problem with plugins that have
4220 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4222 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4224 * tools/gst-inspect.c:
4225 (print_plugin_automatic_install_info_codecs),
4226 (print_plugin_automatic_install_info_protocols),
4227 (print_plugin_automatic_install_info), (main):
4228 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4229 introspect plugin files and get machine-parsable output that corresponds
4230 to the last bit of the missing-plugin installer string (small gotcha:
4231 doesn't take into account ranks).
4233 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4235 * configure.ac:
4236 * docs/gst/gstreamer-sections.txt:
4237 * gst/Makefile.am:
4238 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4239 (gst_registry_lookup_locked):
4240 * gst/gstregistry.h:
4241 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4242 (gst_registry_binary_initialize_magic),
4243 (gst_registry_binary_save_string),
4244 (gst_registry_binary_save_pad_template),
4245 (gst_registry_binary_save_feature),
4246 (gst_registry_binary_save_plugin),
4247 (gst_registry_binary_write_cache),
4248 (gst_registry_binary_check_magic),
4249 (gst_registry_binary_load_pad_template),
4250 (gst_registry_binary_load_feature),
4251 (gst_registry_binary_load_plugin),
4252 (gst_registry_binary_read_cache):
4253 * gst/gstregistrybinary.h:
4254 * gst/gstregistryxml.c: (load_feature),
4255 (gst_registry_xml_read_cache):
4256 commit binary registry (disabled by default, see #359653)
4258 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4260 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4261 Fix 'make check' too.
4263 2007-01-10 Andy Wingo <wingo@pobox.com>
4265 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4266 notes.
4268 * docs/design/part-negotiation.txt: Update with, um, one way that
4269 pull-mode negotiation might work?
4271 * gst/gstpad.h:
4272 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4273 that the pad must be a src pad; makes sense to call it the other
4274 way in pull mode, and the logic is symmetric anyway.
4276 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4278 * plugins/elements/gstfilesink.c:
4279 Include <stdio.h> for fseeko().
4281 2007-01-10 Wim Taymans <wim@fluendo.com>
4283 * gst/gstevent.c:
4284 * gst/gstevent.h:
4285 Reserve LATENCY event.
4287 2007-01-09 Wim Taymans <wim@fluendo.com>
4289 * docs/design/draft-latency.txt:
4290 Updates.
4292 2007-01-09 Wim Taymans <wim@fluendo.com>
4294 * docs/design/draft-latency.txt:
4295 Updates.
4297 * gst/gstelement.h:
4298 * gst/gststructure.c:
4299 * gst/gsttrace.c:
4300 Small typo fixes.
4302 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4304 * tests/check/.cvsignore:
4305 Ignore test-registry.xml as well.
4307 2007-01-09 Wim Taymans <wim@fluendo.com>
4309 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4310 unref data at the end when we are done with the pad.
4312 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4314 * docs/gst/gstreamer-sections.txt:
4315 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4316 (init_post), (gst_deinit), (gst_update_registry):
4317 * gst/gst.h:
4318 API: add gst_update_registry() (#391296).
4320 * tests/check/Makefile.am:
4321 * tests/check/gst/gstregistry.c:
4322 * tests/check/gst/.cvsignore:
4323 Simple unit test for the above.
4325 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4327 * gst/gstregistry.c: (gst_registry_scan_path_level):
4328 Plugin extension on HP-UX is .sl, add that to the list of approved
4329 plugin extensions (see #393796).
4331 * tests/check/gst/gstpad.c: (GST_START_TEST):
4332 ulong => gulong. Fixes compilation with HP-UX compiler.
4334 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4335 Fix compilation if valgrind headers are not available.
4337 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4339 * win32/common/libgstreamer.def:
4340 Add new exported function.
4341 * win32/vs6/libgstbase.dsp:
4342 Add gstdataqueue.c to the build.
4343 * win32/vs6/libgstcoreelements.dsp:
4344 Add gstmultiqueue.c to the build.
4346 2007-01-06 Andy Wingo <wingo@pobox.com>
4348 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4349 activate_pull(), providing for a way to specialize the process of
4350 spawning a thread to pull on the sink pad. There is a default
4351 implementation.
4353 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4354 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4355 (gst_base_sink_init): Renamed pad activation functions (inserting
4356 "_pad" in their names). Refactor to use the new activate_pull
4357 vmethod, as appropriate.
4358 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4359 default activate_pull function to start a task pulling from the
4360 sink pad, as before.
4362 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4363 on the pads if necessary, as in push()/chain(). Update docs.
4364 Shouldn't affect existing pull() usage as it is currently only
4365 being used on buffers without caps.
4367 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4369 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4370 (init_pre):
4371 Call g_thread_init() first thing in gst_init() / gst_check_init().
4372 When initialisation is done via gst_init_get_option_group() and
4373 GOption parsing, issue a warning if the GLib thread system has not
4374 been initialised yet by the time gst_init_get_option_group() is
4375 called, as it's quite likely other GLib functions such as
4376 g_option_context_new() have been called already then, and
4377 g_thread_init() must be called before any other GLib function. The
4378 application in question must be fixed in that case, since memory
4379 corruption might happen otherwise.
4380 We issue the warning because even if the GLib folks decide to work
4381 around the problem on their end in future, this is still an issue
4382 with all GLib versions >= 2.10.0, so we should warn until we depend
4383 on a GLib version we know to be safe.
4384 Update documentation as well.
4385 Closes bug #391278.
4387 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4389 * tools/gst-inspect.c: (main):
4390 * tools/gst-launch.c: (main):
4391 * tools/gst-typefind.c: (main):
4392 * tools/gst-xmlinspect.c: (main):
4393 Call g_thread_init() really really early, before any other GLib
4394 function (see #342564 and recent discussion on gtk-devel-list).
4396 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4398 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4400 * gst/gst_private.h:
4401 * gst/gstconfig.h.in:
4402 * gst/gstinfo.h:
4403 On win32, all the __declspec stuff for symbol exporting is
4404 apparently only needed with MSVC, but doesn't work with MingW.
4405 Fixes compilation with MingW and #391909.
4407 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4409 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4410 Change some GST_ERROR_OBJECT that aren't really errors to
4411 GST_WARNING_OBJECT in order to reduce terminal spam.
4413 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4415 * tests/check/Makefile.am:
4416 disable test again, as there seem to be still race problems
4418 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4420 * tests/check/Makefile.am:
4421 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4422 (GST_START_TEST), (queue_suite):
4423 enable queue test again, add tests for the leaky behaviour
4425 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4427 * configure.ac:
4428 * tests/examples/Makefile.am:
4429 Compile adapter test/example only if the required headers are
4430 available (fixes #391915).
4432 2007-01-01 David Schleef <ds@schleef.org>
4434 * gst/gstplugin.c:
4435 Restore the previous signal handler for SIGSEGV instead of
4436 setting to default, since we may have stolen it away from
4437 someone. (i.e., Mono)
4439 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4441 * docs/random/draft-missing-plugins.txt:
4442 Some small additions and clarifications.
4444 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4446 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4447 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4448 since that can lead to random memory corruptions and crashes
4449 (may or may not be related to #383244, #386711, and #386711).
4451 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4453 * tests/check/.cvsignore:
4454 * tests/check/Makefile.am:
4455 sync .cvsignome and CLEANFILES
4457 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4459 * tests/check/Makefile.am:
4460 fix distcheck
4462 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4464 * docs/design/part-states.txt:
4465 two tiny additional comments
4467 * gst/gststructure.c:
4468 doc fixing
4470 * tests/check/Makefile.am:
4471 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4472 (GST_START_TEST):
4473 disable test for now, unless it gets fixed
4475 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4477 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4478 (GST_START_TEST):
4479 fix race in underrun test
4481 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4483 * tests/check/elements/.cvsignore:
4484 ignore more
4486 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4487 (GST_START_TEST):
4488 try to narrow test failure
4490 2006-12-21 David Schleef <ds@schleef.org>
4492 * plugins/elements/gstfakesrc.c:
4493 Use g_random_int_range(), since it produces better random
4494 numbers in a range than almost-correct floating point code.
4496 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4498 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4499 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4500 (gst_check_teardown_sink_pad):
4501 do not automatically (de)activate pads
4503 * tests/check/Makefile.am:
4504 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4505 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4506 add new, yet simple tests for queue
4508 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4509 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4510 * tests/check/elements/filesrc.c: (cleanup_filesrc),
4511 (GST_START_TEST):
4512 * tests/check/elements/identity.c: (cleanup_identity):
4513 consistent pad (de)activation
4515 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
4517 Patch by: Sebastian Dröge <slomo ubuntu com>
4519 * libs/gst/base/gstcollectpads.c:
4520 Fix two doc typos (#387866).
4522 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4524 * docs/manual/advanced-dparams.xml:
4525 Fix typo (g_object_control_properties() doesn't exist).
4527 2006-12-19 Edward Hervey <edward@fluendo.com>
4529 * gst/gstsegment.c: (gst_segment_set_seek):
4530 Fine tune the cases where the segment start/stop values are really
4531 updated.
4532 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4533 Add tests for the return values of gst_segment_set_seek().
4535 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
4537 * gst/gst.c:
4538 Docs typo fix.
4540 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4541 (gst_queue_init):
4542 Fix incorrect documentation and flesh it out a bit more.
4543 Set default values for the max properties on the GParamSpec as well,
4544 so it shows up correctly in gst-inspect.
4546 2006-12-18 Stefan Kost <ensonic@users.sf.net>
4548 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4549 Correct docs of queue, add more detail and crosslink it more.
4551 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4553 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4554 Print additional debug info when the stream isn't perfectly
4555 timestamped; don't try to use invalid durations.
4557 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
4559 * docs/design/Makefile.am:
4560 Dist new design docs.
4562 2006-12-16 Wim Taymans <wim@fluendo.com>
4564 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4566 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4567 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4568 (gst_collect_pads_stop), (gst_collect_pads_event),
4569 (gst_collect_pads_chain):
4570 * libs/gst/base/gstcollectpads.h:
4571 Add refcounting to the collectpads data so we can track when it's safe
4572 to free the data. Fixes #383382.
4574 2006-12-15 Wim Taymans <wim@fluendo.com>
4576 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4577 (gst_collect_pads_remove_pad):
4578 Automatically activate/deactivate pads when they are added to a
4579 started/stoped collectpads.
4581 2006-12-15 Wim Taymans <wim@fluendo.com>
4583 * gst/gstelement.c: (gst_element_add_pad):
4584 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4585 * gst/gstpad.c: (gst_pad_init):
4586 Set pads to FLUSHING when they are created. Check, warn and fix when a
4587 demuxer adds an inactive pad to itself when running. Fixes #339326.
4589 2006-12-15 Wim Taymans <wim@fluendo.com>
4591 * gst/gstelement.c: (gst_element_class_init),
4592 (gst_element_default_send_event), (gst_element_send_event),
4593 (gst_element_default_query), (gst_element_query):
4594 Expose default element send_event and query handling as vmethods that
4595 subclasses can chain up to.
4597 2006-12-15 Wim Taymans <wim@fluendo.com>
4599 * gst/gstelement.c: (gst_element_set_state_func):
4600 Small documentation fixes.
4602 2006-12-15 Wim Taymans <wim@fluendo.com>
4604 * docs/design/draft-latency.txt:
4605 Checked in draft for handling latency in pipelines.
4607 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4609 * Makefile.am:
4610 * gstreamer.doap:
4611 * gstreamer.spec.in:
4612 adding .doap file
4614 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4616 * gst/gst.c: (init_pre), (init_post):
4617 init_pre() and init_post() might be called via our GOptionGroup or
4618 from gst_init(), and we should skip both of them if we've already
4619 been initialised, otherwise we will init some things twice or add
4620 two default log functions.
4622 2006-12-13 Edward Hervey <edward@fluendo.com>
4624 * docs/manual/basics-bus.xml:
4625 No, gst_main_loop does not exist. Its g_main_loop.
4626 Discovered by somebody who abused the copy-paste technique of coding :)
4628 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4630 * gst/gstghostpad.c:
4631 Log ghostpad debug stuff to the GST_PADS category as well rather
4632 than just to the default category.
4634 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4636 * configure.ac:
4637 * gst/gst.c: (init_pre):
4638 Add some basic system details such as OS and architecture
4639 to the debug output if possible, courtesy of uname().
4641 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4643 * docs/gst/running.xml:
4644 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4645 environment variables.
4647 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4649 * tests/check/gst/gstbin.c: (GST_START_TEST):
4650 It is acceptable to have a refcount of 2 or 3 at this point in the
4651 test, because the pipeline might be just posting its state_change
4652 message. The next line then waits for that message to appear using
4653 bus_poll, so that should be fine too.
4655 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4657 * gst/gst.c: (ensure_current_registry_forking):
4658 Ignore EINTR when reading from the child registry pipe.
4659 Explicitly ignore the return value from close, since it makes no
4660 difference.
4662 * gst/gstminiobject.c: (gst_mini_object_ref),
4663 (gst_mini_object_unref):
4664 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4666 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4667 When removing cached plugins, remove their features too, so they're
4668 not visible after they've disappeared.
4670 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4671 In the unlikely case that we are linking pads with no parents, don't
4672 crash trying to get the non-existent parent bin.
4674 * gst/parse/grammar.y:
4675 Output debug in the PIPELINE category
4677 2005-03-08 Wim Taymans <wim@fluendo.com>
4679 Patch by: René Stadler <mail at renestadler dot de>
4681 * gst/gstclock.c: (gst_clock_new_periodic_id):
4682 Reject invalid clock times for interval of periodic ids.
4683 Fixes ##383506.
4685 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4687 * gst/gstelementfactory.c: (gst_element_factory_create):
4688 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4689 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4690 * tools/gst-inspect.c: (print_element_info):
4691 Fix refcounting of gst_plugin_feature_load to match the docs.
4692 Fixes: #380129
4694 2006-12-07 Wim Taymans <wim@fluendo.com>
4696 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4697 (gst_base_sink_get_position):
4698 Improve debugging of events.
4700 2006-12-07 Wim Taymans <wim@fluendo.com>
4702 Patch by: René Stadler <mail at renestadler dot de>
4704 * gst/gstclock.c: (gst_clock_id_wait):
4705 Make period ids add the interval to the origial requested time instead
4706 of the possibly updated time which can be wrong when there are multiple
4707 waiters for the same id. Fixes #382592.
4709 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4710 (gst_system_clock_id_wait_jitter_unlocked),
4711 (gst_system_clock_id_wait_jitter):
4712 Fix restart in the async notify thread when an async entry is added to
4713 the front of the list. Fixes #381492.
4715 * tests/check/gst/gstsystemclock.c: (store_callback),
4716 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4717 Added test for multiple async waits.
4718 Added test for async wait order.
4720 2006-12-07 Wim Taymans <wim@fluendo.com>
4722 * gst/gstbin.c: (gst_bin_query):
4723 Add some more docs about the POSITION query.
4725 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4727 * configure.ac:
4728 Bump version nano - back to CVS.
4730 === release 0.10.11 ===
4732 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4734 * configure.ac:
4735 releasing 0.10.11, "Love never runs on time"
4737 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4739 * win32/common/libgstbase.def:
4740 * win32/common/libgstreamer.def:
4741 * win32/vs8/libgstbase.vcproj:
4742 * win32/vs8/libgstcoreelements.vcproj:
4743 * win32/vs8/libgstreamer.vcproj:
4744 Fix compilation on win32 under VS8
4745 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4746 Partially fixes #381175
4748 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4750 * gst/gstvalue.c: (gst_value_compare_fraction):
4751 If someone is foolish enough to compare 2 fractions with denominator =
4752 0, return UNORDERED rather than aborting.
4754 2006-11-28 Edward Hervey <edward@fluendo.com>
4756 * libs/gst/base/Makefile.am:
4757 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4758 (gst_data_queue_base_init), (gst_data_queue_class_init),
4759 (gst_data_queue_init), (gst_data_queue_new),
4760 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4761 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4762 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4763 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4764 (gst_data_queue_set_flushing), (gst_data_queue_push),
4765 (gst_data_queue_pop), (gst_data_queue_drop_head),
4766 (gst_data_queue_set_property), (gst_data_queue_get_property):
4767 * libs/gst/base/gstdataqueue.h:
4768 New GstDataQueue object for threadsafe queueing. Most useful for
4769 elements that need some queueing functionnality.
4770 * docs/libs/gstreamer-libs-docs.sgml:
4771 * docs/libs/gstreamer-libs-sections.txt:
4772 Insert documentation for GstDataQueue
4773 * plugins/elements/Makefile.am:
4774 * plugins/elements/gstelements.c:
4775 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4776 (gst_multi_queue_class_init), (gst_multi_queue_init),
4777 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4778 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4779 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4780 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4781 (gst_multi_queue_loop), (gst_multi_queue_chain),
4782 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4783 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4784 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4785 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4786 (wake_up_next_non_linked), (compute_next_non_linked),
4787 (single_queue_overrun_cb), (single_queue_underrun_cb),
4788 (single_queue_check_full), (gst_single_queue_new):
4789 * plugins/elements/gstmultiqueue.h:
4790 New multiqueue element, using GstDataQueue. Used for queuing multiple
4791 streams.
4792 Closes #344639 and #347785
4794 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4796 * docs/pwg/advanced-types.xml:
4797 add more missing type details
4799 * tools/gst-run.c: (main):
4800 remove unused variable
4802 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4804 * docs/libs/Makefile.am:
4805 * docs/libs/gstreamer-libs.types:
4806 add types of base classes to enable gobject specific stuff in the docs
4808 * docs/random/ensonic/embedded.txt:
4809 more ideas about isolating platform specific things
4811 2006-11-20 Wim Taymans <wim@fluendo.com>
4813 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4815 * libs/gst/check/gstcheck.h:
4816 Fix compilation and running against 0.9.4. Fixes #377332.
4818 2006-11-20 Wim Taymans <wim@fluendo.com>
4820 * gst/gstsegment.c: (gst_segment_set_seek),
4821 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4822 (gst_segment_to_running_time):
4823 Fix boundary checking in to_running_time() and to_stream_time().
4824 Fixes #377183.
4826 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4827 stream and running time can now be calculated for the complete
4828 clipped segment.
4830 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4832 * gst/gstpad.c: (gst_pad_push_event):
4833 Can't access event structure after giving away ownership of
4834 the event.
4836 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4838 * docs/random/ensonic/embedded.txt:
4839 * docs/random/ensonic/profiling.txt:
4840 * docs/random/ensonic/receipies.txt:
4841 more thinking
4843 2006-11-13 Wim Taymans <wim@fluendo.com>
4845 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4847 * gst/gstpad.c:
4848 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4850 2006-11-13 Wim Taymans <wim@fluendo.com>
4852 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4854 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4855 Store new length in segment duration so we don't keep on calling the
4856 potentially expensize get_size() call. Fixes #370865.
4858 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4860 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4862 * win32/common/libgstreamer.def:
4863 Add two missing symbols (#366492).
4865 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4867 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4868 (gst_adapter_take_buffer):
4869 Fix format string to use all its arguments.
4870 Remove useless >= check on a guint
4872 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4874 * tests/examples/adapter/.cvsignore:
4875 Ignore build file as commanded by the build-bot
4877 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4879 * tests/examples/adapter/Makefile.am:
4880 * tests/examples/adapter/adapter_test.c: (run_test_take),
4881 (run_test_take_buffer), (run_tests), (main):
4883 Add new files from the previous commit
4885 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4887 * Makefile.am:
4888 * configure.ac:
4889 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4890 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4891 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4892 * libs/gst/base/gstadapter.h:
4893 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4894 (GST_START_TEST), (gst_adapter_suite):
4895 * tests/examples/Makefile.am:
4896 Do some optimisation work in GstAdapter to avoid copies in more cases.
4897 It could still do slightly better by merging buffers when
4898 gst_buffer_is_span_fast is true, but is already faster.
4900 Also, avoid traversing a single-linked list to append each incoming
4901 buffer inside the adapter.
4903 Add simple test app that times the adapter behaviour in different
4904 situations, and extend the unit test to check that bytes enter and
4905 exit the adapter in their original order.
4907 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4909 * docs/random/draft-missing-plugins.txt:
4910 Update: use element message instead of adding a new message
4911 type to the core; don't provide GStreamer API to initiate the
4912 plugin download, just provide API to compose the strings needed
4913 and let an external libgimmestuff handle the rest.
4915 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4917 * tools/gst-inspect.c: (print_element_properties_info):
4918 Print a string instead of 'unknown type' for GValueArray properties
4920 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4922 * docs/random/draft-missing-plugins.txt:
4923 More small fixes.
4925 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4927 * tests/examples/typefind/typefind.c: (type_found), (main):
4928 Make typefind element example work again (#371894); add a
4929 license header.
4931 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4933 * docs/random/draft-missing-plugins.txt:
4934 Commit initial draft about how to deal with missing plugins,
4935 needs work (API too).
4937 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4939 * docs/pwg/advanced-types.xml:
4940 documents the new caps elements (see #363118)
4942 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4944 * gst/gstplugin.c: (gst_plugin_load_file):
4945 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4946 (gst_file_src_map_region), (gst_file_src_start):
4947 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4948 (gst_file_index_commit):
4949 Use g_strerror() instead of strerror() - we want UTF-8.
4951 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4953 Patch by: Peter Kjellerstedt <pkj at axis com>
4955 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4956 Another printf fix (#371493).
4958 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4960 * tests/check/gst/gsttag.c:
4961 relicence (okay with author=company)
4963 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4965 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4966 (gst_pad_push_event):
4967 Enhance debug and improve docs
4969 * gst/gsturi.c:
4970 Fix docs
4972 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4974 * docs/random/ensonic/distributed.txt:
4975 * docs/random/ensonic/profiling.txt:
4976 more ideas
4978 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4980 * docs/gst/gstreamer-sections.txt:
4981 add new API and fix the build
4983 * gst/gstbin.c: (gst_bin_recalc_state):
4984 * gst/gstelement.c: (gst_element_message_full),
4985 (gst_element_get_state_func), (gst_element_set_state_func):
4986 use new API and improve logging
4988 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4989 * gst/gstutils.h:
4990 API: add function to get StateChangereturn names to improve logs
4992 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4994 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4995 I'm considering shooting the next person to put strerror stuff
4996 in the translateable part of the message.
4998 2006-11-03 Wim Taymans <wim@fluendo.com>
5000 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5001 Get the type and printf conversion specifiers right.
5003 2006-11-03 Wim Taymans <wim@fluendo.com>
5005 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5007 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5008 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5009 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5010 Some small cleanups. Improve debugging.
5011 * gst/gstpad.h:
5012 Signal all waiting threads with a broadcast instead of just one.
5013 Fixes #369942.
5015 2006-11-03 Wim Taymans <wim@fluendo.com>
5017 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5018 (gst_fd_src_create):
5019 Add some debugging.
5020 Only update fd when it's different from the old.
5022 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5024 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5025 Printf fixes for PPC/OSX, take two (#369366).
5027 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5029 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5031 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5032 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5033 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5034 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5035 don't cast to long long for portability reasons, but use
5036 GLib's types instead.
5038 2006-10-30 Michael Smith <msmith@fluendo.com>
5040 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5041 Get the arguments to lseek() the right way around.
5042 Fixes 367677.
5044 2006-10-30 Wim Taymans <wim@fluendo.com>
5046 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5048 * gst/gstinfo.h:
5049 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5051 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5053 Patch by: Kjartan Maraas <kmaraas at gnome org>
5055 * docs/design/part-MT-refcounting.txt:
5056 * docs/random/wtay/capsnego2-docs:
5057 * gst/gstclock.c:
5058 * gst/gstxml.c:
5059 Typo fixes (#366212).
5061 2006-10-28 Wim Taymans <wim@fluendo.com>
5063 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5065 * gst/gst.c:
5066 * win32/common/libgstbase.def:
5067 * win32/common/libgstreamer.def:
5068 * win32/vs8/libgstbase.vcproj:
5069 * win32/vs8/libgstcontroller.vcproj:
5070 Add needed entries in .def files.
5071 Use HAVE_UNISTD_H.
5072 Rearrange def files in vs8 solutions. Fixes #366286.
5074 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5076 * win32/common/gstconfig.h:
5077 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5078 hand-made win32 gstconfig.h. Fixes #366321.
5080 2006-10-27 Wim Taymans <wim@fluendo.com>
5082 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5083 (gst_ghost_pad_new_full):
5084 Make acceptcaps return TRUE when we don't have a target, just like
5085 setcaps does.
5087 2006-10-27 Wim Taymans <wim@fluendo.com>
5089 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5090 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5092 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5094 * gst/gststructure.c: (gst_structure_id_set_value):
5095 If someone tries to set a non-UTF8 string field on a structure,
5096 don't just print a warning, but also ignore the request and do
5097 not change/add that field to the structure.
5099 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5100 Test for the above.
5102 2006-10-25 David Schleef <ds@schleef.org>
5104 * gst/gstinfo.c:
5105 g_hash_table_insert() needs a cast to a non-const pointer duh.
5107 2006-10-25 David Schleef <ds@schleef.org>
5109 * gst/gstinfo.c:
5110 * gst/gstinfo.h:
5111 Change name parameter of _gst_debug_register_funcptr to const
5112 to reflect the constness of its use in the function as well
5113 as to quiet a gcc warning.
5115 2006-10-25 Edward Hervey <edward@fluendo.com>
5117 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5118 Don't push the buffer if it's empty.
5119 Closes #363095
5121 2006-10-24 Wim Taymans <wim@fluendo.com>
5123 * gst/gstevent.h:
5124 Add small comment.
5126 * libs/gst/base/gstbasetransform.c:
5127 (gst_base_transform_sink_eventfunc):
5128 Debug segment values *after* updating them as this is more
5129 interesting.
5131 2006-10-23 Wim Taymans <wim@fluendo.com>
5133 * docs/design/part-events.txt:
5134 Update some docs.
5136 * docs/design/part-block.txt:
5137 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5138 (gst_pad_push_event):
5139 Revert BLOCKING patch, it tries to be smart without really having a
5140 clear idea what or how. So, now we discard all FLUSHING events again on
5141 a blocking pad. Should fix gnonlin again.
5143 2006-10-23 Wim Taymans <wim@fluendo.com>
5145 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5147 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5148 (gst_base_src_start), (gst_base_src_activate_push):
5149 Make sure size is always initialized. Fixes #364388.
5151 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5153 * docs/random/ensonic/distributed.txt:
5154 add some ideas about doing distributed processing
5156 * docs/random/ensonic/profiling.txt:
5157 get_rusage look promising
5159 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5161 * docs/manual/basics-helloworld.xml:
5162 Add a cast in example to fix compile warning
5164 2006-10-18 Wim Taymans <wim@fluendo.com>
5166 * gst/gstsegment.c: (gst_segment_set_last_stop),
5167 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5168 Relax arg checking again, -1 is allowed.
5170 2006-10-18 Wim Taymans <wim@fluendo.com>
5172 * gst/gstsegment.c: (gst_segment_set_last_stop),
5173 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5174 _set_last_stop() must be with a value != -1
5175 A _TYPE_SET to -1 means seek to 0.
5176 Calc last_stop correctly for negative rates.
5177 Make sure we work with positive durations when updating a segment.
5179 2006-10-18 Wim Taymans <wim@fluendo.com>
5181 * docs/design/part-live-source.txt:
5182 * gst/gstclock.h:
5183 Small docs fixes.
5185 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5187 * gst/gstbuffer.h:
5188 Add an explicit cast to GstBuffer** to keep old code that added an
5189 explicit cast to GstMiniObject** for gst_mini_object_replace()
5190 compiling without warning.
5192 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5194 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5195 check for validity of dates
5197 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5199 * docs/gst/gstreamer-sections.txt:
5200 Forgot this one, makes gtk-doc shut up.
5202 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5204 Patch by: Peter Kjellerstedt <pkj at axis com>
5206 * gst/gstobject.h:
5207 Don't define xmlNodePtr to gpointer if the core was built with
5208 --disable-loadsave and --disable-registry, this will break
5209 applications that want to use libxml2 but are buildling against a
5210 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5211 instead so we don't have to mess with the libxml2 namespace
5212 (#361675).
5214 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5216 * gst/gstbuffer.h:
5217 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5218 type-punned pointer warnings.
5220 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5222 * gst/gstelement.h:
5223 Add casts to the correct return type to state <=> state transition
5224 macros.
5226 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5228 * docs/design/part-live-source.txt:
5229 describe howto handle latency
5231 * docs/random/ensonic/profiling.txt:
5232 more ideas
5234 * tools/gst-plot-timeline.py:
5235 fix log parsing for solaris, remove unused function
5237 2006-10-16 Wim Taymans <wim@fluendo.com>
5239 * docs/design/part-trickmodes.txt:
5240 * gst/gstevent.c:
5241 Update some docs regarding reverse playback.
5243 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5245 Patch by: Marcus Granado <mrc dot gran at gmail com>
5247 * win32/vs8/grammar.vcproj:
5248 Error out with a warning if glib-genmarshal.exe is not in path,
5249 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5251 2006-10-13 Wim Taymans <wim@fluendo.com>
5253 * gst/gstsegment.c: (gst_segment_set_seek):
5254 When seeking to stop -1, set last_stop (current position) to the
5255 duration of the segment.
5257 2006-10-13 Wim Taymans <wim@fluendo.com>
5259 * gst/gstelement.h:
5260 Clarify _NO_PREROLL a bit more.
5262 * gst/gstevent.c:
5263 Fix docs.
5265 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5266 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5267 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5268 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5269 due to wrong locking order. Fixes #361769.
5270 Remove some redundant/misplaced checks in pad_block.
5272 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5273 For negative rates, count backwards from the duration.
5275 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5277 * gst/gsterror.c: (_gst_library_errors_init):
5278 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5279 up with something better).
5281 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5283 * win32/vs6/libgstreamer.dsp:
5284 * win32/vs7/libgstreamer.vcproj:
5285 * win32/vs8/libgstreamer.vcproj:
5286 Don't reference glib-compat.c which is currently not used and not
5287 disted; add gstquark.c which was recently added. Fixes #361730.
5289 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5291 * win32/common/libgstbase.def:
5292 * win32/common/libgstcontroller.def:
5293 * win32/common/libgstreamer.def:
5294 Add gst_caps_merge() and a bunch of other recently-added functions.
5295 Fixes #361732.
5297 2006-10-11 Wim Taymans <wim@fluendo.com>
5299 * docs/plugins/gstreamer-plugins.args:
5300 * docs/plugins/inspect/plugin-coreelements.xml:
5301 * docs/plugins/inspect/plugin-coreindexers.xml:
5302 Update element args.
5304 * gst/gstsystemclock.c:
5305 Small comment update.
5307 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5308 (gst_tee_request_new_pad), (gst_tee_release_pad),
5309 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5310 (gst_tee_sink_activate_pull):
5311 * plugins/elements/gsttee.h:
5312 Some tee loving:
5313 Add default property defines.
5314 Implement release pad function.
5315 Give properties better blubs etc.
5316 Activate pads before adding them to a running tee.
5317 Do simple buffer_alloc on the first requested pad.
5318 Post error when activation fails.
5320 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5322 * gst/gst.c: (ensure_current_registry_forking):
5323 Check return value of write() to make compiler happy.
5325 2006-10-11 Wim Taymans <wim@fluendo.com>
5327 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5329 * plugins/elements/gstqueue.c: (gst_queue_chain):
5330 Recheck queue filledness after signalling the overrun when we're about
5331 to leak downstream because we released the lock when emitting the signal
5332 and the queue could be empty again. Fixes #352345.
5334 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5336 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5337 Fix refcounting here too, just like we did for _new_valist() a few
5338 days ago (#357180) (thanks to René Stadler). Also remove all those
5339 'Since: 0.9' from the gtk-doc blobs.
5341 * tests/check/libs/controller.c: (controller_refcount_new_list),
5342 (gst_controller_suite):
5343 Unit test for the above.
5345 2006-10-10 Wim Taymans <wim@fluendo.com>
5347 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5349 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5350 (gst_pad_save_thyself):
5351 Update some docs.
5352 Write pad direction in XML output. Fixes #345496.
5354 2006-10-10 Wim Taymans <wim@fluendo.com>
5356 Patch by: René Stadler <mail at renestadler dot de>
5358 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5359 (gst_controller_new_list), (_gst_controller_dispose),
5360 (_gst_controller_finalize), (_gst_controller_class_init):
5361 Take ref to controlled object so that it cannot disappear.
5362 Fixes #357432.
5364 2006-10-10 Wim Taymans <wim@fluendo.com>
5366 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5367 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5368 (gst_check_teardown_sink_pad):
5369 Activate/deactivate pads in setup/teardown respectively.
5371 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5373 Patch by: Josep Torre Valles <josep@fluendo.com>
5375 * gst/Makefile.am:
5376 Cast values when making gstenumtypes.h. This pacifies Forte
5377 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5378 in the enumeration.
5380 2006-10-09 Wim Taymans <wim@fluendo.com>
5382 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5383 Rename some more @cur to @start to fix docs.
5385 * gst/gstsegment.c: (gst_segment_set_seek):
5386 Fix typo.
5387 time and start must always stay in sync as defined in design doc.
5389 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5390 Rename param to fix docs.
5392 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5393 Check that start and time are in sync.
5395 * tests/check/pipelines/parse-launch.c:
5396 (gst_parse_test_element_change_state):
5397 Activate pad before adding to the element.
5399 2006-10-09 Wim Taymans <wim@fluendo.com>
5401 * docs/design/part-qos.txt:
5402 Fix typo.
5404 * gst/gstevent.c:
5405 * gst/gstevent.h:
5406 Update seek event docs regarding negative rates.
5407 Rename @cur to @start.
5409 * gst/gstsegment.c: (gst_segment_set_seek):
5410 * gst/gstsegment.h:
5411 Update set_seek docs regarding negative rates.
5412 Correctly update last_stop to @stop when dealing with negative
5413 rates.
5414 Rename @cur to @start.
5416 * tests/check/gst/gstpad.c: (GST_START_TEST):
5417 Activate pads before trying to use them.
5419 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5420 (gst_segment_suite):
5421 Add simple check for segments and negative rates.
5423 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5425 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5426 * gst/gsttaglist.h:
5427 * docs/gst/gstreamer-sections.txt:
5428 API: add gst_tag_list_is_empty() (#360467).
5430 * tests/check/gst/gsttag.c: (GST_START_TEST):
5431 And a test case.
5433 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5435 * gst/gstmessage.h:
5436 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5437 a value that doesn't fit on enumeration.
5439 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5441 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5442 Remove local debugging system and use Gstreamer's instead.
5444 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5446 Patch by: Josep Torre Valles <josep@fluendo.com>
5448 * common/m4/gst-error.m4:
5449 Disable warning of statement not reached on Forte.
5450 * gst/gstmessage.h:
5451 Fix warning on Forte (value doesn't fit on enumeration).
5452 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5453 Fix warning on Forte (value doesn't fit on enumeration).
5454 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5455 DEBUG macro says it takes minimum of 2 args and so Forte
5456 complains about the use with just 1 arg.
5457 * plugins/elements/gstfdsink.c:
5458 * plugins/elements/gstfdsrc.c:
5459 * plugins/elements/gstfilesink.c:
5460 * plugins/elements/gstfilesrc.c:
5461 Use correct return type for the uri handler implementations.
5463 All these fix warnings in Forte. Fixes bug #360860.
5465 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5467 * gst/gstelement.h:
5468 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5469 format string, so don't use G_GNUC_PRINTF for those versions.
5471 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5473 * gst/gsttaglist.c: (gst_is_tag_list):
5474 * gst/gsttaglist.h:
5475 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5477 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5478 Small test for the above.
5480 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5482 * gst/gsttaglist.h:
5483 Less tabs, more spaces.
5485 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5487 * gst/gstinfo.h:
5488 Those two function declarations do actually belong there, revert
5489 commit from yesterday that turned them intro macros.
5491 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5493 Patch by: Josep Torre Valles <josep@fluendo.com>
5495 * gst/gst.c: (gst_init_get_option_group):
5496 Fix empty declaration and type mismatch.
5497 * gst/gstbin.c: (gst_bin_change_state_func):
5498 Fix type mismatch.
5499 * gst/gstelement.c: (gst_element_continue_state),
5500 (gst_element_set_state_func), (gst_element_change_state),
5501 (gst_element_change_state_func):
5502 Fix type mismatches.
5503 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5504 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5505 Cast as appropriate.
5506 * gst/gstobject.c: (gst_class_signal_connect):
5507 Cast as appropriate. The function pointer parameter really
5508 has the wrong type but would break API if we change it.
5509 * gst/gstquery.c:
5510 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5511 order of including string.h.
5512 * gst/gstutils.c: (gst_element_state_get_name):
5513 Remove unreachable line.
5514 * gst/gstxml.c: (gst_xml_parse_doc):
5515 Fix type mismatch.
5516 All these caught by Forte.
5518 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5520 Patch by: Josep Torre Valles <josep@fluendo.com>
5522 * common/m4/gst-error.m4:
5523 Fixed bug #360151.
5524 We need to disable warnings on Forte for empty declarations
5525 due to gst-indent adding ;s to lines that just use macros
5526 where the macro actually doesn't need a ; at end to end
5527 statement.
5529 2006-10-06 Wim Taymans <wim@fluendo.com>
5531 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5532 (gst_file_sink_close_file), (gst_file_sink_event),
5533 (gst_file_sink_render):
5534 Add some FIXME for the NEWSEGMENT handling.
5536 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5538 * gst/parse/grammar.y:
5539 Remove static function gst_parse_element_lock as all it does
5540 is return. Looks like cruft from 0.8.
5542 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5544 Patch by: Josep Torre Valles <josep@fluendo.com>
5546 * common/m4/gst-error.m4:
5547 * configure.ac:
5548 * libs/gst/net/Makefile.am:
5549 Fix a compilation issue with Forte on Solaris. inet_aton is in
5550 libresolv.
5552 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5554 * gst/gstpad.c: (pre_activate):
5555 * gst/gstregistry.c: (gst_registry_scan_path_level):
5556 * gst/gstregistryxml.c: (load_plugin):
5557 * libs/gst/controller/gstcontroller.c:
5558 (gst_controlled_property_set_interpolation_mode):
5559 * libs/gst/dataprotocol/dataprotocol.c:
5560 (gst_dp_packet_from_event_1_0):
5561 * libs/gst/net/gstnetclientclock.c:
5562 (gst_net_client_clock_observe_times):
5563 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5564 Printf fixes.
5566 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
5568 * configure.ac:
5569 * docs/gst/gstreamer-sections.txt:
5570 * gst/gstconfig.h.in:
5571 * gst/gstelement.h:
5572 * gst/gstinfo.h:
5573 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5574 whether we can use G_GNUC_PRINTF in other header files and at
5575 least check the printf format/arguments of debug messages and
5576 GST_ELEMENT_ERROR messages when the printf extension is not
5577 being used.
5578 Replace more tabs with spaces in gstinfo.h and remove two spurious
5579 function declarations in GST_DISABLE_DEBUG part with macros.
5581 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
5583 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5584 More docs for the sync-message signal (mention that it is not
5585 emitted by default); log message structures of messages posted on
5586 the bus as well.
5588 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
5590 * gst/gst.c: (ensure_current_registry_forking):
5591 Use a pipe pair to receive status results from the forked child, and
5592 ignore the result from waitpid. Fixes #355499
5594 2006-10-02 Wim Taymans <wim@fluendo.com>
5596 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5597 (gst_ghost_pad_suite):
5598 Fix leak in check.
5600 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5602 * gst/gstpad.c:
5603 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5605 2006-10-02 Edward Hervey <edward@fluendo.com>
5607 * docs/design/part-block.txt:
5608 Further explain the use of flushing on blocked pads.
5609 * docs/gst/gstreamer-sections.txt:
5610 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5611 (gst_pad_push_event):
5612 * gst/gstpad.h:
5613 Added new GstPadFlag : GST_PAD_BLOCKING.
5614 Adds the notion of pads really blocking, which enables to properly
5615 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5616 Fixes #358999
5617 API: gst_pad_is_blocking()
5618 API: GST_PAD_IS_BLOCKING() macro
5619 API: GST_PAD_BLOCKING GstPadFlag
5621 2006-10-02 Wim Taymans <wim@fluendo.com>
5623 Patch by: mrcgran <mrc.gran at gmail dot com>
5625 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5626 Filter the proxied caps against the padtemplate if we have one.
5628 * gst/gstquery.c: (gst_query_new_segment):
5629 Add include for gstinfo.h so that compilation with
5630 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5632 2006-10-02 Wim Taymans <wim@fluendo.com>
5634 Patch by: Alessandro Decina <alessandro at nnva org>
5636 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5637 (gst_file_sink_set_location), (gst_file_sink_open_file),
5638 (gst_file_sink_close_file), (gst_file_sink_event),
5639 (gst_file_sink_render):
5640 Set file to NULL when closing filesink so that we can set a new filename
5641 in READY. Fixes #358613.
5643 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5645 Patch by: Alessandro Decina <alessandro at nnva org>
5647 * gst/gstevent.c: (_gst_event_copy):
5648 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5649 with event structures by setting the parent refcount address of the
5650 copied structure to the address of the refcount member of the newly
5651 copied event rather than the address of the refcount member of the
5652 original event. Fixes #358737.
5654 * tests/check/gst/gstevent.c: (GST_START_TEST):
5655 Unit test for the above.
5657 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5659 * docs/design/Makefile.am:
5660 Dist some more files.
5662 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5664 * tests/check/libs/controller.c: (GST_START_TEST),
5665 (gst_controller_suite):
5666 Add test for the previous fix; add some more tests
5667 for correct refcounting behaviour; fix a few leaks
5668 in test cases; call gst_controller_init() at start
5669 of all tests.
5671 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5673 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5674 (gst_controller_set_from_list):
5675 Don't g_return_val_if_fail() on timed values with invalid timestamps
5676 inside a critical section without unlocking the mutex. Spotted by
5677 René Stadler. (#357617)
5678 Also, fix up refcounting properly: when returning an existing
5679 controller, we should increase the reference only once and not
5680 once per property and when trying to control a property again
5681 we should also increase the refcount.
5683 2006-09-29 Wim Taymans <wim@fluendo.com>
5685 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5686 * libs/gst/net/gstnettimeprovider.c:
5687 (gst_net_time_provider_thread):
5688 Stop reading commands when EOF as well.
5690 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5691 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5692 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5693 Unify description of the dump property.
5695 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5697 * tests/examples/manual/.cvsignore:
5698 OK, so it's actually cvsignore that needs changing. Stop laughing.
5700 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5702 * tests/examples/manual/Makefile.am:
5703 Gah, declare vars *before* using them
5705 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5707 * gst/gst.c: (init_pre), (scan_and_update_registry),
5708 (ensure_current_registry_nonforking),
5709 (ensure_current_registry_forking), (ensure_current_registry),
5710 (init_post), (gst_debug_help), (gst_deinit):
5711 * gst/gst_private.h:
5712 * gst/gstregistry.c: (gst_registry_finalize),
5713 (gst_registry_remove_features_for_plugin_unlocked),
5714 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5715 (gst_registry_scan_path),
5716 (_priv_gst_registry_remove_cache_plugins),
5717 (_priv_gst_registry_cleanup):
5718 * gst/gstregistry.h:
5719 Re-commit the registry changes, along with an extra fix:
5720 When a cached plugin is encountered at a different file path,
5721 update the stored path in the registry cache so that the parent
5722 process knows where it actually is now when it re-reads the registry
5723 cache. Fixes the thing that broke distcheck with the previous commit.
5725 * tests/check/Makefile.am:
5726 Clean up files named 'core' too when running make clean.
5728 * tests/examples/manual/Makefile.am:
5729 Set up a registry path for running these tests, and clean it properly
5730 for distcheck.
5732 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5734 * configure.ac:
5735 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5736 want gmodule-no-export-2.0.pc instead so that we don't drag in
5737 --export-dynamic on every project that links to GStreamer.
5739 Also, make our export regex only match the start of symbols, rather
5740 than any symbol that contains '_gst' somewhere.
5742 * libs/gst/check/Makefile.am:
5743 The libgstcheck we build does however need export-dynamic, as it
5744 produces some symbols that don't match our _gst... style regex.
5745 Fixes: #318031
5747 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5749 * gst/gst.c: (init_pre), (scan_and_update_registry),
5750 (ensure_current_registry_nonforking),
5751 (ensure_current_registry_forking), (ensure_current_registry),
5752 (init_post), (gst_debug_help), (gst_deinit):
5753 * gst/gst_private.h:
5754 * gst/gstregistry.c: (gst_registry_finalize),
5755 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5756 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5757 (_gst_registry_cleanup):
5758 * gst/gstregistry.h:
5759 Revert previous change until I figure out why it breaks distcheck.
5761 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5763 * gst/gst.c: (init_pre), (scan_and_update_registry),
5764 (ensure_current_registry_nonforking),
5765 (ensure_current_registry_forking), (ensure_current_registry),
5766 (init_post), (gst_debug_help), (gst_deinit):
5768 Make init_pre and init_post take the full complement of GOptionFunc
5769 args so they can return useful GErrors. Make the registry updating
5770 functions do so.
5772 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5773 ensure that the registry we're about to write out doesn't contain
5774 stale information about old-deleted plugin files.
5776 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5777 that deletion of plugin files is considered a registry change.
5779 * gst/gst_private.h:
5780 * gst/gstregistry.c: (gst_registry_finalize),
5781 (gst_registry_remove_features_for_plugin_unlocked),
5782 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5783 (gst_registry_scan_path),
5784 (_priv_gst_registry_remove_cache_plugins),
5785 (_priv_gst_registry_cleanup):
5786 * gst/gstregistry.h:
5787 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5788 by adding _priv prefix, so that they won't appear in the global
5789 symbol table. They still do atm though because of #318031. Move the
5790 prototypes to gst_private.h
5792 When removing a plugin, remove all features for that plugin too.
5793 Fixes #340878.
5795 2006-09-27 Wim Taymans <wim@fluendo.com>
5797 * docs/random/moving-plugins:
5798 Make it clear that the "compiled-in descriptions" really mean
5799 the element details.
5801 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5802 (gst_base_sink_wait_preroll):
5803 Update docs.
5805 * docs/libs/gstreamer-libs-sections.txt:
5806 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5807 (gst_base_src_get_range), (gst_base_src_activate_push):
5808 * libs/gst/base/gstbasesrc.h:
5809 Added function to block while waiting for PLAYING, this function
5810 is used by live sources that block on the clock.
5811 API: gst_base_src_wait_playing()
5813 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5815 Patch by: Peter Kjellerstedt <pkj at axis com>
5817 * Makefile.am:
5818 gst-element-check.m4 is generated and should therefore be
5819 copied from the build dir rather than the source dir (#357593).
5820 'make distcheck' hasn't noticed this because we were disting
5821 the file as well, so stop doing that.
5823 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5825 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5826 Add some tests for gst_caps_intersect().
5828 * tools/gst-launch.c: (event_loop):
5829 Print all buffering percentages we get, even the 100% one.
5831 2006-09-26 Wim Taymans <wim@fluendo.com>
5833 * tools/gst-inspect.c: (print_element_properties_info),
5834 (print_signal_info):
5835 Fix printing of flags to match the look of enums.
5837 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5839 * gst/gstelementfactory.c:
5840 Fix typo in docs blurb.
5842 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5844 * gst/gsturi.c: (search_by_entry):
5845 Don't assert/crash here if a uri handler doesn't return any
5846 supported protocols. The list of protocols could be generated
5847 dynamically at runtime or at plugin registration, and an error
5848 in the underlying library shouldn't be fatal (#353301).
5850 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5852 * gst/gstinfo.c:
5853 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5854 (spotted by Peter Kjellerstedt).
5856 2006-09-23 Wim Taymans <wim@fluendo.com>
5858 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5860 * libs/gst/base/gstbasesrc.c:
5861 (gst_base_src_default_check_get_range), (gst_base_src_start),
5862 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5863 (gst_base_src_change_state):
5864 Match _start/_stop calls in the activate functions. Remove redundant
5865 _stop call from the state change function. Fixes #356910.
5866 Turn failure DEBUG into ERROR.
5868 2006-09-22 Wim Taymans <wim@fluendo.com>
5870 * docs/design/part-buffering.txt:
5871 * gst/gstmessage.c: (gst_message_new_buffering),
5872 (gst_message_parse_buffering):
5873 Update docs about buffering.
5875 * docs/design/part-trickmodes.txt:
5876 Fix typo.
5878 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5880 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5881 (gst_controller_new_list):
5882 Ref instances when returning them again (fixes #357180)
5884 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5886 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5887 Don't forget to release proxy lock when there's an error.
5889 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5891 * gst/gstcaps.h:
5892 Add extra initialisers for Caps things, to fix some plugin warnings
5893 when using -Wextra
5895 2006-09-18 Wim Taymans <wim@fluendo.com>
5897 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5898 Also set template on the internal pad so that a getcaps from the
5899 target pad returns the template caps.
5901 2006-09-18 Wim Taymans <wim@fluendo.com>
5903 * gst/gstelement.c: (gst_element_post_message),
5904 (gst_element_dispose):
5905 Use _DEBUG_OBJECT some more.
5907 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5908 Avoid typechecks.
5910 * tools/gst-launch.c: (main):
5911 If the toplevel element is not a GstPipeline, it must be put in a
5912 pipeline so that a bus and clock is selected.
5914 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5916 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5917 JITTER, RATE, and LATENCY query should be handled by the
5918 default case and not by the CONVERT query code.
5920 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5922 * gst/gstformat.c: (gst_format_register):
5923 Fix locking order (must take lock before using n_values).
5925 * gst/gstvalue.c: (gst_value_serialize_enum),
5926 (gst_value_deserialize_enum_iter_cmp),
5927 (gst_value_deserialize_enum):
5928 Fix serialisation/deserialisation of custom registered GstFormats.
5930 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5931 Unit test for custom format serialisation/deserialisation.
5933 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5935 * docs/pwg/building-boiler.xml:
5936 * plugins/elements/gstcapsfilter.c:
5937 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5938 section.
5940 2006-09-16 Edward Hervey <edward@fluendo.com>
5942 * libs/gst/base/gstbasetransform.c:
5943 (gst_base_transform_buffer_alloc):
5944 Check if requested caps are the same as the sinks caps IF
5945 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5946 is FALSE.
5947 This fixes the renegotiation issues stated in #352827.
5949 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5951 * configure.ac:
5952 * docs/manual/advanced-autoplugging.xml:
5953 * tests/examples/Makefile.am:
5954 * tests/examples/manual/.cvsignore:
5955 * tests/examples/manual/Makefile.am:
5956 * tests/examples/manual/extract.pl:
5957 Extract the manual examples again like we used to do.
5958 Fix one of them.
5960 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5962 * win32/common/config.h:
5963 update for version
5965 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5967 * gst/gsterror.c:
5968 Documents how to receive errors.
5970 2006-09-15 Wim Taymans <wim@fluendo.com>
5972 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5973 (event_loop), (main):
5974 Added some comments here and there.
5975 Post an application message when an interrupt is caught instead of doing
5976 an uncontrolled state change.
5977 Clean up the event loop.
5978 Handle buffering messages, pause/resume the pipeline.
5979 Make shutdown because of an interrupt more reliable.
5981 2006-09-15 Wim Taymans <wim@fluendo.com>
5983 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5984 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5985 (gst_base_sink_preroll_object):
5986 Make sure that our internal state is correct when we commit our state
5987 asynchronously. This solves a race where a state change to PLAYING
5988 could cause the sink to remain blocked in preroll in some situations.
5990 2006-09-15 Wim Taymans <wim@fluendo.com>
5992 * tools/gst-inspect.c: (print_element_properties_info),
5993 (print_signal_info):
5994 List flags as hex so it's easier to deal with.
5996 2006-09-15 Wim Taymans <wim@fluendo.com>
5998 * docs/libs/gstreamer-libs-sections.txt:
5999 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6000 (gst_base_sink_do_sync):
6001 * libs/gst/base/gstbasesink.h:
6002 Expose logic to wait for preroll so that subclasses such as audiosink
6003 can also use this method.
6004 API: gst_base_sink_wait_preroll()
6006 2006-09-15 Wim Taymans <wim@fluendo.com>
6008 * gst/gstobject.c: (gst_object_set_parent):
6009 * gst/gstpipeline.c: (do_pipeline_seek):
6010 Small cleanups in docs and code.
6012 * gst/gstsegment.c: (gst_segment_clip):
6013 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6014 if stop == start and start is in the segment, no clipping should be
6015 done. Also add a test for this.
6017 2006-09-15 Wim Taymans <wim@fluendo.com>
6019 * docs/design/part-buffering.txt:
6020 * docs/gst/gstreamer-sections.txt:
6021 * gst/gstmessage.c: (gst_message_new_buffering),
6022 (gst_message_parse_buffering):
6023 * gst/gstmessage.h:
6024 Added methods to create and parse BUFFERING messages.
6025 Added preliminary docs about buffering.
6026 API: gst_message_new_buffering
6027 API: gst_message_parse_buffering
6029 2006-09-06 Wim Taymans <wim@fluendo.com>
6031 * gst/gstbin.c:
6032 Update documentation.
6034 * gst/gstelement.c: (gst_element_class_init),
6035 (gst_element_release_request_pad), (gst_element_set_clock),
6036 (gst_element_get_index), (gst_element_add_pad),
6037 (gst_element_remove_pad), (gst_element_get_random_pad),
6038 (gst_element_send_event), (gst_element_get_query_types),
6039 (gst_element_query), (gst_element_post_message),
6040 (gst_element_message_full), (gst_element_continue_state),
6041 (gst_element_lost_state), (gst_element_save_thyself),
6042 (gst_element_restore_thyself):
6043 Documentation updates.
6044 Rename last bit of the new-pad -> pad-added signal rename.
6045 Fix the case where an element query would only work if the source
6046 pad was linked.
6047 Avoid some useless type checking in message handling.
6049 * gst/gstevent.c:
6050 * gst/gstevent.h:
6051 * gst/gstutils.c:
6052 Documentation updates.
6054 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6056 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6057 add an INFO line for when we actually update the fd
6059 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6061 * configure.ac:
6062 back to TRUNK
6064 === release 0.10.10 ===
6066 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6068 * configure.ac:
6069 releasing 0.10.10, "Pais"
6071 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6073 * docs/manual/advanced-position.xml:
6074 Fix typo in sample code.
6076 2006-09-05 Wim Taymans <wim@fluendo.com>
6078 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6079 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6080 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6081 * libs/gst/net/gstnetclientclock.h:
6082 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6083 * libs/gst/net/gstnettimepacket.h:
6084 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6085 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6086 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6087 * libs/gst/net/gstnettimeprovider.h:
6088 Make stuff compile on windows. Fixes #345295.
6090 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6092 * gst/gst.c: (ensure_current_registry_forking):
6093 Print better details when child was terminated by signal.
6095 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6097 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6098 Print a warning rather than g_assert() if a plugin feature
6099 is a URI handler but returns no protocols (#353976).
6101 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6103 * docs/random/moving-plugins:
6104 Fix two typos.
6106 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6109 Fix locking order, handle NULL function values properly.
6111 * gst/gstinfo.h:
6112 Fix docs.
6114 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6115 Initialise variable before using it and fix debug statement to
6116 print the address of the function rather than the address of the
6117 variable on the stack holding the address of the function.
6119 2006-09-01 Wim Taymans <wim@fluendo.com>
6121 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6122 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6123 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6124 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6125 (gst_ghost_pad_parent_unset),
6126 (gst_ghost_pad_internal_do_activate_push),
6127 (gst_ghost_pad_internal_do_activate_pull),
6128 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6129 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6130 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6131 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6132 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6133 (gst_ghost_pad_new_no_target_from_template),
6134 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6135 More cleanups.
6136 Avoid needless typechecking in macros.
6137 Since the internal pad is always present and never changes, there is
6138 no need to locking or ref when retrieving it.
6139 Improve debugging a bit.
6140 Handle link errors when setting the target. Fixes #341029.
6142 2006-09-01 Wim Taymans <wim@fluendo.com>
6144 * docs/libs/gstreamer-libs-sections.txt:
6145 * docs/plugins/gstreamer-plugins-sections.txt:
6146 Fix docs some more.
6148 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6149 (gst_collect_pads_event):
6150 * libs/gst/base/gstcollectpads.h:
6151 Documentation updates.
6152 Free queued buffer when removing a pad.
6154 2006-08-31 Michael Smith <msmith@fluendo.com>
6156 * gst/gstutils.c: (gst_element_link_pads),
6157 (gst_element_link_pads_filtered):
6158 Ensure that we set a capsfilter to NULL if we failed to link it
6159 when doing filtered linking, to avoid criticals.
6161 No need to check for unreffing srcpad, which is explicly NULLed
6162 above (a trivial code cleanup).
6164 2006-08-31 Wim Taymans <wim@fluendo.com>
6166 * docs/design/part-gstghostpad.txt:
6167 Update ascii art in documentation.
6169 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6170 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6171 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6172 (gst_ghost_pad_internal_do_activate_push),
6173 (gst_ghost_pad_internal_do_activate_pull),
6174 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6175 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6176 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6177 (gst_ghost_pad_set_target):
6178 Small cleanups and leak fixes.
6179 Remove some checks now that the internal pad is never NULL.
6180 Fix the case where linking pads without a target would create nasty
6181 criticals. Fixes #341029.
6182 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6183 value of _set_target().
6185 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6186 (gst_ghost_pad_suite):
6187 Some more tests for creating and linking untargeted ghostpads.
6189 2006-08-31 Edward Hervey <edward@fluendo.com>
6191 * docs/gst/gstreamer-sections.txt:
6192 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6193 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6194 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6195 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6196 (gst_ghost_pad_new_from_template),
6197 (gst_ghost_pad_new_no_target_from_template):
6198 * gst/gstghostpad.h:
6199 Refactored *_new() functions.
6200 Templates are now used as a g_object_new() parameter.
6201 Use template in _do_getcaps() if we don't have a target.
6202 Small documentation cleanups.
6203 Added two new constructors:
6204 gst_ghost_pad_new_from_template()
6205 gst_ghost_pad_new_no_target_from_template()
6206 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6207 (gst_ghost_pad_suite):
6208 Added tests for new ghostpad instanciation functions.
6210 API additions: gst_ghost_pad_new_from_template,
6211 gst_ghost_pad_new_no_target_from_template
6213 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6215 * docs/random/ensonic/profiling.txt:
6216 Ideas about qos profiling.
6218 2006-08-29 Wim Taymans <wim@fluendo.com>
6220 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6221 Code cleanups.
6222 Fix memleak.
6224 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6226 * gst/gstxml.c:
6227 Improve and detypofy docs.
6229 * tests/check/Makefile.am:
6230 * tests/check/gst/.cvsignore:
6231 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6232 Add a basic test suite for GstXML.
6234 2006-08-29 Wim Taymans <wim@fluendo.com>
6236 * gst/gstelement.c: (activate_pads), (clear_caps),
6237 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6238 Clear the pad caps when the element shut down all of the pads and
6239 is not streaming data that could modify the caps.
6240 Fixes #352958.
6242 2006-08-28 Michael Smith <msmith@fluendo.com>
6244 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6245 Revert previous change; I misunderstood single-segment mode.
6247 2006-08-28 Michael Smith <msmith@fluendo.com>
6249 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6250 Unset DISCONT on buffers when using single-segment mode.
6252 2006-08-28 Wim Taymans <wim@fluendo.com>
6254 * gst/gstcaps.c: (gst_caps_merge_structure):
6255 * gst/gstcaps.h:
6256 Fix docs and indentation again.
6258 * tests/check/gst/gstquery.c: (GST_START_TEST):
6259 Fix leak in tests and add some more tests.
6261 2006-08-28 Edward Hervey <edward@fluendo.com>
6263 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6264 Inform GstSegment of the last stop position in order for the current
6265 segment to have a proper duration if it doesn't have a specific stop
6266 position from which a duration could be calculated.
6267 This bug was noticeable when a non-flushing, non-update new segment was
6268 followed by another segment (all buffers from the new segment were being
6269 dropped).
6271 2006-08-28 Wim Taymans <wim@fluendo.com>
6273 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6274 Small comment update.
6276 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6277 (gst_identity_transform_ip):
6278 Drop-probability is broken, mention this in the code with a
6279 FIXME and also in the property description.
6280 Make silent also be silent about the drop messages.
6282 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6284 * docs/manual/appendix-win32.xml:
6285 Remove mention of popt, we don't depend on that any
6286 longer (#353136). Add some comments pointing out that
6287 this section is slightly outdated.
6289 2006-08-28 Wim Taymans <wim@fluendo.com>
6291 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6293 * gst/gstquery.c: (gst_query_new_segment):
6294 * tests/check/gst/gstquery.c: (GST_START_TEST):
6295 Initialize variables when creating a new segment query.
6296 Fixes #353121.
6298 2006-08-28 Wim Taymans <wim@fluendo.com>
6300 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6302 * gst/gstelement.c: (gst_element_get_bus):
6303 * tests/check/gst/gstelement.c: (GST_START_TEST):
6304 Check for NULL before _reffing the bus. Fixes #353122.
6306 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6308 * docs/manual/basics-bus.xml:
6309 Docs update: fix wrong callback return value explanation; add
6310 some lines about the implicit relationship between main loop
6311 and main context; remove duplicate main loop variable declaration.
6313 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6315 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6316 Don't leak caps in unit test; add a few more simple
6317 checks.
6319 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6321 * docs/gst/gstreamer-sections.txt:
6322 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6323 (gst_caps_structure_is_subset), (gst_caps_merge),
6324 (gst_caps_merge_structure):
6325 * gst/gstcaps.h:
6326 * libs/gst/base/gstbasetransform.c:
6327 (gst_base_transform_transform_caps):
6328 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6329 implement caps merging (fixes #352580)
6331 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6333 * tools/Makefile.am:
6334 * tools/gst-plot-timeline.py:
6335 add debug-log plotting developer tool (#340674)
6337 2006-08-23 Wim Taymans <wim@fluendo.com>
6339 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6340 (gst_pad_stop_task):
6341 Improve debugging for task functions.
6343 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6344 (gst_task_start), (gst_task_pause), (gst_task_join):
6345 Make sure that the task function started and finished after a
6346 join().
6347 Don't try to push the task function on the threadpool multiple
6348 times.
6349 Improve the g_warning message with some useful suggestions
6350 about how to fix the problem.
6352 2006-08-23 Wim Taymans <wim@fluendo.com>
6354 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6355 Handle RESYNC correctly in _proxy_getcaps.
6357 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6359 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6360 (gst_xml_parse_memory), (gst_xml_get_element):
6361 Chain up to parent class in dispose function and also
6362 unref the elements in the toplevel_elements GList.
6363 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6364 Always return a reference in gst_xml_get_element() rather
6365 than only sometimes.
6367 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6368 Don't leak GstXml object.
6370 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6372 * docs/gst/gstreamer-sections.txt:
6373 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6374 (gst_caps_merge):
6375 * gst/gstcaps.h:
6376 * libs/gst/base/gstbasetransform.c:
6377 (gst_base_transform_transform_caps):
6378 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6379 in a better way
6381 2006-08-21 Edward Hervey <edward@fluendo.com>
6383 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6384 Implement GObject::dispose virtual method in GstXML so we can free the
6385 top_elements GList.
6387 2006-08-21 Wim Taymans <wim@fluendo.com>
6389 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6390 (gst_buffer_create_sub):
6391 Copy duration/offset_end/caps when creating a subbuffer of the
6392 complete parent.
6393 Make the subbuffer read-only when we make the metadata writable for
6394 now. Fixes #351768.
6396 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6397 Added check for metadata copy when creating subbuffers.
6399 2006-08-21 Edward Hervey <edward@fluendo.com>
6401 * libs/gst/base/gstbasetransform.c:
6402 (gst_base_transform_buffer_alloc):
6403 Only call downstream buffer_alloc if transform element is passthrough
6404 or always_in_place. Closes #350449.
6406 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6408 * ChangeLog:
6409 ChangeLog surgery to add comments to previous changes
6411 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6413 * gst/gst.c:
6414 Add comments
6416 * gst/gstpad.c: (gst_pad_set_active):
6417 Be more verbose in the log
6419 * libs/gst/base/gstbasetransform.c:
6420 (gst_base_transform_transform_caps):
6421 Simplify caps to get rid of duplicates, fixes #345444
6423 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6425 * gst/gstvalue.c:
6426 * gst/gstvalue.h:
6427 Use these optimizations only internally.
6429 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6431 * gst/gstvalue.c: (gst_value_compare_list),
6432 (gst_value_compare_fraction_range),
6433 (gst_value_intersect_fraction_fraction_range),
6434 (gst_value_intersect_fraction_range_fraction_range),
6435 (gst_value_subtract_fraction_fraction_range),
6436 (gst_value_subtract_fraction_range_fraction_range),
6437 (gst_value_get_compare_func), (gst_value_compare),
6438 (gst_value_compare_with_func):
6439 * gst/gstvalue.h:
6440 Saves the expensive lookup of the compare function in many cases
6441 (#345444)
6443 2006-08-18 Edward Hervey <edward@fluendo.com>
6445 * tests/check/gst/gstinfo.c: (gst_info_suite):
6446 Disable test that require gstdebug if it wasn't built in core.
6448 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6450 * docs/random/ensonic/logging.txt:
6451 update ideas
6453 * gst/gstinfo.c: (gst_debug_log_default):
6454 reorder fields, save some columns, add optional color codes for log
6455 levels
6457 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6459 * docs/random/ensonic/logging.txt:
6460 add ideas about making the logs a bit more useful
6462 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6464 * docs/pwg/advanced-events.xml:
6465 * docs/pwg/titlepage.xml:
6466 Update for 0.10 API (#340627). Add myself
6467 to authors list.
6469 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6471 * docs/libs/gstreamer-libs-docs.sgml:
6472 * docs/libs/gstreamer-libs-sections.txt:
6473 * libs/gst/check/gstbufferstraw.c:
6474 Make gstcheck stuff show up in docs (still needs to
6475 be documented properly though).
6477 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6479 * docs/gst/gstreamer-sections.txt:
6480 * gst/Makefile.am:
6481 * gst/gst.c: (init_post):
6482 * gst/gst_private.h:
6483 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6484 * gst/gstquark.h:
6485 * gst/gstquery.c: (gst_query_new_position),
6486 (gst_query_set_position), (gst_query_parse_position),
6487 (gst_query_new_duration), (gst_query_set_duration),
6488 (gst_query_parse_duration), (gst_query_new_convert),
6489 (gst_query_set_convert), (gst_query_parse_convert),
6490 (gst_query_new_segment), (gst_query_set_segment),
6491 (gst_query_parse_segment), (gst_query_new_seeking),
6492 (gst_query_set_seeking), (gst_query_parse_seeking):
6493 Add internal helpers for pre-registering quarks from static strings
6494 and using the quark values directly instead of looking them up when
6495 creating and parsing queries. Can be used for event construction too.
6496 Closes #350432.
6498 2006-08-16 Wim Taymans <wim@fluendo.com>
6500 * gst/gstbin.c:
6501 Fix bogus docs.
6503 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6505 * gst/gstutils.c: (gst_util_set_value_from_string):
6506 Fix memleak (#351502).
6508 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6509 Add unit test for most of gst_util_set_value_from_string()
6510 (not that one would want to encourage use of this function).
6512 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6514 * libs/gst/check/gstcheck.h:
6515 Use const gchar * variables in fail_unless_equals_string
6516 macro to avoid compiler warnings (and don't use tabs for
6517 indenting).
6519 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6521 * tools/gst-launch.c: (print_tag):
6522 More space on the left for the tag names, to cater
6523 for the 'extended comment' tag (not touching the
6524 string for the first line since it's translated).
6526 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
6528 * libs/gst/check/gstcheck.h:
6529 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6530 print something when they fail.
6532 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6534 * docs/gst/gstreamer-sections.txt:
6535 * gst/gsttaglist.c: (_gst_tag_initialize):
6536 * gst/gsttaglist.h:
6537 API: add GST_TAG_EXTENDED_COMMENT (#350935).
6538 Also change merge function for GST_TAG_COMMENT to
6539 use_first.
6541 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6543 * gst/gstinfo.c: (gst_debug_print_object):
6544 Make GST_PTR_FORMAT print messages as well.
6546 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6547 (GST_START_TEST), (gst_info_suite):
6548 More tests.
6550 2006-08-14 Edward Hervey <edward@fluendo.com>
6552 * gst/gstelementfactory.c: (gst_element_register):
6553 If the GstElementClass doesn't have a GstElementDetails with all fields
6554 filled up correctly (longname, description AND author), then error out
6555 nicely instead of crashing.
6557 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
6559 * gst/gststructure.c:
6560 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6562 * gst/gstvalue.h:
6563 Expand on the difference between arrays and lists as we use them.
6565 2006-08-14 Wim Taymans <wim@fluendo.com>
6567 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6568 If the parent state change function failed, don't assume we can safely
6569 stop the source, this will be done when the pads are deactivated.
6571 2006-08-14 Wim Taymans <wim@fluendo.com>
6573 * gst/gstbuffer.c:
6574 * gst/gsttask.c: (gst_task_join):
6575 Small doc updates.
6577 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6578 (gst_pad_stop_task):
6579 When pad (de)activation failed for some reason, restore the old
6580 activation mode and set the pad to flushing instead of assuming the
6581 pad is deactivated.
6582 If the _task_join() failed, reinstall the task on the pad so that it can
6583 be stopped later and return an error.
6585 2006-08-11 Andy Wingo <wingo@pobox.com>
6587 * configure.ac:
6588 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6589 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6590 is only for users of API that don't want to see deprecated
6591 functions in the headers; people that want to compile out
6592 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6593 CFLAGS. Fixes the build of multifdsink, or will soon..
6595 2006-08-11 Wim Taymans <wim@fluendo.com>
6597 * docs/gst/gstreamer-sections.txt:
6598 Add GstClockClass vmethod docs.
6600 * gst/gstcaps.h:
6601 Mark #endif with comment for associated #if
6603 * gst/gstclock.c: (gst_clock_id_wait):
6604 * gst/gstclock.h:
6605 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6606 most clock implementations.
6607 Document vmethods.
6608 Flesh out docs about resolution methods.
6609 API: GstClockClass::wait_jitter
6611 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6612 (gst_system_clock_async_thread),
6613 (gst_system_clock_id_wait_jitter_unlocked),
6614 (gst_system_clock_id_wait_jitter):
6615 Use base class wait_jitter variant for improved performance
6616 due to less clock polling.
6618 2006-08-11 Edward Hervey <edward@fluendo.com>
6620 * gst/gst.c: (gst_init_check), (init_post):
6621 Set gst as being initialized before scanning/updating the registry,
6622 since there might be my python plugin loader that calls gst_init() and
6623 we don't want to loop back in.
6624 Closes #350879
6626 2006-08-11 Wim Taymans <wim@fluendo.com>
6628 * docs/design/part-qos.txt:
6629 Bring docs in line with the code. Mostly the sign of the jitter was
6630 wrong in the docs. Fixes #349943.
6632 * gst/gstclock.c:
6633 Fix the docs for the jitter.
6635 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6636 (gst_event_parse_tag), (gst_event_new_buffer_size),
6637 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6638 (gst_event_new_seek), (gst_event_parse_seek),
6639 (gst_event_new_navigation):
6640 Make sure the GstStructure has no parent when creating custom
6641 events.
6642 Add some more argument checking so that we avoid 0.0 rates.
6643 Flesh out the docs for the QoS event some more.
6645 2006-08-11 Wim Taymans <wim@fluendo.com>
6647 * docs/gst/gstreamer-sections.txt:
6648 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6649 (ensure_current_registry_forking), (ensure_current_registry),
6650 (parse_one_option), (parse_goption_arg), (gst_deinit),
6651 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6652 * gst/gst.h:
6653 Doc updates.
6654 Added API and command line option to disable registry forking in
6655 addition to the environment variable.
6656 Constify some static arrays.
6657 Added some more debug.
6658 Don't deinit twice.
6659 API: gst_registry_fork_is_enabled()
6660 API: gst_registry_fork_set_enabled()
6661 API: --gst-disable-registry-fork command line option
6662 Fixes #348918.
6664 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6666 * gst/gst.c: (gst_init):
6667 Fix typo in error message.
6669 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6671 * libs/gst/controller/gstcontroller.h:
6672 fix ABI size-correction
6674 * tests/check/libs/gdp.c: (gst_dp_suite):
6675 make tests that use deprecated API conditional
6677 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6679 * docs/libs/gstreamer-libs-sections.txt:
6680 * libs/gst/controller/gstcontroller.c:
6681 (_gst_controller_get_property), (_gst_controller_set_property),
6682 (_gst_controller_init), (_gst_controller_class_init):
6683 * libs/gst/controller/gstcontroller.h:
6684 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6685 (gst_object_set_control_rate):
6686 API: add gst_object_{s,g}et_control_rate(), add private data section,
6687 fix docs
6689 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6690 * libs/gst/dataprotocol/dataprotocol.h:
6691 add deprecation guards to make gtk-doc happy and allow disabling cruft
6693 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6695 * tests/check/Makefile.am:
6696 * tests/check/gst/.cvsignore:
6697 Let's enable the new unit test as well.
6699 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6701 * configure.ac:
6702 * docs/gst/gstreamer-sections.txt:
6703 * gst/gstconfig.h.in:
6704 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6705 (_gst_info_printf_extension_ptr),
6706 (_gst_info_printf_extension_segment):
6707 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6708 register that lets us easily dump GstSegments into debug
6709 logs (#350419).
6711 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6712 (info_segment_format_printf_extension), (gst_info_suite):
6713 Add simple unit test that logs a bunch of different segments (not
6714 valgrinded at the moment because of leaks in
6715 gst_debug_add_log_function).
6717 2006-08-09 Edward Hervey <edward@fluendo.com>
6719 * libs/gst/base/gstbasetransform.c:
6720 (gst_base_transform_buffer_alloc):
6721 Even if we can't figure out the proper format to request downstream,
6722 call buffer_alloc() downstream with the input parameters without setting
6723 the caps on the srcpad. This will force negotiation in the chain
6724 function.
6725 Closes #350449
6727 2006-08-08 Edward Hervey <edward@fluendo.com>
6729 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6730 Unlinking from a pad without a target is now a perfectly valid case
6731 which should NOT raise an assertion.
6732 This case would happen if a linked ghostpad its target set to NULL after
6733 it was previously linked.
6735 2006-08-08 Edward Hervey <edward@fluendo.com>
6737 * tests/check/libs/gdp.c:
6738 Also comment out the test (see below).
6740 2006-08-08 Edward Hervey <edward@fluendo.com>
6742 * tests/check/libs/gdp.c: (gst_dp_suite):
6743 Use the architecture information from config.h and not gcc macros
6744 in order to properly disable a test that fails on PPC64.
6746 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6748 * gst/gstelement.c: (gst_element_remove_pad):
6749 Don't crash printing the warning if the pad has no parent.
6751 2006-08-02 Wim Taymans <wim@fluendo.com>
6753 * libs/gst/dataprotocol/dataprotocol.c:
6754 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6755 (gst_dp_crc), (gst_dp_header_payload_length),
6756 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6757 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6758 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6759 (gst_dp_event_from_packet), (gst_dp_validate_header),
6760 (gst_dp_validate_payload):
6761 Make debug category static
6762 Constify the crc table.
6763 Do some more arg checking in public functions.
6764 Fix some docs and do some small cleanups.
6766 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6767 Add some more checks to see if GDP deals with bogus input.
6769 2006-07-31 Wim Taymans <wim@fluendo.com>
6771 * gst/gstvalue.c: (gst_value_compare_list):
6772 Fix GstValueList comparison code. Fixes #347293.
6774 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6775 Check to test GstValueList comparison.
6777 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6779 * gst/gstelementfactory.c: (gst_element_factory_create):
6780 Remove unnecessary ref/unref pair
6782 * gst/parse/grammar.y:
6783 Make sure to free the parse buffer on all code paths.
6784 Move a g_free up to the error handler where it's easier to see.
6786 * tests/check/gst/gstevent.c: (test_event):
6787 Extending timeout for downstream travelling events to 10 seconds to
6788 hopefully avoid intermittent failure on the buildbots.
6790 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6791 Don't manually set the state of the src element - it will happen as a
6792 natural consequence of the pipeline changing state, and that way it
6793 will do it in the right order too.
6795 2006-07-31 Wim Taymans <wim@fluendo.com>
6797 * libs/gst/base/gstbasetransform.c:
6798 (gst_base_transform_buffer_alloc):
6799 Use OBJECT_LOCK and refcounting to get the pad caps in the
6800 buffer_alloc function because the caps could change while we are
6801 busy with them. Fixes #349105
6803 2006-07-31 Wim Taymans <wim@fluendo.com>
6805 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6806 Protect _PAD_CAPS with OBJECT_LOCK.
6808 2006-07-31 Wim Taymans <wim@fluendo.com>
6810 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6811 (gst_pad_get_property), (gst_pad_activate_pull),
6812 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6813 (gst_pad_set_activate_function),
6814 (gst_pad_set_activatepull_function),
6815 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6816 (gst_pad_set_getrange_function),
6817 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6818 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6819 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6820 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6821 (gst_pad_set_acceptcaps_function),
6822 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6823 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6824 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6825 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6826 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6827 (gst_pad_configure_sink), (gst_pad_configure_src),
6828 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6829 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6830 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6831 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6832 (gst_pad_send_event):
6833 Use _DEBUG_OBJECT when it makes sense.
6834 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6835 Small cleanups and code reflows.
6836 Avoid caps refcounting in _accept_caps.
6837 Refactor alloc_buffer so that the code performed on the peer is in a
6838 separate function. Also if the pad does not implement a buffer alloc
6839 function, we should still check if the pad is flushing before falling
6840 back to the default allocator.
6842 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6844 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6845 Make all uses of identity and fakesink have silent=true to avoid
6846 serialising every passing data structure, which is breaking tests
6847 on FC4 for some unknown reason.
6849 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6851 * gst/parse/Makefile.am:
6852 * gst/parse/grammar.y:
6853 * gst/parse/parse.l:
6854 Reverted previous patch as it required to bump the flex dependency to
6855 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6857 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6859 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6861 * gst/parse/Makefile.am:
6862 * gst/parse/grammar.y:
6863 * gst/parse/parse.l:
6864 push & pop the state of the lexer for reentrant use case
6865 Fixes #349180
6867 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6869 * libs/gst/base/gstbasesrc.h:
6870 Note in the docs that the ::newsegment vfunc is not actually used by
6871 GstBaseSrc.
6873 2006-07-28 Wim Taymans <wim@fluendo.com>
6875 * libs/gst/base/gstcollectpads.c:
6876 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6877 (gst_collect_pads_clear), (gst_collect_pads_flush),
6878 (gst_collect_pads_event), (gst_collect_pads_chain):
6879 When flushing a pad, also clear the queued buffer so that we don't
6880 accidentally use it when we shouldn't.
6881 Fix leaks by inreffing incomming buffer.
6882 Flush out queued buffers in case of errors.
6883 Fixes #347452.
6885 2006-07-28 Wim Taymans <wim@fluendo.com>
6887 * docs/random/phonon-gst:
6888 Random notes about a Phonon backend.
6890 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6892 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6893 Extra debug output
6894 * tests/check/libs/gdp.c: (gst_dp_suite):
6895 Take a whack at fixing the ppc compile using a different define to
6896 disable the broken test.
6898 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6899 Remove excess g_print()
6901 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6903 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6904 Oops, meant to uncomment this line too to dampen the noise a bit.
6906 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6908 * gst/parse/grammar.y:
6909 * gst/parse/parse.l:
6910 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6911 (GST_START_TEST), (parse_suite):
6912 Fix some of the leaks exposed by extending the parse-launch testsuite,
6913 and move the 3 I can't figure out into a separate test that won't run
6914 the pipelines unless the appropriate line is uncommented.
6916 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6918 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6919 Requesting 0 bytes before the end of the file should result in
6920 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6921 unit test.
6923 2006-07-27 Wim Taymans <wim@fluendo.com>
6925 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6926 Fix useless assert, a uint is always positive.
6928 * gst/gststructure.c: (gst_structure_nth_field_name),
6929 (gst_structure_foreach), (gst_structure_map_in_place):
6930 Check input arguments for public functions to avoid obvious crashes.
6932 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6933 * plugins/elements/gstfakesink.h:
6934 Do less useless typechecking.
6936 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6938 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6939 Do not use mmap() by default since there are a number of error
6940 conditions that we would like to handle in a non-fatal way that
6941 will result in a SIGBUS if we use mmap(). Examples: external
6942 devices (USB harddrive, portable music player) being unplugged
6943 while in use; file on mounted CD/DVD that can't be read because
6944 the medium is partly damaged. Fixes #348455 and #348475.
6946 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6948 * gst/gstquery.h:
6949 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6950 rates are a gdouble
6952 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6954 * gst/gstregistry.c:
6955 Move big documentation comment into class section header, so that it
6956 appears in the API docs.
6958 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6960 * docs/gst/gstreamer-sections.txt:
6961 Oops. Commit the docs additions too for new API.
6962 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6964 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6966 * gst/gststructure.c: (gst_structure_id_set),
6967 (gst_structure_id_set_valist):
6968 * gst/gststructure.h:
6969 Add API for setting values into structures without performing
6970 a quark lookup, if the appropriate quark is already known.
6972 API: gst_structure_id_set
6973 API: gst_structure_id_set_valist
6975 * gst/parse/grammar.y:
6976 * gst/parse/parse.l:
6977 Remove some dead code shown by the coverage information.
6978 Don't throw a critical g_warning when encountering a syntax error,
6979 just warn and let the normal error path handle it.
6981 * plugins/elements/gstelements.c:
6982 Bump the rank of filesink up to PRIMARY so that it is preferred over
6983 gnomevfssink for file:// sink uri's
6985 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6986 (GST_START_TEST), (run_delayed_test),
6987 (gst_parse_test_element_base_init),
6988 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6989 (gst_parse_test_element_change_state),
6990 (gst_register_parse_element), (parse_suite):
6991 Beef up the tests for parse syntax to check that more error cases
6992 fail as they are supposed to. Increases the test coverage a bit.
6994 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6996 * docs/manual/basics-elements.xml:
6997 Fix gst_element_link() example.
6999 * gst/gstutils.c:
7000 Mention in API docs that one should usually gst_bin_add()
7001 elements to a bin or pipeline before doing the linking.
7003 2006-07-26 Wim Taymans <wim@fluendo.com>
7005 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7006 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7007 Avoid function call for known types by keeping the buffer and
7008 subbuffer GType global.
7010 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7011 Random silly optimisations in read() path.
7013 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7015 * tools/gst-launch.c: (main):
7016 If the top-level of the parse is a normal bin, it doesn't do the
7017 right logic to run as a top-level element, so place it inside a
7018 pipeline.
7020 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7022 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7023 Remove superfluous g_object_notify() calls, GObject does
7024 that for us automatically.
7026 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7028 * gst/gstinfo.h:
7029 on Win32, use dllspec to export the debug category symbols
7031 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7033 * gst/gsttaglist.c: (_gst_tag_initialize):
7034 Allow more than one GST_TAG_IMAGE per taglist.
7036 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7038 * gst/gstminiobject.c:
7039 update docs
7040 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7041 (gst_fd_src_create):
7042 log recurring events at LOG level
7043 add more debug for when the fd gets set
7045 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7047 * gst/gstparse.c: (gst_parse_launch):
7048 Also remove reentrance checks if flex is MT safe (#348179)
7049 Fix my empty ChangeLog entry below
7051 2006-07-21 Andy Wingo <wingo@pobox.com>
7053 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7055 * libs/gst/check/Makefile.am
7056 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7057 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7058 * libs/gst/check/gstbufferstraw.h:
7059 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7060 functions, thus proving I am still a GStreamer haxor. OK I wrote
7061 them a long time ago, but anyways.
7063 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7065 * configure.ac:
7066 * gst/gstparse.c: (gst_parse_launch):
7067 Check for flex version and omit mutex if we have a MT save flex
7068 (fixes #348179)
7070 2006-07-21 Wim Taymans <wim@fluendo.com>
7072 * gst/gstparse.c: (gst_parse_launch):
7073 Protect recursive calls to _parse with a recursive mutex
7074 and busy flag.
7076 2006-07-21 Wim Taymans <wim@fluendo.com>
7078 * tests/check/gst/gstpad.c: (GST_START_TEST):
7079 Fix leak in test.
7081 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7083 * gst/gstparse.c: (gst_parse_launch):
7084 Do not hang on recursive usage of gst_parse_launch()
7086 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7088 * gst/gsttaglist.c:
7089 Add some more docs, comments and FIXME 0.11s here and there
7090 and also fix some typos.
7092 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7094 * gst/gstsegment.h:
7095 Convert tabs to spaces for better readability.
7097 2006-07-20 Edward Hervey <edward@fluendo.com>
7099 * tests/check/libs/gdp.c: (gst_dp_suite):
7100 the test_buffer test fails at line 140 on ppc64 at the following
7101 check:
7102 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7103 GST_BUFFER_FLAG_IN_CAPS),
7104 "GST_BUFFER_IN_CAPS flag should have been copied !");
7105 See bug #348114 for more details.
7107 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7109 * docs/pwg/advanced-scheduling.xml:
7110 * gst/gstpad.c:
7111 Fix typos (#348000).
7113 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7115 * docs/pwg/intro-basics.xml:
7116 Fix wrong links (#347927).
7118 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7120 * gst/gstregistry.h:
7121 * gst/gstregistryxml.c: (load_feature),
7122 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7123 * win32/common/config.h:
7124 make --disable-index work (#342564)
7126 2006-07-18 Wim Taymans <wim@fluendo.com>
7128 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7130 * gst/Makefile.am:
7131 * gst/gsttrace.h:
7132 The attached patch adds two missing defines to gsttrace.h when tracing
7133 is disabled. It also corrects one existing define.
7134 Fixes #347756.
7136 2006-07-17 Wim Taymans <wim@fluendo.com>
7138 * docs/gst/gstreamer-sections.txt:
7139 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7140 * gst/gst.h:
7141 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7142 Add two functions to check and change the SIGSEGV behaviour
7143 when loading plugins.
7144 Don't mess with the SIGSEGV handler when we were told not to.
7145 Fixes #347794.
7146 API: gst_segtrap_is_enabled
7147 API: gst_segtrap_set_enabled
7149 2006-07-14 Wim Taymans <wim@fluendo.com>
7151 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7152 * tests/check/elements/filesrc.c: (GST_START_TEST):
7153 Revert fix for regression in #347408 after release.
7155 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7157 Patch by: Antoine Tremblay <hexa00 at gmail com>
7159 * gst/gstutils.c: (gst_element_unlink):
7160 Free iterator when done (#347311).
7162 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7163 And add a test case for this.
7165 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7167 * configure.ac:
7168 Bump nano back to CVS
7170 === release 0.10.9 ===
7172 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7174 * configure.ac:
7175 releasing 0.10.9, "On the road again"
7177 2006-07-13 Wim Taymans <wim@fluendo.com>
7179 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7180 * tests/check/elements/filesrc.c: (GST_START_TEST):
7181 Revert pull-0 fix for release. Disable check. Fixes #347408.
7183 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7185 * libs/gst/dataprotocol/dataprotocol.c:
7186 (gst_dp_event_from_packet_1_0):
7187 Fixes #347337: failure to deserialize event packets with
7188 empty payload (only event type)
7190 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7192 * gst/Makefile.am:
7193 do not install a .c file in the header directory
7195 2006-07-13 Edward Hervey <edward@fluendo.com>
7197 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7198 GhostPad no longer implicitely use the padtemplates of the targets.
7199 Fixes #347384
7201 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7203 * gst/gstvalue.c: (gst_value_compare_list),
7204 (gst_value_compare_array), (_gst_value_initialize):
7205 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7206 Make GstValueArray comparison be order dependent as designed.
7207 Add checks for value lists and value array comparisons.
7208 Fixes #347221
7210 2006-07-11 Edward Hervey <edward@fluendo.com>
7212 * gst/gstbin.c: (activate_pads),
7213 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7214 (gst_bin_change_state_func):
7215 (de)activate src pads before calling state_change on the childs.
7216 This is to avoid the case where a src ghostpad is blocked (holding the
7217 stream lock), which would block the deactivation of the ghostpad's
7218 target pad.
7219 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7220 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7221 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7222 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7223 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7224 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7225 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7226 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7227 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7228 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7229 (gst_ghost_pad_class_init),
7230 (gst_ghost_pad_internal_do_activate_push),
7231 (gst_ghost_pad_internal_do_activate_pull),
7232 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7233 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7234 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7235 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7236 GhostPads now create their internal GstProxyPad at creation (and not
7237 when they're linked, as it was being done previously).
7238 The internal and target pads are linked straight away.
7239 The data will also travel through the other pad in order to make
7240 pad blocking and probes non-hackish (the probe/block now really happens
7241 on the GhostPad and not on the target).
7242 * gst/gstpad.c: (gst_pad_set_blocked_async),
7243 (gst_pad_link_prepare), (gst_pad_push_event):
7244 Remove previous ghostpad cruft.
7245 * gst/gstutils.c: (gst_pad_add_data_probe),
7246 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7247 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7248 (gst_pad_remove_buffer_probe):
7249 Remove previous ghost pad cruft.
7250 Added more detailed debug statements.
7251 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7252 Fix the testsuite for refcounting changes.
7253 The comments about who has references were correct, but the refcount
7254 being checked wasn't the same (!?!).
7256 Fixes #341029
7258 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7260 * docs/gst/gstreamer-sections.txt:
7261 * gst/gstconfig.h.in:
7262 More docs for configuration options, add docs to gtk-doc.
7264 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7266 * gst/Makefile.am:
7267 * gst/gstconfig.h.in:
7268 * win32/common/config.h:
7269 Fix build when disabling tracing (fixes #344016). Also start to document
7270 the defines that disable the sub-systems.
7272 2006-07-10 Edward Hervey <edward@fluendo.com>
7274 * gst/gst.c: (ensure_current_registry_forking):
7275 let's make valgrind happy...
7277 2006-07-09 Wim Taymans <wim@fluendo.com>
7279 * gst/gstelement.c: (activate_pads),
7280 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7281 Better pad activation code: Reset the collect value too on resync.
7282 Add some comments.
7284 2006-07-09 Wim Taymans <wim@fluendo.com>
7286 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7287 (gst_pad_activate_push):
7288 Use some more macros where it makes sense.
7289 Allow pad mode switching instead of asserting. When a pad
7290 is activated in one mode and we activate it in another,
7291 deactivate it first before activating it in a different mode.
7292 Fixes #329198.
7294 2006-07-08 Andy Wingo <wingo@pobox.com>
7296 * tools/gst-launch.c (main): Handle err == NULL.
7298 * gst/gst.c (init_post, ensure_current_registry)
7299 (ensure_current_registry_forking)
7300 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7301 factoring out the registry scanning into separate functions. Don't
7302 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7303 Better environment var name/interface suggestions accepted.
7305 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7307 * gst/gstobject.c: (gst_object_set_name_default),
7308 (gst_object_set_name):
7309 Random micro-optimisation: don't use a hash table
7310 with strings as keys and the usual strdup/strcmp
7311 involved, but rather just use the GQuark of the
7312 type name as key, since it needs to be looked up
7313 anyway to get the type name string.
7315 * tests/check/gst/gstobject.c: (GST_START_TEST):
7316 Fix various leaks.
7318 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7320 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7321 (gst_bin_iterate_all_by_interface):
7322 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7323 GTypes are gulongs and thus the top 4 bytes might be cut
7324 off on some platforms when doing GPOINTER_TO_INT, leading
7325 to invalid GTypes and bad things happening (see RH bug #179654).
7326 Also add a check to make sure the type passed in is really
7327 an interface type.
7329 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7331 * .cvsignore:
7332 Ignore more.
7334 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7336 * Makefile.am:
7337 * configure.ac:
7338 * gst-element-check.m4:
7339 * gst-element-check.m4.in:
7340 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7341 instead of the unversioned gst-inspect (#324176, #168659).
7343 2006-07-06 Wim Taymans <wim@fluendo.com>
7345 * gst/gstmessage.h:
7346 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7347 warnings.
7349 2006-07-06 Wim Taymans <wim@fluendo.com>
7351 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7352 (gst_base_src_wait), (gst_base_src_update_length),
7353 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7354 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7355 (gst_base_src_loop), (gst_base_src_start),
7356 (gst_base_src_activate_pull):
7357 Update docs.
7358 blocksize == 0 now means the default blocksize when working in push
7359 based mode.
7360 Remove some pointless asserts in _wait function.
7361 Fix offset/length calculations and EOS handling. We can now pull 0
7362 bytes as well, which is allowed.
7363 use _check_get_range() to decide if we can operate in _pull based
7364 mode.
7365 Fix refcounting leak when check_get_range function was not
7366 implemented.
7367 API GstBaseSrc::blocksize range can be 0 too now (default)
7369 * tests/check/elements/filesrc.c: (GST_START_TEST),
7370 (filesrc_suite):
7371 Added check to test _get_range() behaviour.
7373 2006-07-06 Wim Taymans <wim@fluendo.com>
7375 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7376 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7377 (gst_pad_pull_range):
7378 * gst/gstpad.h:
7379 Lots of comments and docs added to the pad functions.
7380 Flesh out the expected behaviour of the get_range() functions.
7382 2006-07-06 Wim Taymans <wim@fluendo.com>
7384 * gst/gstbus.h:
7385 * gst/gstclock.h:
7386 * gst/gstevent.h:
7387 * gst/gstiterator.h:
7388 * gst/gstpad.h:
7389 * gst/gstplugin.h:
7390 * gst/gsttask.h:
7391 Remove comma at end of enumerator list.
7393 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7395 * win32/common/libgstbase.def:
7396 * win32/common/libgstdataprotocol.def:
7397 * win32/common/libsgtreamer.def:
7398 Add new exported functions.
7400 2006-07-05 Wim Taymans <wim@fluendo.com>
7402 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7403 Add some more docs here and there.
7405 2006-07-05 Wim Taymans <wim@fluendo.com>
7407 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7408 (gst_base_sink_loop), (gst_base_sink_get_position):
7409 When operating in pull mode update the offset so that we
7410 read sequentially.
7412 2006-07-05 Wim Taymans <wim@fluendo.com>
7414 * gst/gstregistryxml.c: (read_string):
7415 Avoid strdup. (will happen in libxml, but hey!)
7417 * gst/gsturi.c:
7418 Add some more docs.
7420 2006-07-05 Wim Taymans <wim@fluendo.com>
7422 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7423 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7424 (gst_buffer_suite):
7425 No point in checking if the size of the subbuffer > 0, the
7426 code handles it correclty as demonstrated by unit test.
7427 Also add a unit test for the zero sized _new_and_alloc and
7428 _copy. Fixes #346663.
7430 2006-07-05 Wim Taymans <wim@fluendo.com>
7432 * libs/gst/base/gstbasetransform.c:
7433 (gst_base_transform_prepare_output_buffer),
7434 (gst_base_transform_buffer_alloc),
7435 (gst_base_transform_handle_buffer):
7436 Make sure the buffer we pass to transform_ip has a refcount of
7437 1 and thus is writable. Fixes #343196
7439 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7441 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7442 (gst_file_src_init), (gst_file_src_set_property),
7443 (gst_file_src_get_property), (gst_file_src_map_region):
7444 * plugins/elements/gstfilesrc.h:
7445 Add "sequential" property, off by default, to use madvise and hint
7446 to the kernel that sequential access is desired.
7447 Touch all retrieved pages by default to ensure they are pulled
7448 into memory. (Closes #345720)
7450 2006-07-03 Wim Taymans <wim@fluendo.com>
7452 * docs/design/part-block.txt:
7453 * docs/design/part-dynamic.txt:
7454 Small docs updates.
7456 2006-07-03 Wim Taymans <wim@fluendo.com>
7458 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7459 (gst_caps_unref), (gst_static_caps_get),
7460 (gst_caps_append_structure):
7461 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7462 Use GSlice when the glib we build against is >= 2.10
7464 2006-07-03 Wim Taymans <wim@fluendo.com>
7466 * gst/gstelement.c: (gst_element_pads_activate):
7467 Small cleanup in pad activation code.
7469 2006-07-03 Wim Taymans <wim@fluendo.com>
7471 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7473 * gst/gst-i18n-app.h:
7474 * gst/gst-i18n-lib.h:
7475 * tools/gst-inspect.c: (print_signal_info):
7476 The attached patch will make the inclusion of gettext.h unconditional in
7477 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7478 libintl.h in tools/gst-inspect.c.
7479 This allows use of --disable-nls again and fixes #344642.
7481 2006-07-03 Edward Hervey <edward@fluendo.com>
7483 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7484 Implement pad blocking on events according to part-block.txt.
7485 More comments on behaviour.
7486 * tests/check/gst/gstevent.c: (test_event):
7487 Send event to peer pad of blocked pad (else it will block).
7489 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7491 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7492 (gst_check_run_suite):
7493 if we get the wrong message, give us the types as string
7494 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7495 Fix a translatable
7496 * tests/check/elements/filesrc.c: (GST_START_TEST):
7497 add a test for trying to open a non-existing file
7499 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7501 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7502 add a test for adding self
7504 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7506 * libs/gst/check/gstcheck.h:
7507 add some assert_ as alias for fail_unless_*
7508 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7509 increase test coverage
7511 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7513 * Makefile.am:
7514 include lcov.mak for lcov coverage generation
7515 * tools/Makefile.am:
7516 add to CLEANFILES
7518 2006-07-02 Edward Hervey <edward@fluendo.com>
7520 * tests/check/elements/.cvsignore:
7521 moaping
7523 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7525 * configure.ac:
7526 don't set CFLAGS and friends for gcov, done from GST_GCOV now
7527 * tests/check/Makefile.am:
7528 clean up gcov files
7530 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7532 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7533 remove gst_caps_simplify; it was not declared and not used
7534 and deprecated in 0.8
7536 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7538 * docs/faq/gst-uninstalled:
7539 don't put empty paths on PYTHONPATH
7540 * docs/gst/gstreamer-sections.txt:
7541 remove some symbols that are not there
7543 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7545 * gst/gstcaps.c: (gst_caps_compare_structures):
7546 whitespace fixes
7547 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7548 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7549 add more tests
7551 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7553 * libs/gst/dataprotocol/Makefile.am:
7554 build dataprotocol test by linking to the lib, instead of
7555 compiling the source, so we get coverage
7556 * tests/check/Makefile.am:
7557 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7558 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7559 add a test for filesrc
7561 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7563 * tests/check/gst/gststructure.c: (GST_START_TEST),
7564 (gst_structure_suite):
7565 Push coverage from 59.04% to 70.00%
7567 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7569 * tests/check/Makefile.am:
7570 gst-inspect every element; this makes sure that we also get
7571 coverage on element's get/set functions
7573 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7575 * configure.ac:
7576 set CFLAGS and friends to -O0 if gcov is being used
7577 add GCOV LIBS
7578 * gst/Makefile.am:
7579 * libs/gst/base/Makefile.am:
7580 * libs/gst/check/Makefile.am:
7581 * libs/gst/controller/Makefile.am:
7582 * libs/gst/dataprotocol/Makefile.am:
7583 * libs/gst/net/Makefile.am:
7584 * plugins/elements/Makefile.am:
7585 * plugins/indexers/Makefile.am:
7586 add makefile rules to generate gcov data and clean up
7587 * tests/check/Makefile.am:
7588 add a coverage target that generates an html overview
7589 of coverage data
7591 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7593 * tests/check/elements/fakesink.c:
7594 * tests/check/elements/fakesrc.c:
7595 * tests/check/elements/fdsrc.c:
7596 * tests/check/elements/identity.c:
7597 * tests/check/generic/sinks.c: (gst_sinks_suite):
7598 * tests/check/generic/states.c:
7599 * tests/check/gst/gst.c:
7600 * tests/check/gst/gstabi.c:
7601 * tests/check/gst/gstbin.c:
7602 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7603 * tests/check/gst/gstbus.c: (gst_bus_suite):
7604 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7605 * tests/check/gst/gstelement.c:
7606 * tests/check/gst/gstevent.c: (gst_event_suite):
7607 * tests/check/gst/gstghostpad.c:
7608 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7609 * tests/check/gst/gstmessage.c: (gst_message_suite):
7610 * tests/check/gst/gstminiobject.c:
7611 * tests/check/gst/gstobject.c:
7612 * tests/check/gst/gstpad.c:
7613 * tests/check/gst/gstpipeline.c:
7614 * tests/check/gst/gstplugin.c:
7615 * tests/check/gst/gstquery.c: (gst_query_suite):
7616 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7617 * tests/check/gst/gststructure.c:
7618 * tests/check/gst/gstsystemclock.c:
7619 * tests/check/gst/gsttag.c:
7620 * tests/check/gst/gsttask.c: (gst_task_suite):
7621 * tests/check/gst/gstutils.c:
7622 * tests/check/gst/gstvalue.c:
7623 * tests/check/libs/adapter.c:
7624 * tests/check/libs/basesrc.c:
7625 * tests/check/libs/collectpads.c:
7626 * tests/check/libs/controller.c:
7627 * tests/check/libs/gdp.c: (gst_dp_suite):
7628 * tests/check/libs/gstnetclientclock.c:
7629 * tests/check/libs/gstnettimeprovider.c:
7630 * tests/check/libs/libsabi.c: (libsabi_suite):
7631 * tests/check/libs/typefindhelper.c:
7632 * tests/check/pipelines/cleanup.c:
7633 * tests/check/pipelines/parse-launch.c:
7634 * tests/check/pipelines/simple-launch-lines.c:
7635 * tests/check/pipelines/stress.c: (stress_suite):
7636 use the new macro
7638 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7640 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7641 * libs/gst/check/gstcheck.h:
7642 create a macro and function so that the simple unit test
7643 case can be just one macro to create main()
7645 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7647 * gst/gstbin.c: (gst_bin_restore_thyself):
7648 * gst/gstxml.c: (gst_xml_make_element):
7649 Fix deserialisation from XML. Set parent manually
7650 instead of using gst_bin_add(), since gst_bin_add()
7651 will unlink all pads of the element being added.
7652 Fixes #341667.
7654 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7656 Patch by: Peter Kjellerstedt <pkj at axis com>
7658 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7659 Fix missing g_strdup() and double free when using the
7660 --gst-plugin-load command line option (#346097).
7662 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7664 * gst/gstinfo.c:
7665 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7667 * libs/gst/net/gstnetclientclock.c:
7668 * libs/gst/net/gstnettimeprovider.c:
7669 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7671 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7673 * docs/manual/advanced-dataaccess.xml:
7674 Fix buffer probe example compilation in
7675 ADM (#345708).
7677 2006-06-22 Edward Hervey <edward@fluendo.com>
7679 * gst/gstelement.c: (gst_element_pads_activate):
7680 We need to deactivate src pads first and then sink pads.
7681 The reason is the src pads might be blocking while holding the streaming
7682 lock, so we need to deactivate them first so that deactivating the sink
7683 pads doesn't block (since it will require the streaming lock).
7685 2006-06-22 Wim Taymans <wim@fluendo.com>
7687 * libs/gst/base/gstbasetransform.c:
7688 (gst_base_transform_buffer_alloc):
7689 Forgot to remove two unneeded unrefs.
7690 Simplify a check _is_equal allready checks the obvious case.
7692 2006-06-22 Wim Taymans <wim@fluendo.com>
7694 * docs/design/part-block.txt:
7695 Some docs about what pad_block should do.
7697 2006-06-22 Wim Taymans <wim@fluendo.com>
7699 * gst/gstcaps.c: (gst_caps_replace):
7700 Fix crasher when passed NULL. Doc clarification.
7701 Optimize for the trivial case.
7703 * gst/gstpipeline.c: (gst_pipeline_change_state):
7704 Small cleanups.
7706 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7707 Small documentation cleanup.
7709 * libs/gst/base/gstbasetransform.c:
7710 (gst_base_transform_buffer_alloc):
7711 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7712 is what we need and it avoids a whole lot of redundant
7713 refcount operations.
7715 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7717 Patch by: Philip Jägenstedt <philip at lysator liu se>
7719 * docs/manual/advanced-dataaccess.xml:
7720 Fix 'Embedding static elements' section to use
7721 GST_PLUGIN_DEFINE_STATIC (#345607).
7723 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7725 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7726 Attempt to 'fix' spuriously failing test case: it seems like the
7727 timeout of half a second is simply too small when the system is under
7728 load otherwise, and the timeout doesn't really seem to serve any
7729 particular purpose here. Give the pipeline a few seconds to preroll
7730 first, and then give it another half a second to go from PAUSED to
7731 PLAYING and marshal the message into the main thread.
7733 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7735 * tools/gst-feedback-m.m:
7736 Don't only use unversioned tools, try versioned tools as well
7737 (#345086).
7739 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7741 * gst/gstbus.c: (gst_bus_class_init):
7742 Fix some typos, make docs more explicit.
7744 2006-06-20 Wim Taymans <wim@fluendo.com>
7746 * tests/check/gst/gstghostpad.c: (block_callback),
7747 (GST_START_TEST), (gst_ghost_pad_suite):
7748 Added some more ghostpad tests, mainly blocking
7749 and probes.
7751 2006-06-16 Wim Taymans <wim@fluendo.com>
7753 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7754 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7755 (gst_file_sink_event), (gst_file_sink_render):
7756 * plugins/elements/gstfilesink.h:
7757 Check if we can seek in the file instead of assuming
7758 we always can. Post an error when we are asked to seek in a
7759 non-seekable file (like a fifo). Fixes #343312.
7760 Some cleanups.
7762 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7764 * tools/gst-launch.1.in:
7765 Un-garble (fourcc) bit in filtered caps section.
7767 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7769 * docs/manual/advanced-autoplugging.xml:
7770 * docs/manual/basics-helloworld.xml:
7771 * docs/manual/highlevel-components.xml:
7772 Don't leak bus reference in sample code.
7774 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7776 * autogen.sh:
7777 Add default for new --enable-plugin-docs switch.
7779 * configure.ac:
7780 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7781 Fixes #344039.
7783 * docs/Makefile.am:
7784 Use new ENABLE_PLUGIN_DOCS conditional.
7786 2006-06-14 Wim Taymans <wim@fluendo.com>
7788 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7789 Make it clear with a FIXME and a real define what the #if 0
7790 previously disabled.
7792 2006-06-14 Wim Taymans <wim@fluendo.com>
7794 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7795 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7796 * libs/gst/base/gstbasetransform.c:
7797 (gst_base_transform_sink_eventfunc):
7798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7799 Don't randomly and silently reset a segment when the format
7800 changes as this is a bug somewhere upstream. Fixes #330379.
7802 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7804 Patch by: Wouter Paesen <wouter at kangaroot net>
7806 * libs/gst/controller/gstcontroller.c:
7807 (gst_controlled_property_new):
7808 Fix controlling of float properties (#344849).
7810 * tests/check/libs/controller.c:
7811 (gst_test_mono_source_get_property),
7812 (gst_test_mono_source_set_property),
7813 (gst_test_mono_source_class_init), (GST_START_TEST):
7814 While we're at it, add some float stuff to unit test.
7816 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7818 * docs/README:
7819 * docs/images/gdp-header.svg:
7820 add a gdp image
7821 * docs/libs/Makefile.am:
7822 * docs/libs/gdp-header.png:
7823 * libs/gst/dataprotocol/dataprotocol.c:
7824 add it to the API docs
7825 * docs/manual/intro-motivation.xml:
7826 fix typo
7828 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7830 * gst/gst.c: (scan_and_update_registry), (init_post):
7831 If the fork()'ed child process can't write the updated registry cache
7832 file to disk for some reason, make it exit with a failure exit code,
7833 so that the parent can then re-scan the plugins itself and update the
7834 registry structures in memory and work with that (rather than failing
7835 when creating elements because seemingly no plugins are available).
7836 Refactor registry scanning code into separate function for this and
7837 also separate fork() and non-fork() code paths. Fixes #344748.
7839 2006-06-13 Wim Taymans <wim@fluendo.com>
7841 * docs/manual/advanced-dataaccess.xml:
7842 Fix wrong PluginDesc. Fixes #344755.
7844 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7846 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7847 Fix silly bug that prevented us from creating
7848 ~/.gstreamer-0.10 and writing the registry in one
7849 go (the first call to g_mkstemp() would overwrite the
7850 placeholder in the template string, so the second call
7851 to g_mkstemp() after creating the missing directory
7852 would then error out with 'invalid argument').
7854 2006-06-13 Edward Hervey <edward@fluendo.com>
7856 * gst/gst.c: (init_post):
7857 Free string.
7859 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7861 * gst/glib-compat-private.h:
7862 * gst/glib-compat.c:
7863 * gst/glib-compat.h:
7864 * gst/gstvalue.c: (gst_value_serialize_flags):
7865 remove GLib 2.6 compatibility code
7867 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7869 * gst/parse/Makefile.am:
7870 Fix build with 'make -j N' even more (#340016).
7872 2006-06-12 Wim Taymans <wim@fluendo.com>
7874 * docs/gst/gstreamer-sections.txt:
7875 Fix docs.
7877 2006-06-12 Wim Taymans <wim@fluendo.com>
7879 * gst/gstsegment.c: (gst_segment_set_duration),
7880 (gst_segment_set_last_stop), (gst_segment_set_seek),
7881 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7882 (gst_segment_to_running_time), (gst_segment_clip):
7883 Use G_UNLIKELY to help the compiler a bit.
7885 2006-06-12 Wim Taymans <wim@fluendo.com>
7887 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7889 * gst/gstevent.c: (gst_event_get_type):
7890 * gst/gstmessage.c:
7891 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7892 (gst_pad_push):
7893 constify quark registration strings. Fixes #344115
7894 Avoid unneeded type checking is _pad_push() by internally
7895 calling gst_pad_chain_unchecked().
7897 2006-06-12 Wim Taymans <wim@fluendo.com>
7899 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7900 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7901 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7902 (gst_buffer_is_span_fast), (gst_buffer_span):
7903 Init _type for consistency.
7904 Use _FLAGS macro to avoid type check.
7905 Avoid unneeded type checks in subbufer code.
7907 2006-06-12 Wim Taymans <wim@fluendo.com>
7909 * gst/gst.c: (gst_debug_help):
7910 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7911 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7912 (gst_plugin_feature_list_free):
7913 * gst/gstregistry.c: (gst_registry_add_plugin),
7914 (gst_registry_add_feature), (gst_registry_plugin_filter),
7915 (gst_registry_feature_filter), (gst_registry_find_plugin),
7916 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7917 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7918 * gst/gstregistryxml.c: (load_feature),
7919 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7920 * gst/gstminiobject.c: (gst_mini_object_unref),
7921 (gst_mini_object_replace), (gst_value_mini_object_free),
7922 (gst_value_mini_object_copy):
7923 Use _CAST macros to avoid unneeded type checking.
7924 Added some more G_UNLIKELY.
7926 2006-06-12 Wim Taymans <wim@fluendo.com>
7928 * gst/gstbuffer.h:
7929 Avoid unneeded type checking.
7930 API: GST_BUFFER_IS_DISCONT
7932 * gst/gstminiobject.h:
7933 Avoid type check in flag accessor.
7935 * gst/gstelementfactory.h:
7936 * gst/gstplugin.h:
7937 * gst/gstpluginfeature.h:
7938 Add _CAST macros.
7939 API: GST_ELEMENT_FACTORY_CAST
7940 API: GST_PLUGIN_CAST
7941 API: GST_PLUGIN_FEATURE_CAST
7943 2006-06-12 Wim Taymans <wim@fluendo.com>
7945 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7946 (gst_object_unref):
7947 Add G_UNLIKELY in type registration.
7948 Avoid type check in _ref/_unref since that is also
7949 done in glib.
7951 2006-06-12 Wim Taymans <wim@fluendo.com>
7953 * gst/gsterror.c: (gst_g_error_get_type):
7954 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7955 (gst_static_pad_template_get_type):
7956 * gst/gsttaglist.c: (gst_tag_list_get_type):
7957 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7958 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7959 * gst/gsturi.c: (gst_uri_handler_get_type):
7960 * gst/gstvalue.c: (gst_date_get_type):
7961 * gst/gstxml.c: (gst_xml_get_type):
7962 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7963 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7964 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7965 Add G_UNLIKELY in type registration.
7967 2006-06-12 Wim Taymans <wim@fluendo.com>
7969 * tools/gst-inspect.c: (print_signal_info):
7970 Properly print enum values.
7972 2006-06-12 Wim Taymans <wim@fluendo.com>
7974 * gst/gstinfo.c: (gst_debug_set_active),
7975 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7976 * gst/gstinfo.h:
7977 Add some G_[UN]LIKELY.
7978 Maintain __gst_debug_min to avoid formatting the arguments of
7979 debug messages that will be dropped anyway to avoid a lot of
7980 overhead from the debugging system.
7982 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7984 * po/POTFILES.in:
7985 * po/POTFILES.skip:
7986 add missing files containing translatable strings, tell intltool about
7987 one exception
7989 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7991 * tests/check/libs/.cvsignore:
7992 add test-binary to ignore list
7994 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7996 * docs/libs/gstreamer-libs-docs.sgml:
7997 reorder (put dp into a chapter) and indent
7999 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8001 * configure.ac:
8002 back to HEAD
8004 === release 0.10.8 ===
8006 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8008 * configure.ac:
8009 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8011 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8013 * gst/gst.c: (init_post):
8014 move pid declaration to declaration block
8016 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8018 * gst/gst.c: (init_post):
8019 use _exit() instead of exit() in our forked child; this ensures
8020 that none of the registered exit handlers from whatever is using
8021 GStreamer get executed. This fixes gnome-mixer-applet failing
8022 to load, because ORBit would shut down.
8023 Spotted by: Edward Hervey <edward@fluendo.com>
8024 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8025 Fixes #344474
8027 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8029 * configure.ac:
8030 back to TRUNK
8032 === release 0.10.7 ===
8034 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8036 * configure.ac:
8037 releasing 0.10.7, "Soepeke, ik zie ou"
8039 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8041 * configure.ac:
8042 * po/af.po:
8043 * po/az.po:
8044 * po/bg.po:
8045 * po/ca.po:
8046 * po/cs.po:
8047 * po/de.po:
8048 * po/en_GB.po:
8049 * po/fr.po:
8050 * po/it.po:
8051 * po/nb.po:
8052 * po/nl.po:
8053 * po/ru.po:
8054 * po/sq.po:
8055 * po/sr.po:
8056 * po/sv.po:
8057 * po/tr.po:
8058 * po/uk.po:
8059 * po/vi.po:
8060 * po/zh_CN.po:
8061 * po/zh_TW.po:
8062 * win32/common/config.h:
8063 0.10.6.2 prerelease
8065 2006-06-07 Wim Taymans <wim@fluendo.com>
8067 * gst/gstindex.c: (gst_index_gtype_resolver):
8068 * tools/gst-xmlinspect.c: (print_plugin_info):
8069 Fix leak spotted by coverity checker. Fixes #343827
8070 Fix another other leak found by paolo borelli.
8072 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8074 * libs/gst/dataprotocol/dataprotocol.c:
8075 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8076 (gst_dp_version_get_type), (gst_dp_init),
8077 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8078 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8079 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8080 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8081 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8082 (gst_dp_packetizer_free):
8083 * libs/gst/dataprotocol/dataprotocol.h:
8084 API: add a GstDPPacketizer object, and create/free functions
8085 API: add GstDPVersion enum
8086 Add 1.0 event function that uses the string serialization
8087 Serialize more useful buffer flags
8088 Fixes #343988
8090 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8092 * tests/check/Makefile.am:
8093 * tests/check/gst/gstabi.c:
8094 * tests/check/gst/struct_ppc64.h:
8095 * tests/check/libs/libsabi.c:
8096 * tests/check/libs/struct_ppc64.h:
8097 add ppc64 structure sizes
8099 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8101 * tests/check/Makefile.am:
8102 * tests/check/gst/gstabi.c:
8103 * tests/check/gst/struct_x86_64.h:
8104 * tests/check/libs/libsabi.c:
8105 * tests/check/libs/struct_x86_64.h:
8106 generate and add structure size lists for x86_64
8108 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8110 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8111 * libs/gst/check/gstcheck.h:
8112 factor out the method from tests that checks size of structures,
8113 and add code to generate the header containing these sizes
8114 * tests/check/gst/gstabi.c: (GST_START_TEST):
8115 * tests/check/gst/struct_i386.h:
8116 * tests/check/libs/libsabi.c: (GST_START_TEST):
8117 * tests/check/libs/struct_i386.h:
8118 use it
8120 2006-06-06 Michael Smith <msmith@fluendo.com>
8122 * gst/gstsegment.h:
8123 Don't use c++-style comments, fixes #343929
8125 2006-06-05 Edward Hervey <edward@fluendo.com>
8127 * gst/gst.c:
8128 plugin_paths is not used if we build without registry support.
8130 * gst/gstsegment.c: (gst_segment_copy):
8131 _copy() was always returning NULL...
8133 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8135 * libs/gst/dataprotocol/dataprotocol.c:
8136 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8137 (gst_dp_packet_from_event):
8138 factor out CRC code
8140 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8142 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8143 make sure we unset caps
8145 2006-06-02 Michael Smith <msmith@fluendo.com>
8147 * libs/gst/check/gstcheck.c: (gst_check_init),
8148 (gst_check_chain_func):
8149 * libs/gst/check/gstcheck.h:
8150 Add a cond/mutex to the check support lib, signal this whenever we
8151 add to the buffers list. This will allow tests to not busy-wait on
8152 the buffer-list.
8154 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8156 * libs/gst/dataprotocol/dataprotocol.c:
8157 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8158 (gst_dp_packet_from_event):
8159 factor out some common header init code
8161 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8163 * docs/libs/gstreamer-libs-sections.txt:
8164 * docs/libs/tmpl/gstdataprotocol.sgml:
8165 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8166 * libs/gst/dataprotocol/dataprotocol.h:
8167 API: make gst_dp_crc() public
8169 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8171 * plugins/indexers/gstindexers.c: (plugin_init):
8172 conditionally register fileindexer (fixes #343598)
8174 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8176 * gst/gsttagsetter.h:
8177 Can't cast ifaces to a class
8179 * libs/gst/net/gstnetclientclock.h:
8180 * libs/gst/net/gstnettimeprovider.h:
8181 * plugins/elements/gstfakesink.h:
8182 * plugins/elements/gstfakesrc.h:
8183 * plugins/elements/gstfdsink.h:
8184 * plugins/elements/gstfdsrc.h:
8185 * plugins/elements/gstfilesink.h:
8186 * plugins/elements/gstfilesrc.h:
8187 * plugins/elements/gstidentity.h:
8188 * plugins/elements/gstqueue.h:
8189 * plugins/elements/gsttee.h:
8190 * plugins/indexers/gstfileindex.c:
8191 * plugins/indexers/gstmemindex.c:
8192 * tests/old/examples/plugins/example.h:
8193 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8195 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8197 * libs/gst/dataprotocol/dataprotocol.c:
8198 (gst_dp_header_from_buffer):
8199 make sure we zero the whole ABI-compatible area
8201 2006-06-01 Wim Taymans <wim@fluendo.com>
8203 Patch by: Alessandro Decina <alessandro at nnva dot org>
8205 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8206 Make sure the EOS flag is cleared from pads after a flush
8207 or stop. Fixes #343538.
8209 * tests/check/libs/collectpads.c: (GST_START_TEST),
8210 (gst_collect_pads_suite):
8211 Added test for collectpads reusage after EOS.
8213 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8215 * gst/gst.c:
8216 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8217 * win32/common/libgstbase.def:
8218 export gst_collect_pads_set_flushing
8219 * win32/common/libgstreamer.def:
8220 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8221 gst_value_fraction_multiply
8222 * win32/vs6/gst_inspect.dsp:
8223 add a link to intl.lib
8225 2006-05-30 Wim Taymans <wim@fluendo.com>
8227 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8228 (gst_collect_pads_chain):
8229 Handle the case where a pad is removed from the collection
8230 that could cause the other pads to become collectable.
8232 2006-05-30 Wim Taymans <wim@fluendo.com>
8234 * gst/gstelement.c:
8235 Clarify the use of _release_request_pad() and
8236 _get_request_pad() a bit better.
8238 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8239 (gst_adapter_take_buffer):
8240 Fix some doc and comment typos.
8242 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8244 * docs/gst/gstreamer-sections.txt:
8245 * docs/libs/gstreamer-libs-sections.txt:
8246 add declared symbols
8248 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8250 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8251 Add debug that can be enabled using a #define at the top of the file,
8252 for dumping stats about how late/early we were when waking up from
8253 waiting on the clock.
8255 2006-05-30 Wim Taymans <wim@fluendo.com>
8257 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8258 When rebuilding the pad list, don't leak the previous list.
8260 2006-05-30 Wim Taymans <wim@fluendo.com>
8262 Patch by: Lutz Mueller <lutz at topfrose dot de>
8264 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8265 (gst_base_src_get_query_types), (gst_base_src_update_length):
8266 Publish supported query types.
8267 Update last_stop field in get_range mode so the position
8268 query works. Fixes #342321.
8270 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8272 * docs/gst/gstreamer-sections.txt:
8273 * gst/gsttaglist.c: (_gst_tag_initialize):
8274 * gst/gsttaglist.h:
8275 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8277 2006-05-30 Wim Taymans <wim@fluendo.com>
8279 Patch by: Alessandro Decina <alessandro at nnva dot org>
8281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8282 Unlock mutex when removing an unknown pad.
8283 Fixes #343334.
8285 * tests/check/Makefile.am:
8286 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8287 (push_event), (setup), (teardown), (GST_START_TEST),
8288 (gst_collect_pads_suite), (main):
8289 Added collecpads check, disabled for now as check crashes for
8290 some reason.
8292 2006-05-29 Wim Taymans <wim@fluendo.com>
8294 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8295 Don't leak pads lists.
8297 2006-05-29 Wim Taymans <wim@fluendo.com>
8299 * docs/libs/gstreamer-libs-sections.txt:
8300 * libs/gst/base/gstcollectpads.c:
8301 (gst_collect_pads_set_flushing_unlocked),
8302 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8303 (gst_collect_pads_stop):
8304 * libs/gst/base/gstcollectpads.h:
8305 API: gst_collect_pads_set_flushing()
8306 Added api to set the pads to flushing, useful for seeking
8307 code in elements using collectpads.
8308 Clear segment when receiving a flush.
8310 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8312 * gst/gst.c: (add_path_func), (init_post):
8313 Don't scan registry paths passed via --gst-plugin-path immediately
8314 (will crash, because absolutely nothing is set up and no types are
8315 registered etc.); do this later in init_post(). Fixes #343057.
8317 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8319 * gst/gst.c: (init_post):
8320 if we have fork, fork while reading/rebuilding the registry
8321 so the parent doesn't take the hit of having all plugins loaded
8322 in memory. Fixes #342777.
8323 * configure.ac:
8324 Check if we have fork()
8325 * win32/common/config.h.in:
8326 no fork() on win32
8328 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8330 * plugins/elements/gstelements.c:
8331 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8332 (gst_file_src_init), (gst_file_src_set_property),
8333 (gst_file_src_get_property), (gst_file_src_start):
8334 * plugins/elements/gstfilesrc.h:
8335 API: GstFileSrc::use-mmap
8337 Add a use-mmap property to enable easier testing of all code paths.
8338 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8339 in the absence of gnomevfssrc. (Closes #340501)
8341 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8343 * tools/gst-inspect.c:
8344 Add missing include, removes warning of ngettext not being defined on
8345 some arches.
8347 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8349 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8350 Handle NULL input and output pointers silently as a failed conversion,
8351 rather than g_warnings.
8353 2006-05-25 Wim Taymans <wim@fluendo.com>
8355 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8356 Initialize variable before using. Fixes #342820.
8358 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8360 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8361 Fix off-by-one bug that would only allow peeks of N-1 bytes
8362 from the start even if the buffer to typefind on contains
8363 in fact N bytes of data (makes vorbis typefinding from a
8364 vorbis identification header buffer work).
8366 * tests/check/Makefile.am:
8367 * tests/check/libs/.cvsignore:
8368 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8369 (gst_typefindhelper_suite), (main), (foobar_typefind),
8370 (plugin_init):
8371 Add very basic unit test for gst_type_find_helper_for_buffer()
8372 that checks for the problem fixed above.
8374 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8376 * tools/gst-inspect.c: (print_interfaces),
8377 (print_element_properties_info), (print_element_list), (main):
8378 add more translatable strings
8380 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8382 Patch by: Julien Moutte <julien at moutte net>
8384 * docs/gst/gstreamer-sections.txt:
8385 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8387 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8388 (gst_fake_sink_preroll):
8389 * plugins/elements/gstfakesink.h:
8390 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8392 2006-05-23 Wim Taymans <wim@fluendo.com>
8394 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8395 * gst/gstpad.h:
8396 Added _CUSTOM error and success GstFlowReturn that can be
8397 used be elements internally.
8398 Added macro to check for SUCCESS flowreturns.
8399 API: GST_FLOW_CUSTOM_SUCCESS
8400 API: GST_FLOW_CUSTOM_ERROR
8401 API: GST_FLOW_IS_SUCCESS
8403 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8404 Added check for GstFlowReturn sanity.
8406 2006-05-23 Wim Taymans <wim@fluendo.com>
8408 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8410 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8411 (gst_collect_pads_event):
8412 clear/reset segment info in FLUSH_STOP.
8413 Fixes #336929.
8415 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8417 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8418 (gst_collect_pads_check_collected):
8419 Flush queued buffer on _stop(), fixes playing again (#342454)
8421 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8423 * tests/check/gst/gststructure.c: (GST_START_TEST),
8424 (gst_structure_suite):
8425 add a test for a complete structure
8427 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8429 * docs/faq/developing.xml:
8430 * docs/faq/faq.xml:
8431 * docs/faq/troubleshooting.xml:
8432 * docs/faq/using.xml:
8433 Some minor FAQ updates that won't change the fact that
8434 our FAQ is badly structured, full of information hardly
8435 anyone new to GStreamer needs to know and lacking lots
8436 of information people constantly ask for.
8438 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8440 * gst/gstpad.c: (gst_pad_set_caps):
8441 Short-circuit gst_pad_set_caps if setting the existing
8442 caps pointer again, and avoid printing debug and
8443 reffing/unreffing the caps.
8445 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8446 There's actually no need to set the caps before pushing -
8447 the acceptcaps method will handle it anyway.
8449 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8451 * docs/gst/gstreamer-sections.txt:
8452 * win32/common/libgstreamer.def:
8453 * gst/gstutils.c: (gst_element_seek_simple):
8454 * gst/gstutils.h:
8455 API: add gst_element_seek_simple() (#342238).
8457 2006-05-18 Edward Hervey <edward@fluendo.com>
8459 * gst/gsttypefind.c: (gst_type_find_get_type):
8460 * gst/gsttypefind.h:
8461 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8462 registered for GstTypeFind pointers. This allows wrapping the structure
8463 in bindings (i.e. gst-python).
8465 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8467 * gst/gsttagsetter.c:
8468 Docs additions and fixes (see #339918).
8470 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8472 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8473 The caps intersection algorithm can produce multiple copies of the
8474 caps. Until that is fixed, we need to simplify the result to be
8475 sure whether the allowed caps are fixed or not.
8477 * plugins/elements/gstqueue.c: (gst_queue_init),
8478 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8479 (gst_queue_push_one):
8480 Proxied buffer alloc should not set the caps on the source pad.
8481 When pushing buffers, we always accept the caps change that triggers.
8482 This prevents negotiation errors caused by caps changing mid-stream
8483 and then being refused on our source pad (because upstream is now
8484 refusing those caps).
8486 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8488 * tests/examples/helloworld/helloworld.c: (main):
8489 Must plug audioconvert and audioresample between decoder
8490 and audio sink.
8492 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8494 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8495 (load_feature), (load_plugin):
8496 Allow empty strings for some of the plugin fields so we don't
8497 drop valid plugin entries that were written out correctly
8498 (Fixes #341479)
8500 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
8502 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8503 Use g_remove and g_rename instead of remove and rename that don't
8504 handle utf8 characters. rename was failing for users who had specific
8505 characters in their name then the registry was built at each
8506 gstreamer init.
8507 * win32/vs6/gst_inspect.dsp:
8508 * win32/vs6/gst_launch.dsp:
8509 * win32/vs6/libgstbase.dsp:
8510 * win32/vs6/libgstcoreelements.dsp:
8511 * win32/vs6/libgstreamer.dsp:
8512 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
8513 build of libgstreamer and clean unused libraries in projects link
8514 settings.
8516 2006-05-17 Edward Hervey <edward@fluendo.com>
8518 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8519 The queue is not responsible for pushing an EOS when receiving a fatal
8520 flow error. It's up to the real element driving the pipeline to do that.
8522 2006-05-16 Edward Hervey <edward@fluendo.com>
8524 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8525 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8526 buffer returned a fatal error. It should just send an EOS and stop
8527 its task.
8528 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8529 when pushing buffers on the queue and will be able to handle the event.
8531 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
8533 * docs/manual/basics-bins.xml:
8534 * docs/manual/basics-init.xml:
8535 Fix typos and minor errors in sample code (#341856).
8537 2006-05-16 Wim Taymans <wim@fluendo.com>
8539 * docs/design/part-qos.txt:
8540 Fix indexes in formulas to make more sense.
8542 2006-05-15 Wim Taymans <wim@fluendo.com>
8544 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8545 Don't report POSITION based on clock time if sync is
8546 disabled in a sink.
8548 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
8550 * gst/gstobject.h:
8551 Add cast to make compiler happy - refcount variable was a gint
8552 in GstObject but is a guint in GObject and g_atomic_int_get()
8553 wants a gint *.
8555 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
8557 * gst/parse/Makefile.am:
8558 chain commands using &&, which also makes parallel make work
8560 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
8562 * docs/gst/gstreamer-sections.txt:
8563 * gst/gstevent.c:
8564 * gst/gstevent.h:
8565 * gst/gstmessage.h:
8566 Minor docs fixes.
8568 === release 0.10.6 ===
8570 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
8572 * configure.ac:
8573 releasing 0.10.6, "Take the cannoli"
8575 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
8577 * tools/gst-launch.c: (print_tag):
8578 Fix use of uninitialized variable in the hypothetical
8579 case that some broken plugin creates a GST_TAG_IMAGE
8580 tag containing a NULL buffer (#341667).
8582 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
8584 * tools/gst-launch.c: (print_tag):
8585 Print something more intelligible for image tags when
8586 using the -t switch (#341556).
8588 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
8590 * Makefile.am:
8591 updates for win32
8592 * configure.ac:
8593 define GST_MAJORMINOR so we have it available in win32/common/config.h
8594 Possibly remove it from our Makefile.am files later
8595 * win32/common/config.h:
8596 * win32/common/config.h.in:
8597 added GST_MAJORMINOR
8598 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8599 * win32/common/gstversion.h:
8600 updated
8602 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8604 * win32/MANIFEST:
8605 Update win32 files listing.
8606 * win32/common/gstversion.h:
8607 Add GST_MAJORMINOR definition.
8608 * win32/common/libgstreamer.def:
8609 Add new exported functions.
8611 2006-05-12 Michael Smith <msmith@fluendo.com>
8613 * gst/gstplugin.c: (gst_plugin_load_file):
8614 If an so file has no plugin entry point, unload the module.
8616 2006-05-11 Wim Taymans <wim@fluendo.com>
8618 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8619 (gst_queue_set_property):
8620 Don't forget to signal the _chain or _loop function
8621 when the queue size or thresholds change since that might
8622 cause them to make progres again.
8624 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8626 * gst/gstclock.c: (gst_clock_class_init):
8627 * gst/gstindex.c: (gst_index_class_init):
8628 * gst/gstobject.c: (gst_object_class_init):
8629 * gst/gstpad.c: (gst_pad_class_init):
8630 * gst/gstpipeline.c: (gst_pipeline_class_init):
8631 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8632 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8633 * libs/gst/base/gstbasetransform.c:
8634 (gst_base_transform_class_init):
8635 * libs/gst/net/gstnetclientclock.c:
8636 (gst_net_client_clock_class_init):
8637 * libs/gst/net/gstnettimeprovider.c:
8638 (gst_net_time_provider_class_init):
8639 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8640 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8641 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8642 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8643 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8644 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8645 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8646 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8647 * plugins/elements/gsttee.c: (gst_tee_class_init):
8648 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8649 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8650 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8652 2006-05-11 Wim Taymans <wim@fluendo.com>
8654 * gst/gstbuffer.c: (_gst_buffer_initialize):
8655 Register subbufer along with the buffer type so that
8656 it does not accidentally gets registered from N
8657 different streaming threads in a non threadsafe way.
8659 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8661 * gst/gstbuffer.h:
8662 * gst/gstevent.h:
8663 * gst/gstmessage.h:
8664 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8665 gst_event_ref() and gst_message_ref() functions again
8666 (ugly hack, please do fix if there's a better way besides
8667 overrides.txt, which doesn't seem to work).
8669 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8671 * libs/gst/check/gstcheck.h:
8672 add an assert for setting state to avoid lots of repetitive code
8673 in the future
8675 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8677 * gst/gstvalue.c: (gst_value_serialize_flags):
8678 fix a leak if no flags are set
8679 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8680 fix leak in tests
8682 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8684 * docs/manual/basics-pads.xml:
8685 Expand a bit on caps and filtered links and update
8686 examples that were still using the no longer existing
8687 gst_pad_link_filtered() (#338206).
8689 2006-05-10 Wim Taymans <wim@fluendo.com>
8691 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8692 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8693 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8694 (gst_collect_pads_stop):
8695 * libs/gst/base/gstcollectpads.h:
8696 No need to call _stop in _finalize.
8697 Iterate the main pad list in _finalize.
8698 Added some more debug.
8699 Free lists and data in the right order.
8700 Also free data whem doing _remove_pad when stopped for
8701 backward compatibility protect ::started with PAD_LOCK as
8702 well.
8704 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8706 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8707 (gst_structure_parse_value):
8708 add some comments
8709 rename a method so that it actually says what it does better
8711 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8713 * gst/gstevent.c: (_gst_event_initialize):
8714 * gst/gstformat.c: (_gst_format_initialize):
8715 make sure some essential types used by events are registered
8716 as part of gst_init()
8717 * gst/gstvalue.c: (gst_value_serialize_flags):
8718 if no flags are set, serialize them to a value that represents NONE
8719 so that deserializing them works
8720 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8721 add tests for serialization and deserialization of flags
8723 2006-05-10 Wim Taymans <wim@fluendo.com>
8725 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8726 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8727 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8728 (gst_collect_pads_event), (gst_collect_pads_chain):
8729 Update docs.
8730 Better debug info.
8731 Catch and return errors from the collect function
8732 Refuse data on eos pads.
8734 2006-05-10 Edward Hervey <edward@fluendo.com>
8736 * gst/gstinterface.h:
8737 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8738 GInterface type checking.
8739 They were previously using non-defined macros.
8741 2006-05-09 Wim Taymans <wim@fluendo.com>
8743 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8744 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8745 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8746 (gst_collect_pads_start), (gst_collect_pads_stop),
8747 (gst_collect_pads_peek), (gst_collect_pads_pop),
8748 (gst_collect_pads_available), (gst_collect_pads_read),
8749 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8750 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8751 (gst_collect_pads_chain):
8752 * libs/gst/base/gstcollectpads.h:
8753 Clean up the mess that is collectpads, add comments and
8754 FIXMEs where needed.
8755 Maintain a separate pad list so we can add pads while
8756 collecting the other ones. For this we need a new separate
8757 lock (see comics).
8758 Fix memory leak in finalize.
8759 Refactor some weird code to set/unset pad flushing flags, mark
8760 with comments.
8761 Don't crash in _available, _read, _flush when we're EOS.
8763 * tests/check/libs/.cvsignore:
8764 Ignore adapter check binary.
8766 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8768 * gst/gstindex.c: (gst_index_resolver_get_type):
8769 * plugins/elements/gstfakesink.c:
8770 (gst_fake_sink_state_error_get_type):
8771 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8772 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8773 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8774 Const-ify GEnumValue arrays.
8776 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8778 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8779 Add test case for flags + gst_buffer_make_metadata_writable().
8781 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8783 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8784 gst_buffer_make_metadata_writable() should maintain the
8785 buffer flags (those that make sense at least) (see #340859).
8787 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8789 * tools/gst-inspect.c:
8790 * tools/gst-launch.c:
8791 * tools/gst-typefind.c:
8792 * tools/gst-xmlinspect.c:
8793 * tools/tools.h:
8794 Fix up includes: need to include stdlib.h in tools.h for exit().
8796 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8798 * gst/gsttaglist.c: (_gst_tag_initialize):
8799 * gst/gsttaglist.h:
8800 API: add GST_TAG_IMAGE tag (#340721).
8802 2006-05-08 Wim Taymans <wim@fluendo.com>
8804 * gst/gstquery.c:
8805 Added some docs for the segment query.
8807 2006-05-08 Wim Taymans <wim@fluendo.com>
8809 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8810 (gst_base_src_loop), (gst_base_src_change_state):
8811 Always push non-flushing serialized events in the streaming
8812 thread.
8814 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8816 * gst/gsterror.c: (_gst_stream_errors_init):
8817 Add a missing error string.
8819 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8821 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8822 Add applied_rate to the debug
8824 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8825 Copy applied_rate into the outgoing NEWSEGMENT event
8827 2006-05-08 Wim Taymans <wim@fluendo.com>
8829 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8831 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8832 (gst_base_sink_change_state):
8833 call ::unlock before taking the PREROLL_LOCK so we can safely
8834 handle elements that lock in ::render.
8835 Fixes #340174.
8837 2006-05-08 Edward Hervey <edward@fluendo.com>
8839 * autogen.sh: (CONFIGURE_DEF_OPT):
8840 Darwin's libtoolize is in fact called glibtoolize.
8841 Adding glibtoolize to the list of accepted names for libtoolize.
8843 2006-05-08 Wim Taymans <wim@fluendo.com>
8845 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8846 Unify error handling, don't post an error message
8847 when a push() returns EOS but perform our normal EOS
8848 handling code. Fixes #340772.
8850 2006-05-08 Wim Taymans <wim@fluendo.com>
8852 * docs/design/part-overview.txt:
8853 Make upsteam/downstream concepts more clear.
8854 Give an example of serialized/non-serialized events.
8856 * docs/design/part-events.txt:
8857 * docs/design/part-streams.txt:
8858 Mention applied_rate.
8860 * docs/design/part-trickmodes.txt:
8861 Mention applied rate, flesh out some more use cases.
8863 * gst/gstevent.c: (gst_event_new_new_segment),
8864 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8865 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8866 (gst_event_parse_tag), (gst_event_new_buffer_size),
8867 (gst_event_parse_buffer_size), (gst_event_new_qos),
8868 (gst_event_parse_qos), (gst_event_parse_seek),
8869 (gst_event_new_navigation):
8870 * gst/gstevent.h:
8871 Add applied_rate field to NEWSEGMENT event.
8872 API: gst_event_new_new_segment_full()
8873 API: gst_event_parse_new_segment_full()
8875 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8876 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8877 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8878 * gst/gstsegment.h:
8879 Add applied_rate to GstSegment structure.
8880 Make calculation of stream_time and running_time more correct
8881 wrt rate/applied_rate.
8882 Add some more docs.
8883 API: GstSegment::applied_rate field
8884 API: gst_segment_set_newsegment_full();
8886 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8887 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8888 * libs/gst/base/gstbasetransform.c:
8889 (gst_base_transform_sink_eventfunc),
8890 (gst_base_transform_handle_buffer):
8891 Parse and use applied_rate in the GstSegment field.
8893 * tests/check/gst/gstevent.c: (GST_START_TEST):
8894 Add check for applied_rate field.
8896 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8897 (gstsegments_suite):
8898 Add more checks for various GstSegment operations.
8900 2006-05-08 Wim Taymans <wim@fluendo.com>
8902 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8903 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8904 (gst_base_sink_get_position), (gst_base_sink_change_state):
8905 Store the sync time of the buffer end position separatly in a
8906 new variable eos_rtime so we can properly sync the EOS event.
8907 Fixes #340697.
8908 Fix the docs for gst_base_sink_set_qos_enabled().
8909 Don't set segment start to invalid value when we receive a
8910 non TIME newsegment.
8911 get closer to handling position reporting for negative rates
8912 correctly.
8914 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8916 * gst/gstcaps.c:
8917 Docs about how to print caps for debug purposes.
8919 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8920 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8922 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8924 * gst/gstelement.c:
8925 use full enum names and preprend a '%' in docs strings to make recent
8926 gtk-doc turn that into a link
8928 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8930 * docs/manual/basics-bins.xml:
8931 * docs/manual/basics-bus.xml:
8932 * docs/manual/basics-pads.xml:
8933 Some typo fixes, some additions, some clarifications.
8935 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8937 * tools/gst-inspect.c: (main):
8938 * tools/gst-launch.c: (main):
8939 * tools/gst-run.c: (main):
8940 * tools/gst-typefind.c: (main):
8941 * tools/gst-xmlinspect.c: (main):
8942 Use the string passed to g_option_context_new() for
8943 what it's intended for - the program name is already
8944 printed elsewhere.
8946 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8948 * tools/Makefile.am:
8949 * tools/gst-inspect.c: (main):
8950 * tools/gst-launch.c: (main):
8951 * tools/gst-xmlinspect.c: (main):
8952 * tools/tools.h:
8953 Add back --version command line option (#340460).
8955 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8956 Add --version option and use GOption for argument parsing; refactor a
8957 bit; accept directories as arguments and recurse into them; lastly,
8958 print a decent error message when things go wrong.
8960 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8962 * docs/manual/basics-bins.xml:
8963 Don't mention GstThread (#340611)
8964 * docs/manual/basics-elements.xml:
8965 Update link to GObject tutorial (#340607)
8967 2006-05-05 Wim Taymans <wim@fluendo.com>
8969 * gst/gstbuffer.h:
8970 * gst/gstminiobject.c:
8971 Add note about refcounting and miniobject/buffer writeability
8972 to docs. Fixes #340604
8974 * gst/gstelementfactory.h:
8975 Added some explanation about @klass.
8977 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8979 * docs/manual/intro-motivation.xml:
8980 * docs/manual/manual.xml:
8981 Avoid CORBA & Bonobo references (#340598)
8983 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8985 * docs/manual/basics-bus.xml:
8986 * docs/manual/basics-pads.xml:
8987 Fix up some inaccuracies and omissions (#340609)
8989 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8991 * gst/gstghostpad.c:
8992 Small typo in docs (#340625)
8994 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8996 * gst/parse/Makefile.am:
8997 Make 'make -j' proof (see #340698).
8999 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9001 * configure.ac:
9002 Require GLib-2.8 here as well.
9004 2006-05-05 Wim Taymans <wim@fluendo.com>
9006 * gst/glib-compat.c:
9007 * gst/gst.c: (init_pre):
9008 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9009 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9010 (gst_object_dispatch_properties_changed):
9011 * gst/gstobject.h:
9012 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9013 * gst/gststructure.c: (gst_structure_set_valist):
9014 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9015 Remove pre glib2.8 compatibility, fixes #340508
9017 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9019 * gst/gsttaglist.h:
9020 Mention type of tags in doc blurbs.
9022 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9024 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9025 (gst_pad_configure_src), (gst_pad_push):
9026 Restore acceptcaps checking behaviour now that good plugins have
9027 been released.
9029 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9031 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9033 * gst/gst.c:
9034 * gst/gstbus.c:
9035 * gst/gstclock.c:
9036 * gst/gstevent.c:
9037 * gst/gstformat.c:
9038 * gst/gstmessage.c:
9039 * gst/gstparse.c:
9040 * gst/gstquery.c:
9041 * gst/gstutils.c:
9042 * gst/parse/Makefile.am:
9043 * libs/gst/base/gstadapter.c:
9044 * libs/gst/base/gstbasesrc.c:
9045 * libs/gst/base/gstpushsrc.c:
9046 * libs/gst/base/gsttypefindhelper.c:
9047 * plugins/elements/gstfakesrc.c:
9048 * plugins/elements/gstidentity.c:
9049 Make sure gstprivate.h and/or config.h are
9050 always included first, otherwise some of our
9051 defines (like _FILE_OFFSET_BITS) might be
9052 redefined in the system headers. Fixes build
9053 on opensolaris (#340016).
9055 2006-05-04 Wim Taymans <wim@fluendo.com>
9057 * docs/libs/gstreamer-libs-sections.txt:
9058 API: addition: gst_adapter_take_buffer()
9060 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9061 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9062 (gst_adapter_available_fast):
9063 * libs/gst/base/gstadapter.h:
9064 Prepare for optimizing the hell out of this hugely inefficient
9065 piece of code.
9066 Added gst_adapter_take_buffer() so we can at least start thinking
9067 about subbuffering and merging.
9068 Added some comments.
9070 * tests/check/Makefile.am:
9071 * tests/check/libs/adapter.c: (GST_START_TEST),
9072 (gst_adapter_suite), (main):
9073 Added GstAdapter check.
9075 2006-05-04 Wim Taymans <wim@fluendo.com>
9077 * docs/design/part-overview.txt:
9078 Fix some typos, add blurb about buffer flags.
9080 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9082 * docs/libs/gstreamer-libs-sections.txt:
9083 make sure GstBaseTransformClass shows up in the docs
9084 * libs/gst/base/gstbasetransform.c:
9085 * libs/gst/base/gstbasetransform.h:
9086 move docs so gtk-doc picks it up now
9088 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9090 * docs/libs/gstreamer-libs-sections.txt:
9091 add missing symbols to docs
9093 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9096 back out the newsegment handling change, see #340060 for ongoing
9097 discussion
9099 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9101 * tools/gst-run.c: (get_candidates), (main):
9102 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9103 work); fix typo in error message. Fixes #340079.
9105 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9107 * common/Makefile.am:
9108 * docs/Makefile.am:
9109 * docs/faq/Makefile.am:
9110 * docs/gst/Makefile.am:
9111 * docs/libs/Makefile.am:
9112 * docs/manual/Makefile.am:
9113 * docs/plugins/Makefile.am:
9114 * docs/pwg/Makefile.am:
9115 * docs/slides/Makefile.am:
9116 * docs/upload.mak:
9117 * common/upload.mak:
9118 move upload.mak to common
9120 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9122 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9123 add more asserts on refcounts
9124 do more cleanup at end of tests
9125 fix test leaks showing in FC5
9127 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9129 * plugins/elements/gsttypefindelement.c:
9130 (gst_type_find_element_handle_event):
9131 reverted wrong change and reflowed code to avoid others falling into
9132 this trap
9134 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9136 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9137 fix changelog entry about last collectpads change,
9138 add notes about proper fix
9140 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9142 * gst/gst.c:
9143 * gst/gstregistry.c: (gst_registry_scan_path_level),
9144 (gst_registry_scan_path):
9145 * gst/gstregistry.h:
9146 only write out registry if it has changed, fixes #338339
9148 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9150 * gst/gstbin.c:
9151 * gst/gstpipeline.c:
9152 * plugins/elements/gstcapsfilter.c:
9153 * plugins/elements/gstfakesink.c:
9154 * plugins/elements/gstfakesrc.c:
9155 * plugins/elements/gstfdsink.c:
9156 * plugins/elements/gstfdsrc.c:
9157 * plugins/elements/gstfilesink.c:
9158 * plugins/elements/gstfilesrc.c:
9159 * plugins/elements/gstidentity.c:
9160 * plugins/elements/gstqueue.c:
9161 * plugins/elements/gsttee.c:
9162 * plugins/elements/gsttypefindelement.c:
9163 (gst_type_find_element_handle_event):
9164 make GstElementDetails const
9166 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9168 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9170 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9171 more detailed debug and formatting cleanup,
9172 forward newsegments to src-pad (so that e.g. adder not eats them)
9174 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9176 * gst/gstutils.c: (gst_element_link_pads):
9177 cleanup double code
9179 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9181 * libs/gst/controller/gstcontroller.c:
9182 (gst_controller_sync_values):
9183 some little tuning
9184 * tests/check/libs/controller.c: (GST_START_TEST),
9185 (gst_controller_suite):
9186 a new test for live value handling
9188 2006-04-28 Wim Taymans <wim@fluendo.com>
9190 * gst/gstutils.c: (push_and_ref):
9191 Added some more docs.
9192 Fix refcount issue whith gst_element_found_tags() helper
9193 function. Fixes #338335
9195 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9196 Added testsuite for gst_element_found_tags().
9198 2006-04-28 Michael Smith <msmith@fluendo.com>
9200 * gst/gstvalue.c: (gst_value_serialize_flags):
9201 Avoid NULL dereference when trying to serialize flags containing
9202 invalid values.
9204 2006-04-28 Michael Smith <msmith@fluendo.com>
9206 * plugins/elements/gsttypefindelement.c:
9207 (gst_type_find_element_handle_event):
9208 If we get EOS before any data is accumulated, don't use
9209 uninitialised local variables.
9211 2006-04-28 Michael Smith <msmith@fluendo.com>
9213 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9214 (gst_dp_event_from_packet):
9215 Fixes in reading/writing events over GDP (not currently used?) -
9216 dereferencing NULL events for unknown/invalid event types, memory
9217 leak, and change g_warning to GST_WARNING.
9219 2006-04-28 Wim Taymans <wim@fluendo.com>
9221 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9222 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9223 (gst_base_sink_get_position), (gst_base_sink_change_state):
9224 When frame dropping is enabled, we should not ignore frames
9225 without a duration.
9226 Update some documentation.
9228 2006-04-28 Wim Taymans <wim@fluendo.com>
9230 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9231 (gst_base_src_send_event), (gst_base_src_change_state):
9232 Documentation updates.
9234 2006-04-28 Wim Taymans <wim@fluendo.com>
9236 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9237 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9238 handle EAGAIN, EINTR and short writes correctly. Also clean
9239 up some error cases, avoid a deadlock on bad file descriptors and
9240 use GST_DEBUG_OBJECT.
9241 Fixes #339843
9243 2006-04-28 Wim Taymans <wim@fluendo.com>
9245 * gst/gstvalue.c: (gst_value_serialize_buffer),
9246 (gst_value_deserialize_buffer):
9247 Don't try to serialize a GValue with a NULL buffer.
9248 Fixes #339821.
9250 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9251 Added check for serialisation of NULL buffers.
9253 2006-04-28 Wim Taymans <wim@fluendo.com>
9255 * gst/gstminiobject.c: (gst_value_take_mini_object):
9256 Taking a NULL miniobject is valid, fix the case where
9257 we try to unref the NULL miniobject.
9259 2006-04-28 Wim Taymans <wim@fluendo.com>
9261 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9263 * gst/gstbin.c: (gst_bin_handle_message_func):
9264 Update docs.
9265 Don't leak bin refcount when a state recalc is
9266 in progress and we delay another one #339808.
9268 2006-04-28 Wim Taymans <wim@fluendo.com>
9270 * docs/design/part-TODO.txt:
9271 Mention QoS as an ongoing work item.
9273 * docs/design/part-buffering.txt:
9274 New doc about buffering that needs to be fleshed out
9275 at some point.
9277 * docs/design/part-qos.txt:
9278 More QoS policy for decoders/demuxers/transforms
9280 * docs/design/part-trickmodes.txt:
9281 Small update.
9283 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9285 * configure.ac:
9286 back to HEAD
9288 === release 0.10.5 ===
9290 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9292 * configure.ac:
9293 releasing 0.10.5, "Fogo"
9295 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9297 patch by: Wim Taymans
9299 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9300 (gst_pad_configure_src), (gst_pad_push):
9301 * gst/gstpipeline.c: (gst_pipeline_init):
9302 Fix internal data flow errors. Fixes #338711.
9304 2006-04-12 Wim Taymans <wim@fluendo.com>
9306 * tests/check/gst/gstelement.c: (GST_START_TEST):
9307 Don't leak the factory.
9309 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9311 * configure.ac:
9312 * win32/common/config.h:
9313 prerelease
9315 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9317 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9318 (gst_controller_unset_all):
9319 Free allocated GstTimedValues when freeing list nodes.
9320 Should fix leaks 'make check-valgrind' complains about.
9322 * win32/common/libgstcontroller.def:
9323 Add gst_controller_unset_all.
9325 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9327 * docs/libs/gstreamer-libs-sections.txt:
9328 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9329 (gst_controller_unset_all):
9330 * libs/gst/controller/gstcontroller.h:
9331 API: Added new method gst_controller_unset_all()
9332 fixed gst_controller_unset()
9333 * tests/check/libs/controller.c: (GST_START_TEST),
9334 (gst_controller_suite):
9335 Added two testcases for new and fixed method
9337 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9339 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9340 MSG_DONTWAIT is not defined on Cygwin, so work
9341 around that (fixes #317048).
9343 2006-04-11 Wim Taymans <wim@fluendo.com>
9345 * gst/gstelementfactory.c: (gst_element_register),
9346 (gst_element_factory_create), (gst_element_factory_make):
9347 Some cleanups.
9348 Fixed a FIXME.
9349 Updated docs (Fixes #131079)
9351 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9352 Small cleanups.
9354 * tests/check/gst/gstelement.c: (GST_START_TEST),
9355 (gst_element_suite):
9356 Added testcase for elementfactory class field.
9358 2006-04-10 Wim Taymans <wim@fluendo.com>
9360 * gst/gstsegment.c:
9361 Added some more docs.
9363 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9364 (gst_base_sink_reset_qos):
9365 Calculate more accurate rate values.
9367 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9369 * gst/gst_private.h:
9370 add a new #ifdef to use __declspec(dllimport) only for
9371 other modules and not for gstreamer core
9372 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9373 use gst_guint64_to_gdouble for conversion
9374 * win32/common/libgstreamer.def:
9375 add new exported functions
9376 * win32/vs6/gst_inspect.dsp:
9377 * win32/vs6/gst_launch.dsp:
9378 * win32/vs6/libgstbase.dsp:
9379 * win32/vs6/libgstcontroller.dsp:
9380 * win32/vs6/libgstcoreelements.dsp:
9381 * win32/vs6/libgstdataprotocol.dsp:
9382 * win32/vs6/libgstnet.dsp:
9383 update project files
9385 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9387 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9388 * gst/gstclock.c: (gst_clock_class_init):
9389 * gst/gstelement.c: (gst_element_class_init):
9390 * gst/gstindex.c: (gst_index_class_init):
9391 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9392 * gst/gstobject.c: (gst_object_class_init),
9393 (gst_signal_object_class_init):
9394 * gst/gstpad.c: (gst_pad_class_init):
9395 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9396 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9397 * gst/gstregistry.c: (gst_registry_class_init):
9398 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9399 * gst/gsttask.c: (gst_task_class_init):
9400 * gst/gstxml.c: (gst_xml_class_init):
9401 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9402 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9403 (gst_base_src_loop):
9404 * libs/gst/controller/gstcontroller.c:/
9405 (_gst_controller_class_init):
9406 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9407 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9408 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9409 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9410 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9411 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9413 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9415 * gst/gstpad.c: (gst_pad_link):
9416 Must set peer pads before calling the link function, otherwise
9417 a task started from a link function might get a flow-not-linked
9418 result when trying to push because the other thread where the
9419 linking happens hasn't had a chance to set the peers yet. This
9420 might happen for example when a queue gets linked to a downstream
9421 element, as queue starts a streaming task when its source pad
9422 gets linked. Happens in real life when playing back flac/musepack
9423 files in playbin (#332390).
9425 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9427 * gst/gstindex.h:
9428 * gst/gstxml.h:
9429 * libs/gst/base/gstadapter.h:
9430 * libs/gst/base/gstbasesink.h:
9431 * libs/gst/base/gstbasesrc.h:
9432 * libs/gst/base/gstbasetransform.h:
9433 * libs/gst/base/gstcollectpads.h:
9434 * libs/gst/base/gstpushsrc.h:
9435 Fix broken GObject macros
9437 2006-04-07 Wim Taymans <wim@fluendo.com>
9439 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9440 Initialize start and stop times, thanks valgrind.
9442 2006-04-07 Wim Taymans <wim@fluendo.com>
9444 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9445 Be a bit nicer to badly behaving upstream elements that expect
9446 us to deal with non TIME segments and timestamps (such as fakesrc
9447 in the testsuite).
9449 2006-04-07 Wim Taymans <wim@fluendo.com>
9451 * gst/gstbus.c:
9452 Small documentation clarification about the signal watch.
9454 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9455 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9456 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9457 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9458 (gst_base_sink_get_position_last),
9459 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9460 Convert and store timestamps in stream time and running time, the
9461 raw timestamps are not useful, also document this better.
9462 Use different window sizes for good and bad QoS observations so
9463 we react to badness a little quicker.
9464 Keep track of the amount of rendered and dropped buffers.
9465 Send QoS timestamps in running time.
9467 * libs/gst/base/gstbasetransform.c:
9468 (gst_base_transform_sink_eventfunc),
9469 (gst_base_transform_handle_buffer):
9470 Compare QoS timestamps against running time.
9472 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9474 * gst/gstpad.c:
9475 Typo fixes in docs.
9477 2006-04-06 Michael Smith <msmith@fluendo.com>
9479 * gst/gstpad.c: (gst_pad_set_property):
9480 Use g_value_get_object() instead of g_value_dup_gst_object(),
9481 to avoid double-reffing the pad template (which we then sink,
9482 so this worked previously if (and only if) the pad template
9483 was floating.
9485 * gst/gstpadtemplate.c: (gst_pad_template_init),
9486 (gst_pad_template_pad_created):
9487 Never return floating references to pad templates, create
9488 them as initially-sunken.
9490 Document an extra function (and make this stop sinking our
9491 pad template, since that is now guaranteed to do nothing,
9492 since we created it sunken).
9494 * gst/gstghostpad.c:
9495 Fix docs typo.
9497 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9499 * gst/gstinfo.c: (__gst_in_valgrind):
9500 Add some newlines.
9502 * plugins/elements/gsttypefindelement.c:
9503 (gst_type_find_element_chain):
9504 Don't leak buffer caps.
9506 2006-04-06 Michael Smith <msmith@fluendo.com>
9508 * gst/parse/grammar.y:
9509 Fix a leak in parse-launch for any source-or-sink named element
9510 references used.
9512 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9513 Unref the pipeline if it exists after we've failed parsing.
9515 2006-04-05 Michael Smith <msmith@fluendo.com>
9517 * gst/gstpipeline.c: (gst_pipeline_init):
9518 When we create a pipeline bus, initially create it in flushing mode.
9519 Fixes leaks in at least one test, and makes a new pipeline work the
9520 same as one that has gone to READY and then back to NULL.
9522 * gst/gstelement.c:
9523 Typo fix in docs.
9525 2006-04-05 Michael Smith <msmith@fluendo.com>
9527 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9528 Unref a pad we reffed.
9529 * tests/check/gst/gstutils.c: (GST_START_TEST):
9530 Unref bins
9532 2006-04-05 Michael Smith <msmith@fluendo.com>
9534 * gst/gstquery.c: (gst_query_set_formats),
9535 (gst_query_set_formatsv):
9536 Fix leaking GValues in queries, as shown by valgrind/testsuite.
9538 2006-04-05 Michael Smith <msmith@fluendo.com>
9540 * tests/check/generic/sinks.c: (GST_START_TEST):
9541 Fix a variety of memleaks in sinks check, which are only sometimes
9542 shown by running the tests under valgrind (weird?).
9544 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
9546 * docs/version.entities.in:
9547 Fix the substituted entity name after thomas' changes on the
9548 weekend.
9550 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9552 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9553 VALGRIND_PRINTF
9555 2006-04-05 Andy Wingo <wingo@pobox.com>
9557 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9559 * libs/gst/base/gstbasetransform.c
9560 (gst_base_transform_sink_eventfunc): When resetting our segment on
9561 FLUSH_STOP, also update the flag saying we haven't seen a
9562 newsegment.
9564 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9566 Patch by: Paolo Borelli <pborelli at katamail dot com>
9568 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9569 (gst_plugin_check_license):
9570 minor clean-ups: G_DEFINE_TYPE already takes care of the
9571 parent_class stuff, no need to do it twice. Mark array of
9572 license strings as constant. (#337103)
9574 2006-04-04 Michael Smith <msmith@fluendo.com>
9576 * tools/gst-inspect.c: (print_element_list):
9577 Free the right plugin list; fixes a memory leak.
9579 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9581 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9583 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9584 Don't error out on empty buffers (#336945).
9586 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
9588 * docs/libs/gstreamer-libs-sections.txt:
9589 * gst/gsttaglist.c:
9590 * libs/gst/base/gstbasesink.c:
9591 * libs/gst/base/gstbasesink.h:
9592 * libs/gst/base/gstbasesrc.c:
9593 * libs/gst/base/gstbasesrc.h:
9594 Documentation updates. Make BaseSink and BaseSrc docs contain the
9595 class structure so that people can actually see the prototypes for
9596 virtual functions they're supposed to be overriding.
9598 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9600 * plugins/elements/gsttypefindelement.c:
9601 (gst_type_find_element_chain):
9602 More debug info; when skipping typefinding, send cached
9603 events in all cases.
9605 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9607 * configure.ac:
9608 use new AS_VERSION and AS_NANO macros
9609 * gst/gst-i18n-lib.h:
9610 * gst/gst.c:
9611 * gst/gsterror.c:
9612 * gst/gstversion.h.in:
9613 * win32/common/config.h:
9614 * win32/common/config.h.in:
9615 update accordingly
9617 2006-03-31 Michael Smith <msmith@fluendo.com>
9619 * plugins/elements/gsttypefindelement.c:
9620 (gst_type_find_element_chain):
9621 Do not typefind content if the buffers already have caps.
9622 Neccesary for icydemux (#333657), and the right thing to do anyway.
9624 2006-03-30 Wim Taymans <wim@fluendo.com>
9626 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9627 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9628 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9629 (gst_base_sink_record_qos_observation),
9630 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9631 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9632 (gst_base_sink_change_state):
9633 More QoS measurements as described in the design doc.
9634 Get rid of ringbuffer with observations, running average is
9635 more simple and equally good.
9636 Calculates valid proportion now.
9637 Added beginning of flood measurement.
9639 2006-03-29 Wim Taymans <wim@fluendo.com>
9641 * docs/design/part-qos.txt:
9642 * gst/gstclock.c:
9643 Small documentation updates and additions.
9645 2006-03-29 Wim Taymans <wim@fluendo.com>
9647 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9648 (gst_base_src_send_event), (gst_base_src_loop),
9649 (gst_base_src_change_state):
9650 Perform the EOS logic when we reach the segment stop position.
9651 Fix compilation on gcc4.1
9653 2006-03-29 Wim Taymans <wim@fluendo.com>
9655 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9657 * plugins/elements/gstqueue.c: (gst_queue_init),
9658 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9659 (gst_queue_set_property):
9660 * plugins/elements/gstqueue.h:
9661 In queue, when EOS is received, if minimum threshold > max_size -
9662 current_level, there is chance that queue blocks forever in conditional
9663 item del wait. This is because the queue is not emptied completely due
9664 to minimum threshold. Here is another approach. Instead of setting
9665 cur_levels to max in EOS, just zero all minimum threshold levels. This
9666 should make sure that queue gives out all data. When going to READY
9667 (stop) state, just reset the original minimum threshold levels.
9668 Fixes #336336.
9670 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9672 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9673 (gst_type_find_element_handle_event),
9674 (gst_type_find_element_send_cached_events),
9675 (gst_type_find_element_change_state):
9676 * plugins/elements/gsttypefindelement.h:
9677 When typefinding is done in push mode, we should cache
9678 events we receive during typefinding instead of just
9679 dropping them (e.g. newsegment, custom events from
9680 dvdreadsrc etc.) and then send them out once we've
9681 determined the type of the stream (and decodebin
9682 has had a chance to plug in a decoder/demuxer).
9684 2006-03-27 Wim Taymans <wim@fluendo.com>
9686 * docs/design/part-qos.txt:
9687 First QoS ideas.
9689 2006-03-27 Wim Taymans <wim@fluendo.com>
9691 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9693 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9694 (gst_base_src_send_event), (gst_base_src_change_state):
9695 Handle element seek correctly when we are streaming.
9696 Fixes #326998.
9698 2006-03-24 Michael Smith <msmith@fluendo.com>
9700 * docs/faq/gst-uninstalled:
9701 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9702 allow you to correctly run intalled applications built against old
9703 core, using plugins that require updated core (e.g. running
9704 installed totem against a full uninstalled gstreamer stack)
9706 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9708 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9709 more debug details
9711 2006-03-24 Wim Taymans <wim@fluendo.com>
9713 * docs/gst/gstreamer-sections.txt:
9714 Rearrange the order of the methods so that related methods
9715 are grouped together in sections.
9717 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9719 * gst/gstelement.c:
9720 Little clarification in the docs
9722 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9724 * docs/README:
9725 formatting fix
9726 * plugins/elements/gstidentity.c:
9727 * plugins/elements/gstqueue.c:
9728 * plugins/elements/gsttee.c:
9729 * plugins/elements/gsttypefindelement.c:
9730 GST_ELEMENT_DETAILS formatting
9732 2006-03-24 Wim Taymans <wim@fluendo.com>
9734 * libs/gst/base/gstbasesink.h:
9735 Only add fields, not insert or we break ABI.
9737 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9739 * win32/common/libgstbase.def:
9740 * win32/common/libgstreamer.def:
9741 Update, add recently added functions.
9743 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9745 * docs/gst/gstreamer-sections.txt:
9746 * gst/gstutils.c: (gst_pad_query_peer_position),
9747 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9748 * gst/gstutils.h:
9749 API: add some new utility functions:
9750 - gst_pad_query_peer_position()
9751 - gst_pad_query_peer_duration()
9752 - gst_pad_query_peer_convert()
9754 2006-03-23 Wim Taymans <wim@fluendo.com>
9756 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9757 (gst_base_sink_init), (gst_base_sink_finalize),
9758 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9759 (gst_base_sink_set_property), (gst_base_sink_get_property),
9760 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9761 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9762 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9763 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9764 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9765 (gst_base_sink_preroll_object), (gst_base_sink_event),
9766 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9767 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9768 (gst_base_sink_query), (gst_base_sink_change_state):
9769 Decouple max-lateness and the fact that QoS messages are generated
9770 with a new property (qos).
9771 added API: GstBaseSink::async_play()
9772 Add vmethod so subclasses can be notified of ASYNC playing
9773 state changes.
9774 Collect timestamp start and stop to report better current
9775 position in EOS/PLAYING/PAUSED/READY/NULL.
9776 Refactor QoS/frame dropping and other measurements.
9777 API: GstBaseSrc::qos
9778 Fixes #326311
9780 * libs/gst/base/gstbasesink.h:
9781 Added Private struct.
9782 API: gst_base_sink_set_qos_enabled()
9783 API: gst_base_sink_is_qos_enabled()
9785 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9787 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9788 If compiling against GLib-2.8 or newer, try to read the
9789 registry file using GMappedFile first before falling back
9790 to fopen() + fread() (#332151).
9792 2006-03-22 Wim Taymans <wim@fluendo.com>
9794 * gst/gstinfo.c: (gst_debug_set_active),
9795 (gst_debug_category_set_threshold):
9796 Disable debugging unless explicitly activated.
9797 Fixes #335480.
9799 2006-03-22 Wim Taymans <wim@fluendo.com>
9801 * gst/gstelement.c: (gst_element_set_locked_state),
9802 (gst_element_dispose):
9803 Cleanup the error case.
9805 * gst/gstobject.c: (gst_object_dispose):
9806 print a critical when some object was disposed with
9807 a parent, also revive the object since it might
9808 crash the parent.
9810 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9812 * tools/gst-launch.1.in:
9813 Fix another typo.
9815 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9817 * configure.ac:
9818 * tests/check/Makefile.am:
9819 disable some tests when we don't have a registry
9820 * tests/check/gst/gstutils.c: (gst_utils_suite):
9821 don't build the part that needs parsing
9823 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9825 * gst/Makefile.am
9826 * tests/examples/Makefile.am:
9827 fix --disable-parse build
9829 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9831 * tools/gst-feedback.1.in:
9832 Fix typo: s/feeback/feedback/ (#133494).
9834 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9836 * tools/Makefile.am:
9837 * tools/gst-launch.1.in:
9838 Add FILES section and correct entry about GST_REGISTRY_PATH
9839 environment variable (#133495; #133494).
9841 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9843 * tools/Makefile.am:
9844 * tools/gst-md5sum.1.in:
9845 * tools/gst-md5sum.c:
9846 Remove gst-md5sum and man page (the md5sink element
9847 required was removed ages ago)
9849 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9851 * gst/gststructure.c: (gst_structure_id_set_value):
9852 Make sure that string fields in structures/taglists
9853 contain valid UTF-8 - we don't want to pass rubbish to
9854 applications because of a buggy plugin (cp. #334167).
9856 2006-03-21 Edward Hervey <edward@fluendo.com>
9858 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9859 (gst_bin_handle_message_func):
9860 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9861 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9862 (gst_element_set_bus_func):
9863 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9864 * gst/gstminiobject.c: (gst_value_set_mini_object),
9865 (gst_value_take_mini_object):
9866 * gst/gstpad.c: (gst_pad_set_pad_template):
9867 * gst/gstpipeline.c: (gst_pipeline_dispose),
9868 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9869 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9870 (gst_collect_pads_chain):
9871 * libs/gst/net/gstnettimeprovider.c:
9872 (gst_net_time_provider_set_property):
9873 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9874 It's in fact all issues with gst_*object_replace().
9876 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9878 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9880 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9881 * pkgconfig/gstreamer-check.pc.in:
9882 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9884 2006-03-21 Edward Hervey <edward@fluendo.com>
9886 * gst/gstbuffer.h:
9887 * gst/gstevent.h:
9888 * gst/gstmessage.h:
9889 gst_[buffer|event|message]_ref() macros are replaced by a static
9890 inline functions because gcc-4.1 will about if the return value
9891 isn't used.
9892 * tests/check/gst/gstevent.c: (event_probe):
9893 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9895 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9897 * gst/gstutils.h:
9898 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9899 the type' case. (Closes: #335195 for now). In the future, when we
9900 depend on GLib 2.10, we could also intern the type name using
9901 g_intern_static_string()
9903 2006-03-20 Wim Taymans <wim@fluendo.com>
9905 * gst/gstbin.c: (gst_bin_handle_message_func),
9906 (bin_query_max_init), (bin_query_position_fold),
9907 (bin_query_position_done), (gst_bin_query):
9908 Position query should also take max of all streams.
9910 2006-03-20 Wim Taymans <wim@fluendo.com>
9912 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9913 (gst_fake_src_finalize):
9914 Fix leaks in fakesrc.
9916 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9917 Fix leaks in the testcase.
9919 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9921 * gst/gst_private.h:
9922 add win32 specific import decoration(__declspec(dllimport))
9923 for all extern GstDebugCategory * variables
9924 * win32/common/libgstbase.def:
9925 * win32/common/libgstcontroller.def:
9926 * win32/common/libgstreamer.def:
9927 Add some exports, remove empty lines
9928 * win32/common/libgstdataprotocol.def:
9929 * win32/common/libgstdataprotocol.dsp:
9930 * win32/common/libgstnet.def:
9931 * win32/common/libgstnet.dsp:
9932 new project files and exportation files added
9934 2006-03-19 Wim Taymans <wim@fluendo.com>
9936 * tests/check/libs/basesrc.c: (eos_event_counter):
9937 Use proper return value for probe.
9939 2006-03-17 Wim Taymans <wim@fluendo.com>
9941 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9942 (gst_pad_push):
9943 Don't leak buffers, caps and pads on negotiation errors.
9945 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9947 * docs/faq/cvs.xml:
9948 * docs/faq/dependencies.xml:
9949 * docs/faq/developing.xml:
9950 * docs/faq/faq.xml:
9951 * docs/faq/general.xml:
9952 * docs/faq/getting.xml:
9953 * docs/faq/legal.xml:
9954 * docs/faq/troubleshooting.xml:
9955 * docs/faq/using.xml:
9956 Faq review and update.
9958 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9960 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9961 (gst_pad_push):
9962 Don't pound the cpu to pieces by checking get_caps when accept_caps
9963 is called with the same caps as the pad already has.
9964 Use GST_DEBUG_OBJECT when outputting caps change information.
9966 2006-03-15 Wim Taymans <wim@fluendo.com>
9968 * gst/gstclock.c: (gst_clock_class_init):
9969 Fix docs.
9971 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9973 * gst/gstbuffer.h:
9974 Documentation fix.
9976 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9977 (gst_pad_accept_caps), (gst_pad_configure_sink),
9978 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9979 Make the default acceptcaps behaviour be to check the requested
9980 caps against the gst_pad_get_caps output.
9982 Ensure that gst_pad_accept_caps is used to check caps when a pad
9983 doesn't have a setcaps function, so that pads automatically refuse
9984 caps that they don't allow in their pad template. (Fixes #332986)
9986 When a buffer with attached caps is pushed, ensure that the source
9987 pad receives those caps even if the element didn't call
9988 gst_pad_set_caps first.
9990 2006-03-15 Wim Taymans <wim@fluendo.com>
9992 * libs/gst/base/gstadapter.c:
9993 Add some docs.
9995 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9997 * win32/common/libgstbase.def:
9998 * win32/common/libgstcontroller.def:
9999 * win32/common/libgstreamer.def:
10000 Add a whole bunch of missing functions (#334434).
10002 2006-03-14 Wim Taymans <wim@fluendo.com>
10004 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10005 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10006 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10007 Better debug info when we receive a segment event.
10008 Reorganize a bit so we can pass the get_times() results around.
10009 Use the segment format when calculating the running time.
10010 Don't do QoS is sync is disabled or we have no clock or the
10011 element does not want us to sync to the clock.
10012 Don't drop buffers if QoS is disabled for now.
10014 2006-03-14 Wim Taymans <wim@fluendo.com>
10016 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10017 Marked the stats property as unimplemented so people don't get
10018 wild ideas.
10019 Add debug message when regression goes wrong.
10020 Added some more docs.
10022 2006-03-14 Wim Taymans <wim@fluendo.com>
10024 * gst/gstsegment.c: (gst_segment_to_stream_time):
10025 Return correct return type in case of errors.
10027 2006-03-14 Wim Taymans <wim@fluendo.com>
10029 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10030 Don't segfault on invalid formats.
10032 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10034 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10035 Can't use gst_segment_to_running_time() when the segment
10036 is not in GST_TIME_FORMAT (like with filesink, for example).
10037 Stops flac encoding pipelines from spewing critical warnings
10038 at EOS (#331248).
10040 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10042 * gst/gstpipeline.c: (gst_pipeline_class_init):
10043 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10045 * plugins/elements/gsttypefindelement.c:
10046 (gst_type_find_element_handle_event):
10047 Don't try to typefind empty streams.
10049 2006-03-14 Wim Taymans <wim@fluendo.com>
10051 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10052 (gst_base_sink_do_qos):
10053 Separate QoS calculation.
10054 Only drop buffers when lateness is bigger than the
10055 duration of the buffer.
10057 2006-03-13 Wim Taymans <wim@fluendo.com>
10059 * gst/gstpipeline.c: (gst_pipeline_set_property),
10060 (gst_pipeline_get_property), (do_pipeline_seek),
10061 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10062 (gst_pipeline_get_delay):
10063 Don't deadlock when reading properties.
10065 2006-03-13 Wim Taymans <wim@fluendo.com>
10067 * libs/gst/base/gstbasetransform.c:
10068 (gst_base_transform_class_init), (gst_base_transform_init),
10069 (gst_base_transform_sink_event),
10070 (gst_base_transform_sink_eventfunc),
10071 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10072 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10073 (gst_base_transform_set_property),
10074 (gst_base_transform_get_property),
10075 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10076 (gst_base_transform_set_qos_enabled),
10077 (gst_base_transform_is_qos_enabled):
10078 * libs/gst/base/gstbasetransform.h:
10079 Make basetransform virtual method for src events too.
10080 Handle QOS in basetransform.
10081 API: gst_base_transform_update_qos()
10082 API: gst_base_transform_set_qos_enabled()
10083 API: gst_base_transform_is_qos_enabled()
10085 2006-03-13 Wim Taymans <wim@fluendo.com>
10087 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10088 (gst_base_sink_do_sync):
10089 Small cleanups.
10090 Use QOS debug category.
10092 2006-03-13 Wim Taymans <wim@fluendo.com>
10094 * plugins/elements/gstqueue.c:
10095 Very small doc update.
10097 2006-03-13 Wim Taymans <wim@fluendo.com>
10099 * gst/gst_private.h:
10100 * gst/gstinfo.c: (_gst_debug_init):
10101 Added QOS debug category
10103 2006-03-13 Wim Taymans <wim@fluendo.com>
10105 * docs/gst/gstreamer-sections.txt:
10106 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10107 * gst/gstbin.h:
10108 * gst/gstbus.c: (gst_bus_class_init):
10109 * gst/gstbus.h:
10110 * gst/gstclock.c:
10111 * gst/gstelement.c: (gst_element_set_locked_state):
10112 * gst/gstsegment.c:
10113 Documentation updates.
10115 * gst/gstpipeline.c: (gst_pipeline_get_type),
10116 (gst_pipeline_class_init), (gst_pipeline_init),
10117 (gst_pipeline_dispose), (gst_pipeline_set_property),
10118 (gst_pipeline_get_property), (do_pipeline_seek),
10119 (gst_pipeline_send_event), (gst_pipeline_change_state),
10120 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10121 (gst_pipeline_get_delay):
10122 * gst/gstpipeline.h:
10123 Added methods for setting the delay.
10124 API: gst_pipeline_set_delay()
10125 API: gst_pipeline_get_delay()
10126 Add pipeline debug category
10127 Various cleanups.
10128 Updated docs.
10129 Don't reset stream time when seek failed.
10131 2006-03-13 Wim Taymans <wim@fluendo.com>
10133 * docs/design/draft-klass.txt:
10134 * docs/design/part-clocks.txt:
10135 * docs/design/part-events.txt:
10136 * docs/design/part-gstbin.txt:
10137 * docs/design/part-gstpipeline.txt:
10138 * docs/design/part-messages.txt:
10139 * docs/design/part-negotiation.txt:
10140 * docs/design/part-overview.txt:
10141 * docs/design/part-preroll.txt:
10142 * docs/design/part-seeking.txt:
10143 * docs/design/part-states.txt:
10144 * docs/design/part-streams.txt:
10145 Documentation updates.
10147 2006-03-12 Julien MOUTTE <julien@moutte.net>
10149 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10150 us to leak strings...
10152 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10154 * libs/gst/net/gstnettimeprovider.c:
10155 fix docs
10156 * win32/common/config.h:
10157 update
10159 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10161 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10163 * configure.ac:
10164 Don't check for libgnomeui (leftover from old examples
10165 that aren't built or disted any longer) (#334303).
10167 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10169 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10170 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10171 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10172 there's no space left on the device.
10174 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10176 * gst/gstclock.h:
10177 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10178 to cast the input to GstClockTime before comparing with
10179 another GstClockTime value.
10181 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10183 * configure.ac:
10184 back to trunk
10186 === release 0.10.4 ===
10188 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10190 * configure.ac:
10191 releasing 0.10.4, "Light"
10193 2006-03-10 Michael Smith <msmith@fluendo.com>
10195 * libs/gst/dataprotocol/dataprotocol.c:
10196 Fix docs for dataprocotol to not get the return types completely
10197 wrong for a few functions.
10199 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10201 * docs/gst/gstreamer-sections.txt:
10202 * gst/gstpipeline.c: (gst_pipeline_class_init),
10203 (gst_pipeline_init), (gst_pipeline_set_property),
10204 (gst_pipeline_get_property), (gst_pipeline_change_state),
10205 (gst_pipeline_set_auto_flush_bus),
10206 (gst_pipeline_get_auto_flush_bus):
10207 * gst/gstpipeline.h:
10208 Add new API: gst_pipeline_set_auto_flush_bus() and
10209 gst_pipeline_get_auto_flush_bus() to disable automatic
10210 flushing of the pipeline's GstBus when going from READY
10211 to NULL state (#332045).
10213 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10215 * docs/gst/gstreamer-sections.txt:
10216 * gst/gsturi.c: (gst_uri_has_protocol):
10217 * gst/gsturi.h:
10218 Add new API: gst_uri_has_protocol() (#333779).
10220 2006-03-09 Wim Taymans <wim@fluendo.com>
10222 * gst/gstclock.c: (gst_clock_entry_new),
10223 (gst_clock_id_compare_func), (gst_clock_id_wait),
10224 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10225 (gst_clock_init), (gst_clock_get_internal_time),
10226 (gst_clock_set_master), (do_linear_regression),
10227 (gst_clock_add_observation), (gst_clock_set_property):
10228 * gst/gstclock.h:
10229 Review docs.
10230 Small cleanups.
10231 Fix a possible segfault when the window-size is made smaller.
10232 Calculate jitter before performing the clock wait. Ideally
10233 the clock implementation should calculate jitter but we need
10234 API breakage for that.
10236 * gst/gstsystemclock.c: (gst_system_clock_init):
10237 Docs review.
10239 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10240 Remove leftover else
10242 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10243 (gst_systemclock_suite):
10244 Added check to test GST_CLOCK_DIFF.
10246 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10248 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10249 (gst_type_find_helper_get_range):
10250 If we are provided with the size, we should implement
10251 GstTypeFind::get_length, so that typefind functions who
10252 want to can actually peek at the middle of a file.
10254 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10256 * docs/manual/advanced-dataaccess.xml:
10257 Add some very very basic error checking.
10259 * docs/pwg/appendix-checklist.xml:
10260 Some updates to the list of things to check when writing an element.
10262 2006-03-08 Wim Taymans <wim@fluendo.com>
10264 * docs/design/part-element-transform.txt:
10265 Added some docs about the design of tranform elements.
10267 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10268 (gst_base_src_loop), (gst_base_src_change_state):
10269 Mark buffers with the DISCONT flag.
10271 2006-03-08 Michael Smith <msmith@fluendo.com>
10273 * gst/gstregistry.h:
10274 * gst/gstregistryxml.c: (gst_registry_save),
10275 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10276 (gst_registry_xml_save_pad_template),
10277 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10278 (gst_registry_xml_write_cache):
10279 Rewrite registry-saving to avoid race conditions and check for
10280 failed writes.
10282 2006-03-08 Wim Taymans <wim@fluendo.com>
10284 * libs/gst/base/gstbasetransform.c:
10285 (gst_base_transform_transform_caps),
10286 (gst_base_transform_transform_size),
10287 (gst_base_transform_prepare_output_buffer),
10288 (gst_base_transform_get_unit_size),
10289 (gst_base_transform_buffer_alloc),
10290 (gst_base_transform_handle_buffer),
10291 (gst_base_transform_change_state):
10292 Cleanups, separate normal flow from errors, add sensible
10293 DEBUG lines.
10294 Don't try to renegotiate when allocating an output buffer.
10295 Also copy DISCONT buffer flag when copying a buffer.
10296 Reset the transform after we finish streaming, not during.
10298 2006-03-08 Wim Taymans <wim@fluendo.com>
10300 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10301 Use last buffer timestamp in qos message.
10303 2006-03-07 Wim Taymans <wim@fluendo.com>
10305 Patch by: Christophe Fergeau
10307 * docs/pwg/advanced-tagging.xml:
10308 * docs/pwg/building-pads.xml:
10309 fixes #333416
10311 2006-03-07 Wim Taymans <wim@fluendo.com>
10313 * docs/libs/gstreamer-libs-sections.txt:
10314 Added basesink new methods.
10316 * gst/gstevent.c:
10317 * gst/gstevent.h:
10318 Docs updates. Flesh out the QoS docs.
10320 * libs/gst/base/gstadapter.c:
10321 Small doc clarification about ownership and flushing.
10323 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10324 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10325 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10326 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10327 * libs/gst/base/gstbasesink.h:
10328 API additions:
10329 Added new methods to allow subclass to control max-lateness
10330 and sync.
10331 Generate very basic QoS events based on last sync observation.
10332 Updated docs, fix typo, added some QoS blurb.
10334 * libs/gst/base/gstbasesrc.c:
10335 Remove obsolete _get_state() calls from docs.
10337 2006-03-07 Wim Taymans <wim@fluendo.com>
10339 * docs/libs/gstreamer-libs-sections.txt:
10340 * libs/gst/base/gstbasetransform.h:
10341 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10342 Fix docs for GstBaseSrc.
10344 2006-03-07 Wim Taymans <wim@fluendo.com>
10346 * docs/gst/gstreamer-sections.txt:
10347 * gst/gstbuffer.h:
10348 * gst/gstvalue.c:
10349 * libs/gst/base/gstbasetransform.h:
10350 Small documentation fixes.
10352 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10354 * gst/gstvalue.c:
10355 Document thread-unsafety of gst_value_register_foo_func()
10356 when used at the same time as gst_value_foo() (#322628).
10358 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10360 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10361 (gst_push_src_check_get_range):
10362 Push sources don't support pull mode by default.
10364 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10366 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10367 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10368 (gst_base_src_default_check_get_range):
10369 * libs/gst/base/gstbasesrc.h:
10370 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10371 provide default implementation, and rename
10372 gst_base_src_check_get_range() to
10373 gst_base_src_pad_check_get_range() for clarity.
10375 2006-03-06 Wim Taymans <wim@fluendo.com>
10377 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10378 Make property overridable.
10380 2006-03-06 Wim Taymans <wim@fluendo.com>
10382 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10383 (gst_base_sink_init), (gst_base_sink_set_property),
10384 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10385 * libs/gst/base/gstbasesink.h:
10386 API addition: Make max-lateness a property.
10388 2006-03-06 Wim Taymans <wim@fluendo.com>
10390 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10391 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10392 Don't ever draw a frame that is >10ms late.
10394 2006-03-06 Michael Smith <msmith@fluendo.com>
10396 * gst/gstmessage.c: (_gst_message_copy):
10397 When copying a message, set the parent_refcount of the enclosed
10398 structure to point at the copy, not the original message.
10400 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10402 Patch by: Christophe Fergeau
10404 * gst/gstutils.h:
10405 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10406 usable in c++ code (#333417)
10408 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10410 * gst/gstclock.h:
10411 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10413 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10415 * libs/gst/base/gstbasetransform.c:
10416 (gst_base_transform_transform_caps):
10417 Make sure caps are writable before passing them to
10418 gst_caps_append().
10420 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10422 * gst/gsterror.h:
10423 Fix some minor docs errors.
10425 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10427 Patch by: Ross Burton <ross at burtonini dot com>
10429 * gst/gsterror.c: (_gst_resource_errors_init):
10430 * gst/gsterror.h:
10431 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10433 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10435 * gst/gst.c:
10436 Add a check and output a g_warning when GStreamer is built
10437 against GLib 2.6 but running against 2.8 or higher, and vice
10438 versa. (Closes: #323542)
10440 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10442 * gst/parse/parse.l:
10443 Commit patch for parse_launch syntax from #331255. Removes
10444 support for quoted strings and mimetypes when writing filtered
10445 caps. See the bug report for more details - I'm pretty sure this
10446 obscure feature is not in use by _anyone_ anywhere.
10448 With this simple change, the size of the gstreamer.so here
10449 drops from 2193KB to 1565KB.
10451 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10453 * plugins/elements/gsttypefindelement.h:
10454 * plugins/elements/gsttypefindelement.c:
10455 (gst_type_find_element_src_event), (start_typefinding),
10456 (stop_typefinding), (gst_type_find_element_handle_event),
10457 (gst_type_find_element_chain),
10458 (gst_type_find_element_chain_do_typefinding):
10459 Use gst_type_find_helper_for_buffer() for chain-based
10460 typefinding.
10462 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10464 * plugins/elements/gsttypefindelement.c:
10465 (gst_type_find_element_class_init),
10466 (gst_type_find_element_set_property),
10467 (gst_type_find_element_get_property):
10468 Deprecate "maximum" property (not only was it only taken into
10469 account for typefinding in push-mode anyway, it also was never
10470 actually possible to set it in the first place because the
10471 property was registered with the numeric property ID for the
10472 "minimum" property). Register "maximum" property correctly,
10473 for the sake of future copy'n'pasters. Remove some cruft
10474 from property get/set functions.
10476 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10478 * plugins/elements/gsttypefindelement.c:
10479 (gst_type_find_element_activate):
10480 Use gst_type_find_helper_get_range() here, so we
10481 can honour the "minimum" property and also emit
10482 the signal with the correct probability of the found caps.
10484 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10486 * docs/libs/gstreamer-libs-sections.txt:
10487 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10488 (helper_find_suggest), (gst_type_find_helper_get_range),
10489 (gst_type_find_helper):
10490 * libs/gst/base/gsttypefindhelper.h:
10491 New API: gst_type_find_helper_get_range() (#333042).
10493 2006-03-02 Michael Smith <msmith@fluendo.com>
10495 * gst/gstregistryxml.c: (load_feature):
10496 Asserting on a failure to read part of the registry is Not Cool.
10497 Just log a warning and return NULL (which is already handled)
10499 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10501 * win32/common/libgstbase.def:
10502 added export of gst_type_find_helper_for_buffer
10503 * win32/common/libgstbase.def:
10504 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10505 gst_ghost_pad_get_target
10507 2006-02-28 Wim Taymans <wim@fluendo.com>
10509 * docs/design/draft-klass.txt:
10510 We use Filter now.
10511 Added Connector to mark elements that are only used to
10512 allow pipeline connections.
10513 Moved Debug to extra feature since most of them are
10514 functionally something else.
10516 2006-02-28 Wim Taymans <wim@fluendo.com>
10518 * docs/design/draft-klass.txt:
10519 Some updates and clarifications.
10521 2006-02-28 Wim Taymans <wim@fluendo.com>
10523 * docs/design/draft-klass.txt:
10524 Proposal for klass field values.
10526 * docs/design/part-streams.txt:
10527 Start of a doc describing stream anatomy.
10529 2006-02-28 Wim Taymans <wim@fluendo.com>
10531 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10532 Help the compiler a bit with type registration.
10533 Use existing forward cod path instead of duplicating it when
10534 handling a message.
10536 * gst/gstbus.c: (gst_bus_get_type):
10537 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10538 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10539 * gst/gstclock.c: (gst_clock_get_type):
10540 * gst/gstelement.c: (gst_element_get_type),
10541 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10542 * gst/gstindexfactory.c: (gst_index_factory_get_type):
10543 * gst/gstminiobject.c: (gst_mini_object_get_type):
10544 * gst/gstpad.c: (gst_pad_get_type):
10545 * gst/gstsegment.c: (gst_segment_get_type):
10546 * gst/gststructure.c: (gst_structure_get_type):
10547 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10548 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10549 * gst/gstvalue.c:
10550 Help compiler with type registration.
10552 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10553 Small doc update.
10555 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10557 * plugins/elements/gsttypefindelement.c:
10558 (gst_type_find_element_handle_event):
10559 When we get an EOS event and have not found a type yet
10560 (most likely because we had not yet accumulated
10561 TYPE_FIND_MIN_SIZE of data yet), try to determine the
10562 type given the data we have so far. Fixes typefinding
10563 for very short streams again, most notably quicktime
10564 redirections as used on Apple's trailer site (#331701).
10566 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10568 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10569 (gst_type_find_helper):
10570 Try typefinding factories with the highest rank first.
10572 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10574 * docs/libs/gstreamer-libs-docs.sgml:
10575 * docs/libs/gstreamer-libs-sections.txt:
10576 * libs/gst/base/gsttypefindhelper.c:
10577 Add section for typefind helper and add documentation
10578 for the old and the new function.
10580 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10582 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10583 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10584 (gst_type_find_helper_for_buffer):
10585 * libs/gst/base/gsttypefindhelper.h:
10586 New API: gst_type_find_helper_for_buffer() (#332723).
10588 2006-02-27 Michael Smith <msmith@fluendo.com>
10590 Patch by: Loïc Minier
10592 * configure.ac:
10593 * docs/Makefile.am:
10594 * docs/slides/Makefile.am:
10595 prevent CVS directories getting disted.
10597 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10599 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10600 Use the REFCOUNTING category for caps refcounting.
10602 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10604 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10605 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10607 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10609 * plugins/elements/gsttypefindelement.c:
10610 (gst_type_find_element_activate):
10611 Use gst_pad_check_pull_range() before _activate_pull()
10612 to avoid unnecessary open/close (see #331690).
10614 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10616 * gst/gstutils.c:
10617 Docs enhancement: make it crystal clear what the
10618 gst_pad_add_*_probe() callbacks should look like.
10620 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10622 * libs/gst/base/gstbasesrc.c:
10623 Document how applications can stop recording from
10624 live sources (see #330996).
10626 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10628 * tests/check/Makefile.am:
10629 * tests/check/libs/basesrc.c: (eos_event_counter),
10630 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10631 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10632 (gst_basesrc_suite), (main):
10633 ... and add some tests for the base source EOS stuff.
10635 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10637 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10638 Test case originally showed the problem fixed below,
10639 but was then amended. Add checks back at the place
10640 where they used to be.
10642 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10644 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10645 (gst_base_src_init), (gst_base_src_loop),
10646 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10647 (gst_base_src_change_state):
10648 * libs/gst/base/gstbasesrc.h:
10649 Don't unconditionally send EOS when going from PAUSED to
10650 READY state, esp. make sure we don't send two EOS events
10651 in some cases (e.g. one when reaching EOS and one when
10652 going from PAUSED to READY). Also, we don't want to send
10653 EOS events when operating in pull mode. However, we do
10654 want to send an EOS event when shutting down a live
10655 source explicitly, for example (fixes #330996).
10657 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10659 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10660 Update src->read_position after a seek when not using mmap.
10661 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10663 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10665 * gst/Makefile.am:
10666 * gst/gstparse.h:
10667 * gst/gstutils.c:
10668 * gst/gstutils.h:
10669 Make things work with --disable-parse as they do with
10670 --disable-load-save - the symbols involved disappear, but the
10671 header is still installed and GST_DISABLE_PARSE is included via
10672 gstconfig.h
10674 2006-02-20 Julien MOUTTE <julien@moutte.net>
10676 * libs/gst/base/gstbasetransform.c:
10677 (gst_base_transform_change_state): Fix a stupid bug. I was
10678 sure I compiled that.
10680 2006-02-20 Julien MOUTTE <julien@moutte.net>
10682 * gst/gstpad.c: (gst_pad_set_blocked_async):
10683 * gst/gstutils.c: (gst_pad_add_data_probe),
10684 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10685 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10686 (gst_pad_remove_buffer_probe): Make those function act on the
10687 ghostpad target when it's a ghostpad. (Closes #331727)
10689 2006-02-20 Julien MOUTTE <julien@moutte.net>
10691 * libs/gst/base/gstbasetransform.c:
10692 (gst_base_transform_change_state): Make basetransform reusable.
10693 (Closes #331898)
10695 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10697 * docs/random/release:
10698 Move the current documentation of how to do a release to the top
10699 of the file.
10701 * gst/gstbin.c: (gst_bin_class_init),
10702 (gst_bin_handle_message_func):
10703 Allow multiple state-recalculation threads. (Closes #328873)
10705 2006-02-19 Julien MOUTTE <julien@moutte.net>
10707 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10708 * gst/gstpad.c: (gst_pad_set_event_function),
10709 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10710 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10711 2 strings. You can't use the STR_NULL macro on that.
10713 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10715 * gst/gstpad.c: (gst_pad_set_event_function),
10716 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10717 (gst_pad_set_getcaps_function)
10718 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10719 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10720 So now, we can use --gst-debug-level=5 on Windows
10721 * win32/common/libgstcontroller.def:
10722 Added export of gst_controller_init
10723 * win32/vs6/libgstcontroller.dsp:
10724 Fixed Release post build configuration
10726 2006-02-17 Wim Taymans <wim@fluendo.com>
10728 * tests/check/gst/gstquery.c: (GST_START_TEST):
10729 Added another check.
10731 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10733 * plugins/elements/gsttypefindelement.c: (find_peek):
10734 We can do peeks at non-zero offsets, as long as they
10735 fall within the buffer we have.
10737 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10739 * tests/check/Makefile.am:
10740 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10741 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10742 (parse_suite), (main):
10743 Add testsuite for parse launch syntax
10745 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10747 * plugins/elements/gsttypefindelement.c:
10748 (gst_type_find_element_chain):
10749 When typefinding is unsuccessful in the chain function, don't
10750 error out immediately. Only error out with NO_CAPS_FOUND if
10751 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10752 otherwise simply wait for more data so we can try typefinding
10753 again with more data later. Also, don't attempt to typefind
10754 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10755 this should improve typefinding from network sources where the
10756 size of the first buffer can be somewhat random.
10758 2006-02-14 Wim Taymans <wim@fluendo.com>
10760 * docs/gst/gstreamer-sections.txt:
10761 * gst/gstpadtemplate.c:
10762 * gst/gstpadtemplate.h:
10763 Fix padtemplate docs, fixes #328805.
10765 2006-02-14 Wim Taymans <wim@fluendo.com>
10767 * tools/gst-launch.c: (main):
10768 NO_PREROLL is not an ERROR so don't send confusing messages
10769 to the user.
10771 2006-02-14 Wim Taymans <wim@fluendo.com>
10773 Patch by: Torsten Schoenfeld
10775 * gst/gstregistry.c: (gst_registry_get_default),
10776 (_gst_registry_cleanup):
10777 Protect default registry with lock and ref/sink it.
10778 Fixes #324818
10780 2006-02-14 Wim Taymans <wim@fluendo.com>
10782 * gst/gstbuffer.c:
10783 * gst/gstquery.c: (gst_query_list_add_format),
10784 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10785 (gst_query_parse_formats_nth):
10786 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10787 Docs fixes.
10789 2006-02-14 Wim Taymans <wim@fluendo.com>
10791 * docs/gst/gstreamer-sections.txt:
10792 Reworked query docs.
10794 * gst/gstquery.c: (gst_query_new_formats),
10795 (gst_query_list_add_format), (gst_query_set_formats),
10796 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10797 (gst_query_parse_formats_nth):
10798 * gst/gstquery.h:
10799 Flesh out formats query, added some new methods.
10800 Fix part of #324398.
10802 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10803 Added query creation tests.
10805 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10807 * gst/gstpad.c: (fixate_value):
10808 Add a default fixation for fraction lists.
10810 2006-02-13 Wim Taymans <wim@fluendo.com>
10812 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10813 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10814 (gst_task_join):
10815 * gst/gsttask.h:
10816 Detect and warn for obvious deadlocks. fixes #320340
10817 Fix error case where lock was not released.
10819 * tests/check/Makefile.am:
10820 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10821 (task_func), (gst_element_suite), (main):
10822 Add task check.
10824 2006-02-13 Wim Taymans <wim@fluendo.com>
10826 * docs/gst/gstreamer-sections.txt:
10827 * gst/gstbus.c:
10828 Add new functions to docs.
10830 2006-02-13 Wim Taymans <wim@fluendo.com>
10832 * docs/design/part-TODO.txt:
10833 Updated TODO list, basesrc supports seeking to non-bytes
10834 formats.
10836 * docs/design/part-element-sink.txt:
10837 Update docs.
10839 * gst/gstbin.c: (bin_replace_message),
10840 (gst_bin_handle_message_func):
10841 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10842 * gst/gstevent.c: (gst_event_finalize):
10843 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10844 (gst_pad_send_event):
10845 Use shiny new _TYPE_NAME macros.
10847 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10848 Move debug statement up.
10850 * gst/gstelement.c: (gst_element_set_locked_state):
10851 Add some debugging.
10853 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10855 * docs/gst/gstreamer-sections.txt:
10856 * gst/gstmessage.h:
10857 * gst/gstquery.h:
10858 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10859 macros (#330906). Also, document the already existing
10860 GST_QUERY_TYPE macro.
10862 2006-02-13 Wim Taymans <wim@fluendo.com>
10864 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10865 (event_probe), (GST_START_TEST):
10866 Only events up to the pipeline EOS are counted, there are
10867 some more when going to NULL currently which we don't care
10868 about for now.
10870 2006-02-13 Wim Taymans <wim@fluendo.com>
10872 * gst/gstpad.c: (gst_pad_send_event):
10873 Correctly check flushing and emit probes. fixes #330125
10875 2006-02-10 Andy Wingo <wingo@pobox.com>
10877 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10878 structure.
10879 (gst_bus_init): Cache the location of the private data in the
10880 instance structure.
10881 (gst_bus_enable_sync_message_emission)
10882 (gst_bus_disable_sync_message_emission): Implement new public
10883 functions.
10884 (gst_bus_post): Emit the sync-message signal if the user asked for
10885 it. Fixes #330684.
10887 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10888 location of the bus-private structure.
10889 (gst_bus_enable_sync_message_emission)
10890 (gst_bus_disable_sync_message_emission): API addition
10892 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10894 Patch by: Vincent Torri
10896 * docs/pwg/building-boiler.xml:
10897 PWG patch from #326800
10899 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10901 * configure.ac:
10902 * docs/Makefile.am:
10903 * docs/design/Makefile.am:
10904 Dist design docs.
10906 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10908 * configure.ac:
10909 back to CVS
10911 === release 0.10.3 ===
10913 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10915 * configure.ac:
10916 releasing 0.10.3, "Like a virgin"
10918 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10920 * configure.ac:
10921 2nd prerelease of 0.10.3
10922 Bump libtool versioning.
10924 2006-02-07 Andy Wingo <wingo@pobox.com>
10926 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10927 update last_stop if we're in TIME format and the timestamp is
10928 valid.
10930 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10931 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10932 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10933 If we get a new newsegment with a different format, adapt
10934 accordingly.
10936 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10937 of 0. Not a problem, really.
10939 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10940 warn if sync=true.
10942 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10944 * configure.ac:
10945 Prelease of 0.10.3
10947 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10949 * win32/vs7:
10950 project files updated to the default vs7 configuration
10951 * win32/common/libgstbase.def:
10952 * win32/common/libgstreamer.def:
10953 added new symbols,
10954 removed empty lines,
10955 sorted all exported symbols alphabetically
10956 * win32/common/dirent.c:
10957 * win32/common/dirent.h:
10958 * win32/common/gchar.h:
10959 use windows line end.
10961 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10963 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10964 Send EOS event when stopping.
10966 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10968 * docs/README:
10969 Tell folks what to do if the plugin-foobar.xml file
10970 hasn't been generated for a newly-added plugin.
10972 2006-02-05 Julien MOUTTE <julien@moutte.net>
10974 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10975 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10976 (gst_collect_pads_start), (gst_collect_pads_stop),
10977 (gst_collect_pads_event): Collectpads now holds a reference
10978 to the GstPad that was added. Indeed we don't want to look
10979 at pads that might just go away with no warning...
10981 2006-02-05 Julien MOUTTE <julien@moutte.net>
10983 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10984 (gst_collect_pads_start), (gst_collect_pads_stop),
10985 (gst_collect_pads_event), (gst_collect_pads_chain):
10986 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10987 Mark Nauwelaerts's patch on bug #328491.
10989 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10991 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10992 (gst_utils_suite):
10993 Add some simple tests for gst_parse_bin_from_description() and
10994 gst_bin_find_unconnected_pad() (#329069).
10996 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10998 * tools/gst-launch.c: (event_loop), (main):
10999 Catch errors during preroll (#320084).
11001 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11003 * plugins/elements/gsttypefindelement.c:
11004 (gst_type_find_element_activate):
11005 Post TYPE_NOT_FOUND error message when typefinding
11006 is unsuccessful in the activate function as well.
11008 2006-02-02 Wim Taymans <wim@fluendo.com>
11010 * docs/design/part-element-sink.txt:
11011 Updated doc.
11013 2006-02-02 Wim Taymans <wim@fluendo.com>
11015 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11016 (gst_base_sink_render_object),
11017 (gst_base_sink_queue_object_unlocked):
11018 Only keep track of prerollable items when we are
11019 prerolling.
11020 Before rendering after preroll, always check if we
11021 have queued items.
11022 Added some more debugging.
11024 2006-02-02 Wim Taymans <wim@fluendo.com>
11026 * gst/gstelement.c: (gst_element_continue_state),
11027 (gst_element_set_state_func), (gst_element_change_state):
11028 Fixed #326576, been running this for quite some time with
11029 no regressions at all.
11031 2006-02-02 Wim Taymans <wim@fluendo.com>
11033 * common/gst.supp:
11034 Added more suppressions
11036 2006-02-02 Wim Taymans <wim@fluendo.com>
11038 * docs/design/part-element-sink.txt:
11039 Updated document.
11041 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11042 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11043 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11044 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11045 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11046 (gst_base_sink_preroll_object),
11047 (gst_base_sink_queue_object_unlocked),
11048 (gst_base_sink_queue_object), (gst_base_sink_event),
11049 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11050 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11051 (gst_base_sink_get_position), (gst_base_sink_change_state):
11052 * libs/gst/base/gstbasesink.h:
11053 Totally refactored matching the design doc.
11054 Use two segments, one to clip incomming buffers and another to
11055 perform sync.
11056 Handle queueing correctly, bypass the queue when playing.
11057 Make EOS cancelable.
11058 Handle errors correctly when operating in pull based mode.
11060 * tests/check/elements/fakesink.c: (GST_START_TEST),
11061 (fakesink_suite):
11062 Added new check for sinks.
11064 2006-02-02 Wim Taymans <wim@fluendo.com>
11066 * gst/gstsegment.c: (gst_segment_clip):
11067 No reason to refuse to clip when start == -1
11069 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11071 * docs/README:
11072 * docs/manual/intro-basics.xml:
11073 * docs/manual/intro-preface.xml:
11074 * docs/manual/manual.xml:
11075 * docs/pwg/advanced-dparams.xml:
11076 * docs/pwg/intro-basics.xml:
11077 * docs/pwg/intro-preface.xml:
11078 * docs/pwg/pwg.xml:
11079 describe dparams (controller) for plugins
11080 unify docs a little more
11082 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11084 * docs/gst/gstreamer-sections.txt:
11085 * gst/gstutils.c: (element_find_unconnected_pad),
11086 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11087 * gst/gstutils.h:
11088 Add new API: gst_parse_bin_from_description() and
11089 gst_bin_find_unconnected_pad() (#329069).
11091 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11093 * docs/manual/README:
11094 uncover a nasty detail of the docs build
11096 2006-01-31 Wim Taymans <wim@fluendo.com>
11098 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11099 Don't cache duration messages if we're not going to use or
11100 free them.
11102 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11104 * docs/manual/advanced-dparams.xml:
11105 * docs/pwg/advanced-dparams.xml:
11106 more dparam docs
11107 * gst/gstindex.c:
11108 fix docs
11109 * libs/gst/controller/lib.c: (gst_controller_init):
11110 init just once
11112 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11114 * gst/gstelement.c: (gst_element_message_full):
11115 also show file/line/func if no additional debug was given
11117 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11119 * win32/vs7/grammar.vcproj:
11120 activate copy of autogenerated files for Release mode
11122 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11124 * win32/common/libgstreamer.def:
11125 export gst_value_compare
11127 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11129 * plugins/elements/Makefile.am:
11130 * plugins/elements/gstelements.c:
11131 * plugins/elements/gstfdsink.c: (_do_init),
11132 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11133 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11134 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11135 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11136 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11137 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11138 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11139 * plugins/elements/gstfdsink.h:
11140 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11142 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11144 * docs/manual/advanced-dparams.xml:
11145 describe controller
11146 * docs/manual/advanced-position.xml:
11147 * docs/manual/basics-init.xml:
11148 * docs/manual/manual.xml:
11149 * docs/manual/titlepage.xml:
11150 * docs/pwg/pwg.xml:
11151 * docs/pwg/titlepage.xml:
11152 cleanup xml (more to come)
11153 * libs/gst/controller/gstcontroller.c:
11154 fix typo
11156 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11158 * win32/vs6/grammar.dsp:
11159 add autogen of gstmarshal.c,h for Release mode
11161 2006-01-30 Wim Taymans <wim@fluendo.com>
11163 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11164 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11165 (gst_base_sink_handle_object), (gst_base_sink_event),
11166 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11167 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11168 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11169 (gst_base_sink_deactivate), (gst_base_sink_activate),
11170 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11171 (gst_base_sink_query), (gst_base_sink_change_state):
11172 Basesink cleanups, remove some old code.
11173 Handle the case where a subclass can preroll in the render
11174 method (mostly audiosinks).
11175 Handle more events.
11176 Remove some locks around variables that are now protected
11177 with the PREROLL_LOCK (clock_id, flushing, ..).
11178 Optimize position query some more, do correct locking.
11179 Remove old code to push queue in state change, this is not
11180 needed anymore since preroll blocks on all prerollable items
11181 now.
11182 Almost implemented as described in design doc.
11184 2006-01-30 Wim Taymans <wim@fluendo.com>
11186 * tests/check/gst/gstbin.c: (GST_START_TEST):
11187 Wait for refcount to settle down before checking.
11189 2006-01-30 Wim Taymans <wim@fluendo.com>
11191 * docs/design/part-element-sink.txt:
11192 Pseudo code overview of desired sink behaviour regarding
11193 preroll.
11195 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11196 * win32/vs6/grammar.dsp:
11197 fix some bugs in Release mode for autogenerated files
11199 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11200 * win32/common/libgstbase.def:
11201 * win32/common/libgstreamer.def:
11202 export some new symbols: gst_base_src_set_format,
11203 gst_iterator_next, gst_structure_set_valist
11205 2006-01-29 Julien MOUTTE <julien@moutte.net>
11207 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11208 Set pad functions unconditionally. Fixes #329105.
11210 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11211 * win32/vs8:
11212 add vs8 project files created by Sergey Scobich
11214 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11216 * gst/gstutils.c: (gst_element_unlink_pads):
11217 Don't leak pad references.
11219 * tests/check/elements/fakesink.c: (GST_START_TEST):
11220 * tests/check/generic/sinks.c: (GST_START_TEST):
11221 * tests/check/generic/states.c: (GST_START_TEST):
11222 * tests/check/gst/gstbin.c: (GST_START_TEST):
11223 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11224 * tests/check/gst/gstelement.c: (GST_START_TEST):
11225 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11226 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11227 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11228 Fix a bunch of leaks. Make generic/sinks.c
11229 use a bit less cpu by slowing the buffer rate
11230 between fakesrc and fakesink.
11232 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11233 * gst/gstcaps.c:
11234 * gst/gstelement.c: (gst_element_send_event):
11235 * gst/gstevent.c:
11236 * gst/gstinfo.c:
11237 * gst/gstiterator.c:
11238 * gst/gstiterator.h:
11239 * gst/gstpad.c: (gst_pad_send_event):
11240 * gst/gststructure.c:
11241 * gst/gsturi.c:
11242 * gst/gstutils.c:
11243 * gst/gstvalue.c:
11244 * libs/gst/base/gstadapter.c:
11245 doc fixes, to link to function, just write gst_cool_function(), don't
11246 prefix with '#'
11248 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11250 * plugins/elements/gsttee.c: (gst_tee_do_push),
11251 (gst_tee_handle_buffer):
11252 Always prefer an actual return value from a src
11253 pad in place of NOT_LINKED. This means we return
11254 WRONG_STATE when all src pads are WRONG_STATE
11255 instead of NOT_LINKED.
11257 Lock when replacing the last message to prevent
11258 racing with the get_property method.
11260 Add debug output
11262 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11264 * tests/check/Makefile.am:
11265 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11266 (main):
11267 Add a very simple check that should have caught the memleak I fixed
11268 last night (if not for the slice allocator hiding it)
11270 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11272 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11273 (gst_bin_remove_func), (gst_bin_handle_message_func),
11274 (bin_query_duration_fold), (bin_query_generic_fold):
11275 Clean up references to the clock provider when disposed or when
11276 handling a clock-lost message from it.
11278 Unref sinks when performing a query via gst_iterator_fold, as the
11279 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11281 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11282 (gst_clock_set_master):
11283 Drop our reference to the master clock, if any, when we are disposed.
11285 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11286 Chain up in dispose.
11288 2006-01-26 Wim Taymans <wim@fluendo.com>
11290 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11291 Add some debugging.
11293 2006-01-26 Julien MOUTTE <julien@moutte.net>
11295 * plugins/elements/gsttee.c: (gst_tee_do_push),
11296 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11297 handles pad being NOT_LINKED or in WRONG_STATE.
11299 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11301 * win32/MANIFEST:
11302 more updating
11304 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11306 * win32/MANIFEST:
11307 remove obsolete entry
11309 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11311 * docs/gst/gstreamer-sections.txt:
11312 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11313 (gst_bin_iterate_sources), (gst_bin_send_event):
11314 * gst/gstbin.h:
11315 * gst/gstelement.c: (gst_element_send_event):
11316 * gst/gstevent.c:
11317 * gst/gstpad.c: (gst_pad_send_event):
11318 added code for downstream events, reviewed docs in gstevent.c
11320 2006-01-25 Julien MOUTTE <julien@moutte.net>
11322 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11323 We only query position using the clock in the playing state.
11324 Query peer in the other cases.
11325 * win32/common/config.h: Updates.
11327 2006-01-24 Wim Taymans <wim@fluendo.com>
11329 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11330 A clock entry that is scheduled for the exact time of the
11331 clock is still in time.
11333 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11334 (gst_base_sink_do_sync):
11335 Add some more debug info.
11337 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11339 * win32/vs7:
11340 Add new vs7 project files and solution.
11342 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11344 * win32/vs7:
11345 all files removed as they were out-dated.
11347 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11349 * docs/random/release:
11350 update notes
11351 * gst/gstbin.c: (gst_bin_init):
11352 * gst/gstbus.c: (gst_bus_new):
11353 * gst/gstbus.h:
11354 * gst/gstpipeline.c: (gst_pipeline_init):
11355 use gst_bus_new(), improve logging, fix docs
11356 * win32/common/config.h:
11357 update for cvs build
11359 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11361 * autogen.sh:
11362 up required version of automake to 1.7
11364 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11366 * win32/common/libgstreamer.def:
11367 export gst_buffer_is_metadata_writable
11369 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11371 * docs/gst/gstreamer-sections.txt:
11372 * gst/gstevent.h:
11373 Add gst_event_replace() (#327001)
11375 2006-01-20 Wim Taymans <wim@fluendo.com>
11377 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11378 Make it actually compile too..
11380 2006-01-20 Wim Taymans <wim@fluendo.com>
11382 * gst/gstcaps.c:
11383 Clarify behaviour of _is_equal() when passing NULL parameters.
11385 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11386 (gst_pad_set_caps):
11387 Cleanups. Don't unref NULL caps.
11388 When setting the same caps, protect caps of the pad with
11389 proper lock.
11390 Use full functionality of _is_equal() when comparing caps.
11392 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11394 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11395 Don't loop infinitely if there are no buffers to present. Partially
11396 fixes #327197, but collectpads is just broken for reusing elements
11397 to do multiple encodes atm.
11399 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11401 * tools/gst-inspect.c: (print_element_features):
11402 * tools/gst-xmlinspect.c: (main):
11403 URL_HANDLER is not a plugin feature we can search for in
11404 the registry.
11406 2006-01-19 Edward Hervey <edward@fluendo.com>
11408 * gst/gstelement.c: (gst_element_pads_activate):
11409 When activating, do src pads first, then sink pads.
11410 When de-activating, do sink pads first, then src pads.
11412 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11414 * docs/gst/gstreamer-sections.txt:
11415 Add gst_index_add_associationv to the docs
11417 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11419 * gst/gstevent.c:
11420 Fix docs typo
11422 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11423 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11424 Do some refactoring. Doesn't actually change functionality,
11425 but makes landing the DRAIN event easier later.
11427 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11429 * docs/pwg/advanced-scheduling.xml:
11430 Update from 0.9.x to 0.10 API and make example a bit
11431 clearer.
11433 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11435 * docs/gst/gstreamer-sections.txt:
11436 Add gst_buffer_(is|make)_metadata_writable methods.
11438 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11440 * docs/design/part-sparsestreams.txt:
11441 Update sparse streams doc, hopefully for greater clarity
11443 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11445 * docs/design/part-events.txt:
11446 Remove mention of FILLER events.
11447 Add DRAIN event.
11449 * docs/design/part-sparsestreams.txt:
11450 Write some things about using NEWSEGMENT to keep sparse streams
11451 flowing.
11453 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11455 * gst/gstbin.c: (gst_bin_dispose):
11456 Guard gst_object_unref call against a NULL object (dispose
11457 can theoretically be called multiple times).
11459 2006-01-18 Wim Taymans <wim@fluendo.com>
11461 * gst/gstbin.c: (gst_bin_element_set_state):
11462 * gst/gstclock.c: (gst_clock_id_wait):
11463 Added some more debug info.
11465 * libs/gst/base/gstadapter.c:
11466 Added more docs.
11468 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11469 (gst_base_sink_do_sync), (gst_base_sink_chain):
11470 Added some comments.
11472 2006-01-18 Wim Taymans <wim@fluendo.com>
11474 * tests/check/Makefile.am:
11475 * tests/check/elements/fakesink.c: (chain_async_buffer),
11476 (chain_async), (chain_async_return), (GST_START_TEST),
11477 (fakesink_suite), (main):
11478 Added fakesink test that checks prerolling and clipping
11479 behaviour.
11481 * tests/check/gst/gstutils.c: (GST_START_TEST):
11482 Make check run faster so that buildbots don't timeout.
11484 2006-01-18 Wim Taymans <wim@fluendo.com>
11486 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11487 (gst_base_sink_do_sync):
11488 Some cleanups.
11489 When the sink finishes blocking on the preroll buffer, it can
11490 immediatly render it instead of rendering when the next buffer
11491 arrives.
11493 2006-01-18 Wim Taymans <wim@fluendo.com>
11495 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11496 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11497 (gst_base_sink_chain):
11498 Small cleanups.
11499 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11500 Don't store _last_stop if the buffer is dropped.
11502 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11504 * plugins/elements/gsttypefindelement.c:
11505 (gst_type_find_element_class_init):
11506 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11507 object method handler that sets the caps on the pad and we want
11508 that to happen before we emit the signal (fixes e.g. feeding a
11509 plain text file to decodebin).
11511 2006-01-18 Christian Schaller <Christian@fluendo.com>
11513 * gst/gstplugin.c: Add MPL and Proprietary as license options
11515 2006-01-18 Andy Wingo <wingo@pobox.com>
11517 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11518 symbol was exported before, it appears this was just an oversight.
11519 Fixes #168703.
11520 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11522 * gst/gstindex.c (gst_index_add_associationv): Changed int in
11523 prototype to gint. OK since this prototype was not in the header.
11525 2006-01-17 Andy Wingo <wingo@pobox.com>
11527 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11528 registry while we remove plugins.
11530 * tools/gst-inspect.c (print_element_info): Don't unref the
11531 factory arg, that should be the responsibility of whatever code
11532 received the ref. Fixes a double-free when called from
11533 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11534 (main): Unref the factory if we have one.
11535 (print_element_list): No change -- relies on the
11536 plugin_feature_list_free to free the list of features.
11538 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
11540 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11541 (gst_buffer_make_metadata_writable):
11542 * gst/gstbuffer.h:
11543 * libs/gst/base/gstbasetransform.c:
11544 (gst_base_transform_prepare_output_buf):
11545 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11546 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11547 Replace gst_buffer_(make|is)_metadata_writable patch now
11548 that the release is out.
11550 2006-01-17 Andy Wingo <wingo@pobox.com>
11552 * gst/gstregistry.c: Reflow design comment. Update so as to speak
11553 in the present tense without reference to versions.
11555 * gst/gstregistry.c (gst_registry_add_plugin)
11556 (gst_registry_remove_plugin, gst_registry_remove_feature)
11557 (gst_registry_find_feature, gst_registry_get_feature_list)
11558 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11559 (gst_registry_lookup, gst_registry_scan_path)
11560 (_gst_registry_remove_cache_plugins)
11561 (gst_registry_get_feature_list_by_plugin): Add argument
11562 validation.
11564 === release 0.10.2 ===
11566 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
11568 * configure.ac:
11569 releasing 0.10.2, "If man is five"
11571 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11573 * gst/gstbuffer.c:
11574 * gst/gstbuffer.h:
11575 * libs/gst/base/gstbasetransform.c:
11576 (gst_base_transform_prepare_output_buf):
11577 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11578 * tests/check/gst/gstbuffer.c: (gst_test_suite):
11579 Back out patch until after the release.
11581 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11583 * gst/gstminiobject.c:
11584 Spelling fix in docs.
11585 * ChangeLog - remove conflict indicator
11587 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
11589 Reviewed By: Andy Wingo
11591 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11592 (gst_buffer_make_metadata_writable):
11593 * gst/gstbuffer.h:
11594 Add gst_buffer_(is|make)_metadata_writable as analogues of
11595 gst_buffer_(is|make)_writable.
11597 * libs/gst/base/gstbasetransform.c:
11598 (gst_base_transform_prepare_output_buf):
11599 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11600 Use name gst_buffer_(is|make)_metadata_writable functions.
11602 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11603 Test gst_buffer_(is|make)_metadata_writable
11605 (Closes: #324162)
11607 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11609 * docs/manual/Makefile.am:
11610 don't do parallel make
11611 * configure.ac:
11612 AC_SUBST HOST_CPU
11613 * win32/common/config.h.in:
11614 add generations for HOST_CPU and GST_MAJORMINOR
11615 * win32/common/config.h:
11616 commit generated result
11618 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11620 * docs/manual/appendix-integration.xml:
11621 Update GNOME integration section to use gst_init_get_option_group()
11622 instead of the old popt stuff (#322911). Also, GNOME applications
11623 should now use gconf*sink and gconf*src instead of the old gconf
11624 helper lib we had.
11626 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11629 * docs/gst/gstreamer-docs.sgml:
11630 * docs/gst/gstreamer-sections.txt:
11631 * docs/libs/gstreamer-libs-sections.txt:
11632 add new API entries to the docs
11633 * libs/gst/controller/Makefile.am:
11634 * libs/gst/controller/gstcontroller.c:
11635 * libs/gst/controller/gstcontroller.h:
11636 * libs/gst/controller/gstcontrollerprivate.h:
11637 * libs/gst/controller/gsthelper.c:
11638 * libs/gst/controller/gstinterpolation.c:
11639 move private structs to private header
11640 * po/README:
11641 gstreamer-0.7 -> gstreamer-0.10
11642 * tests/check/libs/struct_i386.h:
11643 remove private structs
11645 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11647 * plugins/indexers/Makefile.am:
11648 Fixes as part of #317048
11650 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11652 * plugins/indexers/Makefile.am:
11653 fix #316086 - compilation when mmap is missing
11655 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11657 * libs/gst/base/gstbasesink.c:
11658 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11659 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11660 * win32/common/config.h:
11661 added some defines GST_MAJORMINOR and HOST_CPU
11662 * win32/common/libgstbase.def:
11663 * win32/common/libgstreamer.def:
11664 added some exported functions.
11666 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11668 * libs/gst/controller/gstcontroller.c:
11669 (gst_controlled_property_set_interpolation_mode),
11670 (gst_controlled_property_new):
11671 * libs/gst/controller/gstcontroller.h:
11672 * libs/gst/controller/gstinterpolation.c:
11673 (interpolate_none_get_string_value_array):
11674 make G_TYPE_STRING controlable
11676 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11678 * tools/README:
11679 * tools/gst-feedback.1.in:
11680 * tools/gst-inspect.1.in:
11681 * tools/gst-launch.1.in:
11682 * tools/gst-md5sum.1.in:
11683 * tools/gst-typefind.1.in:
11684 * tools/gst-xmlinspect.1.in:
11685 * tools/gst-xmllaunch.1.in:
11686 cleanup man-pages, remove reference to gst-register, document env-vars
11688 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11690 * gst/gstbuffer.c: (gst_buffer_span):
11691 gst_buffer_span should copy the timestamp of the first buffer
11692 if they were both originally overlapping subbuffers of the
11693 same parent, using the same logic as the 'slow copy' case.
11695 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11697 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11698 Need to awaken ALL the pads when we pop a buffer, otherwise
11699 collectpads only works when there is 2 input streams.
11701 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11703 * docs/random/ensonic/media-device-daemon.txt:
11704 more ideas (dbus)
11705 * gst/gstbuffer.c:
11706 fix doc example, add clarification
11707 * tools/gst-launch.1.in:
11708 add initial info about GST_PLUGIN_PATH, needs more work
11710 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11712 * docs/manual/basics-bins.xml:
11713 * docs/manual/basics-elements.xml:
11714 * docs/manual/intro-basics.xml:
11715 Some more minor docs additions and updates.
11717 2006-01-11 Wim Taymans <wim@fluendo.com>
11719 * docs/manual/basics-bins.xml:
11720 * docs/manual/basics-elements.xml:
11721 Some small fixes as pointed out by Ser-ver on IRC.
11723 2006-01-10 Edward Hervey <edward@fluendo.com>
11725 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11726 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11727 the single-segment mode.
11729 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11731 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11733 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11734 (gst_base_src_perform_seek), (gst_base_src_send_event),
11735 (gst_base_src_set_property), (gst_base_src_get_property),
11736 (gst_base_src_loop), (gst_base_src_start),
11737 (gst_base_src_activate_push):
11738 * libs/gst/base/gstbasesrc.h:
11739 Name (private) union; makes Sun's Forte compiler happy (#324900).
11741 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11743 * README:
11744 gst-register is gone.
11746 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11748 * gst/gstvalue.c: (_gst_value_initialize):
11749 make the G_TYPE_DATE instantiation work if debug is disabled
11751 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11753 * gst/gstmessage.c: (gst_message_parse_tag),
11754 (gst_message_parse_error), (gst_message_parse_warning):
11755 Don't crash when return location for error/warning debug
11756 string is NULL; add fact that return locations can be
11757 NULL to docs where appropriate.
11759 2006-01-05 Wim Taymans <wim@fluendo.com>
11761 * gst/gstplugin.c: (gst_plugin_load_file):
11762 Replace strdup by g_strdup.
11764 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11766 * docs/pwg/advanced-types.xml:
11767 fix doc borkage
11769 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11771 submitted by: Abel Cheung
11773 * po/LINGUAS:
11774 * po/zh_TW.po:
11775 Added Chinese (traditional) translation
11777 2006-01-04 Wim Taymans <wim@fluendo.com>
11779 * docs/manual/basics-pads.xml:
11780 * docs/plugins/Makefile.am:
11781 * docs/plugins/gstreamer-plugins-docs.sgml:
11782 * docs/plugins/gstreamer-plugins-sections.txt:
11783 * docs/pwg/advanced-clock.xml:
11784 * docs/pwg/advanced-scheduling.xml:
11785 * docs/pwg/advanced-types.xml:
11786 * plugins/elements/gstfdsink.c:
11787 * plugins/elements/gstfdsrc.c:
11788 * plugins/elements/gstfdsrc.h:
11789 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11790 * plugins/elements/gstidentity.h:
11791 * plugins/elements/gstqueue.h:
11792 * plugins/elements/gsttee.c:
11793 * plugins/elements/gsttee.h:
11794 * plugins/elements/gsttypefindelement.c:
11795 (gst_type_find_element_class_init):
11796 * plugins/elements/gsttypefindelement.h:
11797 Small updates to various docs.
11798 Added core plugins to docs.
11800 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11802 * common/gst.supp:
11803 add a suppression for liboil's uninitialized variable
11805 2006-01-02 James Livingston <jrl at ids dot org dot au>
11807 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11809 * gst/gstutils.h:
11810 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11811 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11812 compiler switch is being used (#325429).
11814 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11816 * gst/gstbin.c: (gst_bin_query):
11817 Disable duration query caching in bins until it gets
11818 fixed (see #324807).
11820 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11822 * tools/gst-inspect.c: (print_element_properties_info):
11823 Handle properties of POINTER and BOXED type.
11825 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11827 * gst/gst.c: (init_post):
11828 Init tags stuff and some other things before loading
11829 any static plugins (there may be other static plugins
11830 than just the GStreamer ones, and they may want to
11831 register their own tags or formats or whatever, and
11832 preferably without segfaulting).
11834 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11835 Print at least a warning in the debug logs if we drop a
11836 query just because we don't know how to adjust the value
11837 in the particular format.
11839 2005-12-24 David Schleef <ds@schleef.org>
11841 * tools/gstreamer-completion:
11842 Replacement for gst-complete written in sh and sed. Only
11843 completes names of features, but that's 90% of what I want
11844 it for. Properties are not available in registry.xml. (Maybe
11845 they should be...)
11847 === release 0.10.1 ===
11849 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11851 * configure.ac:
11852 releasing 0.10.1, "Nollaig chridheil"
11854 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11856 * docs/faq/cvs.xml:
11857 Add missing quote, should be make ERROR_CFLAGS="".
11859 2005-12-20 Wim Taymans <wim@fluendo.com>
11861 * docs/design/part-trickmodes.txt:
11862 More documentation on trickmodes.
11864 2005-12-20 Edward Hervey <edward@fluendo.com>
11866 * gst/gstcaps.c: (gst_static_caps_get_type):
11867 * gst/gstcaps.h:
11868 API addition: GST_TYPE_STATIC_CAPS
11869 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11870 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11871 * gst/gstpadtemplate.h:
11872 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11873 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11874 bindings.
11876 2005-12-18 Wim Taymans <wim@fluendo.com>
11878 * libs/gst/base/gstadapter.c:
11879 * libs/gst/base/gstadapter.h:
11880 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11881 (gst_base_sink_get_position):
11882 * libs/gst/base/gstbasesink.h:
11883 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11884 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11885 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11886 (gst_base_src_send_event), (gst_base_src_update_length),
11887 (gst_base_src_get_range), (gst_base_src_loop),
11888 (gst_base_src_start):
11889 * libs/gst/base/gstbasesrc.h:
11890 * libs/gst/base/gstbasetransform.h:
11891 * libs/gst/base/gstcollectpads.h:
11892 * libs/gst/base/gstpushsrc.c:
11893 * libs/gst/base/gstpushsrc.h:
11894 * libs/gst/dataprotocol/dataprotocol.c:
11895 * libs/gst/dataprotocol/dataprotocol.h:
11896 * libs/gst/net/gstnetclientclock.h:
11897 * libs/gst/net/gstnettimeprovider.h:
11898 Documentation updates.
11900 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11902 * docs/manual/basics-helloworld.xml:
11903 Remove superfluous closing bracket in helloworld example.
11905 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11907 * tools/gst-launch.1.in:
11908 Update gst-launch man page; add a section with useful
11909 environment variables. Fixes #323882.
11911 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11913 * gst/gst.c:
11914 * gst/gst_private.h:
11915 change some char* into char[]
11917 2005-12-16 Wim Taymans <wim@fluendo.com>
11919 * gst/gstregistryxml.c: (load_feature):
11920 Cleanups.
11921 Don't use g_object_unref on GstObjects so that we avoid
11922 leaks on unsafe glibs.
11924 2005-12-16 Wim Taymans <wim@fluendo.com>
11926 * gst/gstbin.c: (gst_bin_recalc_state):
11927 Small doc updates.
11929 2005-12-16 Wim Taymans <wim@fluendo.com>
11931 * common/check.mak:
11932 Added make forever target for check.
11934 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11936 * gst/gst.c: (init_post):
11937 make the registry cache file HOST_CPU-dependent
11939 2005-12-16 Andy Wingo <wingo@pobox.com>
11941 * plugins/elements/gstbufferstore.c
11942 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11943 return value.
11945 * tests/check/gst/gstobject.c
11946 (test_fake_object_name_threaded_unique): Pay attention to
11947 g_list_sort return value.
11949 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11951 * tools/gst-feedback-m.m:
11952 Update for 0.9/0.10 (fixes #323870).
11954 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11956 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11957 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11959 * tests/check/gst/gstminiobject.c: (my_foo_init),
11960 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11961 (test_value_collection), (gst_mini_object_suite):
11962 Add test to ensure refcounts end up as expected when passing
11963 GstMiniObjects through g_object_get() and g_object_set().
11965 2005-12-14 Julien MOUTTE <julien@moutte.net>
11967 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11968 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11969 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11970 of collectpads. This version removes a lot of races without
11971 touching API/ABI. Yay !
11973 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11975 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11976 Don't allow activation of a srcpad in pull_range if it has no
11977 getrange function.
11978 Change some debug statements to be a little clearer
11980 * plugins/elements/gsttypefindelement.c:
11981 (gst_type_find_handle_src_query):
11982 Check that we have a peer before executing queries thereupon.
11984 * tests/examples/metadata/read-metadata.c: (message_loop):
11985 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11986 immediately return us any available message with 0 timeout.
11988 2005-12-12 Michael Smith <msmith@fluendo.com>
11990 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11991 Don't unref factories after calling them.
11992 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11993 * plugins/elements/gsttypefindelement.c:
11994 (gst_type_find_element_chain):
11995 Free lists of factories after using them. Fixing typefinding memory
11996 leaks.
11998 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12000 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12001 (gst_plugin_feature_load):
12002 more meaningful debug output
12003 * configure.ac:
12004 * tests/Makefile.am:
12005 * tests/old/examples/Makefile.am:
12006 make make distcheck happy again
12008 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12010 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12011 Catch the special case where we are operating chain-based,
12012 but the downstream peer pad has no chain function. Emit a
12013 custom error message in this case instead of letting the
12014 core generate one implying that this is some sort of core
12015 bug. It's not, it just means that whatever got plugged
12016 into the pipeline downstream when we announced the type
12017 can only operate pull-based, while our source can only
12018 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12019 Error string has not been marked for translation yet, as
12020 it probably needs some more work first.
12022 (gst_type_find_element_get_best_possibility):
12023 Add helper function to find the best of all available
12024 found possibilities that qualify given the min. threshold.
12026 (gst_type_find_element_handle_event):
12027 Fix the case where we get an EOS while still in TYPEFIND
12028 mode (we want to chose the best of all possible types,
12029 not just the first type that happens to be in our unsorted
12030 list of possible types).
12032 (gst_type_find_element_chain):
12033 Make sure we return GST_FLOW_ERROR when we errored out
12034 in stop_typefinding(); also, don't just find the best of
12035 all found type entries and then use the last examined
12036 type entry, but actually use the best entry.
12038 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12040 * tests/examples/typefind/typefind.c: (type_found):
12041 * tests/examples/xml/runxml.c: (xml_loaded):
12042 More gcc4 fixes and a mem leak fix.
12044 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12046 * tests/examples/xml/createxml.c: (object_saved):
12047 gcc 4 fixes
12049 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12051 * tests/Makefile.am:
12052 enable the examples even more
12054 2005-12-12 Andy Wingo <wingo@pobox.com>
12056 * libs/gst/net/gstnettimeprovider.c
12057 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12058 (gst_net_time_provider_set_property)
12059 (gst_net_time_provider_get_property):
12060 API addition: Export "active" as a GObject property.
12061 (gst_net_time_provider_thread): Only respond to time queries if
12062 the time provider is active.
12064 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12065 NetTimeProvider, preserving binary compat.
12067 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12069 * tests/examples/controller/audio-example.c: (main):
12070 * tests/examples/launch/Makefile.am:
12071 convert comments again
12073 2005-12-12 Wim Taymans <wim@fluendo.com>
12075 * libs/gst/base/gstpushsrc.c:
12076 Fix typo.
12078 2005-12-12 Wim Taymans <wim@fluendo.com>
12080 * docs/libs/gstreamer-libs-sections.txt:
12081 Added new symbol to docs.
12083 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12084 (gst_base_src_init), (gst_base_src_set_format),
12085 (gst_base_src_default_query), (gst_base_src_query),
12086 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12087 (gst_base_src_perform_seek), (gst_base_src_send_event),
12088 (gst_base_src_default_event), (gst_base_src_event_handler),
12089 (gst_base_src_set_property), (gst_base_src_get_property),
12090 (gst_base_src_wait), (gst_base_src_do_sync),
12091 (gst_base_src_update_length), (gst_base_src_get_range),
12092 (gst_base_src_check_get_range), (gst_base_src_loop),
12093 (gst_base_src_default_negotiate), (gst_base_src_start),
12094 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12095 (gst_base_src_change_state):
12096 * libs/gst/base/gstbasesrc.h:
12097 Implement seeking to other formats than _BYTES.
12098 Implement more seeking methods correctly.
12099 Doc updates.
12100 Added query vmethod.
12101 Added do_seek vmethod to make life easier for subclasses
12102 when seeking.
12103 API addition: gst_base_src_set_format()
12105 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12107 * tests/examples/Makefile.am:
12108 added that too
12110 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12112 * configure.ac:
12113 * docs/random/ensonic/media-device-daemon.txt:
12114 * tests/examples/controller/.cvsignore:
12115 * tests/examples/controller/Makefile.am:
12116 * tests/examples/controller/audio-example.c: (main):
12117 * tests/examples/helloworld/.cvsignore:
12118 * tests/examples/helloworld/Makefile.am:
12119 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12120 * tests/examples/launch/.cvsignore:
12121 * tests/examples/launch/Makefile.am:
12122 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12123 * tests/examples/metadata/.cvsignore:
12124 * tests/examples/metadata/Makefile.am:
12125 * tests/examples/metadata/read-metadata.c: (message_loop),
12126 (make_pipeline), (print_tag), (main):
12127 * tests/examples/queue/.cvsignore:
12128 * tests/examples/queue/Makefile.am:
12129 * tests/examples/queue/queue.c: (event_loop), (main):
12130 * tests/examples/typefind/.cvsignore:
12131 * tests/examples/typefind/Makefile.am:
12132 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12133 (main):
12134 * tests/examples/xml/.cvsignore:
12135 * tests/examples/xml/Makefile.am:
12136 * tests/examples/xml/createxml.c: (object_saved), (main):
12137 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12138 * tests/old/examples/Makefile.am:
12139 * tests/old/examples/TODO:
12140 * tests/old/examples/controller/.cvsignore:
12141 * tests/old/examples/controller/Makefile.am:
12142 * tests/old/examples/controller/audio-example.c:
12143 * tests/old/examples/helloworld/.cvsignore:
12144 * tests/old/examples/helloworld/Makefile.am:
12145 * tests/old/examples/helloworld/helloworld.c:
12146 * tests/old/examples/launch/.cvsignore:
12147 * tests/old/examples/launch/Makefile.am:
12148 * tests/old/examples/launch/mp3parselaunch.c:
12149 * tests/old/examples/launch/mp3play:
12150 * tests/old/examples/manual/Makefile.am:
12151 * tests/old/examples/metadata/Makefile.am:
12152 * tests/old/examples/metadata/read-metadata.c:
12153 * tests/old/examples/queue/.cvsignore:
12154 * tests/old/examples/queue/Makefile.am:
12155 * tests/old/examples/queue/queue.c:
12156 * tests/old/examples/typefind/.cvsignore:
12157 * tests/old/examples/typefind/Makefile.am:
12158 * tests/old/examples/typefind/typefind.c:
12159 * tests/old/examples/xml/.cvsignore:
12160 * tests/old/examples/xml/Makefile.am:
12161 * tests/old/examples/xml/createxml.c:
12162 * tests/old/examples/xml/runxml.c:
12163 applied some simple fixing to some examples
12164 re-enabled the working examples
12166 2005-12-12 Wim Taymans <wim@fluendo.com>
12168 * gst/gstsegment.c: (gst_segment_init),
12169 (gst_segment_set_last_stop), (gst_segment_set_seek),
12170 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12171 (gst_segment_to_running_time):
12172 Added more documentation.
12173 Make sure the last_pos value is updated properly.
12174 Make sure to_stream_time and to_running_time don't
12175 operate on wrong values.
12177 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12178 Update check.
12180 2005-12-12 Michael Smith <msmith@fluendo.com>
12182 * plugins/elements/gsttypefindelement.c: (free_entry),
12183 (gst_type_find_element_chain):
12184 Now that we're not leaking factories, make sure we keep references
12185 to them while we need them.
12187 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12189 * tests/check/gst/struct_i386.h:
12190 ifdef out the XML structs
12192 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12194 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12195 floor is not needed, F is always positive; this obviates the
12196 need for adding -lm when building without libxml
12198 2005-12-12 Wim Taymans <wim@fluendo.com>
12200 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12201 Take current playback rate into account when reporting
12202 the position.
12204 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12206 * docs/manual/mime-world.fig:
12207 Let's try this again, this time with a file that is
12208 actually in XFig format.
12210 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12212 * docs/manual/mime-world.fig:
12213 Add audioconvert element to diagram so that it
12214 matches the text and the code (fixes #319526).
12216 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12218 * docs/pwg/building-chainfn.xml:
12219 * docs/pwg/building-pads.xml:
12220 * docs/pwg/building-state.xml:
12221 * docs/pwg/other-source.xml:
12222 Update state change stuff for 0.10 (fixes #322969).
12224 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12226 * docs/manual/advanced-dataaccess.xml:
12227 * docs/manual/appendix-checklist.xml:
12228 * docs/manual/appendix-programs.xml:
12229 * docs/manual/basics-pads.xml:
12230 * docs/manual/highlevel-components.xml:
12231 * docs/manual/manual.xml:
12232 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12233 add converters in front of pipelines; remove curly
12234 brackets for threads stuff, they no longer exist; use
12235 GST_TYPE_FRACTION for framerates; update some pieces of
12236 code to 0.10, but there's plenty more to do.
12238 * docs/manual/appendix-porting.xml:
12239 Expand on asynchroneous state changes; s/0.9/0.10/;
12240 mention disappearance of gst_init_get_popt_table()
12241 (fixes #322916).
12243 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12245 * docs/faq/using.xml:
12246 Spider no longer exists, and neither does gst-launch-ext.
12247 Update examples to use decodebin and playbin and put
12248 converters in front of sinks (fixes #323726).
12250 2005-12-09 Michael Smith <msmith@fluendo.com>
12252 * plugins/elements/gsttypefindelement.c: (find_peek),
12253 (gst_type_find_element_chain):
12254 Fix leaking element factories in typefinding.
12255 Fix problem where we forgot about a probable type on non-seekable
12256 files, and thus later mis-typefound it.
12258 2005-12-09 Michael Smith <msmith@fluendo.com>
12260 * common/m4/gst-makecontext.m4:
12261 * common/m4/gst-mcsc.m4:
12262 * configure.ac:
12263 * win32/common/config.h:
12264 * win32/common/config.h.in:
12265 Remove makecontext stuff; not used in 0.10 and causes problems on
12266 HPUX according to bug #322441
12268 2005-12-07 Wim Taymans <wim@fluendo.com>
12270 * tests/check/Makefile.am:
12271 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12272 (main):
12273 * tests/check/libs/struct_i386.h:
12274 Added ABI check for libs
12276 2005-12-07 Wim Taymans <wim@fluendo.com>
12278 * tests/check/Makefile.am:
12279 And add the struct_i386.h to dist.
12281 2005-12-07 Wim Taymans <wim@fluendo.com>
12283 * tests/check/Makefile.am:
12284 * tests/check/gst/.cvsignore:
12285 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12286 (main):
12287 * tests/check/gst/struct_i386.h:
12288 Added check for ABI compatibility.
12290 2005-12-07 Wim Taymans <wim@fluendo.com>
12292 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12293 (gst_fake_src_get_times), (gst_fake_src_create):
12294 Fix broken sync option, fixes #323259
12296 2005-12-07 Wim Taymans <wim@fluendo.com>
12298 * gst/gstbuffer.c:
12299 Small docs update.
12301 * gst/gstcaps.c: (gst_caps_is_equal):
12302 Don't assert on NULL <--> X. Fixes #323260
12304 * gst/gstminiobject.c: (gst_mini_object_replace):
12305 If we're doing atomic operations, we might just as well use
12306 the proper way to get an atomic pointer.
12308 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12309 Clean up debugging.
12311 2005-12-07 Michael Smith <msmith@fluendo.com>
12313 * gst/parse/grammar.y:
12314 Remove handling of { } for threads.
12316 2005-12-06 David Schleef <ds@schleef.org>
12318 * libs/gst/base/gstbasetransform.c: speling fix.
12320 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12322 * docs/libs/tmpl/gstdataprotocol.sgml:
12323 * docs/random/omega/testing/gstobject.c:
12324 * gst/gst.c:
12325 * gst/gstclock.c:
12326 * gst/gstelement.c:
12327 * gst/gstelementfactory.c:
12328 * gst/gsterror.c:
12329 * gst/gstevent.c:
12330 * gst/gstghostpad.c:
12331 * gst/gstinfo.c:
12332 * gst/gstpadtemplate.c:
12333 * gst/gstregistryxml.c:
12334 * gst/gsttaglist.c:
12335 * gst/gsttagsetter.c:
12336 * gst/gsttypefind.c:
12337 * gst/gstvalue.c:
12338 * libs/gst/base/gstbasesrc.c:
12339 * libs/gst/net/gstnetclientclock.c:
12340 * libs/gst/net/gstnettimeprovider.c:
12341 * plugins/elements/gstfakesrc.c:
12342 * plugins/elements/gstfdsrc.c:
12343 * plugins/elements/gstfilesrc.c:
12344 * plugins/elements/gstidentity.c:
12345 * plugins/elements/gstqueue.c:
12346 * plugins/elements/gsttypefindelement.c:
12347 * plugins/indexers/gstfileindex.c:
12348 * plugins/indexers/gstmemindex.c:
12349 * tests/check/gst/gsttag.c:
12350 * tests/old/examples/cutter/cutter.c:
12351 * tests/old/examples/mixer/mixer.c:
12352 * tests/old/examples/xml/runxml.c: (main):
12353 * tests/old/testsuite/caps/normalisation.c:
12354 * tests/old/testsuite/debug/global.c:
12355 * tests/old/testsuite/parse/parse1.c:
12356 * tools/gst-xmlinspect.c:
12357 * win32/common/dirent.c:
12358 expand tabs
12360 === release 0.10.0 ===
12362 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12364 * configure.ac:
12365 releasing 0.10.0, "Maroilles"
12367 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12369 submitted by: Funda Wang <fundawang@linux.net.cn>
12371 * po/LINGUAS:
12372 * po/zh_CN.po:
12373 added Chinese (Traditional) translation
12375 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12377 * docs/gst/gstreamer-sections.txt:
12378 * docs/libs/tmpl/gstdataprotocol.sgml:
12379 * docs/random/thomasvs/TODO:
12380 * gst/gstutils.c:
12381 * gst/gstutils.h:
12382 fix docs
12384 2005-12-05 Andy Wingo <wingo@pobox.com>
12386 patch by: Wim Taymans <wim@fluendo.com>
12388 * libs/gst/base/gstbasetransform.c
12389 (gst_base_transform_prepare_output_buf)
12390 (gst_base_transform_buffer_alloc):
12391 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12392 alloc_buffer_and_set_caps.
12394 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12395 set_caps on the source pad.
12396 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12397 alloc_buffer used to do. Fixes #322874.
12399 * docs/gst/gstreamer-sections.txt:
12400 * docs/design/part-negotiation.txt:
12401 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12402 changes.
12404 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12406 patch by: Sebastien Moutte
12408 * win32/MANIFEST:
12409 * win32/common/config.h.in:
12410 * win32/vs6/libgstcontroller.dsp:
12411 win32 build fixes
12413 2005-12-05 Wim Taymans <wim@fluendo.com>
12415 * gst/gstcaps.c: (gst_caps_is_equal):
12416 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12417 (gst_fake_src_create):
12418 Back out previous code changes, leave doc updates, file bugs
12419 instead.
12421 2005-12-05 Wim Taymans <wim@fluendo.com>
12423 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12424 (gst_fake_src_get_times), (gst_fake_src_create):
12425 * plugins/elements/gstfakesrc.h:
12426 Fix broken sync code.
12428 2005-12-05 Wim Taymans <wim@fluendo.com>
12430 * gst/gstcaps.c: (gst_caps_is_equal):
12431 Comparing NULL against !NULL yields different caps, not a
12432 failure.
12434 2005-12-05 Wim Taymans <wim@fluendo.com>
12436 * gst/gstpipeline.c:
12437 Fix small typo in docs.
12439 2005-12-05 Andy Wingo <wingo@pobox.com>
12441 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12443 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12444 registries/plugins with a MAJORMINOR one.
12445 (plugin_desc): Rename library from gstcoreleements to
12446 staticelements. Fixes #323222.
12448 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12450 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12451 Change debug category to 'collectpads' from 'collect_pads'
12452 (fixes #323250).
12454 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12456 patch by: Sebastien Moutte
12458 * libs/gst/controller/gstinterpolation.c:
12459 use convert function for uint64/double
12460 * win32/vs6/libgstcontroller.dsp:
12461 link to GLib
12463 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12465 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12466 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12467 * gst/gstutils.h:
12468 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12469 add tests that seem to show that the guint64/gdouble conversions
12470 are correct.
12472 2005-12-02 Wim Taymans <wim@fluendo.com>
12474 * gst/gstregistry.c: (gst_registry_add_path):
12475 * gst/gstregistry.h:
12476 * gst/gstregistryxml.c:
12477 Fix docs again.
12479 2005-12-02 Wim Taymans <wim@fluendo.com>
12481 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12482 (gst_util_uint64_scale_int):
12483 Small cleanup.
12485 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12486 Add debug log line.
12488 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12489 Add FIXME.
12491 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12493 * win32/MANIFEST:
12494 * win32/common/config.h:
12495 * win32/vs6/gstreamer.dsw:
12496 * win32/vs6/libgstcoreelements.dsp:
12497 * win32/vs6/libgstelements.dsp:
12498 renamed core elements plugin
12500 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12502 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12503 (get_candidates):
12504 do piece-wise major/minor comparison so 0.9 < 0.10
12505 also allow .exe extensions for tools
12507 2005-12-02 Michael Smith <msmith@fluendo.com>
12509 * gst/gst.c:
12510 Escape a % to make gtkdoc happier; bug 322958.
12512 === release 0.9.7 ===
12514 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12516 * configure.ac:
12517 releasing 0.9.7, "My Dog Has No Nose"
12519 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12521 * common/gst-xmlinspect.py:
12522 * configure.ac:
12523 * docs/libs/tmpl/gstdataprotocol.sgml:
12524 * docs/random/release:
12525 * po/af.po:
12526 * po/az.po:
12527 * po/bg.po:
12528 * po/ca.po:
12529 * po/cs.po:
12530 * po/de.po:
12531 * po/en_GB.po:
12532 * po/fr.po:
12533 * po/it.po:
12534 * po/nb.po:
12535 * po/nl.po:
12536 * po/ru.po:
12537 * po/sq.po:
12538 * po/sr.po:
12539 * po/sv.po:
12540 * po/tr.po:
12541 * po/uk.po:
12542 * po/vi.po:
12543 * win32/common/config.h:
12544 * win32/common/config.h.in:
12545 * win32/vs6/gst_inspect.dsp:
12546 * win32/vs6/gst_launch.dsp:
12547 * win32/vs6/libgstbase.dsp:
12548 * win32/vs6/libgstelements.dsp:
12549 * win32/vs6/libgstreamer.dsp:
12550 * win32/vs7/GStreamer.vcproj:
12551 * win32/vs7/gst-inspect.vcproj:
12552 * win32/vs7/gst-launch.vcproj:
12553 * win32/vs7/libgstbase.vcproj:
12554 bump GST_MAJORMINOR to 0.10
12555 reset libtool version
12557 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12559 * po/LINGUAS:
12560 * po/bg.po:
12561 Added Bulgarian translation by (Alexander Shopov)
12563 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12565 * tests/check/gst/gstplugin.c:
12566 fix test
12568 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12570 * common/gst-xmlinspect.py:
12571 * common/gtk-doc-plugins.mak:
12572 * configure.ac:
12573 * docs/Makefile.am:
12574 * docs/gst/Makefile.am:
12575 * docs/gst/gstreamer-docs.sgml:
12576 * docs/gst/gstreamer-sections.txt:
12577 * docs/gst/gstreamer.types:
12578 * docs/gst/gstreamer.types.in:
12579 * docs/plugins/Makefile.am:
12580 * docs/plugins/gstreamer-plugins-docs.sgml:
12581 * docs/plugins/gstreamer-plugins-sections.txt:
12582 * docs/plugins/gstreamer-plugins.types:
12583 * docs/plugins/inspect.stamp:
12584 * docs/plugins/inspect/plugin-coreelements.xml:
12585 * docs/plugins/inspect/plugin-coreindexers.xml:
12586 * docs/plugins/scanobj-build.stamp:
12587 * gstreamer.spec.in:
12588 * plugins/elements/Makefile.am:
12589 * plugins/elements/gstelements.c:
12590 * plugins/elements/gstfakesink.c:
12591 * plugins/elements/gstfakesrc.c:
12592 * plugins/elements/gstfilesink.c:
12593 * plugins/elements/gstfilesrc.c:
12594 * plugins/elements/gstqueue.c:
12595 * plugins/indexers/Makefile.am:
12596 * plugins/indexers/gstindexers.c:
12597 document core plugins in a separate document just like all the
12598 others
12599 rename these plugins to something starting with core
12601 2005-12-01 Andy Wingo <wingo@pobox.com>
12603 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12604 padding here before, but it missed the commit.
12606 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12608 * libs/gst/controller/gstinterpolation.c:
12609 whitespace prices have crashed, we should feel free to use some now
12610 use gst_guint64_to_gdouble
12612 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12614 * libs/gst/controller/gstcontroller.c:
12615 * libs/gst/controller/gsthelper.c:
12616 * libs/gst/controller/gstinterpolation.c:
12617 * libs/gst/controller/lib.c:
12618 wrap config.h include
12620 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12622 * docs/gst/gstreamer-sections.txt:
12623 update docs
12625 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12627 * plugins/elements/gstelements.c:
12628 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12629 (gst_fd_sink__class_init), (gst_fd_sink__init),
12630 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12631 (gst_fd_sink__get_property):
12632 * plugins/elements/gstfdsink.h:
12633 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12634 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12635 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12636 (gst_fd_src_unlock), (gst_fd_src_set_property),
12637 (gst_fd_src_get_property), (gst_fd_src_create),
12638 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12639 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12640 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12641 (gst_fd_src_uri_handler_init):
12642 * plugins/elements/gstfdsrc.h:
12643 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12644 more anal cleanup
12646 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12648 * docs/gst/Makefile.am:
12649 * docs/gst/gstreamer.types.in:
12650 * gst/Makefile.am:
12651 fix the docs build
12653 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12655 * configure.ac:
12656 * gst/Makefile.am:
12657 * gst/gst.c:
12658 * gst/gstplugin.h:
12659 * gst/gstregistry.h:
12660 * tests/benchmarks/complexity.c:
12661 * tests/benchmarks/mass-elements.c:
12662 * tests/check/Makefile.am:
12663 * tools/Makefile.am:
12664 * tools/gst-inspect.c:
12665 * tools/gst-xmlinspect.c:
12666 various fixes to make
12667 --disable-nls --disable-registry --disable-loadsave
12668 --disable-parse --disable-gst-debug
12669 work and get the core .so down to 360444 bytes after stripping
12671 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12673 * Makefile.am:
12674 * configure.ac:
12675 descend into tests
12676 * docs/random/thomasvs/TODO:
12677 * tests/Makefile.am:
12678 * tests/README:
12679 add a README
12681 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12683 * win32/GStreamer.vcproj:
12684 * win32/MANIFEST:
12685 * win32/Makefile:
12686 * win32/Makefile.inspect:
12687 * win32/Makefile.launch:
12688 * win32/Makefile.register:
12689 * win32/README.txt:
12690 * win32/gst-inspect.vcproj:
12691 * win32/gst-launch.vcproj:
12692 * win32/gst-register.vcproj:
12693 * win32/gstelements.vcproj:
12694 * win32/gstgetbits.def:
12695 * win32/gstgetbits.vcproj:
12696 * win32/gstreamer-dbg.def:
12697 * win32/gstreamer.def:
12698 * win32/libgstbase.def:
12699 * win32/libgstbase.vcproj:
12700 * win32/link_oldruntime.c:
12701 * win32/mman.c:
12702 * win32/mman.h:
12703 * win32/mman.inl:
12704 * win32/msvc71.sln:
12705 move even more stuff, win32/ is nice and clean now
12707 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12709 * libs/gst/control/.cvsignore:
12710 * win32/MANIFEST:
12711 * win32/config.h:
12712 * win32/dirent.c:
12713 * win32/dirent.h:
12714 * win32/gstbytestream.def:
12715 * win32/gstbytestream.vcproj:
12716 * win32/gstconfig.h:
12717 * win32/gstenumtypes.c:
12718 * win32/gstenumtypes.h:
12719 * win32/gstoptimalscheduler.vcproj:
12720 * win32/gstversion.h:
12721 * win32/gtchar.h:
12722 * win32/testsuite/bins.vcproj:
12723 * win32/testsuite/bytestream.vcproj:
12724 * win32/testsuite/caps.vcproj:
12725 * win32/testsuite/cleanup.vcproj:
12726 * win32/testsuite/clock.vcproj:
12727 * win32/testsuite/debug.vcproj:
12728 * win32/testsuite/dlopen.vcproj:
12729 * win32/testsuite/dynparams.vcproj:
12730 * win32/testsuite/elements.vcproj:
12731 * win32/testsuite/ghostpads.vcproj:
12732 * win32/testsuite/indexers.vcproj:
12733 * win32/testsuite/negotiation.vcproj:
12734 * win32/testsuite/parse.vcproj:
12735 * win32/testsuite/plugin.vcproj:
12736 * win32/testsuite/refcounting.vcproj:
12737 * win32/testsuite/schedulers.vcproj:
12738 * win32/testsuite/states.vcproj:
12739 * win32/testsuite/tags.vcproj:
12740 * win32/testsuite/threads.vcproj:
12741 remove old win32 stuff that isn't maintained and should be
12742 reorganized
12744 2005-11-30 Andy Wingo <wingo@pobox.com>
12746 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12747 loading the gst.interfaces python module bork.
12749 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12750 available since GLib 2.2. Fixes #318031.
12752 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12754 * Makefile.am:
12755 * check/.cvsignore:
12756 * check/Makefile.am:
12757 * check/elements/.cvsignore:
12758 * check/elements/fakesrc.c:
12759 * check/elements/fdsrc.c:
12760 * check/elements/identity.c:
12761 * check/generic/.cvsignore:
12762 * check/generic/states.c:
12763 * check/gst-libs/.cvsignore:
12764 * check/gst-libs/controller.c:
12765 * check/gst-libs/gdp.c:
12766 * check/gst/.cvsignore:
12767 * check/gst/capslist.h:
12768 * check/gst/gst.c:
12769 * check/gst/gstbin.c:
12770 * check/gst/gstbuffer.c:
12771 * check/gst/gstbus.c:
12772 * check/gst/gstcaps.c:
12773 * check/gst/gstelement.c:
12774 * check/gst/gstevent.c:
12775 * check/gst/gstghostpad.c:
12776 * check/gst/gstiterator.c:
12777 * check/gst/gstmessage.c:
12778 * check/gst/gstminiobject.c:
12779 * check/gst/gstobject.c:
12780 * check/gst/gstpad.c:
12781 * check/gst/gstpipeline.c:
12782 * check/gst/gstplugin.c:
12783 * check/gst/gstsegment.c:
12784 * check/gst/gststructure.c:
12785 * check/gst/gstsystemclock.c:
12786 * check/gst/gsttag.c:
12787 * check/gst/gstutils.c:
12788 * check/gst/gstvalue.c:
12789 * check/net/.cvsignore:
12790 * check/net/gstnetclientclock.c:
12791 * check/net/gstnettimeprovider.c:
12792 * check/pipelines/.cvsignore:
12793 * check/pipelines/cleanup.c:
12794 * check/pipelines/simple_launch_lines.c:
12795 * check/pipelines/stress.c:
12796 * check/states/.cvsignore:
12797 * check/states/sinks.c:
12798 * configure.ac:
12799 * examples/Makefile.am:
12800 * examples/appreader/.cvsignore:
12801 * examples/appreader/Makefile.am:
12802 * examples/appreader/appreader.c:
12803 * examples/controller/.cvsignore:
12804 * examples/controller/Makefile.am:
12805 * examples/controller/audio-example.c:
12806 * examples/cutter/.cvsignore:
12807 * examples/cutter/Makefile.am:
12808 * examples/cutter/cutter.c:
12809 * examples/cutter/cutter.h:
12810 * examples/events/Makefile.am:
12811 * examples/events/seek.c:
12812 * examples/helloworld/.cvsignore:
12813 * examples/helloworld/Makefile.am:
12814 * examples/helloworld/helloworld.c:
12815 * examples/helloworld2/.cvsignore:
12816 * examples/helloworld2/Makefile.am:
12817 * examples/helloworld2/helloworld2.c:
12818 * examples/launch/.cvsignore:
12819 * examples/launch/Makefile.am:
12820 * examples/launch/mp3parselaunch.c:
12821 * examples/launch/mp3play:
12822 * examples/manual/.cvsignore:
12823 * examples/manual/Makefile.am:
12824 * examples/manual/extract.pl:
12825 * examples/metadata/Makefile.am:
12826 * examples/metadata/read-metadata.c:
12827 * examples/mixer/.cvsignore:
12828 * examples/mixer/Makefile.am:
12829 * examples/mixer/mixer.c:
12830 * examples/mixer/mixer.h:
12831 * examples/pingpong/.cvsignore:
12832 * examples/pingpong/Makefile.am:
12833 * examples/pingpong/pingpong.c:
12834 * examples/plugins/.cvsignore:
12835 * examples/plugins/Makefile.am:
12836 * examples/plugins/example.c:
12837 * examples/plugins/example.h:
12838 * examples/pwg/.cvsignore:
12839 * examples/pwg/Makefile.am:
12840 * examples/pwg/extract.pl:
12841 * examples/queue/.cvsignore:
12842 * examples/queue/Makefile.am:
12843 * examples/queue/queue.c:
12844 * examples/queue2/.cvsignore:
12845 * examples/queue2/Makefile.am:
12846 * examples/queue2/queue2.c:
12847 * examples/queue3/.cvsignore:
12848 * examples/queue3/Makefile.am:
12849 * examples/queue3/queue3.c:
12850 * examples/queue4/.cvsignore:
12851 * examples/queue4/Makefile.am:
12852 * examples/queue4/queue4.c:
12853 * examples/retag/.cvsignore:
12854 * examples/retag/Makefile.am:
12855 * examples/retag/retag.c:
12856 * examples/retag/transcode.c:
12857 * examples/thread/.cvsignore:
12858 * examples/thread/Makefile.am:
12859 * examples/thread/thread.c:
12860 * examples/typefind/.cvsignore:
12861 * examples/typefind/Makefile.am:
12862 * examples/typefind/typefind.c:
12863 * examples/xml/.cvsignore:
12864 * examples/xml/Makefile.am:
12865 * examples/xml/createxml.c:
12866 * examples/xml/runxml.c:
12867 * tests/Makefile.am:
12868 * tests/check/Makefile.am:
12869 * testsuite/.cvsignore:
12870 * testsuite/Makefile.am:
12871 * testsuite/Rules:
12872 * testsuite/caps/.cvsignore:
12873 * testsuite/caps/Makefile.am:
12874 * testsuite/caps/app_fixate.c:
12875 * testsuite/caps/audioscale.c:
12876 * testsuite/caps/caps.c:
12877 * testsuite/caps/caps.h:
12878 * testsuite/caps/caps_strings:
12879 * testsuite/caps/compatibility.c:
12880 * testsuite/caps/deserialize.c:
12881 * testsuite/caps/enumcaps.c:
12882 * testsuite/caps/eratosthenes.c:
12883 * testsuite/caps/filtercaps.c:
12884 * testsuite/caps/fixed.c:
12885 * testsuite/caps/fraction-convert.c:
12886 * testsuite/caps/fraction-multiply-and-zero.c:
12887 * testsuite/caps/intersect2.c:
12888 * testsuite/caps/intersection.c:
12889 * testsuite/caps/normalisation.c:
12890 * testsuite/caps/random.c:
12891 * testsuite/caps/renegotiate.c:
12892 * testsuite/caps/sets.c:
12893 * testsuite/caps/simplify.c:
12894 * testsuite/caps/string-conversions.c:
12895 * testsuite/caps/structure.c:
12896 * testsuite/caps/subtract.c:
12897 * testsuite/caps/union.c:
12898 * testsuite/debug/.cvsignore:
12899 * testsuite/debug/Makefile.am:
12900 * testsuite/debug/category.c:
12901 * testsuite/debug/commandline.c:
12902 * testsuite/debug/global.c:
12903 * testsuite/debug/output.c:
12904 * testsuite/debug/printf_extension.c:
12905 * testsuite/dlopen/.cvsignore:
12906 * testsuite/dlopen/Makefile.am:
12907 * testsuite/dlopen/dlopen_gst.c:
12908 * testsuite/dlopen/loadgst.c:
12909 * testsuite/elements/.cvsignore:
12910 * testsuite/elements/Makefile.am:
12911 * testsuite/elements/gst-inspect-check.in:
12912 * testsuite/elements/struct_i386.h:
12913 * testsuite/elements/struct_size.c:
12914 * testsuite/indexers/.cvsignore:
12915 * testsuite/indexers/Makefile.am:
12916 * testsuite/indexers/cache1.c:
12917 * testsuite/indexers/indexdump.c:
12918 * testsuite/parse/.cvsignore:
12919 * testsuite/parse/Makefile.am:
12920 * testsuite/parse/parse1.c:
12921 * testsuite/parse/parse2.c:
12922 * testsuite/plugin/.cvsignore:
12923 * testsuite/plugin/Makefile.am:
12924 * testsuite/plugin/README:
12925 * testsuite/plugin/dynamic.c:
12926 * testsuite/plugin/linked.c:
12927 * testsuite/plugin/loading.c:
12928 * testsuite/plugin/registry.c:
12929 * testsuite/plugin/static.c:
12930 * testsuite/plugin/static2.c:
12931 * testsuite/plugin/testplugin.c:
12932 * testsuite/plugin/testplugin2.c:
12933 * testsuite/plugin/testplugin2_s.c:
12934 * testsuite/plugin/testplugin_s.c:
12935 * testsuite/refcounting/.cvsignore:
12936 * testsuite/refcounting/Makefile.am:
12937 * testsuite/refcounting/bin.c:
12938 * testsuite/refcounting/element.c:
12939 * testsuite/refcounting/element_pad.c:
12940 * testsuite/refcounting/mainloop.c:
12941 * testsuite/refcounting/mem.c:
12942 * testsuite/refcounting/mem.h:
12943 * testsuite/refcounting/object.c:
12944 * testsuite/refcounting/pad.c:
12945 * testsuite/refcounting/sched.c:
12946 * testsuite/refcounting/thread.c:
12947 * testsuite/states/.cvsignore:
12948 * testsuite/states/Makefile.am:
12949 * testsuite/states/bin.c:
12950 * testsuite/states/locked.c:
12951 * testsuite/states/parent.c:
12952 * testsuite/threads/.cvsignore:
12953 * testsuite/threads/159566.c:
12954 * testsuite/threads/159852.c:
12955 * testsuite/threads/Makefile.am:
12956 * testsuite/threads/queue.c:
12957 * testsuite/threads/signals.c:
12958 * testsuite/threads/staticrec.c:
12959 * testsuite/threads/thread.c:
12960 * testsuite/threads/threadb.c:
12961 * testsuite/threads/threadc.c:
12962 * testsuite/threads/threadd.c:
12963 * testsuite/threads/threade.c:
12964 * testsuite/threads/threadf.c:
12965 * testsuite/threads/threadg.c:
12966 * testsuite/threads/threadh.c:
12967 * testsuite/threads/threadi.c:
12968 move all of these under tests
12970 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12972 * configure.ac:
12973 * tests/Makefile.am:
12974 fix distcheck
12976 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12978 * docs/gst/gstreamer-sections.txt:
12979 * tests/sched/.cvsignore:
12980 * tests/sched/Makefile.am:
12981 * tests/sched/cases/(fs-fs).xml:
12982 * tests/sched/cases/(fs-i-fs).xml:
12983 * tests/sched/cases/(fs-i-i-fs).xml:
12984 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12985 * tests/sched/dynamic-pipeline.c:
12986 * tests/sched/interrupt1.c:
12987 * tests/sched/interrupt2.c:
12988 * tests/sched/interrupt3.c:
12989 * tests/sched/runtestcases:
12990 * tests/sched/runxml.c:
12991 * tests/sched/sched-stress.c:
12992 * tests/sched/sort.c:
12993 * tests/sched/testcases:
12994 * tests/sched/testcases1.tc:
12995 * tests/seeking/.cvsignore:
12996 * tests/seeking/Makefile.am:
12997 * tests/seeking/seeking1.c:
12998 * tests/threadstate/.cvsignore:
12999 * tests/threadstate/Makefile.am:
13000 * tests/threadstate/test1.c:
13001 * tests/threadstate/test2.c:
13002 * tests/threadstate/threadstate1.c:
13003 * tests/threadstate/threadstate2.c:
13004 * tests/threadstate/threadstate3.c:
13005 * tests/threadstate/threadstate4.c:
13006 * tests/threadstate/threadstate5.c:
13007 remove obsolete tests
13008 * configure.ac:
13009 * tests/bench-complexity.scm:
13010 * tests/bench-mass_elements.scm:
13011 * tests/complexity.c:
13012 * tests/complexity.gnuplot:
13013 * tests/instantiate/.cvsignore:
13014 * tests/instantiate/Makefile.am:
13015 * tests/instantiate/caps.c:
13016 * tests/mass_elements.c:
13017 * tests/network-clock-utils.scm:
13018 * tests/network-clock.scm:
13019 * tests/plot-data:
13020 First pass at cleaning up tests/ dir before moving the rest
13021 Combined with CVS surgery
13023 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13025 * po/POTFILES.in:
13026 queue has moved, update
13028 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13030 * docs/gst/gstreamer-sections.txt:
13031 remove double entries from the docs
13032 * gst/gst_private.h:
13033 * gst/gstinfo.c: (_gst_debug_init):
13034 remove the THREAD debug category
13035 * gst/Makefile.am:
13036 * gst/gstqueue.c:
13037 * gst/gstqueue.h:
13038 * docs/gst/gstreamer.types:
13039 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13040 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13041 completely move queue and fix up debugging categories
13043 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13045 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13046 make initialization portable, using LL is not
13048 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13050 * win32/common/gstconfig.h:
13051 add large padding
13053 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13055 * win32/common/libgstreamer.def:
13056 rename symbols; sort base section
13058 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13060 * gst/gstclock.c: (do_linear_regression):
13061 remove crack non-portable handrolled DEBUG macro
13063 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13065 * docs/random/release:
13066 update notes
13067 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13068 (gst_object_flags_get_type), (register_gst_bin_flags),
13069 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13070 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13071 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13072 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13073 (gst_caps_flags_get_type), (register_gst_clock_return),
13074 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13075 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13076 (gst_clock_flags_get_type), (register_gst_state),
13077 (gst_state_get_type), (register_gst_state_change_return),
13078 (gst_state_change_return_get_type), (register_gst_state_change),
13079 (gst_state_change_get_type), (register_gst_element_flags),
13080 (gst_element_flags_get_type), (register_gst_core_error),
13081 (gst_core_error_get_type), (register_gst_library_error),
13082 (gst_library_error_get_type), (register_gst_resource_error),
13083 (gst_resource_error_get_type), (register_gst_stream_error),
13084 (gst_stream_error_get_type), (register_gst_event_type_flags),
13085 (gst_event_type_flags_get_type), (register_gst_event_type),
13086 (gst_event_type_get_type), (register_gst_seek_type),
13087 (gst_seek_type_get_type), (register_gst_seek_flags),
13088 (gst_seek_flags_get_type), (register_gst_format),
13089 (gst_format_get_type), (register_gst_index_certainty),
13090 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13091 (gst_index_entry_type_get_type),
13092 (register_gst_index_lookup_method),
13093 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13094 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13095 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13096 (gst_index_flags_get_type), (register_gst_debug_level),
13097 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13098 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13099 (gst_iterator_result_get_type), (register_gst_iterator_item),
13100 (gst_iterator_item_get_type), (register_gst_message_type),
13101 (gst_message_type_get_type), (register_gst_mini_object_flags),
13102 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13103 (gst_pad_link_return_get_type), (register_gst_flow_return),
13104 (gst_flow_return_get_type), (register_gst_activate_mode),
13105 (gst_activate_mode_get_type), (register_gst_pad_direction),
13106 (gst_pad_direction_get_type), (register_gst_pad_flags),
13107 (gst_pad_flags_get_type), (register_gst_pad_presence),
13108 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13109 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13110 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13111 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13112 (gst_plugin_flags_get_type), (register_gst_rank),
13113 (gst_rank_get_type), (register_gst_query_type),
13114 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13115 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13116 (gst_tag_flag_get_type), (register_gst_task_state),
13117 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13118 (gst_alloc_trace_flags_get_type),
13119 (register_gst_type_find_probability),
13120 (gst_type_find_probability_get_type), (register_gst_uri_type),
13121 (gst_uri_type_get_type), (register_gst_parse_error),
13122 (gst_parse_error_get_type):
13123 * win32/common/gstenumtypes.h:
13124 * win32/common/gstversion.h:
13125 update visual studio generated files
13127 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13129 * win32/vs6/libgstbase.dsp:
13130 * win32/vs6/libgstelements.dsp:
13131 update project files for new locations
13133 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13135 * Makefile.am:
13136 remove some files
13137 * README:
13138 reinstate and update
13139 * DEVEL:
13140 * REQUIREMENTS:
13141 removed
13142 * LICENSE:
13143 * docs/random/LICENSE:
13144 moved to random
13146 2005-11-30 Edward Hervey <edward@fluendo.com>
13148 * gst/gsttypefind.c: (gst_type_find_register):
13149 * gst/gsttypefind.h:
13150 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13151 (gst_type_find_factory_dispose):
13152 * gst/gsttypefindfactory.h:
13153 Fix memory leak in GstTypeFindFactory.
13155 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13157 * gst/gst.c:
13158 * plugins/elements/Makefile.am:
13159 * plugins/elements/gstelements.c:
13160 * plugins/elements/gstqueue.c:
13161 move queue from core to the elements plugin
13163 2005-11-29 Andy Wingo <wingo@pobox.com>
13165 * libs/gst/base/gstbasetransform.h:
13166 * libs/gst/base/gstbasesrc.h:
13167 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13169 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13170 of pointers by which to pad very extensible base classes (like the
13171 ones in libs/gst/base).
13173 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13175 * docs/gst/gstreamer-docs.sgml:
13176 * docs/gst/gstreamer-sections.txt:
13177 * docs/libs/gstreamer-libs-docs.sgml:
13178 * docs/libs/gstreamer-libs-sections.txt:
13179 moving documentation from core to lib
13181 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13183 * check/Makefile.am:
13184 * configure.ac:
13185 * docs/gst/Makefile.am:
13186 * gst/Makefile.am:
13187 * gst/base/.cvsignore:
13188 * gst/base/Makefile.am:
13189 * gst/base/README:
13190 * gst/base/gstadapter.c:
13191 * gst/base/gstadapter.h:
13192 * gst/base/gstbasesink.c:
13193 * gst/base/gstbasesink.h:
13194 * gst/base/gstbasesrc.c:
13195 * gst/base/gstbasesrc.h:
13196 * gst/base/gstbasetransform.c:
13197 * gst/base/gstbasetransform.h:
13198 * gst/base/gstcollectpads.c:
13199 * gst/base/gstcollectpads.h:
13200 * gst/base/gstpushsrc.c:
13201 * gst/base/gstpushsrc.h:
13202 * gst/base/gsttypefindhelper.c:
13203 * gst/base/gsttypefindhelper.h:
13204 * gst/check/Makefile.am:
13205 * gst/check/gstcheck.c:
13206 * gst/check/gstcheck.h:
13207 * gst/net/Makefile.am:
13208 * gst/net/gstnet.h:
13209 * gst/net/gstnetclientclock.c:
13210 * gst/net/gstnetclientclock.h:
13211 * gst/net/gstnettimepacket.c:
13212 * gst/net/gstnettimepacket.h:
13213 * gst/net/gstnettimeprovider.c:
13214 * gst/net/gstnettimeprovider.h:
13215 * libs/gst/Makefile.am:
13216 * libs/gst/base/Makefile.am:
13217 * libs/gst/base/gstbasetransform.c:
13218 * libs/gst/check/Makefile.am:
13219 * plugins/elements/Makefile.am:
13220 * po/POTFILES.in:
13221 CVS surgery + support to move base, check, and net out of gst
13222 and into libs/gst
13224 2005-11-29 Andy Wingo <wingo@pobox.com>
13226 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13228 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13229 padding.
13231 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13233 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13235 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13237 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13238 padding; reduces object size by about 30%. We don't expect
13239 anything else to go into gstobject.
13241 * gst/gstminiobject.h (struct _GstMiniObject)
13242 (struct _GstMiniObjectClass): Only one pointer of padding; the
13243 payload is only a pointer and two ints anyway. For the class there
13244 are only two methods as well.
13246 * gst/gstelement.h (struct _GstElementClass): Removed
13247 the state_changed signal callback, it is not used.
13249 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13251 * docs/gst/gstreamer.types:
13252 fix includes, though they are a little dinky
13254 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13256 * check/Makefile.am:
13257 look in the right place for elements, a lot more chance of
13258 success
13259 * gst/Makefile.am:
13260 remove indexers and elements subdirs
13261 * plugins/Makefile.am:
13262 make indexers conditional
13264 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13266 * Makefile.am:
13267 * configure.ac:
13268 * plugins/elements/Makefile.am:
13269 * plugins/elements/gstcapsfilter.c:
13270 * plugins/elements/gstfilesink.c:
13271 * plugins/elements/gstfilesrc.c:
13272 * plugins/elements/gstidentity.c:
13273 * plugins/indexers/Makefile.am:
13274 do CVS surgery and related build fixery to move elements
13275 and indexers in a new gstreamer/plugins directory, out of the
13276 gst/ directory
13278 2005-11-29 Andy Wingo <wingo@pobox.com>
13280 * check/Makefile.am:
13281 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13282 * pkgconfig/gstreamer-net.pc.in:
13283 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13284 #322257.
13286 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13288 * tools/Makefile.am:
13289 * tools/gst-complete.1.in:
13290 * tools/gst-complete.c:
13291 * tools/gst-compprep.1.in:
13292 * tools/gst-compprep.c:
13293 removing -compprep and -complete
13295 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13297 * gst/gstevent.c: (gst_event_new_new_segment),
13298 (gst_event_parse_new_segment):
13299 * gst/gstevent.h:
13300 fix #320529 - clean up new_segment API and structure.
13301 Let's hope everyone was using the methods, and not the structure.
13303 2005-11-29 Edward Hervey <edward@fluendo.com>
13305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13306 (gst_base_sink_event), (gst_base_sink_do_sync),
13307 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13308 Properly handle non GST_FORMAT_TIME segment
13309 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13310 Properly handle non GST_FORMAT_TIME segment
13311 * gst/gstsegment.c:
13312 This function is valid if the accumulator is 0 and the format
13313 is different from the requested format.
13315 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13317 * docs/gst/gstreamer-sections.txt:
13318 Add gst_query_new_seeking and gst_query_parse_seeking to the
13319 docs.
13321 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13323 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13324 Treat a pad alloc with new caps the same as if we were not
13325 negotiated, in order to allow a changing upstream output
13326 to produce a new format of data.
13328 2005-11-29 Edward Hervey <edward@fluendo.com>
13330 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13331 (gst_base_transform_event), (gst_base_transform_eventfunc):
13332 The event virtual method is now properly implemented, with a default
13333 handler
13334 Sub classes should call the parent_class event method. They should
13335 return FALSE if they had a problem handling the given event, or don't
13336 want GstBaseTransform to send that even downstream
13337 * gst/elements/gstidentity.c: (gst_identity_class_init),
13338 (gst_identity_init), (gst_identity_event),
13339 (gst_identity_transform_ip), (gst_identity_set_property),
13340 (gst_identity_get_property):
13341 * gst/elements/gstidentity.h:
13342 Added the single-segment boolean property.
13343 If set to TRUE, it will output a single segment of data, starting from
13344 0, will eat up all incoming newsegment, and modify the timestamp of the
13345 buffers accordingly
13347 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13349 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13350 Don't ref NULL target pad (#322751). Improve docs.
13352 2005-11-29 Michael Smith <msmith@fluendo.com>
13354 * gst/gstregistryxml.c: (load_plugin):
13355 Don't crash if we failed to load a feature from a plugin.
13357 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13359 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13360 (GST_START_TEST):
13361 use more check API and less GLib API
13363 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13365 * Makefile.am:
13366 don't run checks if we don't have check
13367 * common/check.mak:
13368 remove the registry when running make torture
13369 * docs/gst/gstreamer-sections.txt:
13370 remove second multiply
13371 * gst/gstqueue.c: (gst_queue_loop):
13372 fix a compile warning when disabling debug
13374 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13376 * gst/gstinfo.h:
13377 Hey! Let's print the pad name if the pointer != NULL instead
13378 of when it == NULL :-)
13380 2005-11-28 Wim Taymans <wim@fluendo.com>
13382 * check/gst/gstutils.c: (GST_START_TEST):
13383 Updated check, add some scaling accuracy checking code.
13385 * gst/gstutils.c: (gst_util_div128_64),
13386 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13387 (gst_util_uint64_scale_int):
13388 Fix 6 times faster division code. Optimize for common
13389 1/1 and less common X/1 cases.
13391 2005-11-28 Wim Taymans <wim@fluendo.com>
13393 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13394 More checks.
13396 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13397 (do_linear_regression), (gst_clock_add_observation):
13398 Cleanups.
13399 Release lock when the clock cannot be slaved.
13400 Catch the case where the regression returned an invalid denominator.
13402 * gst/gstutils.c: (gst_util_div128_64_iterate),
13403 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13404 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13405 Add protentially more performant non-iterative 128/64 divide function
13406 that unfortunatly does not work yet.
13407 Shortcut the trivial 0/X = 0 case.
13408 Remove the warnings on overflow.
13410 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13412 * gst/gstplugin.c: (gst_plugin_register_func):
13413 everything causing a plugin not to load should be at least a WARNING
13415 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13417 * docs/random/ensonic/dparams.txt:
13418 some TODOs for the next dev cycle
13419 * libs/gst/controller/gstcontroller.c:
13420 (gst_controlled_property_set_interpolation_mode),
13421 (gst_controlled_property_new):
13422 * libs/gst/controller/gstcontroller.h:
13423 use base type to assign acccessor functions
13425 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13427 * check/Makefile.am:
13428 Oops, that should have been top_srcdir
13430 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13432 * check/Makefile.am:
13433 * check/elements/fdsrc.c: (GST_START_TEST):
13434 Use a cmdline define to specify the location of a file to use for
13435 testing, to avoid breaking distcheck.
13437 2005-11-28 Andy Wingo <wingo@pobox.com>
13439 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13441 2005-11-28 Edward Hervey <edward@fluendo.com>
13443 * tools/gst-launch.c: (main):
13444 Clarify the output strings, makes it easier to translate.
13445 Fixes #322626
13447 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13449 * gst/Makefile.am:
13450 don't try and build net if we don't even have <sys/socket.h>
13452 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13454 * check/Makefile.am:
13455 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13456 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13457 Add tests for fdsrc seekability
13459 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13460 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13461 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13462 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13463 * gst/elements/gstfdsrc.h:
13464 fdsrc should not be a 'live' source.
13465 Implement seeking on seekable fd's.
13467 * gst/gstquery.c: (gst_query_new_seeking),
13468 (gst_query_parse_seeking):
13469 * gst/gstquery.h:
13470 Implement SEEKING query functions:
13471 *_new_seeking and *_parse_seeking
13473 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13475 * gst/gstelement.c: (gst_element_dispose):
13476 don't loop forever
13478 * gst/gstiterator.c:
13479 * gst/gststructure.c:
13480 doc fixes
13482 * libs/gst/controller/gstcontroller.c:
13483 (gst_controlled_property_set_interpolation_mode):
13484 * libs/gst/controller/gstcontroller.h:
13485 * libs/gst/controller/gstinterpolation.c:
13486 (interpolate_none_get_enum_value_array):
13487 support controlling enums
13489 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13491 * gst/gstvalue.c:
13492 Improve documentation for gst_value_union().
13494 * gst/gstvalue.h:
13495 Change return value for union, intersect and subtract functions
13496 from gint to gboolean.
13498 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13500 * gst/gstvalue.c: (gst_value_serialize_any_list),
13501 (gst_value_transform_any_list_string),
13502 (gst_value_deserialize_list), (gst_value_deserialize_array),
13503 (gst_value_set_int_range), (gst_value_deserialize_int_range),
13504 (gst_value_set_double_range), (gst_value_deserialize_double_range),
13505 (gst_value_set_fraction_range_full),
13506 (gst_value_deserialize_fraction_range),
13507 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13508 (gst_value_deserialize_boolean),
13509 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13510 (gst_value_serialize_float), (gst_value_deserialize_float),
13511 (gst_string_wrap), (gst_value_deserialize_string),
13512 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13513 (gst_value_union_int_range_int_range),
13514 (gst_value_intersect_int_range_int_range),
13515 (gst_value_intersect_double_range_double_range),
13516 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13517 (gst_value_subtract_int_range_int_range),
13518 (gst_value_subtract_double_double_range),
13519 (gst_value_subtract_double_range_double_range),
13520 (gst_value_deserialize_fraction):
13521 * gst/gstvalue.h:
13522 Use gint, gdouble and gchar in our API instead of int, double and
13523 char (and make usage in gstvalue.c more consistent).
13525 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13527 * check/Makefile.am:
13528 * libs/gst/controller/Makefile.am:
13529 * libs/gst/dataprotocol/Makefile.am:
13530 fix up Makefile.am and remove GST_ENABLE_NEW
13532 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13534 * configure.ac:
13535 * gst/Makefile.am:
13536 * gst/base/Makefile.am:
13537 * gst/check/Makefile.am:
13538 * gst/elements/Makefile.am:
13539 * gst/net/Makefile.am:
13540 update LDFLAGS use some more
13542 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
13544 * common/m4/gst-doc.m4:
13545 Fixes #312589
13547 2005-11-26 Edward Hervey <edward@fluendo.com>
13549 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13550 This shouldn't issue a g_warning since it returns NULL if it
13551 couldn't find the plugin, and all functions using this behave
13552 properly on a NULL return. Switching to a GST_WARNING.
13554 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
13556 * gst/gstbin.c: (gst_bin_handle_message_func):
13557 Don't leak clock messages.
13559 2005-11-25 Wim Taymans <wim@fluendo.com>
13561 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13562 (gst_util_uint64_scale_int):
13563 Optimisations, remove unneeded vars.
13565 2005-11-25 Wim Taymans <wim@fluendo.com>
13567 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13568 Added more checks for the high precision uint64 cases.
13570 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13571 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13572 Implement high precision (guint64 * guint64) / guint64.
13574 2005-11-24 Wim Taymans <wim@fluendo.com>
13576 * gst/base/gstbasesrc.c: (gst_base_src_query):
13577 Fix wrong percentage query.
13579 * gst/gstutils.c: (gst_util_uint64_scale),
13580 (gst_util_uint64_scale_int):
13581 Add some more common cases that can be handled
13582 efficiently to _scale.
13584 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13586 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13587 (gst_mini_object_suite):
13588 don't use check calls from threads; check probably isn't
13589 threadsafe and using a lock to make it threadsafe would
13590 defeat the purpose of this check
13591 * gst/check/gstcheck.c:
13592 * gst/check/gstcheck.h:
13593 use GST_DEBUG some more
13595 2005-11-24 Wim Taymans <wim@fluendo.com>
13597 * gst/gstutils.c: (gst_util_uint64_scale),
13598 (gst_util_uint64_scale_int):
13599 Chain trivial case to _scale_int.
13601 2005-11-24 Wim Taymans <wim@fluendo.com>
13603 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13604 Added test for scaling.
13606 * gst/gstclock.h:
13607 Small doc fix.
13609 * gst/gstutils.c: (gst_util_uint64_scale_int):
13610 Implemented high precision scaling code.
13612 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13614 * gst/gstinfo.h:
13615 do not crash on pad==NULL
13617 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13619 Patch by: Stefan Kost
13621 * common/gtk-doc.mak:
13622 * docs/gst/Makefile.am:
13623 * docs/libs/Makefile.am:
13624 Fix distcheck issues for the libraries docs build
13625 Closes #319599.
13627 2005-11-24 Michael Smith <msmith@fluendo.com>
13629 * docs/manual/basics-helloworld.xml:
13630 Fix bug #315027: memory leak in example code in docs.
13632 2005-11-24 Michael Smith <msmith@fluendo.com>
13634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13635 Unlock the PREROLL_LOCK in a failure case.
13637 2005-11-24 Wim Taymans <wim@fluendo.com>
13639 * docs/gst/gstreamer-sections.txt:
13640 * gst/base/gstadapter.h:
13641 * gst/base/gstbasesink.h:
13642 * gst/base/gstbasesrc.h:
13643 * gst/base/gstbasetransform.h:
13644 * gst/base/gstpushsrc.h:
13645 * gst/elements/gstfakesink.h:
13646 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13647 * gst/elements/gstfakesrc.h:
13648 * gst/elements/gstfilesink.h:
13649 * gst/elements/gstfilesrc.h:
13650 * gst/gst.c:
13651 * gst/gstbin.c:
13652 * gst/gstbuffer.c: (_gst_buffer_copy):
13653 * gst/gstbus.h:
13654 * gst/gstcaps.c:
13655 * gst/gstchildproxy.c:
13656 * gst/gstclock.c:
13657 * gst/gstelement.c:
13658 * gst/gstelementfactory.c:
13659 * gst/gstelementfactory.h:
13660 * gst/gstevent.c:
13661 * gst/gstghostpad.h:
13662 * gst/gstindex.h:
13663 * gst/gstinterface.h:
13664 * gst/gstminiobject.c:
13665 * gst/gstminiobject.h:
13666 * gst/gstpad.c:
13667 * gst/gstpad.h:
13668 * gst/gstpadtemplate.h:
13669 * gst/gstpipeline.h:
13670 * gst/gstpluginfeature.h:
13671 * gst/gstquery.h:
13672 * gst/gstqueue.h:
13673 * gst/gsttaglist.c:
13674 * gst/gsttaglist.h:
13675 * gst/gsttagsetter.c:
13676 * gst/gsttagsetter.h:
13677 * gst/gsttrace.c:
13678 * gst/gsttrace.h:
13679 * gst/gsttypefind.h:
13680 * gst/gsturi.h:
13681 * gst/gstvalue.c:
13682 * gst/net/gstnetclientclock.c:
13683 * gst/net/gstnetclientclock.h:
13684 * gst/net/gstnettimepacket.c:
13685 * gst/net/gstnettimeprovider.c:
13686 * gst/net/gstnettimeprovider.h:
13687 Doc fixes.
13689 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13691 * configure.ac: back to HEAD
13693 === release 0.9.6 ===
13695 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13697 * configure.ac:
13698 releasing 0.9.6, "Always On Time"
13700 2005-11-23 Wim Taymans <wim@fluendo.com>
13702 * docs/gst/gstreamer-sections.txt:
13703 * gst/glib-compat.c:
13704 * gst/gsttagsetter.c:
13705 * gst/gstvalue.c:
13706 * gst/net/gstnetclientclock.c:
13707 * gst/net/gstnettimepacket.h:
13708 Doc updates.
13710 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13712 * docs/faq/using.xml:
13713 * docs/libs/tmpl/gstcontrol.sgml:
13714 * docs/manual/advanced-dparams.xml:
13715 * docs/manual/appendix-checklist.xml:
13716 * docs/manual/basics-elements.xml:
13717 * docs/pwg/other-source.xml:
13718 * docs/random/moving-plugins:
13719 * gst/gstpad.c:
13720 * tools/gst-launch.1.in:
13721 remove mentions of sinesrc
13723 2005-11-23 Michael Smith <msmith@fluendo.com>
13725 * docs/gst/gstreamer-sections.txt:
13726 Update for new API and API changes.
13727 * gst/gstobject.h:
13728 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13729 * gst/gstvalue.c:
13730 Documentation typo fix.
13731 * gst/net/gstnettimepacket.c:
13732 Documentation fixes for arguments.
13734 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13736 * gst/gststructure.c: (gst_structure_get_fraction),
13737 (gst_structure_parse_value),
13738 (gst_structure_fixate_field_nearest_fraction):
13739 * gst/gststructure.h:
13740 * gst/gstutils.c: (gst_util_uint64_scale_int):
13741 * gst/gstutils.h:
13742 * scripts/update-funcnames:
13743 API Changes.
13744 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13745 Make gst_structure_fixate_field_nearest_fraction take a numerator
13746 and denominator argument instead of a GValue
13747 add gst_structure_get_fraction helper function.
13749 2005-11-23 Wim Taymans <wim@fluendo.com>
13751 * docs/design/part-TODO.txt:
13752 Update TODO.
13754 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13755 * gst/net/gstnetclientclock.h:
13756 Use parent fields for timeout and window_size.
13758 2005-11-23 Andy Wingo <wingo@pobox.com>
13760 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13761 rate_num/rate_denom change.
13763 * gst/net/gstnetclientclock.c
13764 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13765 OBJECT_LOCK. Don't call add_observation with the lock.
13767 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13768 fraction.
13769 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13770 rate fraction.
13771 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13772 deal with rate as a fraction whose numerator and denominator are
13773 GstClockTime values.
13774 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13775 master; the other fields are protected by the SLAVE_LOCK.
13776 (do_linear_regression): Note that this must be called with the
13777 SLAVE_LOCK.
13778 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13779 OBJECT_LOCK. Call set_calibration instead of touching the
13780 variables directly.
13781 (gst_clock_set_property, gst_clock_get_property): Protect
13782 master/slave parameters with the SLAVE_LOCK.
13784 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13785 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13786 note that all of the instance variables that add_observation and
13787 the set_master functions use are protected by that lock and not
13788 the OBJECT_LOCK.
13789 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13791 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13792 the caller to take the object lock.
13794 2005-11-23 Wim Taymans <wim@fluendo.com>
13796 * gst/gsterror.c: (_gst_core_errors_init):
13797 * gst/gsterror.h:
13798 Add error for clock stuff.
13800 * gst/gstpipeline.c: (gst_pipeline_change_state),
13801 (gst_pipeline_set_clock):
13802 Post clock error when clock cannot be used in a pipeline.
13804 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13806 * docs/gst/gstreamer-sections.txt:
13807 make two symbols from gstinfo private for the docs
13808 * gst/base/gstcollectpads.h:
13809 * gst/gstutils.c:
13810 fix doc typos, update docs
13812 2005-11-22 Wim Taymans <wim@fluendo.com>
13814 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13815 (gst_base_sink_wait), (gst_base_sink_do_sync),
13816 (gst_base_sink_handle_event):
13817 * gst/base/gstbasesink.h:
13818 No need to store the clock, the parent element class already
13819 has it.
13821 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13822 Updates for clock_set returning a gboolean
13824 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13825 (gst_clock_id_wait_async), (gst_clock_class_init),
13826 (gst_clock_init), (gst_clock_finalize),
13827 (gst_clock_get_internal_time), (gst_clock_get_time),
13828 (gst_clock_slave_callback), (gst_clock_set_master),
13829 (gst_clock_get_master), (do_linear_regression),
13830 (gst_clock_add_observation), (gst_clock_set_property),
13831 (gst_clock_get_property):
13832 * gst/gstclock.h:
13833 Implement master/slave. When setting a clock as a slave, a
13834 periodic timeout is scheduled to sample master and slave times.
13835 Then the slave clock is recalibrated to match offset and rate
13836 of the master clock.
13837 Update logging a bit.
13838 Add flag so that a clock can state that is cannot be slaved to
13839 another clock.
13841 * gst/gstelement.c: (gst_element_set_clock):
13842 * gst/gstelement.h:
13843 The set clock returns a gboolean for when an element cannot
13844 deal with the selected clock in the pipeline.
13846 * gst/gstpipeline.c: (gst_pipeline_change_state),
13847 (gst_pipeline_set_clock):
13848 * gst/gstpipeline.h:
13849 Handle the case where the selected clock cannot be set on
13850 the pipeline.
13852 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13853 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13854 (gst_net_client_clock_set_property),
13855 (gst_net_client_clock_get_property),
13856 (gst_net_client_clock_observe_times):
13857 * gst/net/gstnetclientclock.h:
13858 Use regression code in GstClock parent, remove duplicated
13859 functionality.
13861 2005-11-22 Michael Smith <msmith@fluendo.com>
13863 * gst/gstutils.c: (gst_util_clock_time_scale):
13864 * gst/gstutils.h:
13865 * docs/gst/gstreamer-sections.txt:
13866 Rename method to have extra underscore.
13868 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13870 * gst/elements/Makefile.am:
13871 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13872 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13873 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13874 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13875 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13876 * gst/elements/gstfakesrc.h:
13877 * gst/gstqueue.c: (queue_leaky_get_type):
13878 correctly fix GEnumValues so that nick is the short lowercase
13879 dashed tag
13880 * tools/gst-inspect.c: (print_element_properties_info):
13881 also show the nick, since it's useful to use from parse_launch
13882 syntax
13883 Fixes #322139
13885 2005-11-22 Michael Smith <msmith@fluendo.com>
13887 * gst/gstutils.c: (gst_util_clocktime_scale):
13888 * gst/gstutils.h:
13889 * docs/gst/gstreamer-sections.txt:
13890 Add util method for scaling a clocktime by a fraction. Useful
13891 implementation is left as an exercise for the reader.
13893 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13895 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13896 If needed, allocate storage in the destination value during
13897 collection.
13899 2005-11-22 Edward Hervey <edward@fluendo.com>
13901 * docs/gst/gstreamer-sections.txt:
13902 * gst/Makefile.am:
13903 * gst/gst.h:
13904 * gst/gsturitype.c:
13905 * gst/gsturitype.h:
13906 * gst/gstutils.c: (gst_util_set_object_arg):
13907 * tools/gst-compprep.c: (main):
13908 * tools/gst-inspect.c: (print_element_properties_info):
13909 Removed GstURI, closes bug #321061
13911 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13913 * check/gst/gststructure.c: (GST_START_TEST):
13914 * gst/gststructure.c: (gst_structure_parse_value):
13915 Oops, broke automatic string type parsing.
13916 Add a test to catch it in future.
13918 2005-11-22 Andy Wingo <wingo@pobox.com>
13920 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13921 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13922 Actually rename the function implementations. Grr.
13924 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13926 * check/gst/capslist.h:
13927 Comment test cases
13928 * check/gst/gststructure.c: (GST_START_TEST),
13929 (gst_structure_suite):
13930 Test automatic value type detection in gst_structure_from_string.
13931 * gst/gststructure.c: (gst_structure_parse_value):
13932 Add fraction as a type we try and guess automatically in
13933 caps/structure strings.
13935 2005-11-22 Andy Wingo <wingo@pobox.com>
13937 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13939 * gst/gsttagsetter.h:
13940 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13941 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13942 (gst_tag_setter_add_tag_valist)
13943 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13944 _add_values, _add_valist, and _add_valist_values. Since this is an
13945 interface the function suffixes should be more explicit so
13946 language binding don't end up with element.add_valist ->
13947 gst_tag_setter_add_valist, for example. Fixes #322069.
13949 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13951 * check/gst/gstcaps.c: (GST_START_TEST):
13952 Extend caps string tests to check that a caps to string
13953 conversion is reversible and produces the same caps.
13955 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13956 Output "fraction" as the generic type fraction range, so caps
13957 serialisation and deserialisation works.
13958 * check/gst/capslist.h:
13959 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13960 Support 'MIN' and 'MAX' for deserialising fractions.
13962 2005-11-22 Andy Wingo <wingo@pobox.com>
13964 * gst/gstevent.h (gst_event_new_new_segment)
13965 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13966 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13967 Renamed from *_newsegment, *_buffersize, *_notarget.
13969 * scripts/update-funcnames: New script, performs the changes
13970 listed above.
13972 2005-11-22 Wim Taymans <wim@fluendo.com>
13974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13975 Make sure the GstFlowReturn is returned.
13977 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13978 (gst_bus_add_signal_watch):
13979 * gst/gstbus.h:
13980 add gst_bus_add_signal_watch_full.
13982 * gst/gstplugin.c: (gst_plugin_load_file):
13983 Small style cleanup.
13985 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13987 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13988 Block the fakesrc srcpad when we send an event, to avoid
13989 contention on the stream_lock causing random test failures.
13991 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13993 * check/gst/gstvalue.c: (GST_START_TEST):
13994 * gst/gstvalue.c: (gst_value_fraction_subtract):
13995 Fix subtraction.
13997 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13999 * gst/gst.h:
14000 include "gstchildproxy.h"
14001 * gst/gstchildproxy.h:
14002 * libs/gst/controller/gstcontroller.h:
14003 use G_GNUC_NULL_TERMINATED
14005 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14007 * check/gst/capslist.h:
14008 * check/gst/gstcaps.c: (GST_START_TEST):
14009 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14010 * gst/gststructure.c: (gst_structure_parse_range),
14011 (gst_structure_fixate_field_nearest_fraction):
14012 * gst/gststructure.h:
14013 * gst/gstvalue.c: (gst_value_init_fraction_range),
14014 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14015 (gst_value_collect_fraction_range),
14016 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14017 (gst_value_set_fraction_range_full),
14018 (gst_value_get_fraction_range_min),
14019 (gst_value_get_fraction_range_max),
14020 (gst_value_serialize_fraction_range),
14021 (gst_value_transform_fraction_range_string),
14022 (gst_value_compare_fraction_range),
14023 (gst_value_deserialize_fraction_range),
14024 (gst_value_intersect_fraction_fraction_range),
14025 (gst_value_intersect_fraction_range_fraction_range),
14026 (gst_value_subtract_fraction_fraction_range),
14027 (gst_value_subtract_fraction_range_fraction),
14028 (gst_value_subtract_fraction_range_fraction_range),
14029 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14030 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14031 (gst_value_transform_string_fraction), (_gst_value_initialize):
14032 * gst/gstvalue.h:
14033 Implement fraction ranges and extend GstFraction to support
14034 arithmetic subtraction, as well as deserialization from integer
14035 strings such as "100"
14036 Add a testsuite as for int and double range set operations
14038 2005-11-21 Andy Wingo <wingo@pobox.com>
14040 * gst/gsttaglist.h:
14041 * gst/gstcaps.h:
14042 * gst/gststructure.h: Add glib-compat.h.
14044 2005-11-21 Wim Taymans <wim@fluendo.com>
14046 * gst/gstbin.c: (gst_bin_change_state_func):
14047 Fix for #321595
14049 2005-11-21 Wim Taymans <wim@fluendo.com>
14051 * gst/gstsegment.h:
14052 And add a nice define too.
14054 2005-11-21 Wim Taymans <wim@fluendo.com>
14056 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14057 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14058 (gst_segment_set_duration), (gst_segment_set_last_stop),
14059 (gst_segment_set_seek), (gst_segment_set_newsegment),
14060 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14061 (gst_segment_clip):
14062 * gst/gstsegment.h:
14063 Make binding friendly.
14065 2005-11-21 Andy Wingo <wingo@pobox.com>
14067 * gst/gsttagsetter.h:
14068 * gst/gsttaglist.h:
14069 * gst/gststructure.h:
14070 * gst/gstcaps.h:
14071 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14072 #319940.
14074 * gst/gsterror.c (_gst_core_errors_init):
14075 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14076 category.
14078 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14079 (noinst_HEADERS): noinst the -private.
14081 2005-11-21 Michael Smith <msmith@fluendo.com>
14083 * gst/gstplugin.h:
14084 * gst/gstregistry.h:
14085 Remove unimplemented declarations for which we can see no sensible
14086 use.
14088 2005-11-21 Andy Wingo <wingo@pobox.com>
14090 * gst/gst.h: Include glib-compat.h.
14092 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14094 * gst/glib-compat.c: Include the public and the private header.
14096 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14098 * gst/gstvalue.c:
14099 * gst/gstpad.c:
14100 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14102 * check/gst/gstevent.c (create_custom_events): Check that
14103 FLUSH_STOP is serialized.
14105 * check/elements/identity.c (event_func):
14106 * check/elements/fakesrc.c (event_func): No stream lock, the core
14107 takes it.
14109 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14110 stream lock taking, yay.
14112 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14113 ensure that core takes the stream lock.
14115 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14116 lock name change.
14118 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14119 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14120 it already. For the flush start we do take it though so we get the
14121 right preroll state change messages.
14123 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14124 the stream lock here, the core does it for us.
14126 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14127 GST_STREAM_GET_LOCK.
14128 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14129 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14130 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14131 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14132 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14133 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14135 * gst/gstpad.c: Update for stream lock name change.
14137 * gst/base/gstbasesink.c: Update for preroll lock name change.
14139 2005-11-21 Wim Taymans <wim@fluendo.com>
14141 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14142 (gst_clock_get_master):
14143 * gst/gstclock.h:
14144 * gst/gstsystemclock.c: (gst_system_clock_init):
14145 Convert Clock flags to object flags.
14146 Added methods to manage master/slave clocks.
14148 2005-11-21 Wim Taymans <wim@fluendo.com>
14150 * check/gst/gstsegment.c: (GST_START_TEST):
14151 * docs/design/part-TODO.txt:
14152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14153 (gst_base_sink_event), (gst_base_sink_do_sync),
14154 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14155 (gst_base_sink_query), (gst_base_sink_change_state):
14156 * gst/base/gstbasesink.h:
14157 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14158 (gst_base_src_default_newsegment),
14159 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14160 (gst_base_src_get_range), (gst_base_src_loop),
14161 (gst_base_src_change_state):
14162 * gst/base/gstbasesrc.h:
14163 * gst/base/gstbasetransform.c:
14164 (gst_base_transform_prepare_output_buf),
14165 (gst_base_transform_event), (gst_base_transform_change_state):
14166 * gst/base/gstbasetransform.h:
14167 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14168 (gst_collect_pads_event):
14169 * gst/base/gstcollectpads.h:
14170 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14171 (gst_fake_src_create):
14172 * gst/elements/gstfakesrc.h:
14173 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14174 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14175 (gst_segment_set_last_stop), (gst_segment_set_seek),
14176 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14177 (gst_segment_to_running_time), (gst_segment_clip):
14178 * gst/gstsegment.h:
14179 More segment updates, replace code in plugins with segment
14180 helper functions.
14182 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14184 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14185 Don't ignore sscanf results
14187 2005-11-21 Andy Wingo <wingo@pobox.com>
14189 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14191 * *.h:
14192 * *.c: Ran scripts/update-macros. Oh yes.
14194 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14195 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14196 GST_GET_LOCK, etc.
14198 * scripts/update-macros: New script. Run it on your files to
14199 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14200 well.
14202 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14204 * docs/gst/Makefile.am:
14205 * docs/gst/gstreamer-docs.sgml:
14206 * docs/gst/gstreamer-sections.txt:
14207 * docs/gst/gstreamer.types:
14208 * gst/gstinfo.h:
14209 more docs fixes, add new api to the docs
14211 2005-11-21 Andy Wingo <wingo@pobox.com>
14213 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14214 state_broadcast call.
14216 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14218 2005-11-21 Julien MOUTTE <julien@moutte.net>
14220 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14221 function calls for arrays.
14223 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14225 * docs/random/ensonic/media-device-daemon.txt:
14226 wild idea, can this be done?
14227 * docs/gst/gstreamer-sections.txt:
14228 * gst/gsterror.h:
14229 * gst/gstfilter.c:
14230 * gst/gstfilter.h:
14231 * gst/gstplugin.h:
14232 * gst/gstpluginfeature.c:
14233 * gst/gsttrace.c:
14234 * gst/gstvalue.c:
14235 * gst/gstvalue.h:
14236 doc fixes and additions
14238 2005-11-21 Andy Wingo <wingo@pobox.com>
14240 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14241 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14242 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14243 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14244 private to the basesrc implementation.
14246 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14247 behalf of event function if necessary. It should no longer be
14248 necessary to take the stream lock in pad's event functions. Fixes
14249 #320299.
14251 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14252 * docs/gst/gstreamer-sections.txt:
14253 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14254 (gst_structure_fixate_field_nearest_double),
14255 (gst_structure_fixate_field_boolean):
14256 * gst/gststructure.h:
14257 * win32/common/libgstreamer.def:
14258 * win32/gstreamer.def:
14260 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14261 (#322027)
14263 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14265 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14266 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14267 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14268 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14269 (gst_fdsrc_uri_handler_init):
14270 * gst/elements/gstfdsrc.h:
14271 Port fd:// URI handler from 0.8 to fdsrc
14273 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14275 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14276 (gst_value_serialize_fourcc):
14277 * gst/gstvalue.h:
14278 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14279 consistent with our other format defines (#320324).
14281 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14283 * gst/gstvalue.c: (gst_value_is_fixed):
14284 Revert previous commit. Value lists are by definition
14285 not fixed, as they are a list of possible values.
14287 2005-11-21 Andy Wingo <wingo@pobox.com>
14289 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14290 during the stable series if we need it. Fixes #319178.
14292 * gst/gstevent.c (gst_event_new_filler): Removed.
14294 * check/gst/gstevent.c: Update comment about filler events.
14296 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14298 * gst/gstvalue.c: (gst_value_is_fixed):
14299 Should handle both value arrays and value lists.
14301 2005-11-21 Andy Wingo <wingo@pobox.com>
14303 patch by: Alessandro Dessina <alessandro nnva org>
14305 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14306 functions to access arrays. Fixes #321962.
14308 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14310 * docs/gst/gstreamer.types:
14311 gst_collectpads_get_type => gst_collect_pads_get_type.
14313 * gst/base/gstbasetransform.c:
14314 Remove unused SIGNAL_HANDOFF enum.
14316 2005-11-21 Andy Wingo <wingo@pobox.com>
14318 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14319 the event type (upstream, downstream, serialized). Renamed
14320 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14321 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14322 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14324 * gst/gstevent.c: Update for new CUSTOM event names.
14326 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14328 * gst/gstevent.h:
14329 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14330 bug #319392.
14332 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14334 * docs/gst/gstreamer-sections.txt:
14335 * win32/common/libgstbase.def:
14336 * win32/libgstbase.def:
14337 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14338 (gst_collect_pads_class_init), (gst_collect_pads_init),
14339 (gst_collect_pads_finalize), (gst_collect_pads_new),
14340 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14341 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14342 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14343 (gst_collect_pads_start), (gst_collect_pads_stop),
14344 (gst_collect_pads_peek), (gst_collect_pads_pop),
14345 (gst_collect_pads_available), (gst_collect_pads_read),
14346 (gst_collect_pads_flush), (gst_collect_pads_event),
14347 (gst_collect_pads_chain):
14348 * gst/base/gstcollectpads.h:
14349 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14350 unimplemented functions as unimplemented. Add padding to
14351 GstCollectData. (#320766, #320423)
14353 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14355 * gst/gstmessage.c:
14356 Improve docs for DURATION message (usage of duration parameter)
14357 (#320113)
14359 2005-11-20 Wim Taymans <wim@fluendo.com>
14361 * check/Makefile.am:
14362 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14363 (main):
14364 * gst/Makefile.am:
14365 * gst/gst.h:
14366 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14367 (gst_segment_set_seek), (gst_segment_set_newsegment),
14368 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14369 (gst_segment_clip):
14370 * gst/gstsegment.h:
14371 Added segment helper structure and methods. Not fully implemented
14372 yet.
14373 Added segment check.
14375 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14377 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14378 Add a deserialisation test for fractions
14379 * examples/metadata/read-metadata.c: (message_loop),
14380 (make_pipeline), (main):
14381 Fix up metadata reading sample.
14382 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14383 Debug format fix
14384 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14385 Don't try and fixate empty caps
14386 * gst/gst_private.h:
14387 Wrap in G_BEGIN_DECLS/G_END_DECLS
14388 * gst/gstvalue.c: (gst_value_collect_fraction),
14389 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14390 (gst_value_transform_string_fraction),
14391 (gst_value_compare_fraction):
14392 Add some extra guards to ensure that we don't end up
14393 with an invalid denominator of 0 in a gstfraction and
14394 that fractions always get reduced.
14396 2005-11-20 Wim Taymans <wim@fluendo.com>
14398 * docs/gst/gstreamer-sections.txt:
14399 * gst/gstbuffer.h:
14400 * gst/gstelement.c:
14401 * gst/gstformat.c:
14402 * gst/gstformat.h:
14403 * gst/gstindex.h:
14404 * gst/gstquery.c:
14405 * gst/gstquery.h:
14406 * gst/gstvalue.c:
14407 Doc fixes.
14409 2005-11-20 Wim Taymans <wim@fluendo.com>
14411 * docs/design/part-TODO.txt:
14412 * gst/gstcaps.h:
14413 Make a proper enum of the flag.
14415 2005-11-19 Wim Taymans <wim@fluendo.com>
14417 * docs/design/part-TODO.txt:
14418 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14419 (gst_format_to_quark), (gst_format_register):
14420 * gst/gstformat.h:
14421 * gst/gstquery.c: (_gst_query_initialize),
14422 (gst_query_type_get_name), (gst_query_type_to_quark),
14423 (gst_query_type_register):
14424 * gst/gstquery.h:
14425 Add type to quark and type to string conversions.
14427 2005-11-19 Andy Wingo <wingo@pobox.com>
14429 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14430 #320097.
14432 2005-11-19 Wim Taymans <wim@fluendo.com>
14434 * docs/design/part-TODO.txt:
14435 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14436 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14437 (gst_bin_handle_message_func):
14438 * gst/gstbin.h:
14439 Make message handling overridable.
14441 2005-11-19 Andy Wingo <wingo@pobox.com>
14443 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14445 * gst/gstclock.h:
14446 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14447 be a GstClockTime.
14448 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14449 is a GstClockTime. Fixes #321710.
14451 * gst/gstclock.h (GstClock): Remove offset property. Add
14452 internal_calibration and external_calibration. Fix padding. Pad
14453 also by GstClockTime so we don't run into problems.
14455 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14456 (gst_clock_get_rate_offset): Remove.
14457 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14459 * gst/gstutils.h:
14460 * gst/gstutils.c (g_static_rec_cond_wait)
14461 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14463 * gst/gstbin.c: Remove terrible continue_state prototype.
14465 * gst/gstelement.h (gst_element_continue_state): Make public.
14467 * gst/gstelement.h:
14468 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14469 by continue_state. Fixes #319389.
14471 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14472 Really fixes #168438. However I don't see anywhere where the
14473 filter function is called... stupid GStreamer...
14475 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14476 don't have a dispose function, so it won't get called when the
14477 object is unreffed, but oh well!
14479 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14480 allows a destroy function to be set so user_data can be freed.
14481 Fixes #168438.
14482 (gst_index_set_filter): Call gst_index_set_filter_full.
14484 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14486 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14487 string should produce an error, given the lack of a way to
14488 represent NULL strings. Fixes #165650.
14490 * gst/gstvalue.h:
14491 * gst/gstvalue.c (gst_value_array_append_value)
14492 (gst_value_array_prepend_value, gst_value_array_get_size)
14493 (gst_value_array_get_value): New API, copied from
14494 gst_value_list_*, only operates on arrays.
14495 (gst_value_list_append_value, gst_value_list_prepend_value)
14496 (gst_value_list_concat, gst_value_list_get_size)
14497 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14499 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14500 init_list, because it works on both.
14501 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14502 (gst_value_copy_list_or_array): Renamed from copy_list.
14503 (gst_value_free_list_or_array): Renamed from free_list.
14504 (gst_value_collect_list_or_array): Renamed from collect_list.
14505 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14506 (gst_value_list_or_array_peek_pointer): Renamed from
14507 list_peek_pointer.
14508 (_gst_value_array_value_table, _gst_value_list_value_table):
14509 Update value table functions.
14510 (gst_value_compare_list_or_array): Renamed from compare_list.
14512 * gsttaglist.h: Whoops, foreach function returns void. Also fix
14513 some constness.
14515 * gst/gsttaglist.c:
14516 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14517 GstTagList*. Fixes #143472.
14519 * gst/gststructure.h: Clarify what the foreach/map functions can
14520 or can't do to their arguments.
14522 2005-11-18 Wim Taymans <wim@fluendo.com>
14524 * gst/gstclock.c: (gst_clock_set_calibration),
14525 (gst_clock_get_calibration):
14526 Doc and API fixes.
14527 Calibration can be set with internal time equal to current
14528 internal time too.
14530 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
14532 * gst/gsterror.c:
14533 * gst/gsterror.h:
14534 document
14536 2005-11-18 Andy Wingo <wingo@pobox.com>
14538 * configure.ac:
14539 * pkgconfig/gstreamer-net.pc.in:
14540 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14541 * pkgconfig/Makefile.am: Add net pkgconfig files.
14543 2005-11-18 Stefan Kost <ensonic@users.sf.net>
14545 * gst/gstcaps.c:
14546 * gst/gstghostpad.c:
14547 * gst/gsttrace.c:
14548 * gst/gstvalue.c:
14549 * gst/gstvalue.h:
14550 docs fixes
14552 2005-11-18 Andy Wingo <wingo@pobox.com>
14554 * gst/net/gstnetclientclock.c: Turn off debugging.
14556 * check/net/gstnetclientclock.c (test_functioning): Assert that the
14557 times connverge somewhat. Can't make a real test.
14559 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14560 integer arithmetic. Return the minimum of the domain, which can be
14561 set as "internal" for gst_clock_set_calibration.
14562 (gst_net_client_clock_observe_times): Call _set_calibration.
14563 (gst_net_client_clock_new): Call _set_calibration instead of
14564 rate_offset.
14566 * check/net/gstnetclientclock.c (test_functioning): Use the right
14567 adjustment api.
14569 * gst/gstclock.h:
14570 * gst/gstclock.c (gst_clock_get_calibration)
14571 (gst_clock_set_calibration): New functions, obsolete the ones I
14572 added yesterday. Doh. Precision issues mean we have to extrapolate
14573 from a point in the more recent past than 1970.
14574 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14575 obsolete.
14576 (gst_clock_adjust_unlocked): Use the right calibration data.
14578 2005-11-18 Edward Hervey <edward@fluendo.com>
14580 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14581 Also reset the ->current_* values in READY->PAUSED
14583 2005-11-18 Andy Wingo <wingo@pobox.com>
14585 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14586 Whoops, check the right fd. Also add some debugging.
14587 (gst_net_client_clock_observe_times): Adjust for int64 offset.
14588 (do_linear_regression): Add a crapload of debugging. Subtract off
14589 the minimum values from the input series to discard unneeded bits.
14590 Use only int arithmetic. There is still double arithmetic when
14591 calculating the intercept that needs fixing. Return boolean to
14592 indicate success; FALSE would mean the domain or range is too
14593 great. Still needs fixes.
14595 2005-11-18 Wim Taymans <wim@fluendo.com>
14597 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14598 For the current position in stream time, we need to subtract
14599 accumulated time.
14601 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14602 Release lock before calling the callback function of async
14603 entries.
14605 2005-11-18 Andy Wingo <wingo@pobox.com>
14607 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14608 Port goes all the way to MAXUINT16.
14610 * gst/net/gstnettimeprovider.c: Make the port range the same as
14611 for the kernel: 0 assigns, otherwise ports are less than
14612 MAXUINT16.
14614 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14615 port change.
14617 * check/net/gstnetclientclock.c (test_functioning): Add the start
14618 of another test.
14620 2005-11-18 Wim Taymans <wim@fluendo.com>
14622 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14623 (gst_bin_remove_func), (bin_bus_handler):
14624 * gst/gstbin.h:
14625 Removing a clock provider from a bin, triggers a clock lost message
14626 so that a new clock will be selected.
14627 Adding a clock to a bin triggers a clock provider message.
14628 Make sure we reselect a clock when we received a clock lost message.
14629 Keep a reference to the element that provided the clock.
14631 2005-11-18 Andy Wingo <wingo@pobox.com>
14633 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14634 the clock initially so it produces values around the base time.
14635 (gst_net_client_clock_class_init): Typo fix.
14636 (gst_net_client_clock_thread): Add note on when the socket gets
14637 closed.
14639 2005-11-17 Wim Taymans <wim@fluendo.com>
14641 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14642 Free remote and local time arrays.
14644 2005-11-17 Wim Taymans <wim@fluendo.com>
14646 * gst/net/gstnetclientclock.c: (do_linear_regression),
14647 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14648 Fix compilation, uninitialized vars and a forgotten continue.
14650 2005-11-17 Andy Wingo <wingo@pobox.com>
14652 * check/Makefile.am (check_PROGRAMS):
14653 * check/net/gstnetclientclock.c: Add a most minimal test for the
14654 net client clock. More to come later.
14656 * gst/net/gstnet.h:
14657 * gst/net/Makefile.am: Add netclientclock.
14659 * gst/net/gstnetclientclock.h:
14660 * gst/net/gstnetclientclock.c: New files, implement an untested
14661 GstClock that takes its time from a network time provider.
14662 Implements the algorithm in network-clock.scm.
14664 * tests/network-clock.scm (*window-size*): Rename from
14665 *queue-length*.
14666 * tests/network-clock.scm (network-time):
14667 * tests/network-clock-utils.scm (q-push): Update callers.
14669 2005-11-17 Wim Taymans <wim@fluendo.com>
14671 * gst/gstbin.c: (gst_bin_provide_clock_func),
14672 (gst_bin_sort_iterator_new):
14673 And unref the child too..
14675 2005-11-17 Wim Taymans <wim@fluendo.com>
14677 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14678 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14679 Refactor the sort iterator so it can be used while holding the
14680 LOCK too.
14681 Make clock selection select a clock closest to the source.
14683 2005-11-17 Michael Smith <msmith@fluendo.com>
14685 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14686 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14687 * gst/gstclock.h:
14688 Anonymous structs are a gcc (and some other compilers) extension, so
14689 don't use them. Since this is only for ABI-compatibility, and our
14690 API/ABI freeze is over in a few days, this whole thing will only
14691 last a few days, so don't bother trying to think up a meaningful
14692 name for the struct.
14694 2005-11-17 Andy Wingo <wingo@pobox.com>
14696 * gst/gstclock.h (GstClock): Add rate and offset properties,
14697 preserving ABI stability. Add rate/offset accessors. Will file bug
14698 for the freeze break.
14700 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14701 and offset, trying to keep precision and avoiding
14702 underflow/overflow.
14703 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14704 functions. Make gst_clock_set_time_adjust obsolete.
14705 (gst_clock_set_time_adjust): Note that this function is obsolete.
14706 Will file bug soon.
14708 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14709 greppable by using GST_PADDING-1+1.
14711 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14713 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14715 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14716 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14718 * gst/gstpadtemplate.h:
14719 * gst/gstpluginfeature.h:
14720 Don't use c++ style comments in headers (#321638).
14722 2005-11-16 Andy Wingo <wingo@pobox.com>
14724 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14725 buffer.
14727 * check/net/gstnettimeprovider.c: Check to see that the time
14728 provider actually provides times. Works, yo!
14730 2005-11-16 Wim Taymans <wim@fluendo.com>
14732 * check/Makefile.am:
14733 Enable more tests.
14735 * check/elements/fakesrc.c: (GST_START_TEST):
14736 Set element to NULL before disposing it.
14738 2005-11-16 Andy Wingo <wingo@pobox.com>
14740 * gst/net/Makefile.am:
14741 * gst/net/gstnet.h:
14742 * gst/net/gstnettimeprovider.c:
14743 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14744 provider, include it from gstnet.h, and add it to the build.
14746 * gst/net/gstnettimepacket.h:
14747 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14748 sending and receiving.
14750 2005-11-16 Wim Taymans <wim@fluendo.com>
14752 * check/Makefile.am:
14753 Enable valgrind check.
14755 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14756 (gst_fake_src_alloc_buffer):
14757 Fix memleak.
14759 2005-11-16 Wim Taymans <wim@fluendo.com>
14761 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14762 Call parent finalize too.
14764 2005-11-16 Wim Taymans <wim@fluendo.com>
14766 * check/Makefile.am:
14767 Enable valgrind check that should work fine now.
14769 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14770 * gst/gstqueue.c: (gst_queue_init):
14771 Fix memleaks in pad allocation.
14773 2005-11-16 Andy Wingo <wingo@pobox.com>
14775 * gst/net/Makefile.am:
14776 * gst/net/gstnet.h: New part of core to hold network elements and
14777 objects. Put in core because it exposes API that applications want
14778 to use. The library is named libgstnet-tempname right now because
14779 of the existing libgstnet in gst-plugins-base. Solution is
14780 probably to rename the one in plugins-base; will file a bug for
14781 the freeze break.
14783 * gst/net/gstnettimeprovider.c:
14784 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14785 get_time call over the network.
14787 * configure.ac:
14788 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14790 * check/Makefile.am:
14791 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14792 get additions shortly.
14794 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14796 * gst/gstpad.c: (gst_pad_new_from_static_template):
14797 * gst/gstpad.h:
14798 add gst_pad_new_from_static_template functions
14799 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14800 (gst_check_setup_sink_pad):
14801 * gst/elements/gsttee.c: (gst_tee_init):
14802 and use them
14804 2005-11-16 Wim Taymans <wim@fluendo.com>
14806 * gst/gstpad.c: (gst_pad_pause_task):
14807 Removed warning, it's not really an error either.
14809 2005-11-16 Wim Taymans <wim@fluendo.com>
14811 * gst/base/gstbasetransform.c:
14812 (gst_base_transform_prepare_output_buf),
14813 (gst_base_transform_event):
14814 Check if the caps are NULL, this can happen if the element
14815 is shutting down and the pad caps are set to NULL.
14817 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14819 * gst/elements/gsttee.c: (gst_tee_init):
14820 fix pad template leak in tee
14822 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14824 * gst/glib-compat.c: (g_value_dup_gst_object):
14825 * gst/glib-compat.h:
14826 * gst/gstpad.c: (gst_pad_set_property):
14827 use gst_object_ref when setting the pad template; this will
14828 trigger the pad template leaks on GLib 2.6 and the slaves
14830 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14832 * gst/glib-compat.c: (gst_flags_get_first_value):
14833 * gst/glib-compat.h:
14834 * gst/gstregistryxml.c:
14835 remove functions copied from GLib 2.6
14837 2005-11-16 Michael Smith <msmith@fluendo.com>
14839 * gst/Makefile.am:
14840 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14841 do, but only breaks with newer valgrind versions. We're not a
14842 valgrind tool, we have no link-time dependencies on libcoregrind.
14844 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14846 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14847 some debug changes
14848 * gst/gstmessage.h:
14849 typo fixes
14851 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14853 * gst/base/gstbasesrc.c: (gst_base_src_init):
14854 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14855 * gst/gstqueue.c: (gst_queue_init):
14856 * gst/gstregistryxml.c: (load_feature):
14857 Revert all these unrefs, they don't even pass make check !
14859 2005-11-15 Johan Dahlin <johan@gnome.org>
14861 * gst/base/gstbasesrc.c: (gst_base_src_init):
14862 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14863 * gst/gstqueue.c: (gst_queue_init):
14864 Free pad templates, fixes a couple of leaks.
14866 2005-11-15 Daniel Fischer <dan at f3c dot com>
14868 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14870 * gst/gstpad.c: (gst_pad_get_property):
14871 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14872 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14873 (#321452)
14875 2005-11-15 Wim Taymans <wim@fluendo.com>
14877 * gst/gstevent.c:
14878 Small doc update.
14880 2005-11-15 Andy Wingo <wingo@pobox.com>
14882 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14884 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14885 using GST_CLOCK_TIME_NONE to disable base time management.
14886 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14887 time if it was NONE before.
14888 (gst_pipeline_change_state): Only munge the base time if
14889 stream_time != GST_CLOCK_TIME_NONE.
14891 * check/gst/gstpipeline.c (test_base_time): Punt around the
14892 problem of the probe not being called, because that's not the
14893 issue I'm looking at. Add a check that setting stream_time to NONE
14894 disables base time management.
14896 2005-11-15 Wim Taymans <wim@fluendo.com>
14898 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14899 segment_stop == -1 at startup.
14901 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14902 (gst_base_transform_change_state):
14903 Init segment values at start.
14905 2005-11-15 Wim Taymans <wim@fluendo.com>
14907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14908 0 segment values are 0 in any format.
14910 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14911 * gst/base/gstbasetransform.h:
14912 Parse newsegment correctly in basetransform
14914 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14915 Sync to clock using updated segment values.
14917 2005-11-15 Andy Wingo <wingo@pobox.com>
14919 * check/gst/gstpipeline.c (test_base_time): Add check that the
14920 base time and stream time are reset correctly.
14922 2005-11-15 Wim Taymans <wim@fluendo.com>
14924 * docs/design/part-TODO.txt:
14925 Some more TODO items.
14927 2005-11-15 Andy Wingo <wingo@pobox.com>
14929 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14930 error if the user selected "no clock" as the clocking method.
14932 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14933 timestamps with live capture.
14935 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14936 is 0 but we are a live source, timestamp the buffers using the
14937 element's clock.
14939 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14941 * docs/gst/gstreamer-sections.txt:
14942 * gst/gsterror.c:
14943 * gst/gstghostpad.c:
14944 * gst/gstobject.h:
14945 * gst/gstxml.c:
14946 more section docs
14948 2005-11-14 Wim Taymans <wim@fluendo.com>
14950 * common/gst.supp:
14951 add suppressions from Wim's Debian machine
14953 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14955 * common/gst.supp:
14956 add suppressions from Andy's AMD64 Ubuntu machine
14958 2005-11-14 Andy Wingo <wingo@pobox.com>
14960 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14961 STATE_LOCK not necessary. Fixes #311489.
14963 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14964 #305291.
14966 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14967 this function is not implemented.
14969 2005-11-14 Julien MOUTTE <julien@moutte.net>
14971 * gst/base/gstbasetransform.c:
14972 (gst_base_transform_prepare_output_buf):
14973 Ref the source pad caps while we need them.
14974 Fixes (#321386)
14976 2005-11-11 Wim Taymans <wim@fluendo.com>
14978 * docs/gst/gstreamer-sections.txt:
14979 Added some docs for GstCollectData.
14981 * gst/base/gstadapter.c:
14982 Some small code example fix.
14984 * gst/base/gstcollectpads.c:
14985 * gst/base/gstcollectpads.h:
14986 Document some more.
14988 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14990 * configure.ac: back to HEAD
14992 === release 0.9.5 ===
14994 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14996 * configure.ac:
14997 releasing 0.9.5, "Bike Lunch Day"
14999 2005-11-11 Wim Taymans <wim@fluendo.com>
15001 * gst/gstbuffer.c: (_gst_buffer_copy):
15002 Copy more flags.
15004 * gst/gstcaps.c: (gst_caps_is_equal):
15005 Fix some docs.
15006 Make _is_equal fast in the trivial cases.
15008 * gst/gstminiobject.c:
15009 * gst/gstminiobject.h:
15010 More docs. Spifify .h file.
15012 * gst/gstutils.c:
15013 Small doc update.
15015 2005-11-11 Wim Taymans <wim@fluendo.com>
15017 * gst/base/gstbasetransform.c:
15018 (gst_base_transform_prepare_output_buf),
15019 (gst_base_transform_handle_buffer):
15020 Small cleanups.
15021 If we're processing a buffer and need to allocate an output
15022 buffer, we cannot accept a format change. If we did get a
15023 format change, we have to alloc a buffer ourselves of the
15024 right size.
15026 2005-11-11 Wim Taymans <wim@fluendo.com>
15028 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15029 While checking the flag for reentrancy in the gstcaps function
15030 is nice to detect recursive invocations, it also makes it
15031 impossible to call getcaps from multiple threads, which must be
15032 possible. So, checking for recursive calls has to go.
15034 2005-11-11 Michael Smith <msmith@fluendo.com>
15036 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15037 Don't sync on buffers that fall partially outside our current
15038 segment. Prevents an assertion failure/abort playing some files.
15040 2005-11-10 Andy Wingo <wingo@pobox.com>
15042 * check/gst/gstbin.c (test_message_state_changed_children): Style
15043 fix..
15045 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15046 gst_bus_poll with the signal watch. Ensures that poll and a signal
15047 watch see the same messages.
15049 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15050 a poll and a watch at the same time get the same messages.
15052 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15054 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15055 * gst/gstcaps.c: (gst_caps_intersect):
15056 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15057 and it's not needed.
15059 2005-11-10 Wim Taymans <wim@fluendo.com>
15061 * docs/design/part-TODO.txt:
15062 Updated todo.
15064 2005-11-10 Wim Taymans <wim@fluendo.com>
15066 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15067 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15068 (gst_base_src_do_sync), (gst_base_src_get_range):
15069 Implement clock sync in base class.
15071 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15073 patch by: Tim-Philipp Müller <tim at centricular dot net>
15075 * gst/gststructure.c: (gst_structure_parse_field),
15076 (gst_structure_from_string):
15077 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15078 so that gst_parse_launch() can deal with spaces in filtered link
15079 caps (fixes #164479)
15080 * check/gst/capslist.h:
15081 * check/gst/gststructure.c: (GST_START_TEST):
15082 add unit tests for this change
15084 2005-11-10 Wim Taymans <wim@fluendo.com>
15086 * docs/gst/gstreamer-sections.txt:
15087 * gst/gstelement.c:
15088 * gst/gstelement.h:
15089 Fix docs, move some STATE macros to private.
15091 2005-11-10 Wim Taymans <wim@fluendo.com>
15093 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15094 Added check for bug #317341
15096 * gst/gstbuffer.c:
15097 * gst/gstbuffer.h:
15098 Some more spiffifying.
15100 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15101 Call peer linkfunction if we are a source pad. Totally fixes
15102 #317341
15104 * gst/gstpad.c:
15105 Update docs, source pads should call the peer linkfunction
15106 so they can atomically perform the pad link.
15108 2005-11-09 Wim Taymans <wim@fluendo.com>
15110 * gst/gstbuffer.c:
15111 * gst/gstbuffer.h:
15112 Uber-spiffy-spiffify some more.
15114 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15116 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15117 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15118 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15119 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15120 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15121 * gst/gstpad.c: (gst_pad_init):
15122 Use GST_DEBUG_FUNCPTR() more extensively.
15124 2005-11-09 Wim Taymans <wim@fluendo.com>
15126 * gst/gstobject.c: (gst_object_class_init):
15127 * gst/gstobject.h:
15128 Documentation fixes.
15130 2005-11-09 Edward Hervey <edward@fluendo.com>
15132 * gst/gsttypefindfactory.c:
15133 Fix docs.
15135 2005-11-09 Edward Hervey <edward@fluendo.com>
15137 * gst/base/gsttypefindhelper.c:
15138 * gst/gsttypefind.c:
15139 * gst/gsttypefind.h:
15140 Fix docs.
15142 2005-11-09 Wim Taymans <wim@fluendo.com>
15144 * gst/gstiterator.c:
15145 Fix revision data.
15147 * gst/gsttask.c:
15148 * gst/gsttask.h:
15149 Fix docs.
15151 2005-11-09 Wim Taymans <wim@fluendo.com>
15153 * gst/gstevent.h:
15154 * gst/gsturi.h:
15155 Fix docs.
15157 2005-11-09 Wim Taymans <wim@fluendo.com>
15159 * docs/gst/gstreamer-sections.txt:
15160 Moved the message async delivery private lock and cond
15161 to the private section.
15163 * gst/gstmessage.c:
15164 * gst/gstmessage.h:
15165 Fixed docs.
15167 2005-11-09 Edward Hervey <edward@fluendo.com>
15169 * docs/gst/gstreamer-sections.txt:
15170 * gst/gsturi.c:
15171 * gst/gsturi.h:
15172 Document GstURIHandler
15174 2005-11-09 Wim Taymans <wim@fluendo.com>
15176 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15177 (gst_iterator_find_custom):
15178 * gst/gstiterator.h:
15179 Fix iterator docs.
15181 2005-11-09 Wim Taymans <wim@fluendo.com>
15183 * gst/gstbin.h:
15184 Document another field.
15186 * gst/gststructure.c:
15187 * gst/gststructure.h:
15188 Document.
15190 2005-11-09 Wim Taymans <wim@fluendo.com>
15192 * gst/gstbin.h:
15193 Documented structs.
15195 2005-11-09 Wim Taymans <wim@fluendo.com>
15197 * docs/gst/gstreamer-sections.txt:
15198 Added some new macros.
15200 * gst/gstclock.c:
15201 * gst/gstclock.h:
15202 * gst/gstobject.h:
15203 Docs updates.
15205 2005-11-09 Wim Taymans <wim@fluendo.com>
15207 * docs/design/part-TODO.txt:
15208 Some more items for the TODO
15210 * gst/gstcaps.c:
15211 * gst/gstcaps.h:
15212 Document GstCaps.
15214 2005-11-09 Andy Wingo <wingo@pobox.com>
15216 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15217 to work on something else now tho...
15219 * gst/base/gstadapter.c: More adapter docs.
15221 * gst/elements/gstfilesink.c (gst_file_sink_start)
15222 (gst_file_sink_stop): New functions, replace the state change
15223 handler.
15224 (gst_file_sink_class_init): Hook up the start and stop functions.
15225 (gst_file_sink_base_init): Don't set the state change handler any
15226 more. It was a bit ugly too, being set from here...
15227 (gst_file_sink_get_property, gst_file_sink_set_property):
15228 Cleanups...
15229 (gst_file_sink_set_location): More robust check that doesn't call
15230 GST_STATE. Ugggggg.
15232 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15234 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15235 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15237 2005-11-08 Wim Taymans <wim@fluendo.com>
15239 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15240 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15241 (gst_base_sink_chain), (gst_base_sink_change_state):
15242 * gst/base/gstbasesink.h:
15243 * gst/base/gstbasesrc.h:
15244 * gst/gstelement.h:
15245 * gst/gstevent.h:
15246 Avoid excessive typechecking in macros.
15248 * gst/gstminiobject.c: (gst_mini_object_get_type),
15249 (gst_mini_object_init), (gst_mini_object_new),
15250 (gst_mini_object_free):
15251 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15252 (gst_object_finalize):
15253 Remove cruft code, optimize alloc_trace.
15255 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15257 * docs/faq/gst-uninstalled:
15258 fix up PS1 for systems that try to reset it
15260 2005-11-07 Wim Taymans <wim@fluendo.com>
15262 * gst/base/gstbasesrc.c: (gst_base_src_init),
15263 (gst_base_src_get_range):
15264 Set the segment_end to -1 initially. Fixed typefind.
15266 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15268 * gst/base/gstadapter.c:
15269 Debug category should be 'adapter', not 'GstAdapter'.
15271 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15272 (gst_collectpads_class_init), (gst_collectpads_init),
15273 (gst_collectpads_peek), (gst_collectpads_pop),
15274 (gst_collectpads_event), (gst_collectpads_chain):
15275 Add debug category and some debugging output. Use boilerplate
15276 macros. Remove some extraneous words from docs.
15278 2005-11-05 Andy Wingo <wingo@pobox.com>
15280 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15281 macro.
15283 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15285 * docs/gst/gstreamer-sections.txt:
15286 * gst/gstcaps.h:
15287 * gst/gstinfo.c:
15288 * gst/gstminiobject.h:
15289 * gst/gstobject.h:
15290 * gst/gstutils.h:
15291 more docs added
15293 2005-11-04 Wim Taymans <wim@fluendo.com>
15295 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15296 Small update to stop at the configured segment_end
15297 position.
15299 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15301 * gst/gstregistry.c:
15302 * gst/gstregistry.h:
15303 added missing docs
15305 2005-11-04 Edward Hervey <edward@fluendo.com>
15307 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15308 Check if we are doing a segment seek and have arrived at the
15309 end of that segment.
15311 2005-11-04 Wim Taymans <wim@fluendo.com>
15313 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15314 Don't leak a mutex unlock in case of an error.
15316 * gst/gstbus.h:
15317 Doc fixes.
15319 2005-11-04 Wim Taymans <wim@fluendo.com>
15321 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15322 (gst_bus_post):
15323 Get the context to wake up only once.
15325 2005-11-03 Wim Taymans <wim@fluendo.com>
15327 * check/states/sinks.c: (GST_START_TEST):
15328 Uncomment fixed check.
15330 * docs/design/part-TODO.txt:
15331 Updated TODO.
15333 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15334 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15335 (gst_base_sink_get_position):
15336 If we are going to PLAYING, post the right pending state
15337 when we post the intermediate paused message.
15339 * gst/gstelement.c: (gst_element_continue_state),
15340 (gst_element_set_state_func), (gst_element_change_state):
15341 Don't post state changes that were between the same state
15342 and were not ASYNC.
15344 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15346 * docs/gst/gstreamer-sections.txt:
15347 * gst/gstcaps.h:
15348 * gst/gstinfo.c:
15349 * gst/gstminiobject.h:
15350 * gst/gstobject.h:
15351 * gst/gstutils.h:
15352 more docs and doc style fixes
15354 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15356 * docs/gst/gstreamer-sections.txt:
15357 * gst/gstelement.c:
15358 * gst/gstminiobject.c:
15359 doc fixes
15361 2005-11-03 Andy Wingo <wingo@pobox.com>
15363 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15364 state-changed messages actually have the right order and the right
15365 values.
15367 2005-11-03 Wim Taymans <wim@fluendo.com>
15369 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15370 Added some more checks. Specifically the case where NO_PREROLL
15371 elements are in the pipeline.
15373 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15374 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15375 (gst_base_sink_get_position):
15376 Post READY->PAUSED state change messages too.
15377 Fix bug where VOID was posted as pending state...
15379 * gst/gstbin.c: (gst_bin_recalc_state):
15380 use _element_continue_state() to continue the state change.
15382 * gst/gstelement.c: (gst_element_continue_state),
15383 (gst_element_commit_state), (gst_element_set_state_func),
15384 (gst_element_change_state), (gst_element_change_state_func):
15385 Lots of state change cleanups, assign the STATE_RETURN in
15386 a new continue_state() function that also propagates the
15387 last return value from a state change to the app.
15388 Update some debug statements with proper category.
15390 2005-11-03 Wim Taymans <wim@fluendo.com>
15392 * docs/design/part-events.txt:
15393 * docs/design/part-gstpipeline.txt:
15394 * docs/design/part-messages.txt:
15395 * docs/design/part-overview.txt:
15396 * docs/design/part-seeking.txt:
15397 * docs/design/part-states.txt:
15398 * docs/design/part-trickmodes.txt:
15399 * docs/manual/advanced-position.xml:
15400 Small docs updates.
15402 * gst/gstobject.h:
15403 People think !! is ugly, this looks better.
15405 * gst/gstpad.c: (gst_pad_set_blocked_async):
15406 Remove !! since it's fixed elsewhere now.
15408 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15410 * gst/gstminiobject.h:
15411 * gst/gstobject.h:
15412 Add !! to _FLAG_IS_SET macros to make the result boolean.
15414 2005-11-03 Edward Hervey <edward@fluendo.com>
15416 * gst/gstpad.c: (gst_pad_set_blocked_async):
15417 comparing a flag and a gboolean rarely returns coherent results...
15418 Added two characters (!!) to make that work correctly.
15420 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15422 * gst/gstbus.c: (gst_bus_class_init):
15423 Fix some typos.
15425 * gst/gstqueue.c: (gst_queue_loop):
15426 Don't assume a miniobject that isn't a buffer is an
15427 event (it could be that there is a refcounting
15428 problem somewhere and the pointer is stale and
15429 refers to an already destroyed miniobject).
15431 2005-11-03 Julien MOUTTE <julien@moutte.net>
15433 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15435 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15437 * docs/manual/advanced-position.xml:
15438 Update seek example and explanations to current 0.9 API.
15440 * gst/elements/gsttypefindelement.c:
15441 (gst_type_find_element_activate):
15442 Remove FIXME comment now that the found caps
15443 are unreffed.
15445 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15447 * gst/gstregistryxml.c: (load_feature):
15448 Add another GST_STR_NULL instance
15450 2005-11-02 Edward Hervey <edward@fluendo.com>
15452 * gst/gstpad.c: (handle_pad_block):
15453 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15455 2005-11-02 Wim Taymans <wim@fluendo.com>
15457 * gst/gstbin.c:
15458 Fix typo in docs.
15460 * gst/gstelement.c: (gst_element_commit_state):
15461 Remove unused value.
15463 * gst/gstiterator.c:
15464 Mention that the returned element is reffed in the docs.
15466 2005-11-02 Wim Taymans <wim@fluendo.com>
15468 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15469 (gst_pad_push), (gst_pad_push_event):
15470 Unlock blocked pads when they are flushed.
15472 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15474 * docs/README:
15475 * docs/gst/gstreamer-sections.txt:
15476 * gst/gstbin.c:
15477 doc updates
15478 * gst/gstregistry.c: (gst_registry_scan_path_level):
15479 fix for a nasty little missed situation where an installed plug-in
15480 which was in the cache did not get overridden by an uninstalled one
15481 which was earlier in the plugin path because the newly created plugin
15482 for the uninstalled one (not in the registry) didn't get its
15483 ->registered set to TRUE
15485 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15487 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15488 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15489 (gst_collectpads_is_active), (gst_collectpads_collect),
15490 (gst_collectpads_collect_range), (gst_collectpads_start),
15491 (gst_collectpads_stop), (gst_collectpads_peek),
15492 (gst_collectpads_pop), (gst_collectpads_available),
15493 (gst_collectpads_read), (gst_collectpads_flush):
15494 Guard public API with assertions.
15496 * gst/gstpad.c:
15497 Fix docs for gst_pad_set_link_function().
15499 2005-11-02 Johan Dahlin <johan@gnome.org>
15501 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
15502 Unref found_caps after we used it.
15504 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15506 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15507 Don't try to ref NULL.
15509 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15511 * win32/common/config.h.in:
15512 provide a GST_FUNCTION that just gives a string for now
15514 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15516 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15517 (gst_object_flags_get_type), (register_gst_bin_flags),
15518 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15519 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15520 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15521 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15522 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15523 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15524 (gst_clock_flags_get_type), (register_gst_state),
15525 (gst_state_get_type), (register_gst_state_change_return),
15526 (gst_state_change_return_get_type), (register_gst_state_change),
15527 (gst_state_change_get_type), (register_gst_element_flags),
15528 (gst_element_flags_get_type), (register_gst_core_error),
15529 (gst_core_error_get_type), (register_gst_library_error),
15530 (gst_library_error_get_type), (register_gst_resource_error),
15531 (gst_resource_error_get_type), (register_gst_stream_error),
15532 (gst_stream_error_get_type), (register_gst_event_type),
15533 (gst_event_type_get_type), (register_gst_seek_type),
15534 (gst_seek_type_get_type), (register_gst_seek_flags),
15535 (gst_seek_flags_get_type), (register_gst_format),
15536 (gst_format_get_type), (register_gst_index_certainty),
15537 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15538 (gst_index_entry_type_get_type),
15539 (register_gst_index_lookup_method),
15540 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15541 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15542 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15543 (gst_index_flags_get_type), (register_gst_debug_level),
15544 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15545 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15546 (gst_iterator_result_get_type), (register_gst_iterator_item),
15547 (gst_iterator_item_get_type), (register_gst_message_type),
15548 (gst_message_type_get_type), (register_gst_mini_object_flags),
15549 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15550 (gst_pad_link_return_get_type), (register_gst_flow_return),
15551 (gst_flow_return_get_type), (register_gst_activate_mode),
15552 (gst_activate_mode_get_type), (register_gst_pad_direction),
15553 (gst_pad_direction_get_type), (register_gst_pad_flags),
15554 (gst_pad_flags_get_type), (register_gst_pad_presence),
15555 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15556 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15557 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15558 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15559 (gst_plugin_flags_get_type), (register_gst_rank),
15560 (gst_rank_get_type), (register_gst_query_type),
15561 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15562 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15563 (gst_tag_flag_get_type), (register_gst_task_state),
15564 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15565 (gst_alloc_trace_flags_get_type),
15566 (register_gst_type_find_probability),
15567 (gst_type_find_probability_get_type), (register_gst_uri_type),
15568 (gst_uri_type_get_type), (register_gst_parse_error),
15569 (gst_parse_error_get_type):
15570 * win32/common/gstversion.h:
15571 update win32 copies
15573 2005-11-01 Luca Ognibene <luogni@tin.it>
15575 * gst/gst.c:
15576 fix docs. popt is dead, long live GOption.
15578 2005-10-31 Wim Taymans <wim@fluendo.com>
15580 * gst/gstbuffer.h:
15581 Small doc fix.
15583 2005-10-31 Andy Wingo <wingo@pobox.com>
15585 * Boo!
15587 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15589 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15590 need to serialize property notifications on GLib 2.8. GLib 2.6 has
15591 the possibility of deadlocks here if code calling notify() or
15592 set() has a lock that can be taken in another notify handler (ABBA
15593 with class lock and e.g. python GIL state lock).
15595 2005-10-28 Julien MOUTTE <julien@moutte.net>
15597 * gst/gstbus.c: Doc updates.
15599 2005-10-28 Wim Taymans <wim@fluendo.com>
15601 * docs/design/part-TODO.txt:
15602 * gst/gstiterator.c:
15603 * gst/gstsystemclock.c:
15604 * gst/gstsystemclock.h:
15605 Doc updates.
15607 2005-10-28 Edward Hervey <edward@fluendo.com>
15609 * docs/gst/gstreamer-docs.sgml:
15610 * docs/gst/gstreamer-sections.txt:
15611 the GstURIType documentation page is private, it only defines GstURIType
15612 which should be defined in the GstURIHandler page
15614 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15616 * gst/gstbin.c: (gst_bin_class_init):
15617 * gst/gstbin.h:
15618 * gst/gstutils.c:
15619 Documentation updates.
15621 2005-10-28 Wim Taymans <wim@fluendo.com>
15623 * docs/gst/gstreamer-sections.txt:
15624 * gst/gstclock.c:
15625 * gst/gstclock.h:
15626 Documented the clocks.
15628 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15630 * docs/gst/gstreamer-sections.txt:
15631 move some macros to private sections
15632 * gst/gstminiobject.c:
15633 * gst/gstminiobject.h:
15634 add descriptions provided by ds and some more
15635 * gst/gstpad.h:
15636 mark macro as to be removed
15638 2005-10-28 Wim Taymans <wim@fluendo.com>
15640 * docs/design/part-TODO.txt:
15641 Add an item to TODO.
15643 * gst/gstiterator.c: (gst_iterator_fold),
15644 (gst_iterator_find_custom):
15645 * gst/gstiterator.h:
15646 Add iterator docs.
15648 2005-10-28 Wim Taymans <wim@fluendo.com>
15650 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15651 (gst_base_transform_init):
15652 Don't leak class.
15654 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15655 An EOS event marks the queue as completely filled.
15657 2005-10-27 Wim Taymans <wim@fluendo.com>
15659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15660 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15661 Some more debugging.
15663 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15664 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15665 (gst_base_transform_event), (gst_base_transform_getrange),
15666 (gst_base_transform_chain):
15667 * gst/base/gstbasetransform.h:
15668 Fix debugging,
15669 Protect transform and concurrent buffer alloc with a new lock.
15670 Try not to break ABI/API.
15672 2005-10-27 Wim Taymans <wim@fluendo.com>
15674 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15675 (gst_base_src_init), (gst_base_src_query),
15676 (gst_base_src_default_newsegment),
15677 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15678 (gst_base_src_send_event), (gst_base_src_event_handler),
15679 (gst_base_src_pad_get_range), (gst_base_src_loop),
15680 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15681 (gst_base_src_start), (gst_base_src_deactivate),
15682 (gst_base_src_activate_push), (gst_base_src_change_state):
15683 Move some stuff around and cleanup things.
15685 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15687 * gst/base/gstbasesrc.c: (gst_base_src_query):
15688 Add missing break statements.
15690 2005-10-27 Wim Taymans <wim@fluendo.com>
15692 * check/gst/gstbin.c: (GST_START_TEST):
15693 An extra refcount is taken in basesrc.
15695 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15696 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15697 (gst_base_src_loop):
15698 Small cleanups, check for flushing after being unlocked from the
15699 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15700 Don't send out EOS when going to READY.
15702 2005-10-27 Wim Taymans <wim@fluendo.com>
15704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15705 (gst_base_sink_get_position):
15706 Some more debug.
15708 * gst/gstbin.c: (message_check), (bin_replace_message),
15709 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15710 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15711 (bin_query_duration_init), (bin_query_duration_fold),
15712 (bin_query_duration_done), (bin_query_generic_fold),
15713 (gst_bin_query):
15714 * tools/gst-launch.c: (main):
15715 Remove old option.
15717 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15719 * examples/controller/audio-example.c: (main):
15720 * examples/queue/queue.c: (event_loop):
15721 * gst/base/gstbasetransform.h:
15722 * gst/gstelement.c: (gst_element_send_event):
15723 * gst/gstevent.h:
15724 * gst/gstpad.c: (gst_pad_send_event):
15725 fixing examples
15726 fixing docs typos
15727 changing log priority in error situations
15729 2005-10-25 Wim Taymans <wim@fluendo.com>
15731 * gst/gstbin.c: (message_check), (bin_replace_message),
15732 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15733 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15734 (bin_query_duration_init), (bin_query_duration_fold),
15735 (bin_query_duration_done), (bin_query_generic_fold),
15736 (gst_bin_query):
15737 Some doc and debug updates.
15738 Cache previously requested query DURATION for speed. invalidate
15739 cached duration if element posts a DURATION message.
15741 2005-10-25 Wim Taymans <wim@fluendo.com>
15743 * docs/design/part-TODO.txt:
15744 Update TODO.
15746 * gst/gstbin.c: (message_check), (bin_replace_message),
15747 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15748 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15749 (bin_query_duration_init), (bin_query_duration_fold),
15750 (bin_query_duration_done), (bin_query_generic_fold),
15751 (gst_bin_query):
15752 Handle SEGMENT_START/DONE messages correctly.
15753 More evolved query algorithm that handles duration queries
15754 correctly.
15756 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15757 (gst_element_get_state_func), (gst_element_abort_state),
15758 (gst_element_commit_state), (gst_element_lost_state):
15759 Some more debugging.
15761 * gst/gstmessage.h:
15762 Added doc.
15764 2005-10-25 Wim Taymans <wim@fluendo.com>
15766 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15767 Don't use invalid stream_time.
15769 * gst/gstevent.c: (gst_event_new_newsegment):
15770 stream_time in newsegment cannot be undefined.
15772 2005-10-24 Wim Taymans <wim@fluendo.com>
15774 * gst/gstbus.c:
15775 Doc fix.
15777 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15778 (gst_queue_loop):
15779 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15781 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15783 * docs/libs/tmpl/gstdparam.sgml:
15784 * docs/libs/tmpl/gstdplinint.sgml:
15785 * docs/libs/tmpl/gstdpman.sgml:
15786 * docs/libs/tmpl/gstdpsmooth.sgml:
15787 * docs/libs/tmpl/gstunitconvert.sgml:
15788 these are obsolete
15790 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15792 * configure.ac:
15793 back to HEAD
15795 === release 0.9.4 ===
15797 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15799 * configure.ac:
15800 releasing 0.9.4, "Tyrannosaurus Rex"
15802 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15804 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15805 (gst_file_sink_get_current_offset):
15806 Use fseeko() and ftello() if available. When falling back on
15807 lseek() to get the current offset, fflush() first to make sure
15808 everything is up-to-date and we get the right offset.
15810 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15812 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15813 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15814 * gst/gsterror.c: (_gst_stream_errors_init):
15815 * gst/gsterror.h:
15816 * gst/gstqueue.c: (gst_queue_loop):
15817 * po/POTFILES.in:
15818 remove prematurely added error category and clean up the instances
15820 2005-10-21 Wim Taymans <wim@fluendo.com>
15822 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15823 (gst_base_sink_get_position), (gst_base_sink_query),
15824 (gst_base_sink_change_state):
15825 Simply set the right flag when going to playing, that's all
15826 we need to do instead of calling a function inside the object
15827 lock (that could take the lock as well and deadlock)
15829 2005-10-21 Wim Taymans <wim@fluendo.com>
15831 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15832 (gst_base_src_loop):
15833 Don't warn, the peer element knows what to do best when
15834 the seek failed, it might try something else.
15836 2005-10-21 Wim Taymans <wim@fluendo.com>
15838 * gst/base/gstbasesrc.c: (gst_base_src_init),
15839 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15840 Fix seeking.
15842 2005-10-21 Wim Taymans <wim@fluendo.com>
15844 * docs/design/part-segments.txt:
15845 More docs.
15847 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15848 Correctly set caps, even on the subbufer.
15850 2005-10-21 Wim Taymans <wim@fluendo.com>
15852 * docs/gst/gstreamer-docs.sgml:
15853 * docs/gst/gstreamer-sections.txt:
15854 * gst/gstelement.h:
15855 * gst/gstevent.c:
15856 * gst/gstevent.h:
15857 * gst/gstmessage.h:
15858 * gst/gstpad.h:
15859 * gst/gstparse.h:
15860 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15861 * gst/gsttask.h:
15862 * gst/gstutils.c:
15863 * gst/gstutils.h:
15864 And 2% more doc coverage.
15866 2005-10-21 Andy Wingo <wingo@pobox.com>
15868 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15869 position reporting.
15871 2005-10-20 Wim Taymans <wim@fluendo.com>
15873 * gst/gsterror.c: (gst_error_get_message):
15874 * gst/gstparse.h:
15875 * gst/gstquery.h:
15876 * gst/gststructure.c:
15877 * gst/gsttrace.c:
15878 * gst/gstutils.c:
15879 More docs.
15881 2005-10-20 Wim Taymans <wim@fluendo.com>
15883 * gst/gstbuffer.h:
15884 * gst/gstpad.c:
15885 * gst/gstparse.c:
15886 Another 1% more coverage.
15888 2005-10-20 Wim Taymans <wim@fluendo.com>
15890 * docs/gst/gstreamer-sections.txt:
15891 * gst/gstelement.c: (gst_element_get_state_func),
15892 (gst_element_abort_state), (gst_element_commit_state),
15893 (gst_element_lost_state):
15894 * gst/gstevent.h:
15895 * gst/gstquery.c: (gst_query_set_position),
15896 (gst_query_parse_position), (gst_query_set_duration),
15897 (gst_query_parse_duration), (gst_query_new_convert):
15898 * gst/gstutils.c:
15899 Yay! 1% more docs coverage.
15901 2005-10-20 Wim Taymans <wim@fluendo.com>
15903 * gst/gstpad.h:
15904 * gst/gstquery.c: (gst_query_set_position),
15905 (gst_query_parse_position), (gst_query_set_duration),
15906 (gst_query_parse_duration), (gst_query_new_convert):
15907 * gst/gstquery.h:
15908 * gst/gstutils.c: (gst_element_query_convert):
15909 * gst/gstutils.h:
15910 Docs and consistency fixes.
15912 2005-10-20 Wim Taymans <wim@fluendo.com>
15914 * gst/gsttask.c:
15915 * gst/gsttask.h:
15916 More docs.
15918 2005-10-20 Wim Taymans <wim@fluendo.com>
15920 * gst/gstbin.c: (message_check), (bin_replace_message),
15921 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15922 (update_degree), (gst_bin_sort_iterator_next),
15923 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15924 Reworked the message handling a bit, cache the messages instead of
15925 only the senders. alows us to do more in the future.
15927 2005-10-20 Wim Taymans <wim@fluendo.com>
15929 * docs/design/part-TODO.txt:
15930 Update TODO
15932 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15933 (gst_base_sink_query):
15934 Don't use clock time to report position when in EOS.
15936 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15938 * tools/gst-inspect.c: (print_interfaces),
15939 (print_element_properties_info), (print_element_info):
15940 Fix interface output with gst-inspect -a; don't print
15941 newlines after double/float properties.
15943 2005-10-20 Wim Taymans <wim@fluendo.com>
15945 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15946 (gst_base_sink_query):
15947 Speed up current position calculation.
15949 * gst/base/gstbasesrc.c: (gst_base_src_query),
15950 (gst_base_src_default_newsegment):
15951 Correctly set stream position in newsegment.
15953 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15954 (update_degree), (gst_bin_sort_iterator_next),
15955 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15956 * gst/gstmessage.c: (gst_message_new_custom):
15957 Clean up debugging info
15959 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15960 (gst_queue_loop), (gst_queue_handle_src_query):
15961 Pause task faster.
15963 2005-10-19 Wim Taymans <wim@fluendo.com>
15965 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15966 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15967 Fix query handling again.
15969 2005-10-19 Wim Taymans <wim@fluendo.com>
15971 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15972 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15973 * gst/base/gstbasesrc.c: (gst_base_src_query):
15974 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15975 * gst/elements/gsttypefindelement.c:
15976 (gst_type_find_handle_src_query), (find_element_get_length),
15977 (gst_type_find_element_activate):
15978 API change fix.
15980 * gst/gstquery.c: (gst_query_new_position),
15981 (gst_query_set_position), (gst_query_parse_position),
15982 (gst_query_new_duration), (gst_query_set_duration),
15983 (gst_query_parse_duration), (gst_query_set_segment),
15984 (gst_query_parse_segment):
15985 * gst/gstquery.h:
15986 Bundling query position/duration is not a good idea since duration
15987 does not change much and we don't want to recalculate it for every
15988 position query, so they are separated again..
15989 Base value in segment query is not needed.
15991 * gst/gstqueue.c: (gst_queue_handle_src_query):
15992 * gst/gstutils.c: (gst_element_query_position),
15993 (gst_element_query_duration), (gst_pad_query_position),
15994 (gst_pad_query_duration):
15995 * gst/gstutils.h:
15996 Updates for query API change.
15997 Added some docs here and there.
15999 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16001 * check/gst/gstbin.c: (GST_START_TEST):
16002 * check/gst/gstghostpad.c: (GST_START_TEST):
16003 * check/pipelines/cleanup.c: (GST_START_TEST):
16004 wait on thread to die so we can check refcount correctly
16006 2005-10-18 Wim Taymans <wim@fluendo.com>
16008 * check/pipelines/stress.c: (GST_START_TEST):
16009 Make check a little more time consuming.
16011 2005-10-18 Wim Taymans <wim@fluendo.com>
16013 * check/Makefile.am:
16014 * check/pipelines/stress.c: (GST_START_TEST),
16015 (simple_launch_lines_suite), (main):
16016 Small state change torture test.
16018 * docs/design/part-states.txt:
16019 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16020 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16021 (gst_base_sink_change_state):
16022 Never take state lock from streaming thread, clean up ugly
16023 hacks. Unfortunatly core does not yet support nice ways to
16024 async commit state.
16026 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16027 (bin_bus_handler):
16028 Start state recalc if a STATE_DIRTY message is posted, but only
16029 on the toplevel bin.
16031 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16032 (gst_element_get_state_func), (gst_element_abort_state),
16033 (gst_element_commit_state), (gst_element_lost_state),
16034 (gst_element_set_state_func), (gst_element_change_state):
16035 * gst/gstelement.h:
16036 State variables are now protected with the LOCK, the state
16037 lock is only used to serialize _set_state().
16039 2005-10-18 Wim Taymans <wim@fluendo.com>
16041 * check/gst/gstbin.c: (GST_START_TEST):
16042 * check/gst/gstmessage.c: (GST_START_TEST):
16043 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16044 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16045 (bin_bus_handler):
16046 * gst/gstelement.c: (gst_element_abort_state),
16047 (gst_element_commit_state), (gst_element_lost_state):
16048 * gst/gstmessage.c: (gst_message_new_state_changed),
16049 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16050 (gst_message_new_segment_done), (gst_message_new_duration),
16051 (gst_message_parse_state_changed),
16052 (gst_message_parse_segment_start),
16053 (gst_message_parse_segment_done), (gst_message_parse_duration):
16054 * gst/gstmessage.h:
16055 * tools/gst-launch.c: (event_loop):
16056 Seriously, this is better than a previous commit as we only need
16057 to notify the fact that an element changed state in a streaming
16058 thread, marking the state of the parents dirty, hence the
16059 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16060 message.
16062 2005-10-18 Wim Taymans <wim@fluendo.com>
16064 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16065 (gst_bin_recalc_func):
16066 * gst/gstelement.c: (gst_element_set_clock),
16067 (gst_element_abort_state), (gst_element_lost_state):
16068 Cleanups, prepare for state change fixes.
16070 2005-10-18 Wim Taymans <wim@fluendo.com>
16072 * gst/gstbin.h:
16073 * gst/gstelement.c: (gst_element_class_init),
16074 (gst_element_set_state), (gst_element_set_state_func):
16075 * gst/gstelement.h:
16076 Pending ABI changes.
16077 GThreadPool in GstBinClass to monitor async state changes.
16078 state_cookie in GstElement to detect concurrent gst/set state.
16079 set_state is now virtual too in case a very complicated element
16080 has to be constructed.
16082 2005-10-18 Wim Taymans <wim@fluendo.com>
16084 * check/gst/gstbin.c: (GST_START_TEST):
16085 * check/gst/gstmessage.c: (GST_START_TEST):
16086 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16087 * gst/gstbin.c: (bin_bus_handler):
16088 * gst/gstelement.c: (gst_element_commit_state),
16089 (gst_element_lost_state):
16090 * gst/gstmessage.c: (gst_message_new_state_changed),
16091 (gst_message_new_segment_start), (gst_message_new_segment_done),
16092 (gst_message_new_duration), (gst_message_parse_state_changed),
16093 (gst_message_parse_segment_start),
16094 (gst_message_parse_segment_done), (gst_message_parse_duration):
16095 * gst/gstmessage.h:
16096 * tools/gst-launch.c: (event_loop):
16097 Make messages future proof.
16098 state-change gets a flag if it was a message comming from the
16099 streaming thread.
16100 segment-start/stop can also be specified in other formats.
16101 A message to notify an app that a pipeline changed playback
16102 duration.
16103 Also fix a GstMessage leak in -launch
16105 2005-10-18 Andy Wingo <wingo@pobox.com>
16107 * gst/gstelement.c (gst_element_dispose): More helpful message.
16109 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16111 reviewed by: <delete if not using a buddy>
16113 * common/gtk-doc.mak:
16115 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16117 * gst/gstregistry.c: (gst_registry_scan_path_level):
16118 unref a plug-in we get that was already initialized
16120 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16122 * docs/gst/gstreamer-sections.txt:
16123 * docs/libs/gstreamer-libs-sections.txt:
16124 * gst/gstelement.h:
16125 add new api entries
16126 hide internal macro
16128 2005-10-17 Andy Wingo <wingo@pobox.com>
16130 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16131 cleanup.
16133 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16135 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16137 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16138 (gst_element_get_state_func): Better debug message.
16139 (gst_element_commit_state): s/INFO/DEBUG/.
16140 (gst_element_lost_state, gst_element_change_state):
16142 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16143 (gst_message_new_custom): s/INFO/LOG/.
16145 2005-10-17 Michael Smith <msmith@fluendo.com>
16147 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16148 Check if end time is valid using end time, not start time.
16150 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16152 * check/gst-libs/controller.c: (GST_START_TEST),
16153 (gst_controller_suite):
16154 * libs/gst/controller/gstcontroller.c:
16155 (gst_controlled_property_set_interpolation_mode):
16156 * libs/gst/controller/gstcontroller.h:
16157 * libs/gst/controller/gstinterpolation.c:
16158 * testsuite/controller/.cvsignore:
16159 * testsuite/controller/Makefile.am:
16160 * testsuite/controller/interpolator.c:
16161 merge controller testsuites
16162 fix broken tests
16163 remove mem-chunk from docs
16165 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16167 * gst/gstmemchunk.c:
16168 * gst/gstmemchunk.h:
16169 * gst/gsttrashstack.c:
16170 * gst/gsttrashstack.h:
16171 out. get out. you're fired. to the Attic !
16173 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16175 * gst/gstcaps.c: (gst_caps_intersect):
16176 fix signedness issues in a (hopefully) correct way
16177 * gst/gstelement.c: (gst_element_pads_activate):
16178 some debugging
16179 * gst/gstobject.c: (gst_object_set_parent):
16180 some debugging
16182 2005-10-17 Julien MOUTTE <julien@moutte.net>
16184 * gst/gstvalue.h: Fix prototypes.
16186 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16188 * docs/gst/gstreamer-sections.txt:
16189 * gst/gst.c: (gst_version_string):
16190 * gst/gst.h:
16191 * gst/gstversion.h.in:
16192 * win32/common/libgstreamer.def:
16193 add gst_version_string ()
16195 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16197 * configure.ac:
16198 clean up further
16199 * gst/gst.c: (init_post):
16200 * win32/common/config.h.in:
16201 it's PLUGINDIR now
16202 * gst/gstcaps.c: (gst_caps_intersect):
16203 use gint64, the range could be bigger than a guint
16205 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16207 * gst/gstclock.h:
16208 document potential problem in 2038
16210 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16212 * gst/gstcaps.c: (gst_caps_intersect):
16213 Fix guint j diving under 0
16215 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16217 * configure.ac:
16218 * win32/common/config.h:
16219 * win32/common/config.h.in:
16220 check for process.h, declares getpid() on Windows
16221 * gst/gstinfo.c:
16222 include process.h if we have it
16223 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16224 * gst/gstmemchunk.h:
16225 fix signedness issues
16226 * win32/common/libgstreamer.def:
16227 fix get_type's
16229 2005-10-16 Julien MOUTTE <julien@moutte.net>
16231 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16232 fix. Because of unsigned ints, caps intersection was going nuts and
16233 trying to access structures with G_MAXUINT index. That fixes
16234 videotestsrc ! ffmpegcolorspace ! fakesink
16235 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16236 consistency.
16238 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16240 * configure.ac:
16241 use the gettext macro
16242 * gst/elements/gstelements.c:
16243 * gst/gst.c:
16244 * gst/indexers/gstindexers.c:
16245 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16246 * win32/common/config.h:
16247 updated config.h
16248 * win32/common/config.h.in:
16249 add the template to generate config.h
16250 * win32/common/gstenumtypes.c:
16251 * win32/common/gstversion.h:
16252 updated copies
16254 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16256 * gst/gst.c: (gst_version):
16257 * gst/gstversion.h.in:
16258 add the nano
16260 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16262 * gst/gstevent.h:
16263 Oops, add missing closing bracket.
16265 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16267 * configure.ac:
16268 use common m4's for argument checking
16270 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16272 * docs/gst/gstreamer-sections.txt:
16273 * gst/gstevent.h:
16274 Add GST_EVENT_TYPE_NAME() macro.
16276 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16278 * gst/gstinfo.c:
16279 * gst/gstpluginfeature.c:
16280 * gst/gsttask.c:
16281 privatize more symbols
16283 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16285 * configure.ac:
16286 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16287 everything that uses GStreamer API should have the includes
16289 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16291 * docs/gst/gstreamer-sections.txt:
16292 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16293 * gst/gstvalue.h:
16294 give each value a _get_type, removes the DATA exports
16296 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16298 * gst/gst.c:
16299 * gst/gst.h:
16300 remove _gst_registry_auto_load, not used anymore
16301 * gst/gstbin.c: (gst_bin_get_type):
16302 * gst/gstbin.h:
16303 * gst/gstelement.c: (gst_element_get_type):
16304 * gst/gstelement.h:
16305 * gst/gstobject.c: (gst_object_get_type):
16306 * gst/gstobject.h:
16307 * gst/gstpad.c: (gst_pad_get_type):
16308 * gst/gstpad.h:
16309 make _get_type functions similar, fixes data export from library
16311 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16313 * configure.ac:
16314 correctly make conditionals
16315 * gst/elements/Makefile.am:
16316 * gst/elements/gstelements.c:
16317 fix typo causing fdsrc not to build
16319 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16321 * testsuite/Makefile.am:
16322 * testsuite/bytestream/.cvsignore:
16323 * testsuite/bytestream/Makefile.am:
16324 * testsuite/bytestream/filepadsink.c:
16325 * testsuite/bytestream/gstbstest.c:
16326 * testsuite/bytestream/test1.c:
16327 * testsuite/bytestream/testfile1:
16328 * testsuite/caps/normalisation.c:
16329 * testsuite/caps/random.c: (main):
16330 * testsuite/cleanup/.cvsignore:
16331 * testsuite/cleanup/Makefile.am:
16332 * testsuite/cleanup/cleanup1.c:
16333 * testsuite/cleanup/cleanup2.c:
16334 * testsuite/cleanup/cleanup3.c:
16335 * testsuite/cleanup/cleanup4.c:
16336 * testsuite/cleanup/cleanup5.c:
16337 * testsuite/controller/interpolator.c:
16338 * testsuite/debug/printf_extension.c: (main):
16339 * testsuite/elements/tee.c:
16340 * testsuite/negotiation/.cvsignore:
16341 * testsuite/negotiation/Makefile.am:
16342 * testsuite/negotiation/pad_link.c:
16343 * testsuite/pad/Makefile.am:
16344 * testsuite/pad/chainnopull.c:
16345 * testsuite/pad/getnopush.c:
16346 * testsuite/pad/link.c:
16347 * testsuite/refcounting/sched.c: (create_pipeline):
16348 * testsuite/registry/Makefile.am:
16349 * testsuite/registry/gst-print-formats.c:
16350 * testsuite/schedulers/.cvsignore:
16351 * testsuite/schedulers/142183-2.c:
16352 * testsuite/schedulers/142183.c:
16353 * testsuite/schedulers/143777-2.c:
16354 * testsuite/schedulers/143777.c:
16355 * testsuite/schedulers/147713.c:
16356 * testsuite/schedulers/147819.c:
16357 * testsuite/schedulers/147894-2.c:
16358 * testsuite/schedulers/147894.c:
16359 * testsuite/schedulers/Makefile.am:
16360 * testsuite/schedulers/group_link.c:
16361 * testsuite/schedulers/queue_link.c:
16362 * testsuite/schedulers/relink.c:
16363 * testsuite/schedulers/unlink.c:
16364 * testsuite/schedulers/unref.c:
16365 * testsuite/schedulers/useless_iteration.c:
16366 * testsuite/states/bin.c:
16367 clean out/remove some stuff from the testsuite directories
16369 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16371 * configure.ac:
16372 check for some headers
16373 * gst/elements/Makefile.am:
16374 * gst/elements/gstelements.c:
16375 don't compile fdsrc without sys/socket.h
16376 * gst/indexers/Makefile.am:
16377 * gst/indexers/gstindexers.c: (plugin_init):
16378 don't compile fileindex without mmap
16380 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16382 * configure.ac:
16383 reorganize
16384 clean up
16385 document more
16386 remove cruft
16387 * check/Makefile.am:
16388 * docs/gst/Makefile.am:
16389 * examples/helloworld/Makefile.am:
16390 * gst/Makefile.am:
16391 * gst/base/Makefile.am:
16392 * gst/check/Makefile.am:
16393 * gst/elements/Makefile.am:
16394 * gst/indexers/Makefile.am:
16395 * gst/parse/Makefile.am:
16396 * libs/gst/controller/Makefile.am:
16397 * libs/gst/dataprotocol/Makefile.am:
16398 * examples/helloworld/helloworld.c: (event_loop):
16399 compile fixes, though it's not being compiled currently
16401 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16403 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16404 Add some simple tests for the new taglist date API.
16406 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16408 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16409 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16410 Beautify 'last-message' output: print 'none' for buffer timestamps
16411 and durations if none is set; improve alignment with next messages.
16413 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16415 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16416 * gst/gstpluginfeature.h:
16417 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16418 * gst/gstregistry.h:
16419 * docs/gst/gstreamer-sections.txt:
16420 Add new API to check plugin feature version requirements.
16422 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16423 Some basic tests for the above.
16425 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16427 * gst/gststructure.c: (gst_structure_to_string):
16428 guard against NULL printf - happens when for example
16429 a message structure with GstClock gets serialized
16431 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16433 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16434 Fix presumable copy'n'pasto.
16436 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16438 * gst/elements/gstfakesrc.h:
16439 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16440 * gst/elements/gsttypefindelement.c:
16441 fix some signedness
16442 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16443 I wonder if this could actually write +2GB files before
16445 2005-10-13 Andy Wingo <wingo@pobox.com>
16447 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16448 Fix Timmeke Waymans bug.
16449 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16450 string of the proper length to gst_caps_from_string. There's a
16451 potential for, before this fix, that this could cause someone
16452 connecting over the network to cause a segfault if the payload is
16453 not NUL-terminated.
16455 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16457 * docs/design/draft-push-pull.txt:
16458 * docs/design/part-overview.txt:
16459 * docs/random/TODO-pre-0.9:
16460 * docs/random/old/ChangeLog.gstreamer:
16461 * gst/base/gstpushsrc.c:
16462 * gst/gstclock.c:
16463 fixed typos
16465 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16467 * gst/glib-compat.c: (gst_flags_get_first_value):
16468 * gst/glib-compat.h:
16469 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16470 (gst_value_compare_double), (gst_value_serialize_flags):
16471 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16472 infinite loop
16474 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16477 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16478 fix up debugging
16479 * tools/gst-launch.c: (event_loop):
16480 print out clock nicely
16482 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16484 * docs/gst/gstreamer-sections.txt:
16485 * gst/gsttaglist.h:
16486 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16487 (gst_tag_list_get_date_index):
16488 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16489 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16491 2005-10-13 Julien MOUTTE <julien@moutte.net>
16493 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16494 (gst_collectpads_chain):
16495 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16496 in CollectData.
16498 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16500 * docs/gst/gstreamer-sections.txt:
16501 * gst/gst.c:
16502 * gst/gsterror.h:
16503 * tools/gst-inspect.c: (main):
16504 * tools/gst-launch.c: (main):
16505 * tools/gst-run.c: (main):
16506 * tools/gst-xmlinspect.c: (main):
16507 fix GOption context leaks
16508 doc fixes
16510 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16512 * gst/gstbus.c:
16513 use HAVE_UNISTD_H
16514 * win32/common/config.h:
16515 update config
16516 * win32/vs6/grammar.dsp:
16517 * win32/vs6/libgstelements.dsp:
16518 * win32/vs6/libgstreamer.dsp:
16519 update vs6 files
16521 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16524 * gst/base/gstbasesrc.c: (gst_base_src_query):
16525 fix more guint64<->gdouble conversions
16527 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16529 * Makefile.am:
16530 add win32-update target
16531 * win32/common/gstconfig.h:
16532 * win32/common/gstenumtypes.c:
16533 * win32/common/gstenumtypes.h:
16534 * win32/common/gstversion.h:
16535 add files that visual studio can't generate
16537 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
16539 * Makefile.am:
16540 add a win32-update target
16541 * configure.ac:
16543 2005-10-12 Wim Taymans <wim@fluendo.com>
16545 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16546 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16547 * gst/gstelement.c: (gst_element_commit_state),
16548 (gst_element_set_state):
16549 Protect flags with proper lock.
16550 unref provided cached clock in dispose.
16552 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16554 * gst/gst.c:
16555 * gst/gstminiobject.h:
16556 * gst/gstpad.h:
16557 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16558 removed unused flags from miniobject
16559 doc fixes
16561 2005-10-12 Wim Taymans <wim@fluendo.com>
16563 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16564 (gst_file_sink_event), (gst_file_sink_render):
16565 Flush before seeking.
16567 2005-10-12 Andy Wingo <wingo@pobox.com>
16569 * gst/gst.c (gst_init_check): Ignore unknown options, as has
16570 always been the case.
16572 2005-10-12 Stefan Kost <ensonic@users.sf.net>
16574 * check/gst/gstbin.c: (GST_START_TEST):
16575 * docs/gst/gstreamer-sections.txt:
16576 * gst/base/gstbasesink.c: (gst_base_sink_init):
16577 * gst/base/gstbasesrc.c: (gst_base_src_init),
16578 (gst_base_src_get_range), (gst_base_src_check_get_range),
16579 (gst_base_src_start), (gst_base_src_stop):
16580 * gst/base/gstbasesrc.h:
16581 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16582 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16583 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16584 (bin_bus_handler):
16585 * gst/gstbin.h:
16586 * gst/gstbuffer.h:
16587 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16588 * gst/gstbus.h:
16589 * gst/gstelement.c: (gst_element_is_locked_state),
16590 (gst_element_set_locked_state), (gst_element_commit_state),
16591 (gst_element_set_state):
16592 * gst/gstelement.h:
16593 * gst/gstindex.c: (gst_index_init):
16594 * gst/gstindex.h:
16595 * gst/gstminiobject.h:
16596 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16597 (gst_object_set_parent):
16598 * gst/gstobject.h:
16599 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16600 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16601 * gst/gstpad.h:
16602 * gst/gstpadtemplate.h:
16603 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16604 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16605 * gst/gstpipeline.h:
16606 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16607 (gst_file_index_commit):
16608 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16609 * testsuite/pad/link.c: (gst_test_src_init),
16610 (gst_test_filter_init), (gst_test_sink_init):
16611 * testsuite/states/locked.c: (main):
16612 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16613 moved bitshift from macro to enum definition
16615 2005-10-12 Wim Taymans <wim@fluendo.com>
16617 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16618 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16619 (gst_file_sink_render):
16620 Some more debugging info.
16622 2005-10-12 Wim Taymans <wim@fluendo.com>
16624 * docs/design/part-states.txt:
16625 * tools/gst-launch.c: (main):
16626 Some doc updates.
16627 Revert non-intentional change.
16629 2005-10-12 Wim Taymans <wim@fluendo.com>
16631 * check/gst/gstbin.c: (GST_START_TEST):
16632 * check/gst/gstelement.c: (GST_START_TEST):
16633 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16634 * check/gst/gstghostpad.c: (GST_START_TEST):
16635 * check/gst/gstpipeline.c: (GST_START_TEST):
16636 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16637 * check/states/sinks.c: (GST_START_TEST):
16638 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16639 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16640 (gst_bin_remove_func), (gst_bin_get_state_func),
16641 (gst_bin_recalc_state), (gst_bin_change_state_func),
16642 (bin_bus_handler):
16643 * gst/gstelement.c: (gst_element_get_state_func),
16644 (gst_element_get_state), (gst_element_abort_state),
16645 (gst_element_commit_state), (gst_element_set_state),
16646 (gst_element_change_state), (gst_element_change_state_func):
16647 * gst/gstelement.h:
16648 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16649 (gst_pipeline_provide_clock_func):
16650 * gst/gstutils.c: (gst_element_link_pads_filtered):
16651 * tools/gst-launch.c: (main):
16652 * tools/gst-typefind.c: (main):
16653 Use GstClockTime in _get_state() instead of GTimeVal.
16654 Remove old code in gstutils.c
16656 2005-10-12 Andy Wingo <wingo@pobox.com>
16658 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16659 removed.
16661 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16662 there is no task. Shouldn't affect any code, as nothing in our
16663 plugins checks this return value.
16664 (gst_pad_stop_task): Also take the stream lock if the pad has no
16665 task. Docs updated.
16667 2005-10-12 Wim Taymans <wim@fluendo.com>
16669 * gst/gstpad.c: (pre_activate), (post_activate),
16670 (gst_pad_activate_pull), (gst_pad_activate_push):
16671 Cleanup activation code. Reset old state if
16672 activation failed.
16674 2005-10-12 Wim Taymans <wim@fluendo.com>
16676 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16677 (gst_base_sink_change_state):
16678 No need to prerol after receiving EOS.
16680 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16681 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16682 * gst/elements/gstidentity.c: (gst_identity_event):
16683 Print events more verbosely.
16685 2005-10-12 Wim Taymans <wim@fluendo.com>
16687 * check/Makefile.am:
16688 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16689 * check/states/sinks2.c:
16690 Moved sinks2 testcode in sinks check.
16692 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16693 (gst_bin_remove_func), (gst_bin_recalc_state),
16694 (gst_bin_change_state_func), (bin_bus_handler):
16695 Fix potential race condition when _get_state() iterated over an
16696 ASYNC element right before it posted a state completion.
16698 * gst/gstclock.h:
16699 Do proper cast here.
16701 * gst/gstevent.c: (gst_event_new_newsegment),
16702 (gst_event_parse_newsegment):
16703 A playback rate of 0.0 is not allowed.
16705 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16707 * win32/common/config.h:
16708 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16709 (_trewinddir), (_ttelldir), (_tseekdir):
16710 * win32/common/dirent.h:
16711 * win32/common/gtchar.h:
16712 * win32/common/libgstbase.def:
16713 * win32/common/libgstreamer.def:
16714 * win32/vs6/grammar.dsp:
16715 * win32/vs6/gst_inspect.dsp:
16716 * win32/vs6/gst_launch.dsp:
16717 * win32/vs6/gstreamer.dsw:
16718 * win32/vs6/libgstbase.dsp:
16719 * win32/vs6/libgstelements.dsp:
16720 * win32/vs6/libgstreamer.dsp:
16721 Visual Studio 6 project files, and a new common directory.
16722 Phear.
16724 2005-10-11 Wim Taymans <wim@fluendo.com>
16726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16727 (gst_base_sink_do_sync), (gst_base_sink_query),
16728 (gst_base_sink_change_state):
16729 * gst/base/gstbasesink.h:
16730 Correctly parse newsegment info.
16732 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16734 * gst/gst.c: (init_post):
16735 split plugin paths correctly
16737 2005-10-11 Wim Taymans <wim@fluendo.com>
16739 * check/gst/gstevent.c: (GST_START_TEST):
16740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16741 (gst_base_sink_change_state):
16742 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16743 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16744 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16745 * gst/gstevent.c: (gst_event_new_newsegment),
16746 (gst_event_parse_newsegment):
16747 * gst/gstevent.h:
16748 Added extra flag to newsegment for future API freeze.
16749 Updated check and base elements.
16751 2005-10-11 Julien MOUTTE <julien@moutte.net>
16753 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16754 (gst_collectpads_add_pad), (gst_collectpads_pop),
16755 (gst_collectpads_event), (gst_collectpads_chain):
16756 * gst/base/gstcollectpads.h: Handle EOS correctly.
16758 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16760 * tools/gst-launch.c: (main):
16761 more null protecting
16763 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16765 * gst/gst-i18n-lib.h:
16766 check for ENABLE_NLS, not GETTEXT_PACKAGE
16767 * gst/gstregistry.c: (gst_registry_add_plugin),
16768 (gst_registry_scan_path_level),
16769 (_gst_registry_remove_cache_plugins):
16770 protect possibly NULL strings
16771 * gst/parse/types.h:
16772 config.h already included before
16773 * tools/gst-inspect.c: (main):
16774 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16775 check for ENABLE_NLS, not GETTEXT_PACKAGE
16776 * tools/gst-launch.c: (main):
16777 check for ENABLE_NLS, not GETTEXT_PACKAGE
16779 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16781 * configure.ac:
16782 if we don't have glib, fail before testing 2.8
16783 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16784 fix a leak, should fix plugins-base testsuite
16786 2005-10-11 Andy Wingo <wingo@pobox.com>
16788 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16789 take the mode we're going to as an arg. Go head and set the mode
16790 and flushing flags now, so that if the activate function starts a
16791 thread all the flags will be in the right state.
16792 (post_activate): Renamed also. Just handle making sure streaming
16793 finishes for the deactivation case, and setting the deactivated
16794 mode.
16795 (gst_pad_set_active): Complain loudly if deactivation fails.
16796 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16797 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16798 remove the terrible hack.
16800 2005-10-11 Wim Taymans <wim@fluendo.com>
16802 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16803 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16804 (gst_bin_recalc_state), (gst_bin_change_state_func),
16805 (gst_bin_dispose), (bin_bus_handler):
16806 * gst/gstbin.h:
16807 Prepare to make current EOS message queue more generic.
16808 Fix some typos.
16810 * gst/gstevent.c: (gst_event_new_newsegment),
16811 (gst_event_parse_newsegment):
16812 * gst/gstevent.h:
16813 Rename base to stream_time.
16815 * gst/gstmessage.h:
16816 Fix typo in docs.
16818 2005-10-11 Wim Taymans <wim@fluendo.com>
16820 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16821 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16822 (gst_bin_change_state_func), (bin_bus_handler):
16823 * gst/gstbin.h:
16824 Work on proper clock selection.
16826 2005-10-11 Edward Hervey <edward@fluendo.com>
16828 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16829 * libs/gst/controller/gstcontroller.h:
16830 Added GList* version of _remove_properties() in order to be able to wrap
16831 it in bindings.
16833 2005-10-11 Wim Taymans <wim@fluendo.com>
16835 * docs/design/part-states.txt:
16836 Some more docs.
16838 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16839 (gst_bin_change_state_func), (bin_bus_handler):
16840 Doc updates. Don't distribute the same clock over and over again.
16842 * gst/gstclock.c:
16843 * gst/gstclock.h:
16844 Doc updates.
16846 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16847 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16848 (gst_pad_send_event):
16849 * gst/gstpad.h:
16850 Make probe emission threadsafe again.
16851 Register quarks and move _get_name() from utils.
16852 Doc updates.
16854 * gst/gstpipeline.c: (gst_pipeline_class_init),
16855 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16856 Only redistribute the clock of it changed.
16858 * gst/gstsystemclock.h:
16859 Doc updates.
16861 * gst/gstutils.c:
16862 * gst/gstutils.h:
16863 Moved the _flow_get_name() to GstPad.
16865 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16867 * check/gst-libs/gdp.c: (GST_START_TEST):
16868 * check/gst/gstcaps.c: (GST_START_TEST):
16869 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16870 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16871 (gst_dp_packet_from_caps):
16872 fix more valgrind warnings before turning up the heat
16874 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16876 * gst/parse/grammar.y:
16877 some cleanup before the hacking
16879 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16881 * gst/base/gstbasesrc.c: (gst_base_src_query):
16882 use conversions
16883 * gst/gstutils.c: (gst_guint64_to_gdouble),
16884 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16885 * gst/gstutils.h:
16886 externalize, basesrc uses it
16887 obviously the implementation needs testing
16889 2005-10-10 Wim Taymans <wim@fluendo.com>
16891 * tests/sched/Makefile.am:
16892 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16893 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16895 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16897 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16898 apparently converting from guint64 to double is not implemented
16899 on MSVC
16901 2005-10-10 Wim Taymans <wim@fluendo.com>
16903 * check/Makefile.am:
16904 * check/generic/states.c: (GST_START_TEST):
16905 * check/gst/gstbin.c: (GST_START_TEST):
16906 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16907 * check/states/sinks.c: (GST_START_TEST):
16908 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16909 (main):
16910 Check fixes, use API as stated in design docs, remove hacks.
16912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16913 (gst_base_sink_change_state):
16914 Catch stopping our task while we're shutting down.
16916 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16917 (gst_bin_remove_func), (gst_bin_get_state_func),
16918 (gst_bin_recalc_state), (gst_bin_change_state_func),
16919 (bin_bus_handler):
16920 * gst/gstbin.h:
16921 * gst/gstelement.c: (gst_element_init),
16922 (gst_element_get_state_func), (gst_element_abort_state),
16923 (gst_element_commit_state), (gst_element_lost_state),
16924 (gst_element_set_state), (gst_element_change_state),
16925 (gst_element_change_state_func):
16926 * gst/gstelement.h:
16927 New state change algorithm (see #318116)
16929 * gst/gstpipeline.c: (gst_pipeline_class_init),
16930 (gst_pipeline_init), (gst_pipeline_set_property),
16931 (gst_pipeline_get_property), (do_pipeline_seek),
16932 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16933 * gst/gstpipeline.h:
16934 Remove crude state change hacks.
16936 * gst/gstutils.h:
16937 Remove crude hacks.
16939 * tools/gst-launch.c: (main):
16940 Fixes for state change. Needs some more work to fully use the
16941 new stuff.
16943 2005-10-10 Andy Wingo <wingo@pobox.com>
16945 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16947 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16948 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16949 issue.
16951 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16953 * gst/gstiterator.c: (gst_iterator_new):
16954 Fix my previous commit: GTypes passed to gst_iterator_new()
16955 can be fundamental types.
16957 2005-10-10 Wim Taymans <wim@fluendo.com>
16959 * gst/gstelement.c: (gst_element_iterate_pad_list),
16960 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16961 (gst_element_iterate_sink_pads):
16962 Use src/sink pads lists for the respective iterators instead
16963 of filtering.
16965 2005-10-10 Andy Wingo <wingo@pobox.com>
16967 Merged in popt removal + GOption addition patch from Ronald, bug
16968 #169772.
16970 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16971 GstElement macros around, remove popt-related symbols, add goption
16972 stuff.
16974 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16976 * docs/gst/Makefile.am:
16977 * docs/libs/Makefile.am: No POPT_CFLAGS.
16979 * examples/manual/Makefile.am:
16980 * docs/manual/basics-init.xml: Doc updates with an example.
16982 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16983 (gst_init), (parse_one_option), (parse_goption_arg):
16984 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16985 bit of hand merging and debugging to get the GOption stuff working
16986 tho.
16988 * tests/Makefile.am:
16989 * tools/Makefile.am:
16990 * tools/gst-inspect.c: (main):
16991 * tools/gst-launch.c: (main):
16992 * tools/gst-run.c: (main):
16993 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16995 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16997 * gst/gstiterator.c: (gst_iterator_new):
16998 Add assertions to make sure passed GType is likely to really
16999 be a GType (as the compiler won't catch it if the size and
17000 GType arguments get mixed up, see #318447).
17002 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17004 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17006 * gst/gstbin.c: (gst_bin_iterate_sorted):
17007 Pass GType and size arguments to gst_iterator_new() in the right
17008 order (maybe we should make _new() take the GType as first argument
17009 just like _new_list()?) (#318447).
17012 2005-10-10 Wim Taymans <wim@fluendo.com>
17014 * gst/gstelement.c: (gst_element_finalize):
17015 And free the GStaticRecMutex too
17017 2005-10-10 Andy Wingo <wingo@pobox.com>
17019 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17020 Allocate and free the mutex properly.
17022 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17023 New macros.
17024 (GstElement): The state_lock is now recursive. Rebuild your
17025 plugins, suckers. Old macros adapted.
17027 * docs/gst/gstreamer-sections.txt: Doc updates.
17029 * gst/gstutils.h:
17030 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17031 (g_static_rec_cond_wait): Ported from state changes patch, while
17032 we wait on bug #317802 to be solved in a well-distributed GLib.
17034 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17035 gst_element_change_state, variable name changes.
17036 (gst_element_change_state): Split out of gst_element_set_state in
17037 preparation for the state change merge. Doesn't pay attention to
17038 the 'transition' argument.
17039 (gst_element_set_state): Updates, hopefully purely cosmetic.
17040 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17041 state change patch.
17042 (gst_element_get_state_func): Renamed from get_state, cosmetic
17043 changes.
17045 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17047 * gst/elements/gstelements.c:
17048 * win32/GStreamer.vcproj:
17049 * win32/config.h:
17050 * win32/dirent.c: (_tseekdir):
17051 * win32/gst-inspect.vcproj:
17052 * win32/gst-launch.vcproj:
17053 * win32/gstconfig.h:
17054 * win32/gstelements.vcproj:
17055 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17056 * win32/gstreamer.def:
17057 * win32/msvc71.sln:
17058 updates for the win32 build (patch from Sebastien Moutte)
17060 2005-10-10 Andy Wingo <wingo@pobox.com>
17062 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17063 gst_bin_get_state, cleaned up (but no logic changes).
17064 (bin_element_is_sink): Comment updates.
17065 (sink_iterator_filter): Remove needless cast.
17066 (gst_bin_iterate_sinks): Doc update.
17067 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17068 cleaned up (but no logic changes).
17070 * check/states/sinks.c (test_src_sink): Cleanups from the state
17071 change patch.
17072 (test_livesrc_sink): Sync on the state.
17074 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17075 the state change patch.
17077 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17078 change patch.
17080 * check/gst/gstbin.c: Merge in some style fixes and additional
17081 checks from Wim's state change patch.
17083 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17085 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17086 (gst_type_find_helper):
17087 Check whether we have the requested data already in our list of
17088 cached buffers before pulling a new buffer; also make the buffer
17089 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17091 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17093 * gst/gstcaps.c:
17094 * gst/gstevent.c:
17095 doc updates
17096 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17097 don't use long long, it's not portable. Replacing with
17098 gint64 seems to work; let's hope no skeletons fall out of the closet.
17100 2005-10-10 Andy Wingo <wingo@pobox.com>
17102 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17104 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17106 * docs/gst/gstreamer-sections.txt:
17107 * gst/gstevent.c:
17108 * gst/gstevent.h:
17109 * gst/gstinfo.c:
17110 * gst/gstinfo.h:
17111 * gst/gstmessage.c: (gst_message_parse_state_changed):
17112 * gst/gstpad.c:
17113 * gst/gstpad.h:
17114 more docs, fix compilation
17116 2005-10-09 Philippe Khalaf <burger@speedy.org>
17117 * gst/gstmessage.c:
17118 Fixed a few forgotten variables on previous commit
17120 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17122 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17123 Fix evil typefind crasher: getrange() might return a short
17124 buffer at the end of a file, but gst_type_find_peek() must
17125 either return the full data as requested or NULL, but
17126 never a short buffer.
17128 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17130 * gst/gstmessage.c: (gst_message_new_state_changed),
17131 (gst_message_parse_state_changed):
17132 * gst/gstmessage.h:
17133 don't use "new", it's a C++ keyword
17135 2005-10-08 Wim Taymans <wim@fluendo.com>
17137 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17138 * gst/gstelement.c: (gst_element_post_message):
17139 * gst/gstpipeline.c: (gst_pipeline_change_state):
17140 Small docs and debug updates.
17142 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17144 * docs/gst/gstreamer-sections.txt:
17145 * gst/gstelementfactory.c:
17146 * gst/gstevent.c:
17147 * gst/gsttaglist.c:
17148 more docs
17150 2005-10-08 Wim Taymans <wim@fluendo.com>
17152 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17153 (gst_bin_dispose), (bin_bus_handler):
17154 Fix typos, add comments.
17155 Clear EOS list when going to PAUSED from any direction and do it
17156 in a threadsafe way.
17157 Get base time in a threadsafe way too.
17158 Fix confusing debug in the change_state function.
17159 Various other small cleanups.
17161 * gst/gstelement.c: (gst_element_post_message):
17162 Fix very verbose bus posting code.
17164 * gst/gstpipeline.c: (gst_pipeline_class_init),
17165 (gst_pipeline_set_property), (gst_pipeline_get_property),
17166 (gst_pipeline_change_state):
17167 Small ARG_ -> PROP_ cleanup
17169 2005-10-08 Wim Taymans <wim@fluendo.com>
17171 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17172 Do a less CPU demanding EOS check because we can.
17174 2005-10-08 Wim Taymans <wim@fluendo.com>
17176 * libs/gst/dataprotocol/dataprotocol.c:
17177 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17178 (gst_dp_packet_from_event):
17179 * libs/gst/dataprotocol/dataprotocol.h:
17180 * libs/gst/dataprotocol/dp-private.h:
17181 It's about time we bump the version number.
17182 Since event types don't fit in the guint8 anymore describing
17183 the payload type, make payload type 16 bits wide.
17185 2005-10-08 Wim Taymans <wim@fluendo.com>
17187 * docs/design/part-TODO.txt:
17188 * docs/design/part-clocks.txt:
17189 * docs/design/part-events.txt:
17190 * docs/design/part-gstbin.txt:
17191 * docs/design/part-gstelement.txt:
17192 * docs/design/part-gstpipeline.txt:
17193 * docs/design/part-live-source.txt:
17194 * docs/design/part-messages.txt:
17195 * docs/design/part-overview.txt:
17196 * docs/design/part-states.txt:
17197 Many doc updates.
17199 2005-10-08 Wim Taymans <wim@fluendo.com>
17201 * gst/gstevent.c:
17202 * gst/gstevent.h:
17203 Fix event quark registration.
17204 Add some space between events so we can insert them in the
17205 right groups.
17207 2005-10-08 Wim Taymans <wim@fluendo.com>
17209 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17210 (gst_base_sink_handle_buffer):
17211 Better log message.
17213 * gst/gstbus.h:
17214 * gst/gstelement.h:
17215 More docs.
17217 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17218 (gst_queue_set_property), (gst_queue_get_property):
17219 * gst/gstqueue.h:
17220 Remove old unused properties.
17222 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17223 * docs/gst/gstreamer-sections.txt:
17224 * gst/gstmessage.c:
17225 * gst/gstmessage.h:
17226 * gst/gstminiobject.c:
17227 * gst/gstminiobject.h:
17228 * gst/gstobject.h:
17229 * gst/gstpad.h:
17230 * gst/gstutils.h:
17231 lots of new docs and doc fixes
17233 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17235 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17236 * gst/gstplugin.h:
17237 * gst/gstregistry.c: (gst_registry_lookup_locked),
17238 (gst_registry_scan_path_level):
17239 * gst/gstregistryxml.c: (load_plugin):
17240 Only ever load one plugin for a given plugin basename.
17241 This ensures correct overriding of GST_PLUGIN_PATH over
17242 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17243 system installed plugins.
17245 2005-10-08 Wim Taymans <wim@fluendo.com>
17247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17248 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17249 Prepare for doing QOS.
17251 2005-10-08 Wim Taymans <wim@fluendo.com>
17253 * check/gst/gstbin.c: (GST_START_TEST):
17254 * check/pipelines/cleanup.c: (GST_START_TEST):
17255 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17256 Allow new clock message too.
17258 2005-10-08 Wim Taymans <wim@fluendo.com>
17260 * gst/gstmessage.c: (gst_message_new_error),
17261 (gst_message_new_warning), (gst_message_new_tag),
17262 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17263 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17264 (gst_message_new_segment_start), (gst_message_new_segment_done),
17265 (gst_message_parse_state_changed),
17266 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17267 (gst_message_parse_new_clock):
17268 * gst/gstmessage.h:
17269 Also carry the clock in question.
17271 2005-10-08 Wim Taymans <wim@fluendo.com>
17273 * gst/gstmessage.c: (gst_message_new_custom),
17274 (gst_message_new_eos), (gst_message_new_error),
17275 (gst_message_new_warning), (gst_message_new_tag),
17276 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17277 (gst_message_new_new_clock), (gst_message_new_segment_start),
17278 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17279 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17280 * gst/gstmessage.h:
17281 Clean up.
17282 Added clock related messages.
17284 * gst/gstpipeline.c: (gst_pipeline_change_state):
17285 Post message when the clock changed.
17287 * tools/gst-launch.c: (event_loop):
17288 Print new clock.
17290 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17292 * tools/gst-inspect.c: (print_element_properties_info):
17293 Can't pass NULL strings to g_print() on windows.
17295 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17297 * docs/Makefile.am:
17298 * docs/gst/Makefile.am:
17299 * docs/gst/gstreamer-docs.sgml:
17300 * docs/gst/running.xml:
17301 * docs/version.entities.in:
17302 add a chapter on running GStreamer.
17303 document GST_DEBUG and GST_PLUGIN* env vars
17305 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17307 * Makefile.am:
17308 remove include dir
17309 * configure.ac:
17310 remove PLUGINS_BUILDDIR stuff
17311 * gst/gst.c: (init_post):
17312 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17313 * idiottest.mak:
17314 remove, it was condescending and not needed
17316 2005-10-08 Wim Taymans <wim@fluendo.com>
17318 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17319 (gst_base_sink_handle_object), (gst_base_sink_event),
17320 (gst_base_sink_wait), (gst_base_sink_handle_event),
17321 (gst_base_sink_change_state):
17322 * gst/base/gstbasesink.h:
17323 Repost EOS message while going to PLAYING if still EOS.
17324 Make sure that when receiving a FLUSH_START we don't attempt
17325 to sync on the clock anymore.
17327 2005-10-08 Wim Taymans <wim@fluendo.com>
17329 * tools/gst-launch.c: (event_loop):
17330 Better message printout.
17332 2005-10-08 Wim Taymans <wim@fluendo.com>
17334 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17335 (gst_bin_child_proxy_get_children_count):
17336 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17337 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17338 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17339 (gst_child_proxy_set_valist):
17340 * gst/parse/grammar.y:
17341 Make ChildProxy threadsafe and fix mem leaks.
17343 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17345 * gst/gst.c: (init_post):
17346 debug the GST_PLUGIN_ env vars
17348 2005-10-08 Wim Taymans <wim@fluendo.com>
17350 * check/gst/gstbin.c: (GST_START_TEST):
17351 * check/gst/gstmessage.c: (GST_START_TEST):
17352 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17353 * gst/gstelement.c: (gst_element_commit_state),
17354 (gst_element_lost_state):
17355 * gst/gstmessage.c: (gst_message_new_state_changed),
17356 (gst_message_parse_state_changed):
17357 * gst/gstmessage.h:
17358 * tools/gst-launch.c: (event_loop):
17359 Added extra field to STATE_CHANGE message with the pending
17360 state, which will be different from the new state soon.
17362 2005-10-08 Wim Taymans <wim@fluendo.com>
17364 * gst/gstbus.c: (gst_bus_pop):
17365 * gst/gstclock.c:
17366 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17367 Small cleanups and doc updates.
17369 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17371 * gst/gst.c: (init_pre):
17372 * gst/gstbin.c: (gst_bin_add_func):
17373 log distributing clocks and base time
17374 * gst/gstregistry.c: (gst_registry_add_plugin),
17375 (gst_registry_scan_path_level), (gst_registry_scan_path):
17376 clean up the debugging output a little
17377 * gst/gstutils.c: (gst_element_state_get_name):
17378 warn about a memleak (I've actually seen this be used, though
17379 it was probably a bug)
17381 2005-10-07 Wim Taymans <wim@fluendo.com>
17383 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17384 (gst_base_src_init), (gst_base_src_default_newsegment),
17385 (gst_base_src_newsegment), (gst_base_src_do_seek),
17386 (gst_base_src_loop), (gst_base_src_start):
17387 * gst/base/gstbasesrc.h:
17388 Make the newsegment event customizable by subclasses.
17390 2005-10-07 Wim Taymans <wim@fluendo.com>
17392 * gst/gstevent.c: (gst_event_new_buffersize),
17393 (gst_event_parse_buffersize):
17394 * gst/gstevent.h:
17395 New event for future idea.
17397 2005-10-07 Andy Wingo <wingo@pobox.com>
17399 * gst/gstelement.c (gst_element_post_message): Doc update.
17401 * docs/gst/gstreamer-sections.txt: Update.
17403 * gst/gstmessage.c (gst_message_new_application): Made into a
17404 function like honest API calls.
17405 (gst_message_new_element): New message type.
17407 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17409 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17410 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17411 times.
17413 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17414 NO_PREROLL from gst_element_change_state to fall through.
17416 2005-10-07 Wim Taymans <wim@fluendo.com>
17418 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17419 (gst_ghost_pad_do_activate_push):
17420 Activating a ghostpad with no internal pad in push mode
17421 is ok.
17423 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17425 * gst/gstobject.h:
17426 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17427 Fixes compilation on Windows.
17429 2005-10-07 Michael Smith <msmith@fluendo.com>
17431 * tools/gst-inspect.c:
17432 Print out feature and plugin count at the end when printing out
17433 all features.
17435 2005-10-04 Michael Smith <msmith@fluendo.com>
17437 * gst/gsterror.c: (_gst_stream_errors_init):
17438 Add another error string used in a few existing plugins.
17440 * gst/gstplugin.c:
17441 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17442 * tools/gst-inspect.c: (print_element_info):
17443 When a feature disappears from a plugin (and the feature exists in
17444 the cached registry file), things went horribly wrong. This isn't a
17445 complete fix, we should actually be removing the 'missing' features
17446 from the features list when we load the actual plugin. That's not
17447 yet implemented.
17449 2005-10-04 Johan Dahlin <johan@gnome.org>
17451 * check/gst/gstiterator.c: (GST_START_TEST):
17452 * gst/gstbin.c: (gst_bin_iterate_elements),
17453 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17454 * gst/gstelement.c: (gst_element_iterate_pads):
17455 * gst/gstformat.c: (gst_format_iterate_definitions):
17456 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17457 (gst_iterator_new_list), (gst_iterator_filter):
17458 * gst/gstiterator.h:
17459 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17460 Add a GType to GstIterator, update callsites and tests.
17462 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17464 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17465 give events a chance to be handled by event probes when the pad
17466 is not linked
17468 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17470 * gst/gstevent.c: (gst_event_type_get_name),
17471 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17472 * gst/gstevent.h:
17473 add string representations for event types
17475 2005-10-06 Wim Taymans <wim@fluendo.com>
17477 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17478 Don't use NULL pointers.
17480 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17482 * gst/gst_private.h:
17483 * gst/gstbus.c:
17484 * gst/gstelement.c:
17485 * gst/gstinfo.c:
17486 * gst/gstpluginfeature.c:
17487 widen the debug category in output to fit the biggest one we have
17488 add a bus category and use it
17489 play with the colors
17490 fix up some categories
17492 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17494 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17495 add push activation of sink ghost pads.
17496 Andye, please verify
17498 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17500 * gst/gstutils.c: (gst_element_link_pads):
17501 fix a bug in the case where neither element has a pad
17502 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17503 add a test for that case
17505 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17507 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17508 emit have-data before checking for peers. This allows
17509 for probe handlers to connect elements. This helps autopluggers.
17510 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17511 (gst_pad_suite):
17512 add six checks, linked/unlinked with no/true/false probe
17514 2005-10-04 Wim Taymans <wim@fluendo.com>
17516 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17517 (gst_fake_sink_event), (gst_fake_sink_preroll),
17518 (gst_fake_sink_render), (gst_fake_sink_change_state):
17519 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17520 (gst_fake_src_get_property), (gst_fake_src_create),
17521 (gst_fake_src_stop):
17522 * gst/elements/gstidentity.c: (gst_identity_stop):
17523 Protect last_message with lock.
17525 2005-10-04 Edward Hervey <edward@fluendo.com>
17527 * gst/gstformat.h:
17528 Added precision in the comments for GST_FORMAT_DEFAULT
17530 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
17532 * tools/gst-launch.c: (main):
17533 Don't try to run erroneous pipelines.
17535 2005-10-04 Julien MOUTTE <julien@moutte.net>
17537 * gst/gstbus.c: We don't need this header.
17539 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17541 * configure.ac:
17542 back to development
17544 === release 0.9.3 ===
17546 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
17548 * README:
17549 * configure.ac:
17550 Releasing 0.9.3, "Unregistered"
17552 2005-10-03 Andy Wingo <wingo@pobox.com>
17554 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17555 whereby calling a pad's activatepush() function can start a thread
17556 that starts to push or pull before the pad gets the FLUSHING flag
17557 unset. Hack around it by holding the stream lock until the flag is
17558 set. Need to replace this with a proper solution. Together with
17559 the ghost pad fixes, this fixes mp3 playing/tagreading.
17561 * docs/design/part-gstghostpad.txt: Add a note about activation of
17562 proxy pads outside of ghost pads.
17564 * gst/gstghostpad.c: Implement the ghost pad activation design.
17566 2005-10-02 Andy Wingo <wingo@pobox.com>
17568 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17569 It is volatile, after all.
17571 * docs/design/part-gstghostpad.txt: Flesh out activation with
17572 ghost pads.
17574 * gst/base/gstbasesrc.c (gst_base_src_init): Use
17575 GST_DEBUG_FUNCPTR.
17577 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
17579 * configure.ac:
17580 Fix (unused) AM_CONDITIONAL tests.
17582 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
17584 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17586 * gst/gstutils.c: (gst_pad_query_convert):
17587 Add assertion that makes sure src_val is >=0, just like
17588 gst_query_new_convert() has. (#315895)
17590 2005-09-30 Edward Hervey <edward@fluendo.com>
17592 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17593 Let's not iterate pads we're not interested in, it avoids getting
17594 sky-high refcounts on sinkpad.
17596 2005-09-30 Wim Taymans <wim@fluendo.com>
17598 * gst/gstelement.c: (gst_element_set_state),
17599 (gst_element_change_state):
17600 Small tweak, element in ASYNC remains ASYNC.
17602 2005-09-30 Wim Taymans <wim@fluendo.com>
17604 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17605 Only error is an error.
17607 * gst/gstbin.c: (gst_bin_change_state):
17608 Better debugging.
17610 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17611 Also call pad_block in pad alloc.
17613 * gst/gstutils.c: (gst_flow_get_name):
17614 Better debugging.
17616 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17618 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17619 (gst_base_src_get_range):
17620 Fix documentation typos. Add some more debug info.
17622 2005-09-29 David Schleef <ds@schleef.org>
17624 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17625 more end-user friendly.
17626 * tools/gst-inspect.c: (main): Check if command-line argument is
17627 a file and attempt to load that file as a plugin.
17629 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17631 * check/gst/gstbin.c:
17632 * check/states/sinks.c:
17633 fix tests for the new warning
17634 * check/gst/gstpipeline.c:
17635 add a test for pipeline and bus interaction
17636 * gst/gstelement.c:
17637 elements should be NULL if they get disposed; add a warning if not
17639 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17641 * gst/gstobject.c:
17642 for 2.6 refcounting, make debug log more correct by printing
17643 the actual refcounts at the time of swap (Wim)
17645 2005-09-29 Andy Wingo <wingo@pobox.com>
17647 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17648 removes signal watches previously added via
17649 gst_bus_add_signal_watch.
17650 (gst_bus_add_signal_watch): Don't return the source id, just store
17651 it on the bus if there wasn't an id already.
17653 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17654 add_signal_watch and remove_signal_watch.
17656 2005-09-29 Edward Hervey <edward@fluendo.com>
17658 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17659 Better if we actually iterate the list :)
17661 2005-09-29 Wim Taymans <wim@fluendo.com>
17663 * check/gst/gstbin.c: (GST_START_TEST):
17664 Change for new bus API.
17666 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17667 (send_messages), (GST_START_TEST), (gstbus_suite):
17668 Change for new bus signal API.
17670 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17671 (gst_bus_source_prepare), (gst_bus_source_check),
17672 (gst_bus_create_watch), (gst_bus_add_watch_full),
17673 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17674 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17675 * gst/gstbus.h:
17676 Remove support for multiple GSources operating on different
17677 message types as it is too complex and unneeded when using
17678 signals.
17679 Added support for receiving signals from the bus.
17681 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17683 * docs/libs/tmpl/gstdataprotocol.sgml:
17684 * docs/manual/advanced-dataaccess.xml:
17685 * gst/elements/gstcapsfilter.c:
17686 * gst/gstutils.c:
17687 rename filter-caps to caps property
17689 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17691 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17692 More robust fraction string parsing.
17694 * docs/pwg/appendix-porting.xml:
17695 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17697 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17699 * gst/gstcaps.c: (gst_caps_do_simplify):
17700 Thou shalt not free a structure and then continue using it
17701 in the next loop iteration.
17703 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17704 (gst_caps_suite):
17705 Add test case for caps simplification.
17707 2005-09-29 Wim Taymans <wim@fluendo.com>
17709 * check/gst/gstbin.c: (GST_START_TEST):
17710 Oops.
17712 2005-09-29 Wim Taymans <wim@fluendo.com>
17714 * check/gst/gstbin.c: (GST_START_TEST):
17715 Add bus to bin.
17717 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17718 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17719 (find_element), (gst_bin_sort_iterator_next),
17720 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17721 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17722 (gst_bin_change_state), (gst_bin_dispose):
17723 A bin does not have a bus, it gets the bus from the parent.
17725 * gst/gstelement.c: (gst_element_requires_clock),
17726 (gst_element_provides_clock), (gst_element_is_indexable),
17727 (gst_element_is_locked_state), (gst_element_change_state),
17728 (gst_element_set_bus_func):
17729 Small cleanups.
17731 * gst/gstpipeline.c: (gst_pipeline_class_init),
17732 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17733 The pipeline provides a bus.
17735 2005-09-28 Johan Dahlin <johan@gnome.org>
17737 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17738 gst_structure_get_enum instead of gst_structure_get_int
17740 * gst/gststructure.c (gst_structure_get_enum): Impl.
17742 * gst/gststructure.h (gst_structure_get_enum): Add
17744 * docs/gst/gstreamer-sections.txt: Ditto
17746 * gst/gstmessage.c (gst_message_new_state_changed): Use
17747 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17748 which does introspection.
17749 Reviewed by Christian Schaller
17751 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17753 * gst/gstinfo.c: (gst_debug_log_default):
17754 don't do dummy g_strdup()s
17755 * libs/gst/controller/gstcontroller.c:
17756 (on_object_controlled_property_changed),
17757 (gst_controlled_property_new), (gst_controller_new_valist),
17758 (gst_controller_new_list),
17759 (gst_controller_remove_properties_valist), (gst_controller_set),
17760 (gst_controller_get), (gst_controller_sync_values),
17761 (gst_controller_get_value_array), (_gst_controller_class_init),
17762 (gst_controller_get_type):
17763 * libs/gst/controller/gstcontroller.h:
17764 * libs/gst/controller/gstinterpolation.c:
17765 (gst_controlled_property_find_timed_value_node):
17766 convert // to /**/ comments
17768 2005-09-28 Wim Taymans <wim@fluendo.com>
17770 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17771 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17772 (gst_bus_sync_signal_handler):
17773 * gst/gstbus.h:
17774 Added async-message and sync-message signals to the bus.
17775 Added helper BusFunc to emit signals for all posted messages.
17777 * gst/gstmessage.c: (gst_message_type_get_name),
17778 (gst_message_type_to_quark), (gst_message_get_type):
17779 * gst/gstmessage.h:
17780 Register quarks for message names.
17782 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17784 * docs/libs/gstreamer-libs-sections.txt:
17785 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17786 (gst_controller_new_list):
17787 * libs/gst/controller/gstcontroller.h:
17788 added another constructor for language bindings
17790 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17792 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17793 add another check
17794 * gst/gstbus.c:
17795 add some doc
17796 * gst/gstinfo.c: (_gst_debug_init):
17797 slightly more readable color for refcount debugging
17799 2005-09-28 Wim Taymans <wim@fluendo.com>
17801 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17802 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17803 (find_element), (gst_bin_sort_iterator_next),
17804 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17805 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17806 (gst_bin_change_state), (gst_bin_dispose):
17807 Small doc fixes. get_clock -> provide_clock.
17809 * gst/gstelement.c: (gst_element_class_init),
17810 (gst_element_provides_clock), (gst_element_provide_clock),
17811 (gst_element_get_clock), (gst_element_commit_state),
17812 (gst_element_lost_state):
17813 * gst/gstelement.h:
17814 Make get/set_clock() symetric. Add provide_clock vmethod since
17815 that is actually what this function does.
17817 * gst/gstpipeline.c: (gst_pipeline_class_init),
17818 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17819 (gst_pipeline_get_clock):
17820 get_clock -> provide_clock.
17822 2005-09-28 Andy Wingo <wingo@pobox.com>
17824 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17825 lieu of real docs...
17827 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17829 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17831 * gst/elements/gstcapsfilter.c:
17832 * gst/elements/gstfakesink.c:
17833 * gst/elements/gstfakesrc.c:
17834 * gst/elements/gstfdsink.c:
17835 * gst/elements/gstfdsrc.c:
17836 * gst/elements/gstfilesink.c:
17837 * gst/elements/gstfilesrc.c:
17838 * gst/elements/gstidentity.c:
17839 * gst/elements/gsttee.c:
17840 * gst/elements/gsttypefindelement.c:
17841 Make element details static.
17843 2005-09-28 Wim Taymans <wim@fluendo.com>
17845 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17846 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17847 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17848 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17849 (gst_bin_change_state), (gst_bin_dispose):
17850 Some documentation updates.
17851 Clean up dispose handlers.
17853 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17854 * gst/gstpad.c: (gst_pad_dispose):
17855 Clean up dispose handler.
17857 * gst/gstpipeline.c: (gst_pipeline_change_state):
17858 Removed spurious UNLOCK.
17860 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17862 * docs/gst/gstreamer-sections.txt:
17863 * gst/base/gstbasesrc.h:
17864 * gst/gstelement.h:
17865 * gst/gstevent.h:
17866 * gst/gstobject.h:
17867 * gst/gstpad.h:
17868 * gst/gstpipeline.c:
17869 * gst/gstpipeline.h:
17870 * gst/gstutils.h:
17871 * gst/gstxml.h:
17872 added two new functions to the docs
17873 documents all undocumented GstXXXFlags
17874 completed some incomplete docs
17876 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17878 * gst/gstbin.c: (gst_bin_dispose):
17879 * gst/gstelement.c: (gst_element_dispose):
17880 remove now useless and leaky resurrection code in dispose
17881 * gst/base/gstbasesrc.c: (gst_base_src_init):
17882 * gst/gstelementfactory.c: (gst_element_factory_create):
17883 * gst/gstobject.c: (gst_object_set_parent):
17884 add some debugging
17886 2005-09-27 Wim Taymans <wim@fluendo.com>
17888 * docs/design/part-TODO.txt:
17889 Update TODO.
17891 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17892 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17893 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17894 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17895 (gst_bin_change_state):
17896 * gst/gstelement.h:
17897 Remove element variable, we keep element info in the iterator now.
17899 2005-09-27 Andy Wingo <wingo@pobox.com>
17901 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17902 values.
17904 2005-09-27 Wim Taymans <wim@fluendo.com>
17906 * check/gst/gstbin.c: (GST_START_TEST):
17907 Enable check that works now.
17909 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17910 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17911 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17912 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17913 (gst_bin_change_state):
17914 * gst/gstbin.h:
17915 Redid the state change algorithm using a topological sort algo.
17916 Handles all cases correctly.
17917 Exposed iterator for state change order.
17919 * gst/gstelement.h:
17920 Temp storage for state changes. Need to get rid of this soon.
17922 2005-09-27 Wim Taymans <wim@fluendo.com>
17924 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17925 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17926 (link_fold_func), (gst_pad_proxy_setcaps):
17927 Leak fixes, the fold functions need to unref the passed object and
17928 _get_parent_*() returns ref to parent.
17930 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17932 * check/gst/gstbuffer.c: (test_make_writable):
17933 Plug leak in test case and fix 'make check-valgrind'
17935 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17937 * gst/gstbuffer.c: (gst_subbuffer_init):
17938 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17939 works correctly in all circumstances (we could have just copied
17940 the parent buffer's readonly flag, but conceptually it seems
17941 cleaner to mark all subbuffers as read-only). (based on patch
17942 by Alessandro Decina, #314710).
17944 * check/gst/gstbuffer.c: (create_read_only_buffer),
17945 (test_make_writable), (test_subbuffer_make_writable),
17946 (gst_test_suite):
17947 Add some tests for gst_buffer_make_writable().
17949 2005-09-27 Wim Taymans <wim@fluendo.com>
17951 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17952 use gst_object_has_ancestor().
17954 * gst/gstobject.c: (gst_object_has_ancestor):
17955 * gst/gstobject.h:
17956 gst_object_has_ancestor() copied from gstbin.c as it is a
17957 useful function.
17959 * tests/instantiate/create.c: (create_all_elements):
17960 * tests/lat.c: (handoff_src), (handoff_sink):
17961 * tests/sched/runxml.c: (main):
17962 * tests/seeking/seeking1.c: (main):
17963 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17964 (main):
17965 Fix compilation of some tests.
17967 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17969 * gst/gsterror.h:
17970 Remove comment. GST_TYPE_G_ERROR is here to stay,
17971 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17972 (#316961, #300610).
17974 2005-09-26 Wim Taymans <wim@fluendo.com>
17976 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17977 Added check that shows error in state change order.
17979 2005-09-26 Wim Taymans <wim@fluendo.com>
17981 * gst/gstbin.c: (gst_bin_change_state):
17982 Make state change function use 3 queues again, we were
17983 adding elements in the wrong order.
17985 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17986 Some debug info,
17988 * gst/gstpad.c: (gst_pad_dispose):
17989 Added some debug info first.
17991 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17993 * docs/design/draft-push-pull.txt:
17994 * docs/design/part-events.txt:
17995 * docs/design/part-overview.txt:
17996 * docs/design/part-scheduling.txt:
17997 Replace all _pull_region() with _pull_range()
17999 2005-09-26 Andy Wingo <wingo@pobox.com>
18001 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18003 * check/gst-libs/controller.c: Update for controller api change.
18005 * configure.ac:
18006 * tests/Makefile.am:
18007 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18008 over by GLib bug 118439.
18010 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18011 routines to a function.
18013 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18015 * libs/gst/controller/gsthelper.c:
18016 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18017 (gst_object_sync_values): Renamed from sink_values. Ugh.
18019 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18021 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18022 Renamed from controller_key, as it is exported.
18024 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18026 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18028 * gst/Makefile.am:
18029 * gst/gst.h:
18030 * gst/gstpad.h:
18031 * gst/gstpadtemplate.h:
18032 * gst/gstquery.c:
18033 * gst/gstquery.h:
18034 * gst/gstqueryutils.c:
18035 * gst/gstqueryutils.h:
18036 remove queryutils headers after moving the two used functions
18037 to gstquery. also fixes build problem for gstsiddec
18039 2005-09-26 Michael Smith <msmith@fluendo.com>
18041 * tools/gst-launch.1.in:
18042 Correct documentation in manpage of debug syntax
18044 2005-09-26 Wim Taymans <wim@fluendo.com>
18046 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18047 (gst_base_src_is_seekable), (gst_base_src_change_state):
18048 Some more debugging info.
18050 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18052 * docs/gst/gstreamer-sections.txt:
18053 * gst/base/gstbasetransform.h:
18054 * gst/gstindex.h:
18055 added more docs
18057 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18059 * docs/gst/.cvsignore:
18060 * docs/gst/tmpl/.cvsignore:
18061 * docs/gst/tmpl/gstpipeline.sgml:
18062 * docs/gst/tmpl/gstplugin.sgml:
18063 * gst/gstpipeline.c:
18064 * gst/gstplugin.c:
18065 * gst/gstplugin.h:
18066 inlined the last two docs files
18067 removed the tmpl directory from cvs (no more conflicts here!)
18069 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18071 * docs/gst/gstreamer-sections.txt:
18072 * docs/gst/tmpl/.cvsignore:
18073 * docs/gst/tmpl/gstpad.sgml:
18074 * docs/gst/tmpl/gstpadtemplate.sgml:
18075 * gst/Makefile.am:
18076 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18077 (gst_pad_finalize), (gst_pad_set_pad_template):
18078 * gst/gstpad.h:
18079 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18080 (gst_pad_template_class_init), (gst_pad_template_init),
18081 (gst_pad_template_dispose), (name_is_valid),
18082 (gst_static_pad_template_get), (gst_pad_template_new),
18083 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18084 (gst_pad_template_pad_created):
18085 * gst/gstpadtemplate.h:
18086 inlined two more docs
18087 factored gstpadtemplate out of gstpad
18089 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18091 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18092 (test_children_state_change_order_semi_sink):
18093 Fix test case: we can't rely on a fixed state change order when
18094 going from READY => PAUSED because the sink might commit its
18095 new state first when the first buffer created by the source
18096 reaches the sink before the source has finished its change state.
18097 (Test case still fails at times, see #316856, comment 5 onwards)
18099 2005-09-24 Wim Taymans <wim@fluendo.com>
18101 * docs/design/part-events.txt:
18102 * docs/design/part-gstbus.txt:
18103 * docs/design/part-gstpipeline.txt:
18104 * docs/design/part-messages.txt:
18105 * docs/design/part-overview.txt:
18106 * docs/design/part-segments.txt:
18107 * gst/gstbin.c:
18108 * gst/gstbuffer.c:
18109 * gst/gstclock.c:
18110 * gst/gstelement.c:
18111 * gst/gstevent.c:
18112 * gst/gstfilter.c:
18113 * gst/gstiterator.c:
18114 Various documentation updates.
18116 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18118 * gst/gstclock.h:
18119 Well, that's embarassing. Luckily we weren't using
18120 GST_CLOCK_DIFF anywhere.
18122 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18124 * common/gtk-doc.mak:
18125 don't fail on building XML, FC4 slave shows a bunch of doc
18126 missing bits that I don't get
18127 * gst/gstpad.c:
18128 * gst/gstpipeline.c:
18129 * gst/gststructure.c:
18130 some doc updates
18132 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18134 * docs/design/part-gstbin.txt:
18135 * docs/design/part-gstbus.txt:
18136 * gst/gstbus.c:
18137 Add blurb about how the bus goes into flushing mode and
18138 drops all messages when its bin goes from READY into NULL
18139 state.
18141 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18143 * docs/gst/gstreamer-sections.txt:
18144 * gst/gststructure.c: (gst_structure_get_clock_time):
18145 * gst/gststructure.h:
18146 add a method to get a GstClockTime out of a structure
18148 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18150 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18151 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18152 Added test to check state change order in bins (can still be made
18153 to fail here under heavy disk load; bails out with 'Push on pad
18154 fakesink:sink0, but it was not activated in push mode').
18156 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18157 Fix state change order when there is only a semi sink (#316856)
18159 * gst/gstbus.c: (gst_bus_class_init):
18160 Use _class_peek_parent(), not _class_ref(); fix docs to say
18161 'default main context' instead of 'mainloop' where that is
18162 what's meant.
18164 * gst/gstelement.c: (gst_element_commit_state),
18165 (gst_element_set_state):
18166 Fix typos in debug messages
18168 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18170 * docs/README:
18171 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18172 * gst/gstpluginfeature.c:
18173 * gst/gstutils.c:
18174 various doc updates
18175 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18176 change an assert into an error until it gets fixed properly
18178 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18180 * docs/gst/gstreamer-sections.txt:
18181 * docs/gst/tmpl/.cvsignore:
18182 * docs/gst/tmpl/gstelement.sgml:
18183 * docs/gst/tmpl/gstinfo.sgml:
18184 * docs/gst/tmpl/gstobject.sgml:
18185 * gst/gstelement.c:
18186 * gst/gstelement.h:
18187 * gst/gstinfo.c:
18188 * gst/gstinfo.h:
18189 * gst/gstobject.c: (gst_object_class_init):
18190 * gst/gstobject.h:
18191 inlined 3 more biiiig doc files and added some missing docs on the fly
18193 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18195 * check/gst/.cvsignore:
18196 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18197 * gst/gstregistryxml.c: (load_plugin),
18198 (gst_registry_xml_save_plugin):
18199 put back source in registry. add checks for find_plugin.
18200 * testsuite/states/bin.c: (assert_state), (empty_bin),
18201 (test_adding_one_element), (main):
18202 * testsuite/states/locked.c: (main):
18203 some compile/run fixes
18205 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18207 * check/gst/gstvalue.c: (GST_START_TEST):
18208 fix leaks in the test itself
18210 2005-09-22 Wim Taymans <wim@fluendo.com>
18212 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18213 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18214 (gst_base_sink_query):
18215 Prepare for more accurate position reporting and query
18216 handling.
18218 * gst/gstelement.c: (gst_element_send_event),
18219 (gst_element_set_state):
18220 Add some comment.
18222 2005-09-22 Wim Taymans <wim@fluendo.com>
18224 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18225 (gst_query_parse_segment):
18226 * gst/gstquery.h:
18227 More documentation.
18228 Add segment query for future use.
18230 2005-09-22 Wim Taymans <wim@fluendo.com>
18232 * gst/gstbin.c: (gst_bin_add_func):
18233 Some more debug info.
18235 * gst/gstelement.c: (gst_element_send_event):
18236 Simplify send_event
18238 * gst/gstelement.h:
18239 Don't know how flags got broken.
18241 * gst/gstquery.h:
18242 Added new query.
18244 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18246 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18247 Add simplistic test suite for GST_TYPE_DATE serialisation and
18248 deserialisation.
18250 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18252 * docs/gst/gstreamer-sections.txt:
18253 * gst/gststructure.c: (gst_structure_set_valist),
18254 (gst_structure_get_date):
18255 * gst/gststructure.h:
18256 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18257 (gst_date_copy), (gst_value_compare_date),
18258 (gst_value_serialize_date), (gst_value_deserialize_date),
18259 (gst_value_transform_date_string),
18260 (gst_value_transform_string_date), (_gst_value_initialize):
18261 * gst/gstvalue.h:
18262 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18263 bunch of utility functions along with a hack that checks that
18264 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18265 is required. Part of the grand scheme in #170777.
18267 2005-09-22 Andy Wingo <wingo@pobox.com>
18269 * gst/gstconfig.h.in: Psych out gtk-doc.
18271 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18273 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18275 * tools/gst-inspect.c (print_element_list): Plug some
18276 inconsequential leaks.
18278 * gst/gstregistry.c (gst_registry_get_default): Doc.
18280 * check/gst/gstplugin.c:
18281 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18282 * gst/gstelementfactory.c (gst_element_factory_create):
18283 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18284 refcount changes.
18286 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18287 (gst_plugin_feature_load): Doc, don't eat refs.
18289 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18290 (gst_plugin_list_free): Doc.
18291 (gst_plugin_load_file): Doc updates.
18293 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18294 accessors returning refcounted objects, return a ref.
18296 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18297 accessor for caps. IDEMPOTENCE. Oh yes.
18299 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18301 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18303 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18304 (_gst_debug_register_funcptr):
18305 Add mutex to serialise access to the hash table with
18306 the function pointer => function name string mapping;
18307 make that hash table static scope (#316809).
18309 * gst/registries/.cvsignore:
18310 Remove left-over file.
18312 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18314 * docs/pwg/appendix-porting.xml:
18315 And something about newsegment events and caps-on-buffers to
18316 the porting guide (feel free to improve).
18318 2005-09-21 Andy Wingo <wingo@pobox.com>
18320 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18321 data and event probes on the same pad.
18322 (test_buffer_probe_once): Test that removing probes from within
18323 the probe functions works.
18325 2005-09-21 Andy Wingo <wingo@pobox.com>
18327 * check/gst/gstutils.c: New file.
18328 (test_buffer_probe_n_times): A simple buffer probe test. More to
18329 come, foolios.
18331 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18332 have-data::buffer, not have-data.
18333 (gst_pad_add_event_probe): Likewise for have-data::event.
18334 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18335 peer' isn't quite right yet though.
18336 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18337 (gst_pad_remove_data_probe): Change to take the guint handler_id
18338 as their arg, not the function+data, which is more glib-like.
18340 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18341 the signal emission to indicate if the data is a buffer or an
18342 event.
18343 (gst_pad_get_type): Initialize buffer and event quarks.
18344 (gst_pad_class_init): have-data is now a detailed signal, yes it
18345 is.
18347 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18349 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18350 * gst/gstutils.c: (gst_util_set_value_from_string),
18351 (gst_util_set_object_arg):
18352 Don't put functional code in g_return_if_fail() or
18353 g_return_val_if_fail() statements, otherwise things will
18354 break when G_DISABLE_CHECKS is defined during compilation.
18356 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18358 * docs/gst/tmpl/.cvsignore:
18359 * docs/gst/tmpl/gstvalue.sgml:
18360 * gst/gstvalue.c:
18361 * gst/gstvalue.h:
18362 inlied another one and added some obvious docs
18364 2005-09-21 Wim Taymans <wim@fluendo.com>
18366 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18367 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18368 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18369 (gst_fdsrc_get_property), (gst_fdsrc_create):
18370 * gst/elements/gstfdsrc.h:
18371 Properly implement fdsrc. Removed signal and timeout,
18372 better implemented somewhere else.
18374 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18376 * docs/gst/tmpl/.cvsignore:
18377 * docs/gst/tmpl/gstimplementsinterface.sgml:
18378 * gst/gstinterface.c:
18379 inlined more docs
18381 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18383 * docs/gst/gstreamer-sections.txt:
18384 * docs/gst/tmpl/.cvsignore:
18385 * docs/gst/tmpl/gstenumtypes.sgml:
18386 remove obsolete doc file
18388 2005-09-21 David Schleef <ds@schleef.org>
18390 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18391 little beer, fix a little leak.
18393 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18395 * docs/gst/gstreamer-docs.sgml:
18396 * docs/gst/gstreamer-sections.txt:
18397 * docs/gst/tmpl/.cvsignore:
18398 * gst/Makefile.am:
18399 * gst/gst.h:
18400 * gst/gstbin.c:
18401 * gst/gstelement.h:
18402 * gst/gstindex.c: (gst_index_class_init):
18403 * gst/gstindex.h:
18404 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18405 (gst_index_factory_class_init), (gst_index_factory_init),
18406 (gst_index_factory_finalize), (gst_index_factory_new),
18407 (gst_index_factory_destroy), (gst_index_factory_find),
18408 (gst_index_factory_create), (gst_index_factory_make):
18409 * gst/gstindexfactory.h:
18410 * gst/gstpluginfeature.c:
18411 * gst/gstpluginfeature.h:
18412 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18413 more docs inlined, splitted gstindex.{c,h}
18415 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18417 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18418 fix a leak
18420 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18422 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18423 Set sync to FALSE by default.
18425 2005-09-20 Wim Taymans <wim@fluendo.com>
18427 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18428 (gst_base_sink_init):
18429 Make sync property settable from subclass.
18431 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18432 (gst_fake_sink_change_state):
18433 Set sync to FALSE by default.
18435 2005-09-20 Wim Taymans <wim@fluendo.com>
18437 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18438 * tools/gst-launch.c: (main):
18439 The timeout handler should have lower priority than the source
18440 so we don't timeout before popping a message with 0 timeout.
18441 Dump error messages after failed state change.
18443 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18445 * tools/gst-inspect.c: (print_element_properties_info):
18446 Fix two typos.
18448 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18450 * check/gst/gstevent.c:
18451 * gst/elements/gstfakesink.c:
18452 * gst/elements/gstfakesink.h:
18453 remove the sync property from fakesink.
18454 has the side effect of setting sync TRUE
18455 for fakesink, which is a change. Anyone who knows how
18456 to fix this nicely in a GObject-y way, feel free.
18458 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18460 * docs/gst/gstreamer-docs.sgml:
18461 remove probe refsection
18463 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18465 * check/Makefile.am:
18466 disable valgrinding the controller test again
18467 * docs/gst/gstreamer-sections.txt:
18468 update for api-changes
18470 2005-09-20 Wim Taymans <wim@fluendo.com>
18472 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18473 (gst_base_sink_set_property), (gst_base_sink_get_property),
18474 (gst_base_sink_do_sync):
18475 * gst/base/gstbasesink.h:
18476 Added sync property to basesink to disable clock sync.
18478 2005-09-20 Andy Wingo <wingo@pobox.com>
18480 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18481 eating the caller's refcount.
18483 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18484 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18485 refcount.
18487 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18488 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18489 of GLib 2.8 public, so we can know which refcount to check in
18490 tests.
18492 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18493 (gst_object_init): Only set the gst refcount if we're going ahead
18494 with the refcount hack.
18496 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18498 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18499 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18500 more leaks plumbed, added more debug-logging
18501 * gst/gstmacros.h:
18502 whitespace fix
18504 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18506 * gst/gstmessage.c:
18507 remove include of gstmemchunk.h
18509 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18511 * gst/gstclock.c: (_gst_clock_id_free):
18512 Commit from the Political Party For More Atomic CVS Commits,
18513 so that people don't waste too much of their day fishing
18514 out obvious leaks out of massive commits.
18515 Oh, and fix a pretty damn obvious leak in the memchunk
18516 removal code.
18518 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18520 * check/Makefile.am:
18521 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18522 plug mem-leak, re-add to valgrindable tests
18524 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18526 * gst/gstplugin.h:
18527 unbreak the build for those who have chronic arthritis
18528 and typing "make check" is just too taxing on the hands
18530 2005-09-20 Andy Wingo <wingo@pobox.com>
18532 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18533 really want it out, you should fix plugins at the same time.
18535 2005-09-19 Stefan Kost <ensonic@users.sf.net>
18537 * configure.ac:
18538 * docs/gst/gstreamer-sections.txt:
18539 * gst/gstobject.c:
18540 added missing symbols to api docs
18541 disable ref-count hack if we have glib >= 2.8
18543 2005-09-19 David Schleef <ds@schleef.org>
18545 * docs/gst/Makefile.am: Ignore a few more internal headers
18546 * docs/gst/gstreamer-docs.sgml: Remove old sections
18547 * docs/gst/gstreamer-sections.txt: Remove old sections
18548 * docs/gst/tmpl/gstobject.sgml: update
18549 * docs/gst/tmpl/gstplugin.sgml: update
18550 * docs/gst/tmpl/gstpluginfeature.sgml: update
18551 * docs/random/ds/0.9-suggested-changes: update.
18552 * gst/Makefile.am: remove memchunk and trashstack, since they're
18553 not used.
18554 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18555 * gst/gst.h: don't include some headers
18556 * gst/gstchildproxy.c: add gstmarshal.h
18557 * gst/gstclock.c: Don't use memchunks
18558 * gst/gstminiobject.c: Add some docs
18559 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18560 * gst/gstobject.h: same
18561 * gst/gstplugin.c: include gstmacros.h
18562 * gst/gstplugin.h: don't include gstmacros.h, since it's private
18563 * gst/gstquery.c: don't use memchunks
18564 * gst/gstregistry.c: rename gst_registry_deinit()
18565 * gst/gstregistry.h: same
18567 2005-09-19 David Schleef <ds@schleef.org>
18569 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18570 * docs/libs/gstreamer-libs-sections.txt:
18571 * docs/libs/tmpl/gstgetbits.sgml:
18572 * docs/libs/tmpl/gstputbits.sgml:
18574 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
18576 * win32/gstenumtypes.c:
18577 * win32/gstenumtypes.h:
18578 Update.
18580 2005-09-19 Wim Taymans <wim@fluendo.com>
18582 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18583 Automatically PAUSE and RESUME a pipeline when a flushing seek
18584 is performed.
18586 2005-09-19 Andy Wingo <wingo@pobox.com>
18588 * gst/gstregistry.h: Spacing fixen.
18590 2005-09-19 Wim Taymans <wim@fluendo.com>
18592 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18593 Handle state change failure more correctly.
18595 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18597 * check/Makefile.am:
18598 * check/pipelines/cleanup.c: (run_pipeline):
18599 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18600 (GST_START_TEST):
18601 enable cleanup again after fixing the leak
18602 * docs/README:
18603 some more info on docs
18605 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18607 * check/Makefile.am:
18608 re-enable tests now that leaks are plugged
18609 * check/gst/gst.c:
18610 * check/gst/gstbin.c:
18611 * check/gst/gstpipeline.c:
18612 add some more tests while fixing leaks
18613 * common/check.mak:
18614 make sure binaries are uptodate when valgrinding/gdbing
18615 * gst/gst.c:
18616 * gst/gstelementfactory.c:
18617 remove a ref too many, and add a FIXME for when we get
18618 round to disposing of classes
18619 * gst/gstplugin.c:
18620 fix the refcounting when loading a plugin from a file and
18621 the code pretends that the pointer is the same even though
18622 of course it can change
18623 * gst/gstpluginfeature.c:
18624 unref plugins marked cached (a bit confusing as a name)
18625 as the docs state should be done
18626 various doc additions to explain refcounting
18627 * gst/gstregistry.c:
18628 * gst/gstregistryxml.c:
18629 debugging
18631 2005-09-19 Wim Taymans <wim@fluendo.com>
18633 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18634 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18635 (send_messages), (GST_START_TEST), (gstbus_suite):
18636 * check/gst/gstpipeline.c: (GST_START_TEST):
18637 * check/pipelines/cleanup.c: (run_pipeline):
18638 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18639 (GST_START_TEST):
18640 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18641 (gst_bus_source_check), (gst_bus_source_dispatch),
18642 (gst_bus_create_watch), (gst_bus_add_watch_full),
18643 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18644 * gst/gstbus.h:
18645 * tools/gst-launch.c: (event_loop):
18646 * tools/gst-md5sum.c: (event_loop):
18647 GstBusHandler -> GstBusFunc, return value has the same meaning as
18648 any other GSource (FALSE == remove source).
18649 _add_watch() and _add_watch_full() now take a MessageType mask to
18650 only handle specific types of messages.
18651 _poll() returns the GstMessage instead of the message type to avoid
18652 race conditions.
18653 _have_pending() takes a MessageType mask now too.
18654 Added testsuite for multiple bus watches.
18655 Fix testsuites and applications for new bus API.
18657 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18659 * check/Makefile.am:
18660 mark a bunch of the tests as to fix until we fix them
18662 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18664 * common/check.mak:
18665 use GST_PLUGIN settings for valgrind tests as well, so we're
18666 valgrinding the correct thing
18667 * gst/gst.c: (init_post):
18668 plug another leak
18670 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18672 * gst/gst.c: (init_post), (gst_deinit):
18673 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18674 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18675 * gst/gstindex.c: (gst_index_factory_class_init),
18676 (gst_index_factory_finalize):
18677 * gst/gstobject.c: (gst_object_dispose):
18678 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18679 (gst_plugin_load_file), (gst_plugin_desc_free):
18680 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18681 (gst_plugin_feature_finalize):
18682 * gst/gstregistry.c: (gst_registry_class_init),
18683 (gst_registry_init), (gst_registry_finalize),
18684 (gst_registry_get_default), (gst_registry_deinit):
18685 * gst/gstregistry.h:
18686 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18687 various cleanups and memleak plugging. make valgrind is happy now.
18689 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18691 * common/check.mak:
18692 add a check-valgrind target
18694 2005-09-18 David Schleef <ds@schleef.org>
18696 * tools/gst-inspect.c: Revert the GOption code.
18698 2005-09-17 David Schleef <ds@schleef.org>
18700 * check/Makefile.am: Fix environment variables.
18701 * check/gst/gstplugin.c: Fix for API changes.
18702 * tools/gst-inspect.c: Fix for API changes.
18703 * tools/gst-xmlinspect.c: Fix for API changes.
18704 * gst/gstelementfactory.c:
18705 * gst/gstplugin.c:
18706 * gst/gstplugin.h:
18707 * gst/gstpluginfeature.c:
18708 * gst/gstpluginfeature.h:
18709 * gst/gstregistry.c:
18710 * gst/gstregistry.h:
18711 * gst/gstregistryxml.c:
18712 * gst/gsttypefind.c:
18713 * gst/gsttypefindfactory.c:
18714 * gst/indexers/gstfileindex.c:
18715 * gst/indexers/gstmemindex.c:
18716 * gst/schedulers/Makefile.am:
18717 Change registry to keep track of both plugins and features,
18718 removing the feature tracking from plugins themselves.
18720 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18722 * check/Makefile.am:
18723 * tools/gst-register.1.in:
18724 remove gst-register
18726 2005-09-15 David Schleef <ds@schleef.org>
18728 * check/gst/gstplugin.c:
18729 * gst/gstelementfactory.c:
18730 * gst/gstplugin.c:
18731 * gst/gstpluginfeature.c:
18732 * gst/gstregistry.c:
18733 Getting tired of debugging. Disabled all the unreffing of
18734 plugins and features, which fixes the segfaults, but of
18735 course leaks like crazy. At least playbin works.
18737 2005-09-15 David Schleef <ds@schleef.org>
18739 * check/gst/gstplugin.c: (register_check_elements),
18740 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18741 More testing
18742 * gst/elements/gsttypefindelement.c: Fix refcounting.
18743 * gst/gsttypefind.c:
18744 * gst/gsttypefindfactory.c:
18745 * gst/gsttypefindfactory.h:
18747 2005-09-15 David Schleef <ds@schleef.org>
18749 * gst/gstindex.c: get refcounting correct.
18750 * gst/gstregistry.c: Handle the case where a feature/plugin is
18751 not found.
18753 2005-09-15 David Schleef <ds@schleef.org>
18755 * check/Makefile.am:
18756 * check/gst/gstplugin.c: Add test
18757 * gst/gstplugin.c: Fix problems noticed by testsuite
18758 * gst/gstplugin.h:
18759 * gst/gstregistry.c:
18760 * gst/gstregistry.h:
18762 2005-09-15 David Schleef <ds@schleef.org>
18764 * gst/gstplugin.c: Implement semi-decent recounting and locking
18765 in plugins and plugin features.
18766 * gst/gstplugin.h:
18767 * gst/gstpluginfeature.c:
18768 * gst/gstpluginfeature.h:
18769 * gst/gstregistry.c:
18771 2005-09-15 Michael Smith <msmith@fluendo.com>
18773 * gst/gstregistry.c: (gst_registry_get_feature_list):
18774 Implement this. Makes oggdemux work; decodebin still broken.
18776 2005-09-14 David Schleef <ds@schleef.org>
18778 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18779 #316076)
18780 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18781 * gst/check/Makefile.am:
18782 * libs/gst/controller/Makefile.am:
18783 * libs/gst/dataprotocol/Makefile.am:
18785 2005-09-14 David Schleef <ds@schleef.org>
18787 * configure.ac: Remove getbits library. Nothing uses it, and
18788 it should be in something like liboil if someone did want
18789 to use it.
18790 * libs/gst/Makefile.am:
18791 * libs/gst/getbits/Makefile.am:
18792 * libs/gst/getbits/gbtest.c:
18793 * libs/gst/getbits/getbits.c:
18794 * libs/gst/getbits/getbits.h:
18795 * libs/gst/getbits/gstgetbits_generic.c:
18796 * libs/gst/getbits/gstgetbits_i386.s:
18797 * libs/gst/getbits/gstgetbits_inl.h:
18799 2005-09-14 David Schleef <ds@schleef.org>
18801 * gst/Makefile.am: Dist glib-compat.h
18803 2005-09-14 David Schleef <ds@schleef.org>
18805 * configure.ac: Remove gst/registries, since it's no longer used.
18806 * gst/registries/Makefile.am:
18807 * gst/registries/gstlibxmlregistry.c:
18808 * gst/registries/gstlibxmlregistry.h:
18809 * gst/registries/gstxmlregistry.c:
18810 * gst/registries/gstxmlregistry.h:
18811 * gst/registries/registrytest.c:
18813 2005-09-14 David Schleef <ds@schleef.org>
18815 * gst/glib-compat.h:
18816 * gst/gstregistryxml.c:
18817 Convergence is near. Seriously.
18819 2005-09-14 David Schleef <ds@schleef.org>
18821 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18822 * gst/glib-compat.h:
18823 Attempt #4 to appease the buildbots.
18825 2005-09-14 David Schleef <ds@schleef.org>
18827 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18828 Attempt #3.
18830 2005-09-14 David Schleef <ds@schleef.org>
18832 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18833 Attempt #2.
18835 2005-09-14 David Schleef <ds@schleef.org>
18837 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18838 the new functions.
18840 2005-09-14 David Schleef <ds@schleef.org>
18842 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18843 * gst/glib-compat.h: Add some functions that are in newer versions
18844 of glib than we care to require.
18845 * gst/gstregistryxml.c: Use them.
18847 2005-09-14 David Schleef <ds@schleef.org>
18849 * po/POTFILES.in: remove gst-register.c
18851 2005-09-14 David Schleef <ds@schleef.org>
18853 * docs/gst/gstreamer-docs.sgml:
18854 * docs/gst/gstreamer-sections.txt:
18855 * docs/gst/gstreamer.types:
18856 * docs/gst/tmpl/gstelement.sgml:
18857 * docs/gst/tmpl/gstplugin.sgml:
18858 * docs/gst/tmpl/gstpluginfeature.sgml:
18859 Documentation updates for registry changes.
18861 2005-09-14 David Schleef <ds@schleef.org>
18863 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18864 because we don't require glib-2.8.
18866 2005-09-14 David Schleef <ds@schleef.org>
18868 * gst/gstregistryxml.c: Added. Essentially moved out of the
18869 registries directory.
18871 2005-09-14 David Schleef <ds@schleef.org>
18873 * check/Makefile.am:
18874 * check/generic/states.c:
18875 * gst/Makefile.am:
18876 * gst/gst.c:
18877 * gst/gst.h:
18878 * gst/gst_private.h:
18879 * gst/gstelementfactory.c:
18880 * gst/gstindex.c:
18881 * gst/gstinfo.c:
18882 * gst/gstplugin.c:
18883 * gst/gstplugin.h:
18884 * gst/gstpluginfeature.c:
18885 * gst/gstpluginfeature.h:
18886 * gst/gstregistry.c:
18887 * gst/gstregistry.h:
18888 * gst/gstregistrypool.c: remove
18889 * gst/gstregistrypool.h: remove
18890 * gst/gsttypefind.c:
18891 * gst/gsttypefindfactory.c:
18892 * gst/gsturi.c:
18893 * tools/Makefile.am:
18894 * tools/gst-compprep.c:
18895 * tools/gst-inspect.c:
18896 * tools/gst-register.c: remove
18897 * tools/gst-xmlinspect.c:
18898 Registry rewrite. Changes registry from being a file created
18899 by a tool into a simple cache file created automatically by
18900 libgstreamer. Removed gst-register (because it's no longer
18901 needed). Remove registry pools, because we only have one
18902 registry implementation (XML). Fix up other subsystems as
18903 necessary.
18905 2005-09-13 Michael Smith <msmith@fluendo.com>
18907 * gst/gstconfig.h.in:
18908 Don't Use windows linking attributes for MinGW. Fixes #316157
18910 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18912 * gst/gstutils.c: (set_state_async_thread_func),
18913 (gst_element_set_state_async):
18914 Apparently people think it's better if this function doesn't
18915 try to set the state to whatever state was asked for on the first
18916 call to this function for any object. Seriously.
18918 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18920 * check/gst/gstpipeline.c: (GST_START_TEST):
18921 * docs/gst/gstreamer-sections.txt:
18922 * gst/gstutils.c: (set_state_async_thread_func),
18923 (gst_element_set_state_async):
18924 * gst/gstutils.h:
18925 add a "gst_element_set_state_async" method that
18926 sets the state and starts a thread to make sure the state
18927 change completes as best as it can
18929 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18931 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18932 codify design+behaviour in testsuite after discussion
18934 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18936 * docs/gst/tmpl/gstelement.sgml:
18937 * docs/manual/appendix-quotes.xml:
18938 add a quote
18939 * gst/gstelement.c: (gst_element_set_state):
18940 add some debug
18942 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18944 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18945 (gst_base_transform_prepare_output_buf),
18946 (gst_base_transform_handle_buffer):
18947 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18948 (gst_capsfilter_prepare_buf):
18949 Remove the requirement for sub-classes to call the parent
18950 implementation of prepare_output_buffer with a wrapper function.
18952 * gst/gsttaglist.h:
18953 * gst/gsttagsetter.h:
18954 Fix #define wrapper
18956 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18958 * docs/gst/gstreamer-sections.txt:
18959 more doc cleanups
18961 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18963 * docs/gst/gstreamer-sections.txt:
18964 * docs/gst/tmpl/gstelement.sgml:
18965 * docs/gst/tmpl/gstplugin.sgml:
18966 * gst/gstminiobject.c:
18967 * gst/gstvalue.h:
18968 docs now stop throwing warnings
18970 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18972 * docs/gst/gstreamer-sections.txt:
18973 * docs/gst/gstreamer.types:
18974 * docs/gst/tmpl/gstpad.sgml:
18975 * docs/gst/tmpl/gsttypes.sgml:
18976 * gst/base/gstadapter.h:
18977 * gst/base/gstbasesink.h:
18978 * gst/base/gstbasesrc.h:
18979 * gst/gstbin.h:
18980 * gst/gstbuffer.h:
18981 * gst/gstbus.h:
18982 * gst/gstcaps.h:
18983 * gst/gstclock.h:
18984 * gst/gstelement.h:
18985 * gst/gstevent.h:
18986 * gst/gstmessage.h:
18987 * gst/gstpad.h:
18988 * gst/gststructure.c:
18989 * gst/registries/gstlibxmlregistry.h:
18990 various documentation fixes
18992 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18994 * docs/gst/gstreamer-sections.txt:
18995 * docs/gst/tmpl/gstvalue.sgml:
18996 rearrange gstvalue section
18997 * gst/gstutils.c: (gst_element_state_get_name):
18998 NONE -> VOID
18999 * gst/gstvalue.c: (_gst_value_initialize):
19000 * gst/gstvalue.h:
19001 doc updates
19003 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19005 * check/gst-libs/controller.c:
19006 Header include fix.
19007 * gst/base/gstbasetransform.c:
19008 (gst_base_transform_default_prepare_buf),
19009 (gst_base_transform_handle_buffer):
19010 * gst/base/gstbasetransform.h:
19011 Some more basetransform changes and fixes to enable sub-classes
19012 that modify buffer metadata only.
19013 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19014 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19015 (gst_capsfilter_prepare_buf):
19016 If the output pad has fixed allowed caps and input buffers
19017 don't have any, set the fixed caps on outgoing buffers.
19019 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19020 * check/elements/identity.c: (GST_START_TEST):
19021 Make the error a little clearer when the test fails because
19022 identity made a copy of the buffer.
19023 * docs/gst/gstreamer-sections.txt:
19024 New symbols in gstbasetransform.h
19025 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19026 (gst_base_transform_init), (gst_base_transform_transform_size),
19027 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19028 (gst_base_transform_default_prepare_buf),
19029 (gst_base_transform_get_unit_size),
19030 (gst_base_transform_buffer_alloc),
19031 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19032 (gst_base_transform_change_state),
19033 (gst_base_transform_set_passthrough),
19034 (gst_base_transform_set_in_place),
19035 (gst_base_transform_is_in_place):
19036 * gst/base/gstbasetransform.h:
19037 Change BaseTransform to separate in_place operate from same_caps
19038 output. in_place implies that the element can perform the transform
19039 on incoming buffers in-place, even if the caps on the output are
19040 different.
19041 Sub-class elements can now implement special buffer allocation
19042 methods for outgoing buffers if they wish to.
19043 Big documentation addition.
19044 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19045 * gst/elements/gstelements.c:
19046 Changes for basetransform modifications.
19047 * gst/elements/Makefile.am:
19048 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19049 Compile fix. Extra debug output.
19051 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19053 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19054 (gst_pad_suite):
19055 add tests for valid pad naming
19056 * gst/check/gstcheck.c: (gst_check_log_message_func),
19057 (gst_check_log_critical_func):
19058 add ASSERT_WARNING
19059 remove printing of code, it is fragile when the code contains
19060 % and the line number is enough info
19061 * gst/check/gstcheck.h:
19062 * gst/gstpad.c: (gst_pad_template_new):
19063 fix memleaks
19065 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19067 * configure.ac:
19068 say what CHECK flags we use
19069 * docs/libs/gstreamer-libs.types:
19070 * libs/gst/controller/Makefile.am:
19071 * libs/gst/controller/gst-controller.c:
19072 * libs/gst/controller/gst-controller.h:
19073 * libs/gst/controller/gst-helper.c:
19074 * libs/gst/controller/gst-interpolation.c:
19075 * libs/gst/controller/gstcontroller.c:
19076 * libs/gst/controller/gsthelper.c:
19077 * libs/gst/controller/gstinterpolation.c:
19078 * tools/gst-inspect.c: (print_plugin_info):
19079 we don't use dashes in header names
19081 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19083 * check/Makefile.am:
19084 * check/gst/.cvsignore:
19085 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19086 (gst_pipeline_suite), (main):
19087 adding a test for pipelines and state changes
19088 * gst/gstutils.c: (get_state_func):
19089 add some debugging
19090 * gstreamer.spec.in:
19091 fix up spec file
19093 2005-09-08 Michael Smith <msmith@fluendo.com>
19095 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19096 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19097 (gst_file_src_is_seekable), (gst_file_src_get_size),
19098 (gst_file_src_start):
19099 * gst/elements/gstfilesrc.h:
19100 Various fixes for unseekable, unmmapable, and non-normal files, so
19101 that fallback to read() rather than mmap() works.
19102 * gst/gstevent.c: (gst_event_new_newsegment):
19103 Allow newsegment events with segment_start == segment_end, as will
19104 correctly happen if you use filesrc on a zero-size file, for
19105 example.
19107 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19109 * gst/gstplugin.c: (gst_plugin_load_file):
19110 Call g_module_close when we don't load the module
19112 * gst/registries/gstlibxmlregistry.c:
19113 (gst_xml_registry_get_property):
19114 Port leak fix from 0.8
19116 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19118 * docs/gst/gstreamer-docs.sgml:
19119 * docs/gst/tmpl/.cvsignore:
19120 * docs/gst/tmpl/gsttrace.sgml:
19121 * docs/gst/tmpl/gsttrashstack.sgml:
19122 * gst/Makefile.am:
19123 * gst/gst.h:
19124 * gst/gstelement.h:
19125 * gst/gstevent.h:
19126 * gst/gstmessage.c:
19127 * gst/gstmessage.h:
19128 * gst/gsttag.c:
19129 * gst/gsttag.h:
19130 * gst/gsttaginterface.c:
19131 * gst/gsttaginterface.h:
19132 * gst/gsttaglist.c:
19133 * gst/gsttaglist.h:
19134 * gst/gsttagsetter.c:
19135 * gst/gsttagsetter.h:
19136 * gst/gsttrace.c:
19137 * gst/gsttrace.h:
19138 * gst/gsttrashstack.c:
19139 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19140 inlined docs for gsttrace, gsttrashstack
19142 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19144 * gst/Makefile.am:
19145 * gst/elements/gstbufferstore.h:
19146 * gst/elements/gsttypefindelement.c:
19147 * gst/elements/gsttypefindelement.h:
19148 * gst/gst.h:
19149 * gst/gsttypefind.c:
19150 * gst/gsttypefind.h:
19151 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19152 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19153 (gst_type_find_factory_dispose),
19154 (gst_type_find_factory_unload_thyself),
19155 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19156 (gst_type_find_factory_get_caps),
19157 (gst_type_find_factory_get_extensions),
19158 (gst_type_find_factory_call_function):
19159 * gst/gsttypefindfactory.h:
19160 * gst/registries/gstlibxmlregistry.c:
19161 * gst/registries/gstxmlregistry.c:
19162 splitted gsttypefind into gsttypefind, gsttypefindfactory
19164 2005-09-07 Andy Wingo <wingo@pobox.com>
19166 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19167 condition whereby the pad's task function is entered before the
19168 pad_mode variable was set.
19170 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19172 * gst/gstpad.c: (gst_pad_alloc_buffer):
19173 Catch misbehaving pad_alloc functions that don't
19174 set up caps and do it for them.
19176 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19178 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19179 test for pipe!=NULL
19180 * docs/gst/tmpl/.cvsignore:
19181 * docs/gst/tmpl/gstmemchunk.sgml:
19182 * docs/gst/tmpl/gstparse.sgml:
19183 * docs/gst/tmpl/gsttaglist.sgml:
19184 * docs/gst/tmpl/gsttagsetter.sgml:
19185 * docs/gst/tmpl/gsttypefind.sgml:
19186 * docs/gst/tmpl/gsttypefindfactory.sgml:
19187 * gst/gstmemchunk.c:
19188 * gst/gstparse.c:
19189 * gst/gsttag.c:
19190 * gst/gsttaginterface.c:
19191 * gst/gsttypefind.c:
19192 * gst/gsttypefind.h:
19193 inlined more docs
19195 === release 0.9.2 ===
19197 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19199 * NEWS:
19200 * RELEASE:
19201 * configure.ac:
19202 releasing 0.9.2, "South"
19204 2005-09-05 Andy Wingo <wingo@pobox.com>
19206 * gst/registries/gstxmlregistry.h:
19207 * gst/registries/gstxmlregistry.c: Um... resurrect...
19209 * gst/registries/gstxmlregistry.h:
19210 * gst/registries/gstxmlregistry.c: and update to newer API.
19211 Incidentally they should be a bit faster now that they don't have
19212 to parse the caps.
19214 2005-09-05 Andy Wingo <wingo@pobox.com>
19216 * gst/registries/gstxmlregistry.h:
19217 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19218 replaced by the libxml registry a while back
19220 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19222 * docs/gst/tmpl/gstplugin.sgml:
19223 * gst/elements/gstelements.c:
19224 * gst/gst.c:
19225 * gst/gstplugin.c: (gst_plugin_register_func),
19226 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19227 (gst_plugin_get_source):
19228 * gst/gstplugin.h:
19229 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19230 (gst_xml_registry_save_plugin):
19231 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19232 (gst_xml_registry_save_plugin):
19233 * tools/gst-inspect.c: (print_plugin_info):
19234 add a "source" plugin description field, to represent the source
19235 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19236 will set it to PACKAGE, which is automake's idea of the name of
19237 the source project.
19239 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19241 * Makefile.am:
19242 * autogen.sh:
19243 * configure.ac:
19244 * docs/Makefile.am:
19245 * docs/faq/Makefile.am:
19246 * docs/gst/tmpl/gstelement.sgml:
19247 * docs/gst/tmpl/gsttypes.sgml:
19248 * docs/htmlinstall.mak:
19249 * docs/manual/Makefile.am:
19250 * docs/pwg/Makefile.am:
19251 reorganize doc build a little
19252 split out docbook and gtk-doc stuff
19253 have two separate --enable's and enable them through autogen
19254 but disable by default in configure (to be similar to other
19255 projects)
19256 * gstreamer.spec.in:
19257 clean up docs install
19258 * po/af.po:
19259 * po/az.po:
19260 * po/ca.po:
19261 * po/cs.po:
19262 * po/de.po:
19263 * po/en_GB.po:
19264 * po/fr.po:
19265 * po/it.po:
19266 * po/nb.po:
19267 * po/nl.po:
19268 * po/ru.po:
19269 * po/sq.po:
19270 * po/sr.po:
19271 * po/sv.po:
19272 * po/tr.po:
19273 * po/uk.po:
19274 * po/vi.po:
19275 translation updates
19277 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19279 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19280 Add comment.
19282 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19283 (gst_fake_sink_change_state):
19284 Make state change function thread-safe.
19286 * gst/gstpad.c: (gst_pad_alloc_buffer):
19287 Set offset on generic buffer allocated by fallback.
19289 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19291 * docs/gst/gstreamer-sections.txt:
19292 * docs/gst/tmpl/gstelement.sgml:
19293 * gst/gstpad.c:
19294 * libs/gst/controller/gst-controller.c:
19295 (gst_controlled_property_set_interpolation_mode),
19296 (gst_controlled_property_new),
19297 (gst_controller_find_controlled_property):
19298 run the wingo-magic script against the docs
19300 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19302 * docs/gst/gstreamer-docs.sgml:
19303 * docs/gst/gstreamer-sections.txt:
19304 * docs/gst/tmpl/.cvsignore:
19305 * docs/gst/tmpl/gstelementdetails.sgml:
19306 * docs/gst/tmpl/gstelementfactory.sgml:
19307 * gst/gst.c:
19308 * gst/gstbus.c:
19309 * gst/gstelementfactory.c:
19310 * gst/gstelementfactory.h:
19311 merged elementdetails docs into elementfactory docs
19312 inlined both
19314 2005-09-02 Andy Wingo <wingo@pobox.com>
19316 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19317 consider this enum an enum and not a flags.
19319 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19321 * docs/gst/gstreamer-docs.sgml:
19322 * docs/gst/tmpl/.cvsignore:
19323 * docs/gst/tmpl/gstghostpad.sgml:
19324 * docs/gst/tmpl/gstiterator.sgml:
19325 * docs/gst/tmpl/gstmacros.sgml:
19326 * docs/gst/tmpl/gstrealpad.sgml:
19327 * docs/gst/tmpl/gstregistry.sgml:
19328 * docs/gst/tmpl/gstregistrypool.sgml:
19329 * docs/gst/tmpl/gststructure.sgml:
19330 * docs/gst/tmpl/gstsystemclock.sgml:
19331 * docs/gst/tmpl/gsttrace.sgml:
19332 * gst/gstghostpad.c:
19333 * gst/gstmacros.h:
19334 * gst/gstmemchunk.c:
19335 * gst/gstmemchunk.h:
19336 * gst/gstqueue.c:
19337 * gst/gstregistry.c:
19338 * gst/gstregistrypool.c:
19339 * gst/gststructure.c:
19340 * gst/gstsystemclock.c:
19341 more docs inlined
19343 2005-09-02 Andy Wingo <wingo@pobox.com>
19345 * gst/gstelement.h (GstState): Renamed from GstElementState,
19346 changed to be a normal enum instead of flags.
19347 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19348 munged to be GST_STATE_CHANGE_*.
19349 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19350 work with the new state representation.
19351 (GstStateChange): New enumeration of possible state transitions.
19352 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19353 (GstElementClass::change_state): Pass the GstStateChange along as
19354 an argument. Helps language bindings, so they don't have to use
19355 tricky lock-needing macros like GST_STATE_CHANGE ().
19357 * scripts/update-states (file): New script. Run it on a file to
19358 update it for state naming and API changes. Updates files in
19359 place.
19361 * All files updated for the new API.
19363 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19365 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19366 * gst/gstutils.c: (gst_util_set_value_from_string),
19367 (gst_util_set_object_arg):
19368 fix a bunch of unchecked return values
19369 * tools/gst-complete.c: (main):
19370 * gstreamer.spec.in:
19371 clean up a little
19373 2005-09-01 Wim Taymans <wim@fluendo.com>
19375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19376 (gst_base_sink_event), (gst_base_sink_do_sync),
19377 (gst_base_sink_handle_event):
19378 * gst/base/gstbasesink.h:
19379 Handle newsegments more correctly.
19381 * gst/gstbus.c:
19382 Fix docs.
19384 * gst/gstevent.c: (gst_event_new_newsegment):
19385 A newsegment cannot have a start_time of -1
19387 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19389 * win32/gstenumtypes.c:
19390 * win32/gstenumtypes.h:
19391 Update
19393 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19395 * libs/gst/controller/gst-controller.c:
19396 (gst_controlled_property_set_interpolation_mode),
19397 (gst_controlled_property_new):
19398 fixed boolean again
19400 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19402 * docs/faq/gst-uninstalled:
19403 add -good
19404 * gst/gstevent.c:
19405 * gst/gstevent.h:
19406 remove wrong docs
19407 * gst/gstutils.c: (gst_element_link_filtered):
19408 * gst/gstutils.h:
19409 add gst_element_link_filtered
19411 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19413 * docs/gst/gstreamer-docs.sgml:
19414 * docs/gst/gstreamer-sections.txt:
19415 * docs/gst/tmpl/.cvsignore:
19416 * docs/gst/tmpl/gsterror.sgml:
19417 * docs/gst/tmpl/gstfilter.sgml:
19418 * docs/gst/tmpl/gsturihandler.sgml:
19419 * docs/gst/tmpl/gsturitype.sgml:
19420 * docs/gst/tmpl/gstutils.sgml:
19421 * docs/gst/tmpl/gstxml.sgml:
19422 * gst/gsterror.c:
19423 * gst/gsterror.h:
19424 * gst/gstfilter.c:
19425 * gst/gsturi.c:
19426 * gst/gsturitype.c:
19427 * gst/gstutils.c:
19428 * gst/gstxml.c:
19429 inlined more docs, fixed double id-ref
19431 2005-08-31 Wim Taymans <wim@fluendo.com>
19433 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19434 (gst_base_transform_handle_buffer):
19435 Passthrough elements don't need the caps as they don't care.
19437 2005-08-31 Wim Taymans <wim@fluendo.com>
19439 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19440 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19441 Don't leak refcounts on buffers.
19443 2005-08-31 Wim Taymans <wim@fluendo.com>
19445 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19446 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19447 (gst_base_transform_chain), (gst_base_transform_change_state):
19448 * gst/base/gstbasetransform.h:
19449 Handle the case where we are not negotiated more gracefully.
19451 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19453 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19454 (gst_file_src_map_region):
19455 Set READONLY flag on mmap'ed buffers, otherwise
19456 gst_buffer_make_writable() won't work properly (#314708).
19458 2005-08-31 Wim Taymans <wim@fluendo.com>
19460 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19461 passthrough elements can even do inplace on non writable
19462 buffers (as they don't touch them).
19464 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19466 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19467 (gst_test_mono_source_set_property),
19468 (gst_test_mono_source_class_init), (GST_START_TEST),
19469 (gst_controller_suite):
19470 more tests (hehe I have the most)
19471 * gst/gstbus.c:
19472 describe popping messages whenusing mulltiple sources
19473 * libs/gst/controller/gst-controller.c:
19474 (gst_controlled_property_set_interpolation_mode),
19475 (gst_controlled_property_new):
19476 * libs/gst/controller/gst-controller.h:
19477 * libs/gst/controller/gst-interpolation.c:
19478 implement boolean properties
19480 2005-08-31 Wim Taymans <wim@fluendo.com>
19482 * gst/gstminiobject.c: (gst_mini_object_ref):
19483 Cannot assert that the refcount has to be positive
19484 since a disposed object can be resurrected.
19486 2005-08-31 Wim Taymans <wim@fluendo.com>
19488 * gst/gstpad.c: (gst_pad_init):
19489 Revert change, need to first fix badly behaving
19490 apps.
19492 2005-08-30 Wim Taymans <wim@fluendo.com>
19494 * check/elements/fakesrc.c: (setup_fakesrc):
19495 * check/elements/identity.c: (setup_identity):
19496 Activate pads before using them.
19498 2005-08-30 Wim Taymans <wim@fluendo.com>
19500 * gst/base/gstadapter.c: (gst_adapter_flush):
19501 Flushing out 0 bytes is ok for this function.
19503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19504 no newsegment gives a warning and sets the start/stop to
19505 invalid.
19507 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19508 (gst_base_transform_set_passthrough):
19509 Some debug info.
19511 * gst/gstminiobject.c: (gst_mini_object_ref):
19512 Check refcount here too.
19514 * gst/gstpad.c: (gst_pad_init):
19515 Pads are initially flushing and refusing data.
19517 * gst/gstutils.c: (gst_element_link_pads_filtered):
19518 When adding a capsfilter element make sure it has the
19519 same state as the parent bin.
19521 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19523 * docs/gst/tmpl/.cvsignore:
19524 * docs/gst/tmpl/gstformat.sgml:
19525 * docs/gst/tmpl/gstversion.sgml:
19526 * gst/gstbus.h:
19527 * gst/gstformat.c:
19528 * gst/gstformat.h:
19529 * gst/gstversion.h.in:
19530 more docs and two more inlined
19532 2005-08-30 Wim Taymans <wim@fluendo.com>
19534 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19535 Don't sync to clock.
19537 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19539 * docs/gst/gstreamer-sections.txt:
19540 ultral33t func10ns deserve to appear in the docs actually
19541 * docs/gst/tmpl/.cvsignore:
19542 * docs/gst/tmpl/gstcompat.sgml:
19543 * docs/gst/tmpl/gstconfig.sgml:
19544 * gst/check/gstcheck.c:
19545 * gst/gstcompat.h:
19546 * gst/gstconfig.h.in:
19547 inlined more docs
19549 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19551 * docs/gst/tmpl/.cvsignore:
19552 * docs/gst/tmpl/gstquery.sgml:
19553 * docs/gst/tmpl/gstutils.sgml:
19554 * gst/gstquery.c:
19555 * gst/gstquery.h:
19556 inlined and extended docs
19558 2005-08-30 Stefan Kost <ensonic@users.sf.net>
19560 * check/gst-libs/controller.c: (GST_START_TEST),
19561 (gst_controller_suite):
19562 more tests
19563 * docs/gst/tmpl/gstutils.sgml:
19564 * docs/libs/gstreamer-libs-sections.txt:
19565 * docs/libs/tmpl/gstdataprotocol.sgml:
19566 include path fixes
19567 * examples/controller/audio-example.c: (main):
19568 controller example works now
19569 * gst/gstclock.h:
19570 doc fixes
19571 * tools/gst-inspect.c: (print_element_properties_info):
19572 show param spec flags
19574 2005-08-29 Andy Wingo <wingo@pobox.com>
19576 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19578 2005-08-28 Andy Wingo <wingo@pobox.com>
19580 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19581 as having two arguments instead of just one. Allows superclasses
19582 to access information on subclasses -- see the terrible for() loop
19583 in gtype.c:g_type_create_instance for the reason why. All callers
19584 changed.
19586 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19588 * docs/design/part-messages.txt:
19589 update info
19590 * docs/gst/tmpl/.cvsignore:
19591 * docs/gst/tmpl/gstcaps.sgml:
19592 * docs/gst/tmpl/gstclock.sgml:
19593 * gst/gstbus.c:
19594 * gst/gstcaps.c:
19595 * gst/gstcaps.h:
19596 * gst/gstclock.c:
19597 * gst/gstclock.h:
19598 * gst/gstmessage.c:
19599 added descriptions for bus and message
19600 inline caps and clock docs
19602 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19604 * gst/gstmessage.c:
19605 * gst/gstmessage.h:
19606 doc fixes
19608 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19610 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19611 fix div-by-zero
19613 2005-08-26 Andy Wingo <wingo@pobox.com>
19615 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19616 element_set_state's return val.
19617 (test_2_elements): Add test that's been disabled for months.
19619 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19620 can-activate-pull properties.
19622 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19623 can-activate-pull properties. Implement is_seekable so fakesrc can
19624 operate in pull mode.
19626 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19627 properties.
19628 (gst_base_sink_activate, gst_base_sink_activate_pull)
19629 (gst_base_sink_activate_push): Make activation mode choosing work.
19630 Cleanups.
19631 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19632 is right. Make pull mode work. Post an eos before pausing in pull
19633 mode.
19634 (gst_base_sink_change_state): Pay attention to the core's
19635 change_state() return val.
19637 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19638 has-getrange properties. Cleanups.
19640 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19641 has_getrange and replace with can_activate_pull and
19642 can_activate_push.
19644 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19645 locking comments. Remove has_loop, has_chain and replace with
19646 can_activate_pull and can_activate_push.
19648 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19650 * configure.ac:
19651 * examples/Makefile.am:
19652 * examples/metadata/Makefile.am:
19653 * examples/metadata/read-metadata.c: (message_loop),
19654 (have_pad_handler), (make_pipeline), (print_tag), (main):
19655 Add metadata reading example that loops over a list of filenames,
19656 dumping any tags found.
19658 * gst/gstbus.c: (gst_bus_dispose):
19659 * gst/gstelement.c: (gst_element_dispose):
19660 Release a few potentially-held references in dispose.
19662 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19664 * docs/gst/tmpl/gstminiobject.sgml:
19665 do *not* add tmpl/*.sgml files to CVS!
19667 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19669 * libs/gst/bytestream/.cvsignore:
19670 * libs/gst/bytestream/Makefile.am:
19671 * libs/gst/bytestream/adapter.c:
19672 * libs/gst/bytestream/adapter.h:
19673 * libs/gst/bytestream/bytestream.c:
19674 * libs/gst/bytestream/bytestream.h:
19675 * libs/gst/bytestream/filepad.c:
19676 * libs/gst/bytestream/filepad.h:
19677 removing obsolete files
19679 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19681 * docs/gst/gstreamer-docs.sgml:
19682 * docs/libs/gstreamer-libs-docs.sgml:
19683 disabed additional index entries again, as this makes docs-gen just
19684 slow and they aren't useful yet
19685 * docs/libs/gstreamer-libs-sections.txt:
19686 little -section.txt cleanup for libs
19688 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19690 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19691 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19692 fix up some debugging
19693 (gst_base_transform_get_unit_size),
19694 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19695 (gst_base_transform_handle_buffer):
19696 * gst/base/gstbasetransform.h:
19697 handle and store timed NEWSEGMENT events so that subclasses that
19698 calculate time by counting samples have a segment_start time they
19699 need to add to their timestamps - see audioresample
19701 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19703 * gst/gstbin.h:
19704 removed ';' from the end of macro defs
19705 * docs/gst/gstreamer-docs.sgml:
19706 * docs/gst/gstreamer-sections.txt:
19707 * docs/gst/tmpl/.cvsignore:
19708 * gst/gstbus.h:
19709 * gst/gstelement.c: (gst_element_class_init),
19710 (gst_element_set_state), (activate_pads),
19711 (gst_element_save_thyself):
19712 * gst/gstevent.c: (gst_event_new_newsegment):
19713 * gst/gstevent.h:
19714 * gst/gstiterator.c:
19715 * gst/gstiterator.h:
19716 * gst/gstpad.c:
19717 * gst/gstprobe.h:
19718 * gst/gstutils.c: (gst_pad_query_convert):
19719 * gst/gstutils.h:
19720 fixed parameter name mismatches between source, header and docs
19721 added some more docs, resolved the last batch of unused elements in
19722 docs (now someone needs to doc them)
19724 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19726 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19727 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19728 don't walk through the plugins backwards. Where is all this
19729 reversed logic coming from ?
19731 2005-08-25 Wim Taymans <wim@fluendo.com>
19733 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19734 (gst_base_transform_transform_size),
19735 (gst_base_transform_configure_caps),
19736 (gst_base_transform_get_unit_size),
19737 (gst_base_transform_buffer_alloc),
19738 (gst_base_transform_change_state):
19739 * gst/base/gstbasetransform.h:
19740 Cache caps unit_size.
19741 Make sure we cannot negotiate up and downstream at the
19742 same time.
19744 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19746 * gst/gst.c: (init_pre), (init_post):
19747 register the installed plugin path after the env var
19748 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19749 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19750 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19751 directories, so the tests can prefer uninstalled over installed
19753 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19755 * gst/base/gstbasetransform.h:
19756 comment
19757 * gst/gstpad.c:
19758 add to docs
19760 2005-08-25 Wim Taymans <wim@fluendo.com>
19762 * gst/gstbin.c: (bin_bus_handler):
19763 Be a bit more conservative about the posted message.
19765 * gst/gstbus.c: (gst_bus_post):
19766 Some cleanups, warn wrong return values.
19768 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19770 * check/gst/gstbin.c: (GST_START_TEST):
19771 * gst/gstbin.c: (bin_bus_handler):
19772 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19773 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19774 (gst_message_new_warning), (gst_message_new_tag),
19775 (gst_message_new_state_changed), (gst_message_new_segment_start),
19776 (gst_message_new_segment_done), (gst_message_new_custom):
19777 * gst/gstmessage.h:
19778 * tools/gst-launch.c: (event_loop):
19779 * tools/gst-md5sum.c: (event_loop):
19780 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19782 2005-08-25 Wim Taymans <wim@fluendo.com>
19784 * check/generic/states.c: (GST_START_TEST):
19785 Cleanup can be done at the end.
19787 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19788 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19789 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19790 Oh boy.. Thanks for finding this, Thomas.
19792 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19794 * docs/gst/gstreamer.types:
19795 added missing types
19797 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19799 * docs/gst/gstreamer-docs.sgml:
19800 * docs/gst/gstreamer-sections.txt:
19801 * docs/gst/tmpl/.cvsignore:
19802 * gst/gstbin.c:
19803 * gst/gstiterator.c:
19804 * gst/gstutils.c:
19805 * gst/registries/gstxmlregistry.h:
19806 added missing classes and symbols (123 more to go)
19807 removed removed symbols from section file
19808 fixed many doc-comments
19810 2005-08-24 Wim Taymans <wim@fluendo.com>
19812 * check/generic/states.c: (GST_START_TEST):
19813 Make sure all tasks are stopped.
19815 * check/gst/gstbin.c: (GST_START_TEST):
19816 Unref after usage for proper valgrinding.
19818 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19819 Really wait for the task to stop before destroying the
19820 mutex.
19822 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19823 (gst_queue_src_activate_push):
19824 Small cleanups. Don't stop the task when we did not start
19825 it.
19827 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19828 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19829 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19830 (gst_task_join):
19831 * gst/gsttask.h:
19832 Protect the stream lock with the object lock.
19833 Disallow setting the stream lock when running.
19834 Add cleanup_all to wait for the threadpool to finish.
19835 Remove code to autoallocate a mutex if none was provided.
19836 Add _join() to wait for a task to stop.
19837 Protect the thread pool with a global lock.
19839 2005-08-24 Wim Taymans <wim@fluendo.com>
19841 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19842 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19843 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19844 * gst/base/gstbasesink.h:
19845 Handle newsegment events correctly.
19846 Drop buffers out of the segment range.
19848 2005-08-22 Andy Wingo <wingo@pobox.com>
19850 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19851 macro, implements an interface and gstimplementsinterface for a
19852 new type.
19854 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19856 * check/Makefile.am:
19857 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19858 add a test that does a bunch of state changes on elements
19859 needs some fixing for valgrind
19860 * check/states/sinks.c: (gst_object_suite):
19861 whitespace
19862 * gst/gstcaps.h:
19863 add prototype for gst_caps_is_equal_fixed
19864 * gst/gstplugin.c:
19865 * gst/gstregistrypool.c:
19866 doc fixes
19868 2005-08-24 Andy Wingo <wingo@pobox.com>
19870 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19871 convert a negative value. Doesn't make much sense. Mostly this is
19872 here to force callers to ensure -1 maps to -1.
19874 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19876 * docs/pwg/advanced-types.xml:
19877 Well done to Michael for catching my deliberate introduction
19878 of this spelling mistake.
19879 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19880 * gst/gstelement.h:
19881 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19882 unlink pads before removing the element from the bin.
19884 2005-08-24 Andy Wingo <wingo@pobox.com>
19886 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19887 the same thing as GST_DEBUG=*:4.
19888 (parse_debug_level, parse_debug_category): New helper parsers.
19890 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19892 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19893 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19894 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19895 (gst_base_transform_buffer_alloc),
19896 (gst_base_transform_handle_buffer):
19897 use gboolean return values and pointers to size so we can use the
19898 full GST_BUFFER_SIZE range (guint) for buffer sizes
19899 use GstPadDirection for transform_caps
19900 * gst/base/gstbasetransform.h:
19901 rename get_size to get_unit_size since that's what it is
19902 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19903 use GstPadDirection for transform_caps
19904 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19905 * gst/gstutils.h:
19906 cleanup and debugging
19908 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19910 * gst/gstelement.c: (gst_element_class_init),
19911 (gst_element_set_state), (activate_pads),
19912 (gst_element_save_thyself):
19913 * tools/gst-compprep.c: (main):
19914 * tools/gst-inspect.c: (print_element_properties_info):
19915 * tools/gst-xmlinspect.c: (print_element_properties):
19916 Fixed long standing mem-leak
19918 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19920 * check/gst/gstbin.c: (GST_START_TEST):
19921 * gst/gstbin.c: (bin_bus_handler):
19922 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19923 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19924 (gst_message_new_warning), (gst_message_new_tag),
19925 (gst_message_new_state_changed), (gst_message_new_segment_start),
19926 (gst_message_new_segment_done), (gst_message_new_custom):
19927 * gst/gstmessage.h:
19928 * tools/gst-launch.c: (event_loop):
19929 * tools/gst-md5sum.c: (event_loop):
19930 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19931 that applications can sensibly post custom messages with references
19932 to their own objects.
19934 2005-08-24 Andy Wingo <wingo@pobox.com>
19936 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19937 already.
19939 2005-08-24 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19942 (gst_base_transform_transform_caps),
19943 (gst_base_transform_transform_size),
19944 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19945 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19946 (gst_base_transform_handle_buffer):
19947 * gst/base/gstbasetransform.h:
19948 Many fixes and new features added by Thomas. Can now also do
19949 transforms with variable sizes and a custom fixate_caps function.
19951 2005-08-24 Wim Taymans <wim@fluendo.com>
19953 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19954 Some debugging.
19956 * gst/gstclock.h:
19957 Cast to ClockTime before formatting to time.
19959 * gst/gstutils.h:
19960 Cleanups.
19962 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19964 * check/gst-libs/controller.c: (GST_START_TEST),
19965 (gst_controller_suite):
19966 * docs/gst/tmpl/gstcaps.sgml:
19967 * docs/gst/tmpl/gstghostpad.sgml:
19968 * docs/gst/tmpl/gstquery.sgml:
19969 * docs/gst/tmpl/gstutils.sgml:
19970 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19971 (gst_object_sink_values), (gst_object_get_value_arrays),
19972 (gst_object_get_value_array):
19973 gracefully handle helper method calls to objects that are not beeing
19974 controlled, added test case for that
19976 2005-08-23 Wim Taymans <wim@fluendo.com>
19978 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19979 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19980 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19981 (gst_event_parse_qos), (gst_event_new_seek),
19982 (gst_event_parse_seek):
19983 * gst/gstevent.h:
19984 Some more debugging output and doc cleanups.
19986 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19987 Fix possible deadlock.
19989 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19991 * docs/gst/gstreamer-docs.sgml:
19992 * docs/gst/gstreamer-sections.txt:
19993 * docs/gst/gstreamer.types:
19994 * docs/gst/tmpl/.cvsignore:
19995 * gst/gstbin.h:
19996 * gst/gstbus.c:
19997 * gst/gstelement.c:
19998 * gst/gstevent.h:
19999 added 100 symbols from gstreamer-unused.txt to the right sections
20000 fixed more broken comments
20001 added GstBus to docs
20003 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20005 * docs/gst/gstreamer-sections.txt:
20006 * docs/gst/tmpl/.cvsignore:
20007 * docs/gst/tmpl/gstbin.sgml:
20008 * docs/gst/tmpl/gstbuffer.sgml:
20009 * gst/base/gstbasesrc.c:
20010 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20011 * gst/gstbuffer.c:
20012 * gst/gstbuffer.h:
20013 * tools/gst-launch.1.in:
20014 inlined more doc comments, added missing comments and fixed comments
20015 fixed typos
20017 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20019 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20020 some debugging
20021 * gst/gstcaps.h:
20022 whitespace fixes
20023 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20024 more debugging
20025 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20026 * gst/gststructure.h:
20027 add a fixate function for booleans; add a FIXME that these func
20028 names should probably be gst_structure_fixate_*
20030 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20032 * docs/gst/gstreamer-docs.sgml:
20033 * docs/gst/gstreamer-sections.txt:
20034 * gst/Makefile.am:
20035 * gst/gstbin.c: (gst_bin_get_type),
20036 (gst_bin_child_proxy_get_child_by_index),
20037 (gst_bin_child_proxy_get_children_count),
20038 (gst_bin_child_proxy_init):
20039 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20040 (gst_child_proxy_get_child_by_index),
20041 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20042 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20043 (gst_child_proxy_get), (gst_child_proxy_set_property),
20044 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20045 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20046 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20047 * gst/gstchildproxy.h:
20048 * gst/parse/grammar.y:
20049 * tools/gst-inspect.c: (print_interfaces),
20050 (print_element_properties_info), (print_element_info):
20051 ported gstchildproxy over from 0.8
20052 ported gst-inspect fixes and enhancements over from 0.8
20054 2005-08-22 Wim Taymans <wim@fluendo.com>
20056 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20057 (gst_base_transform_handle_buffer):
20058 Also call the transform function if we have ANY caps.
20060 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20061 Fix debug info.
20063 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20065 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20066 Don't pretend to handle seek events if the source is not seekable
20068 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20071 Remove extra parameter to debug output
20073 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20074 (gst_base_src_do_seek), (gst_base_src_activate_push):
20075 Fix seek event handling.
20077 * gst/gstpipeline.c: (gst_pipeline_change_state):
20078 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20079 (gst_queue_src_activate_push):
20080 Don't start the src pad task on FLUSH_STOP if the pad
20081 isn't linked.
20082 Debug changes.
20084 2005-08-22 Wim Taymans <wim@fluendo.com>
20086 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20087 Added check for gst_static_caps_get() refcounting.
20089 2005-08-22 Wim Taymans <wim@fluendo.com>
20091 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20092 Make _static_caps_get() refcounting sane.
20094 * gst/gstelement.c: (gst_element_set_state):
20095 Add g_return_val_if_fail() to protect against segfaults.
20097 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20099 * docs/gst/tmpl/gstevent.sgml:
20100 * gst/gstevent.c:
20101 * gst/gstevent.h:
20102 inlined remaining docs, added missing doc comments
20104 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20106 * check/gst/gstbin.c: (GST_START_TEST):
20107 since we don't know when preroll is done, use refcount range
20108 check for the sink
20109 * gst/check/gstcheck.h:
20110 add macro for checking refcount range
20112 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20114 * check/Makefile.am:
20115 clean up environment for when registry gets built versus
20116 when actual tests are run; valgrind seems to not report
20117 leaks if GST_PLUGIN_PATH is set to some specific values
20118 * check/gst/gstbin.c: (GST_START_TEST):
20119 add more refcounting checks; maybe this exposes a
20120 preroll lock bug ?
20121 * common/check.mak:
20122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20123 * gst/check/gstcheck.h:
20124 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20125 (gst_bin_change_state):
20126 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20127 add/fix debugging/whitespace
20129 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20131 * check/gst/gstevent.c: (event_probe), (test_event),
20132 (GST_START_TEST):
20133 Er, don't call gst_bin_watch_for_state_change you idiot.
20135 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20137 * check/Makefile.am:
20138 Use CHECK_CFLAGS and CHECK_LIBS
20139 * check/gst/gstevent.c: (event_probe), (test_event),
20140 (GST_START_TEST):
20141 Don't leak events.
20142 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20143 (gst_base_src_start), (gst_base_src_stop),
20144 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20145 (gst_base_src_change_state):
20146 Sprinkle gst_base_src_stop liberally around error paths to fix
20147 problems reusing a source after failed state changes.
20148 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20149 (helper_find_suggest), (gst_type_find_helper):
20150 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20151 * gst/gstevent.h:
20152 * docs/gst/tmpl/gstevent.sgml:
20153 Migrate part of the docs from the SGML file. Wait for ensonic to
20154 tell me how I did it wrong ;)
20155 * tools/gst-typefind.c: (main):
20156 Extra robustness to state changes between files.
20158 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20160 * check/Makefile.am:
20161 don't valgrind the controller test - it's leaking - Stefan, HELP
20162 * gst/check/gstcheck.c: (gst_check_message_error),
20163 (gst_check_chain_func), (gst_check_setup_element),
20164 (gst_check_teardown_element), (gst_check_setup_src_pad),
20165 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20166 (gst_check_teardown_sink_pad):
20167 * gst/check/gstcheck.h:
20168 add a bunch of methods to set up elements, and src and sink pads
20169 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20170 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20171 (GST_START_TEST):
20172 use them
20173 * gst/gstmessage.c:
20174 * gst/gsttag.h:
20175 whitespace/doc fixes
20177 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20179 * gst/gstelement.h:
20180 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20181 be handled by the application and not always printed as well
20183 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20185 * check/Makefile.am:
20186 set GST_TOOLS_DIR
20187 * gst/check/gstcheck.c: (gst_check_message_error):
20188 * gst/check/gstcheck.h:
20189 add a fail_unless_equals_int
20190 add fail_unless for error messages
20192 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20194 * check/Makefile.am:
20195 * check/gst.supp:
20196 * common/Makefile.am:
20197 * common/check.mak:
20198 * common/gst.supp:
20199 factor out some of the common stuff so we can use it
20201 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20203 * check/Makefile.am:
20204 * check/gst/gstiterator.c: (GST_START_TEST):
20205 * check/gst/gstsystemclock.c: (GST_START_TEST),
20206 (gst_systemclock_suite):
20207 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20208 * gst/gstclock.c:
20209 valgrind more tests
20211 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20213 * check/elements/.cvsignore:
20214 * check/elements/gstfakesrc.c:
20215 rename to name of element
20216 * check/elements/identity.c: (chain_func), (event_func),
20217 (setup_identity), (cleanup_identity), (GST_START_TEST),
20218 (identity_suite), (main):
20219 add a test for identity
20220 * check/Makefile.am:
20221 * pkgconfig/Makefile.am:
20222 * pkgconfig/gstreamer-check.pc.in:
20223 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20224 * gst/check:
20225 * gst/Makefile.am:
20226 * configure.ac:
20227 move the check stuff to a library that gets installed
20228 * check/gst-libs/controller.c: (GST_START_TEST):
20229 * check/gst-libs/gdp.c:
20230 * check/gst/gst.c: (GST_START_TEST):
20231 * check/gst/gstbin.c:
20232 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20233 * check/gst/gstbus.c:
20234 * check/gst/gstcaps.c: (GST_START_TEST):
20235 * check/gst/gstelement.c:
20236 * check/gst/gstghostpad.c:
20237 * check/gst/gstiterator.c:
20238 * check/gst/gstmessage.c:
20239 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20240 * check/gst/gstobject.c:
20241 * check/gst/gstpad.c: (GST_START_TEST):
20242 * check/gst/gststructure.c: (GST_START_TEST):
20243 * check/gst/gstsystemclock.c: (GST_START_TEST),
20244 (gst_systemclock_suite):
20245 * check/gst/gsttag.c: (gst_tag_suite):
20246 * check/gst/gstvalue.c:
20247 * check/pipelines/cleanup.c:
20248 * check/pipelines/simple_launch_lines.c:
20249 * check/states/sinks.c:
20250 change include statement
20252 * docs/gst/gstreamer-sections.txt:
20253 * docs/gst/tmpl/gstpad.sgml:
20254 document more pad stuff
20255 * gst/gstminiobject.c: (gst_mini_object_ref),
20256 (gst_mini_object_unref):
20257 debug refcounting
20259 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20261 * docs/gst/tmpl/gst.sgml:
20262 * gst/gst.c:
20263 eliminate another tmpl file, fix spelling in the long-description
20265 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20267 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20268 (test_event), (timediff), (gstevents_suite):
20269 Should fix build on 64-bit arch's
20271 2005-08-18 Andy Wingo <wingo@pobox.com>
20273 Make sure that when a pipeline goes to PLAYING, that data has
20274 actually hit the sink.
20276 * check/states/sinks.c (test_sink): A sink that doesn't get any
20277 data shouldn't return SUCCESS for going to either PLAYING or
20278 PAUSED. Test also the return values on the way back down.
20280 * gst/gstelement.c (gst_element_set_state): When changing the
20281 state of an element currently changing state asynchronously, go to
20282 lost-state after commiting the pending state. Makes future calls
20283 to get_state continue to return ASYNC.
20285 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20286 ASYNC when going to PLAYING if we still don't have preroll, as can
20287 happen with live sources.
20289 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20291 * docs/pwg/advanced-types.xml:
20292 Hack long paragraph into 2 chunks as a workaround for buggy
20293 jadetex version in sid and breezy that loops infinitely and
20294 eats all RAM.
20296 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20298 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20299 (test_event), (timediff), (gstevents_suite):
20300 Provide more error margin in clock measurements to allow for
20301 g_get_current_time inaccuracies.
20303 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20305 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20306 (test_event), (timediff), (gstevents_suite):
20307 Fix error message output so I might be able to tell why the
20308 test works here but fails on the build farm.
20310 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20312 * check/Makefile.am:
20313 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20314 (test_event), (timediff), (gstevents_suite), (main):
20315 I wrote a test!
20317 * docs/design/part-seeking.txt:
20318 Spelling correction
20320 * docs/gst/tmpl/gstevent.sgml:
20321 * docs/gst/tmpl/gstfakesrc.sgml:
20322 Docs updates.
20324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20325 Treat a buffer-without-newsegment the same as a receiving
20326 a newsegment not in time format, and disable syncing to the clock
20327 with a warning.
20329 * gst/gstbus.c: (gst_bus_set_sync_handler):
20330 Assert if anyone tries to replace the existing sync_handler for bus,
20331 as only the owner should be setting it.
20333 * gst/gstevent.h:
20334 Have a fixed set of custom event enums with events identified by
20335 their structure name (as in 0.8), rather than a free-for-all
20336 allowing collisions between enum values from different plugins.
20338 * gst/gstpad.c: (gst_pad_class_init):
20339 Docs change.
20341 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20342 Handle out-of-band downstream events from the sending thread.
20344 2005-08-17 Andy Wingo <wingo@pobox.com>
20346 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20347 play-timeout==0 to mean no timeout at all. In that case, don't
20348 bother with a get_state or a warning, just return directly, even
20349 if it's ASYNC.
20351 * gst/base/gstbasetransform.c: Debug changes.
20353 * gst/gstutils.h:
20354 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20355 ensure bins post state change messages. A bit of a hack but I can't
20356 think of a way to avoid it.
20358 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20360 2005-08-16 Andy Wingo <wingo@pobox.com>
20362 * gst/base/gstadapter.h:
20363 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20364 peek() but you own the data. Not terribly efficient atm.
20366 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20368 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20369 (gst_element_found_tags):
20370 * gst/gstutils.h:
20371 Add two utility functions for tag handling.
20373 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20375 * docs/manual/advanced-dataaccess.xml:
20376 * docs/manual/basics-helloworld.xml:
20377 Fix docs to use _bin_add() before _link(), which fixes the examples
20378 with recent core versions (reported by Madhan Raj M
20379 <raj_madan@rediffmail.com>, #313199).
20381 2005-08-16 Wim Taymans <wim@fluendo.com>
20383 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20384 Added subtract checks.
20386 * docs/design/part-events.txt:
20387 Some more docs about newsegment
20389 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20390 Fix FIXME
20392 * gst/gstcaps.c: (gst_caps_to_string):
20393 Add comments, cleanups.
20395 * gst/gstelement.c: (gst_element_save_thyself):
20396 cleanups
20398 * gst/gstvalue.c: (gst_value_collect_int_range),
20399 (gst_string_unwrap), (gst_value_union_int_int_range),
20400 (gst_value_union_int_range_int_range),
20401 (gst_value_intersect_int_int_range),
20402 (gst_value_intersect_int_range_int_range),
20403 (gst_value_intersect_double_double_range),
20404 (gst_value_intersect_double_range_double_range),
20405 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20406 (gst_value_subtract_int_range_int),
20407 (gst_value_subtract_double_range_double),
20408 (gst_value_subtract_double_range_double_range),
20409 (gst_value_subtract_from_list), (gst_value_subtract_list),
20410 (gst_value_can_compare), (gst_value_compare_fraction):
20411 Cleanups, add comments, remove unneeded asserts.
20413 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20415 * tools/gst-launch.c: (event_loop):
20416 don't convert NULL structures to strings
20418 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20420 * docs/gst/gstreamer-sections.txt:
20421 made some defines private
20422 * docs/gst/tmpl/gstconfig.sgml:
20423 * docs/gst/tmpl/gstqueue.sgml:
20424 * docs/gst/tmpl/gsttaglist.sgml:
20425 * docs/gst/tmpl/gsttypes.sgml:
20426 * docs/gst/tmpl/gstutils.sgml:
20427 * docs/pwg/appendix-porting.xml:
20428 * gst/base/gstbasesink.h:
20429 * gst/base/gstbasesrc.c:
20430 * gst/base/gstbasesrc.h:
20431 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20432 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20433 * gst/gstelement.c: (gst_element_class_init):
20434 * gst/gstpad.c: (gst_pad_class_init):
20435 * gst/gstqueue.c: (gst_queue_class_init):
20436 * gst/gstxml.c: (gst_xml_class_init):
20437 documented all undocumented signal inline
20438 * libs/gst/controller/gst-controller.h:
20439 added padding
20441 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20443 * docs/pwg/appendix-porting.xml:
20444 Document _set_link_function -> _set_setcaps_function.
20446 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20448 * check/Makefile.am:
20449 add a .check target for running the check
20450 * check/gst-libs/controller.c: (GST_START_TEST):
20451 cosmetic fixups
20452 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20453 complete checks for gstbuffer; would be nice if I could get the
20454 gcov stuff to work so I can see if I actually completed gstbuffer.c
20455 * check/gstcheck.h:
20456 add ASSERT_BUFFER_REFCOUNT
20458 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20460 * docs/gst/gstreamer-sections.txt:
20461 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20462 * gst/gsttag.h:
20463 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20464 spew out a warning if a tag that is already registered
20465 is re-registered, unless it is re-registered with a
20466 different type (#308438).
20468 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20470 * docs/pwg/appendix-porting.xml:
20471 * docs/pwg/building-state.xml:
20472 Add some paragraphs about state changes in 0.9 to the PWG
20473 and the porting guide, in particular about the new meaning
20474 of GST_STATE_PAUSED and how to write state change functions
20475 with concurrent access by multiple threads in mind.
20477 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20479 * docs/gst/gstreamer-docs.sgml:
20480 * docs/libs/gstreamer-libs-docs.sgml:
20481 added deprecation and since indexes
20482 * libs/gst/controller/gst-controller.c:
20483 * libs/gst/controller/gst-helper.c:
20484 added since tags
20487 2005-08-11 Wim Taymans <wim@fluendo.com>
20489 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20490 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20491 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20492 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20493 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20494 (gst_ghost_pad_set_target):
20495 Actually implement (re)setting the target on a ghostpad
20496 as described in the docs.
20498 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20500 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20501 Check whether GST_DEBUG_NO_COLOR environment variable is
20502 set and disable coloured debug output if that is the case.
20504 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20506 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20507 (gst_type_find_helper):
20508 The memory returned by gst_type_find_peek() needs to
20509 stay valid until the end of a typefind function, and
20510 typefind functions may keep results from different
20511 offsets around, so we can't just unref the buffer from
20512 the previous _peek(), but have to save all buffers
20513 returned by _peek() until typefinding is done and only
20514 free them then.
20516 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
20518 * docs/gst/gstreamer-sections.txt:
20519 * gst/gstutils.h:
20520 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20522 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20524 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20525 Fix a pretty good memleak.
20527 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20529 * gst/gstiterator.h:
20530 Fix wrong include and 'make distcheck'.
20532 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20534 * gst/gstbin.c: (bin_bus_handler):
20535 Use gst_element_post_message() instead.
20537 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
20539 * gst/base/gstadapter.h:
20540 * gst/base/gstbasesink.h:
20541 * gst/base/gstbasesrc.h:
20542 * gst/base/gstbasetransform.h:
20543 * gst/base/gstcollectpads.h:
20544 * gst/base/gstpushsrc.h:
20545 * gst/gstiterator.h:
20546 Add padding to our base elements' class and instance structs and
20547 to GstIterator (you will need to rebuild all plugins and apps!)
20549 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20551 * gst/gstbin.c: (bin_bus_handler):
20552 Make default message forwarding from child->bus to bin->bus
20553 threadsafe and make it not emit warnings if the parent has no bus.
20555 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20557 * gst/gstelement.c: (activate_pads):
20558 On paused->ready, set pad->caps to NULL, as is the documented
20559 behaviour in this state change. Fixes playback of series of
20560 media files when visualization is enabled in Totem.
20562 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20565 Allow NULL as filter-caps (which means "any").
20567 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20569 * docs/libs/gstreamer-libs-sections.txt:
20570 * libs/gst/controller/gst-controller.c:
20571 * libs/gst/controller/gst-controller.h:
20572 * libs/gst/controller/gst-helper.c:
20573 adding more entries to the docs and fix small doc-bugs
20575 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20577 * docs/gst/gstreamer-docs.sgml:
20578 * docs/gst/gstreamer-sections.txt:
20579 * docs/gst/gstreamer.types:
20580 * docs/gst/tmpl/gstbasesink.sgml:
20581 * docs/gst/tmpl/gstbasesrc.sgml:
20582 * docs/gst/tmpl/gstbasetransform.sgml:
20583 * docs/gst/tmpl/gstfakesrc.sgml:
20584 * gst/base/gstcollectpads.c:
20585 * gst/base/gstcollectpads.h:
20586 * libs/gst/controller/gst-controller.c:
20587 * libs/gst/controller/gst-controller.h:
20588 * libs/gst/controller/gst-helper.c:
20589 * libs/gst/controller/gst-interpolation.c:
20590 * libs/gst/controller/lib.c:
20591 added long/short desc for controller docs
20592 added collectpads base class docs
20593 added correct includes to base-class docs
20595 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20597 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20598 (gst_test_mono_source_set_property),
20599 (gst_test_mono_source_class_init), (GST_START_TEST),
20600 (gst_controller_suite):
20601 * docs/gst/gstreamer-docs.sgml:
20602 * docs/gst/gstreamer-sections.txt:
20603 * docs/gst/gstreamer.types:
20604 * docs/libs/gstreamer-libs-docs.sgml:
20605 * docs/libs/gstreamer-libs-sections.txt:
20606 * gst/base/gstadapter.c:
20607 * libs/gst/controller/gst-controller.c:
20608 (gst_controlled_property_new), (gst_controlled_property_free),
20609 (gst_controller_new_valist),
20610 (gst_controller_remove_properties_valist),
20611 (gst_controller_sink_values), (_gst_controller_finalize):
20612 * libs/gst/controller/gst-controller.h:
20613 * libs/gst/controller/gst-helper.c:
20614 (gst_object_control_properties), (gst_object_uncontrol_properties),
20615 (gst_object_get_controller), (gst_object_set_controller),
20616 (gst_object_sink_values), (gst_object_get_value_arrays),
20617 (gst_object_get_value_array):
20618 more tests (and fixes) for the controller
20619 more docs for the controller
20620 integrated companies docs for the adapter
20622 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20624 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20625 (GST_START_TEST), (fakesrc_suite):
20626 add tests for sizetype
20628 2005-08-04 Andy Wingo <wingo@pobox.com>
20630 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20631 fixes buffer_alloc proxying among other things.
20633 * gst/base/gstbasetransform.c:
20634 * gst/base/gstbasetransform.h:
20635 Revert patch to gstbasetransform from 7-28 removing
20636 delay_configure.
20638 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20639 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20640 Semantics changed, should return not the size of the output buffer
20641 but the byte size of a buffer with a given caps.
20643 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20644 debug object.
20645 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20646 out) are not the pad caps until setcaps finishes.
20647 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20648 not-in-place case as well. Deal with changing from in-place to
20649 not-in-place within calling pad_alloc_buffer. Still a bit
20650 concerned about the overhead here...
20652 2005-08-03 Andy Wingo <wingo@pobox.com>
20654 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20655 fixating is an error.
20657 2005-08-04 Edward Hervey <edward@fluendo.com>
20659 * gst/base/gstadapter.h:
20660 Added gst_adapter_get_type() to the header
20662 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20664 * check/Makefile.am:
20665 * check/gst-libs/controller.c:
20666 * libs/gst/controller/gst-controller.c:
20667 (gst_controller_new_valist):
20668 added check test suite for the controller
20669 * gst/base/gstpushsrc.c:
20670 fixed a doc typo
20672 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20674 * docs/gst/Makefile.am:
20675 * docs/gst/gstreamer-docs.sgml:
20676 * docs/gst/gstreamer-sections.txt:
20677 * docs/gst/gstreamer.types:
20678 * docs/gst/tmpl/gstfakesrc.sgml:
20679 * gst/base/README:
20680 * gst/base/gstbasesink.c:
20681 * gst/base/gstbasesink.h:
20682 * gst/base/gstbasesrc.c:
20683 * gst/base/gstbasesrc.h:
20684 * gst/base/gstbasetransform.c:
20685 * gst/base/gstpushsrc.c:
20686 * gst/base/gstpushsrc.h:
20687 add short/long description docs to base classes
20688 add pushsrc to the docs
20689 remove consolidated doc fragments
20691 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20693 * configure.ac:
20694 * docs/libs/Makefile.am:
20695 * docs/libs/gstreamer-libs-docs.sgml:
20696 * docs/libs/gstreamer-libs-sections.txt:
20697 * docs/libs/gstreamer-libs.types:
20698 * examples/Makefile.am:
20699 * examples/controller/.cvsignore:
20700 * examples/controller/Makefile.am:
20701 * examples/controller/audio-example.c: (main):
20702 * libs/gst/Makefile.am:
20703 * libs/gst/controller/.cvsignore:
20704 * libs/gst/controller/Makefile.am:
20705 * libs/gst/controller/gst-controller.c:
20706 (on_object_controlled_property_changed), (gst_timed_value_compare),
20707 (gst_timed_value_find),
20708 (gst_controlled_property_set_interpolation_mode),
20709 (gst_controlled_property_new), (gst_controlled_property_free),
20710 (gst_controller_find_controlled_property),
20711 (gst_controller_new_valist), (gst_controller_new),
20712 (gst_controller_remove_properties_valist),
20713 (gst_controller_remove_properties), (gst_controller_set),
20714 (gst_controller_set_from_list), (gst_controller_unset),
20715 (gst_controller_get), (gst_controller_get_all),
20716 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20717 (gst_controller_get_value_array),
20718 (gst_controller_set_interpolation_mode),
20719 (_gst_controller_finalize), (_gst_controller_init),
20720 (_gst_controller_class_init), (gst_controller_get_type):
20721 * libs/gst/controller/gst-controller.h:
20722 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20723 (g_object_uncontrol_properties), (g_object_get_controller),
20724 (g_object_set_controller), (g_object_sink_values),
20725 (g_object_get_value_arrays), (g_object_get_value_array):
20726 * libs/gst/controller/gst-interpolation.c:
20727 (gst_controlled_property_find_timed_value_node),
20728 (interpolate_none_get), (interpolate_trigger_get),
20729 (interpolate_trigger_get_value_array):
20730 * libs/gst/controller/lib.c: (gst_controller_init):
20731 * pkgconfig/Makefile.am:
20732 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20733 * pkgconfig/gstreamer-control.pc.in:
20734 * testsuite/Makefile.am:
20735 * testsuite/controller/.cvsignore:
20736 * testsuite/controller/Makefile.am:
20737 * testsuite/controller/interpolator.c: (main):
20738 added controller code
20739 removed dparam pc files
20741 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20742 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20743 (gst_collectpads_stop):
20744 Broadcast the condition when shutting down, to make sure we wake all
20745 threads up. Shut down pads on finalize, for safety.
20747 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20748 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20749 (gst_base_transform_handle_buffer),
20750 (gst_base_transform_change_state):
20751 Handle PAUSED->READY->PAUSED transition after negotiation
20752 occurred already.
20753 * gst/gstmessage.c: (gst_message_init):
20754 Extra piece of debug for new messages.
20756 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20758 * configure.ac:
20759 * docs/gst/tmpl/gstbasesrc.sgml:
20760 * docs/gst/tmpl/gstelement.sgml:
20761 * docs/gst/tmpl/gstevent.sgml:
20762 * docs/gst/tmpl/gstfakesrc.sgml:
20763 * docs/gst/tmpl/gstformat.sgml:
20764 * docs/gst/tmpl/gstghostpad.sgml:
20765 * docs/gst/tmpl/gstpad.sgml:
20766 * docs/gst/tmpl/gstquery.sgml:
20767 * docs/gst/tmpl/gststructure.sgml:
20768 * docs/gst/tmpl/gsttaglist.sgml:
20769 * docs/gst/tmpl/gstvalue.sgml:
20770 * docs/libs/gstreamer-libs-docs.sgml:
20771 * docs/libs/gstreamer-libs-sections.txt:
20772 * docs/libs/gstreamer-libs.types:
20773 * libs/gst/Makefile.am:
20774 * libs/gst/control/.cvsignore:
20775 * libs/gst/control/Makefile.am:
20776 * libs/gst/control/control.c:
20777 * libs/gst/control/control.h:
20778 * libs/gst/control/dparam.c:
20779 * libs/gst/control/dparam.h:
20780 * libs/gst/control/dparam_smooth.c:
20781 * libs/gst/control/dparam_smooth.h:
20782 * libs/gst/control/dparamcommon.h:
20783 * libs/gst/control/dparammanager.c:
20784 * libs/gst/control/dparammanager.h:
20785 * libs/gst/control/dplinearinterp.c:
20786 * libs/gst/control/dplinearinterp.h:
20787 * libs/gst/control/unitconvert.c:
20788 * libs/gst/control/unitconvert.h:
20789 * testsuite/Makefile.am:
20790 * testsuite/dynparams/.cvsignore:
20791 * testsuite/dynparams/Makefile.am:
20792 * testsuite/dynparams/dparamstest.c:
20793 * tools/Makefile.am:
20794 * tools/gst-inspect.c: (print_element_info), (main):
20795 * tools/gst-xmlinspect.c: (print_element_info), (main):
20796 deactivate and remove dparams (libgstcontrol)
20798 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20800 * gst/elements/gsttypefindelement.c:
20801 (gst_type_find_element_have_type), (gst_type_find_element_init),
20802 (stop_typefinding), (gst_type_find_element_handle_event),
20803 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20804 * gst/elements/gsttypefindelement.h:
20805 Set caps on all outgoing buffers, not just the first one.
20807 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20809 * gst/elements/gsttypefindelement.c:
20810 (gst_type_find_element_have_type),
20811 (gst_type_find_element_check_set_buffer_caps),
20812 (gst_type_find_element_init), (stop_typefinding),
20813 (gst_type_find_element_handle_event),
20814 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20815 * gst/elements/gsttypefindelement.h:
20816 Set caps on first outgoing buffer when we've found the type.
20818 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20820 * docs/gst/gstreamer-docs.sgml:
20821 * docs/gst/gstreamer-sections.txt:
20822 * docs/gst/tmpl/gstscheduler.sgml:
20823 * docs/gst/tmpl/gstschedulerfactory.sgml:
20824 Remove some old cruft from docs.
20826 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20828 * gst/gstpad.h:
20829 Fix inline docs for GstPadLinkReturn.
20831 * gst/gststructure.c: (gst_structure_has_name):
20832 * gst/gststructure.h:
20833 * docs/gst/gstreamer-sections.txt:
20834 New API: gst_structure_has_name().
20836 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20838 * configure.ac:
20839 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20840 and _LARGEFILE_SOURCE in config.h as required. Do not
20841 export those flags in our .pc files any longer (#142209).
20843 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20845 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20846 (gst_file_sink_do_seek), (gst_file_sink_event),
20847 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20848 Redo seek/tell calls with large file support in mind; add some
20849 debugging messages; add log message that tells us when large
20850 file support is unavailable or not enabled for some reason.
20852 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20853 Add log message that tells us when large file support
20854 is unavailable or not enabled for some reason.
20856 2005-07-29 Wim Taymans <wim@fluendo.com>
20858 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20859 Added test for removing an element with ghostpad from a bin.
20860 Fixed test as current implementation does the right thing.
20862 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20863 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20864 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20865 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20866 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20867 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20868 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20869 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20870 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20871 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20872 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20873 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20874 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20875 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20876 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20877 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20878 * gst/gstghostpad.h:
20879 Clean up ghostpads, remove properties for internal stuff.
20880 Make threadsafe.
20881 Fix refcounting.
20882 Prepare for switching targets, not all use cases work yet.
20884 2005-07-29 Wim Taymans <wim@fluendo.com>
20886 * docs/design/part-gstghostpad.txt:
20887 Small update.
20889 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20890 (gst_bin_remove_func):
20891 Unlinking pads while holding the bin LOCK is not a good
20892 idea.
20894 * gst/gstpad.c: (gst_pad_class_init),
20895 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20896 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20897 No prob setting template after creating the pad.
20899 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20901 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20902 (gst_bus_peek), (gst_bus_source_dispatch),
20903 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20904 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20905 gst_bus_poll may be called from other threads. Handle
20906 this nicely by not making poll_data disappear off the
20907 stack once gst_bus_poll returns.
20908 gst_bus_peek now increments the refcount on the returned
20909 message.
20911 2005-07-29 Wim Taymans <wim@fluendo.com>
20913 * docs/design/part-gstghostpad.txt:
20914 Overview of current GhostPad datastructures and use
20915 cases for changing the target.
20917 2005-07-28 Wim Taymans <wim@fluendo.com>
20919 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20920 Added checks for hierarchy consistency whan adding linked
20921 elements to bins.
20923 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20924 Added check to test element scheduling without bin/pipeline.
20926 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20927 First add elements to bin, then link.
20929 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20930 (gst_bin_remove_func):
20931 Unlink pads from elements added/removed from bin to maintain
20932 hierarchy consistency.
20934 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20936 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20937 (gst_base_transform_handle_buffer):
20938 * gst/base/gstbasetransform.h:
20939 Remove broken delay_configure (fixes renegotiation of software
20940 scaling pipelines); remove some leftover printf()s.
20942 2005-07-28 Wim Taymans <wim@fluendo.com>
20944 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20945 Added some more tests for wrong hierarchy
20947 * docs/design/part-overview.txt:
20948 Some updates.
20950 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20951 Cleanups.
20953 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20954 (gst_element_dispose):
20955 Some more cleanups.
20957 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20958 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20959 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20960 (gst_pad_set_caps), (gst_pad_send_event):
20961 Check for correct hierarchy when linking pads. Moving to
20962 strict requirement for ghostpads when linking elements in
20963 different bins.
20965 * gst/gstpad.h:
20966 Clean ups. Added WRONG_HIERARCHY return value.
20968 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20970 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20971 Better debug if no transform is possible.
20973 2005-07-27 Wim Taymans <wim@fluendo.com>
20975 * docs/random/wtay/network-transp:
20976 Some old doc I had.
20978 2005-07-27 Wim Taymans <wim@fluendo.com>
20980 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20981 (gst_dp_event_from_packet):
20982 Fix serialization of seek events.
20984 2005-07-27 Wim Taymans <wim@fluendo.com>
20986 * check/gst-libs/gdp.c: (GST_START_TEST):
20987 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20988 Fix compilation and fix event serialization.
20990 2005-07-27 Wim Taymans <wim@fluendo.com>
20992 * CHANGES-0.9:
20993 * docs/design/part-TODO.txt:
20994 * docs/design/part-events.txt:
20995 Some docs updates
20997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20998 (gst_base_sink_event), (gst_base_sink_do_sync),
20999 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21000 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21001 (gst_base_src_do_seek), (gst_base_src_event_handler),
21002 (gst_base_src_loop):
21003 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21004 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21005 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21006 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21007 (gst_base_transform_set_passthrough),
21008 (gst_base_transform_is_passthrough):
21009 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21010 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21011 Event updates.
21013 * gst/gstbuffer.h:
21014 Use faster casts.
21016 * gst/gstelement.c: (gst_element_seek):
21017 * gst/gstelement.h:
21018 Update gst_element_seek.
21020 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21021 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21022 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21023 (gst_event_new_eos), (gst_event_new_newsegment),
21024 (gst_event_parse_newsegment), (gst_event_new_tag),
21025 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21026 (gst_event_parse_qos), (gst_event_new_seek),
21027 (gst_event_parse_seek), (gst_event_new_navigation):
21028 * gst/gstevent.h:
21029 Make GstEvent use GstStructure. Add parsing code, make sure the
21030 API is sufficiently generic.
21031 Mark possible directions of events and serialization.
21033 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21034 (_gst_message_copy), (gst_message_new_segment_start),
21035 (gst_message_new_segment_done), (gst_message_new_custom),
21036 (gst_message_parse_segment_start),
21037 (gst_message_parse_segment_done):
21038 Small cleanups.
21040 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21041 (gst_pad_set_caps), (gst_pad_send_event):
21042 Update for new events.
21043 Catch events sent in wrong directions.
21045 * gst/gstqueue.c: (gst_queue_link_src),
21046 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21047 (gst_queue_handle_src_query):
21048 Event updates.
21050 * gst/gsttag.c:
21051 * gst/gsttag.h:
21052 Remove event code from this file.
21054 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21055 (gst_dp_event_from_packet):
21056 Event updates.
21058 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21060 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21061 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21062 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21063 Make debugging actually useful.
21065 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21067 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21068 (gst_pad_fixate_caps):
21069 Implement default fixation once again, so that gst_pad_fixate()
21070 actually does anything at all. This probably needs to be some
21071 sort of a last resort, and use profile-based fixation first, but
21072 since that doesn't exist yet, this is the best we have. Fixes
21073 visualization in Totem.
21075 2005-07-22 Wim Taymans <wim@fluendo.com>
21077 * docs/design/part-events.txt:
21078 Small update.
21080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21081 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21082 (gst_base_sink_activate_pull):
21083 Some more comments.
21085 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21086 (gst_fake_src_create):
21087 Fix handoff marshall.
21089 * gst/elements/gstidentity.c: (gst_identity_class_init),
21090 (gst_identity_transform_ip):
21091 We're a real inplace element.
21093 * gst/gstbus.c: (gst_bus_post):
21094 Added some comments.
21096 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21097 * tests/muxing/case1.c: (main):
21098 * tests/sched/dynamic-pipeline.c: (main):
21099 * tests/sched/interrupt1.c: (main):
21100 * tests/sched/interrupt2.c: (main):
21101 * tests/sched/interrupt3.c: (main):
21102 * tests/sched/runxml.c: (main):
21103 * tests/sched/sched-stress.c: (main):
21104 * tests/seeking/seeking1.c: (event_received), (main):
21105 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21106 (main):
21107 * tests/threadstate/threadstate3.c: (main):
21108 * tests/threadstate/threadstate4.c: (main):
21109 * tests/threadstate/threadstate5.c: (main):
21110 Fix the tests.
21112 2005-07-21 Wim Taymans <wim@fluendo.com>
21114 * docs/design/part-seeking.txt:
21115 Some small additions.
21117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21118 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21119 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21120 * gst/base/gstbasesink.h:
21121 discont values are gint64, handle the math correctly.
21123 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21124 Make the basesrc report error if the source pad is not linked.
21126 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21127 (gst_queue_loop), (gst_queue_handle_src_query),
21128 (gst_queue_src_activate_push):
21129 Make queue collect data even if the srcpad is not linked.
21130 Start pushing out data as soon as it is linked.
21132 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21133 * gst/gstutils.h:
21134 Added gst_flow_get_name() to ease error reporting.
21136 2005-07-20 Wim Taymans <wim@fluendo.com>
21138 * gst/gstmessage.c: (gst_message_new_segment_start),
21139 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21140 (gst_message_parse_segment_done):
21141 * gst/gstmessage.h:
21142 Added a bunch of messages for advanced seeking.
21144 * gst/parse/grammar.y:
21145 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21146 (gst_dpman_state_changed):
21147 Fix some new-pad -> pad-added signals
21149 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21151 * docs/manual/appendix-porting.xml:
21152 * docs/pwg/appendix-porting.xml:
21153 Document new-pad/state-change signal renames and the FixedList
21154 type rename.
21156 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21158 * docs/manual/advanced-autoplugging.xml:
21159 * docs/manual/basics-helloworld.xml:
21160 * docs/manual/basics-pads.xml:
21161 * docs/random/ds/0.9-suggested-changes:
21162 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21163 * gst/gstelement.h:
21164 * gst/gstevent.h:
21165 * gst/gstformat.h:
21166 * gst/gstquery.h:
21167 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21168 (gst_structure_parse_array), (gst_structure_parse_value):
21169 * gst/gstvalue.c: (gst_type_is_fixed),
21170 (gst_value_list_prepend_value), (gst_value_list_append_value),
21171 (gst_value_list_get_size), (gst_value_list_get_value),
21172 (gst_value_transform_array_string), (gst_value_serialize_array),
21173 (gst_value_deserialize_array), (gst_value_intersect_array),
21174 (gst_value_is_fixed), (_gst_value_initialize):
21175 * gst/gstvalue.h:
21176 GstElement::new-pad -> pad-added, GstElement::state-change ->
21177 state-changed, GstValueFixedList -> GstValueArray, add format and
21178 flags as their own arguments in gst_element_seek() (should improve
21179 "bindeability"), remove function generators since they don't work
21180 under a whole bunch of compilers (they were deprecated already
21181 anyway).
21183 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21185 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21186 (_gst_debug_register_funcptr):
21187 * gst/gstinfo.h:
21188 Fix illegal cast on some platforms (#309253).
21190 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21192 * gst/gstmessage.c: (gst_message_new_custom):
21193 * gst/gstmessage.h:
21194 Add _new_custom, make _new_application a macro to _new_custom.
21196 2005-07-20 Wim Taymans <wim@fluendo.com>
21198 * gst/base/gstbasesrc.c: (gst_base_src_init),
21199 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21200 * gst/base/gstbasesrc.h:
21201 Add a gboolean to decide when to push out a discont.
21203 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21204 (gst_queue_loop), (gst_queue_handle_src_query),
21205 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21206 (gst_queue_set_property), (gst_queue_get_property):
21207 Some cleanups.
21209 * tests/threadstate/threadstate1.c: (main):
21210 Make a thread test compile and run... very silly..
21213 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21215 * docs/manual/appendix-porting.xml:
21216 Mention removal of libgstgconf-0.9.la and existence of gconf
21217 elements.
21219 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21221 * docs/pwg/advanced-clock.xml:
21222 * docs/pwg/appendix-porting.xml:
21223 * docs/pwg/intro-preface.xml:
21224 * docs/pwg/other-base.xml:
21225 * docs/pwg/other-manager.xml:
21226 * docs/pwg/other-nton.xml:
21227 * docs/pwg/other-ntoone.xml:
21228 * docs/pwg/other-oneton.xml:
21229 * docs/pwg/pwg.xml:
21230 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21231 demuxer), remove n-to-n (was never written), fix some code examples
21232 and links and update the porting section to include all this.
21234 2005-07-19 Wim Taymans <wim@fluendo.com>
21236 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21237 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21238 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21239 (gst_queue_src_activate_push), (gst_queue_change_state),
21240 (gst_queue_get_property):
21241 * gst/gstqueue.h:
21242 Propagate GstFlowReturn more intelligently upstream and output
21243 an ERROR/EOS when streaming stopped due to fatal error.
21245 2005-07-19 Wim Taymans <wim@fluendo.com>
21247 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21248 Don't block forever for the state change to complete, the
21249 pipeline already did with a sensible timeout.
21251 2005-07-19 Wim Taymans <wim@fluendo.com>
21253 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21254 Make sure we never call the create function is we
21255 got deactivated.
21257 2005-07-19 Andy Wingo <wingo@pobox.com>
21259 * gst/parse/parse.l: Attempt to solve bug #172815.
21261 2005-07-19 Wim Taymans <wim@fluendo.com>
21263 * docs/design/part-clocks.txt:
21264 * docs/design/part-events.txt:
21265 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21266 Small docs updates.
21267 Only update the seeking values when we are not
21268 busy streaming.
21270 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21272 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21273 Oops, ignore the result of gst_pad_push_event here.
21275 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21277 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21278 (gst_base_src_activate_push):
21279 Send discont event from the loop function, as pads
21280 aren't activated yet in the activate_push handler.
21282 * gst/gstbin.c: (bin_bus_handler):
21283 Don't leak element name.
21285 2005-07-18 Andy Wingo <wingo@pobox.com>
21287 * configure.ac: Use AS_LIBTOOL_TAGS.
21289 2005-07-18 Wim Taymans <wim@fluendo.com>
21291 * docs/gst/gstreamer.types:
21292 Remove deleted types.
21294 2005-07-18 Wim Taymans <wim@fluendo.com>
21296 * check/elements/gstfakesrc.c: (GST_START_TEST):
21297 * configure.ac:
21298 * gst/Makefile.am:
21299 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21300 (init_popt_callback):
21301 * gst/gst.h:
21302 * gst/gst_private.h:
21303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21304 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21305 * gst/gstbin.h:
21306 * gst/gstbus.h:
21307 * gst/gstconfig.h.in:
21308 * gst/gstelement.c: (gst_element_class_init),
21309 (gst_element_set_base_time), (gst_element_get_base_time),
21310 (iterator_fold_with_resync), (gst_element_change_state),
21311 (gst_element_dispose), (gst_element_get_bus):
21312 * gst/gstelement.h:
21313 * gst/gstelementfactory.h:
21314 * gst/gsterror.c: (_gst_core_errors_init):
21315 * gst/gsterror.h:
21316 * gst/gstevent.h:
21317 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21318 * gst/gstindex.c:
21319 * gst/gstinfo.c: (_gst_debug_init):
21320 * gst/gstmessage.c: (_gst_message_copy):
21321 * gst/gstmessage.h:
21322 * gst/gstminiobject.h:
21323 * gst/gstobject.c:
21324 * gst/gstobject.h:
21325 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21326 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21327 * gst/gstpad.h:
21328 * gst/gstparse.h:
21329 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21330 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21331 (gst_pipeline_get_last_stream_time):
21332 * gst/gstpipeline.h:
21333 * gst/gstpluginfeature.h:
21334 * gst/gstquery.h:
21335 * gst/gstscheduler.c:
21336 * gst/gstscheduler.h:
21337 * gst/gststructure.h:
21338 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21339 (gst_task_finalize), (gst_task_func), (gst_task_create),
21340 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21341 (gst_task_stop), (gst_task_pause):
21342 * gst/gsttask.h:
21343 * gst/gsttypefind.h:
21344 * gst/gsttypes.h:
21345 * gst/registries/gstlibxmlregistry.c: (load_feature),
21346 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21347 * gst/registries/gstxmlregistry.c:
21348 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21349 * gst/schedulers/threadscheduler.c:
21350 * libs/gst/control/dparammanager.h:
21351 * tools/gst-inspect.c: (print_element_list),
21352 (print_plugin_features), (print_element_features):
21353 * tools/gst-xmlinspect.c: (print_element_list),
21354 (print_plugin_info), (main):
21355 Removed plugable schedulers.
21356 Removed Scheduler/Manager from elements.
21357 Removed gsttypes.h, rearranged includes.
21358 Removed dependency pad<->element, element<>pipeline, and
21359 various others, fix includes.
21360 implement gst_pad_get_parent() with gst_object_get_parent()
21361 Make GstTask sefcontained.
21362 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21363 timeout.
21364 Fix endless loop in iterator_fold_with_resync.
21367 2005-07-18 Wim Taymans <wim@fluendo.com>
21369 * gst/Makefile.am:
21370 * gst/gstarch.h:
21371 Remove old file.
21373 2005-07-18 Wim Taymans <wim@fluendo.com>
21375 * gst/Makefile.am:
21376 No more cothreads.h
21378 2005-07-18 Wim Taymans <wim@fluendo.com>
21380 * gst/cothreads.c:
21381 * gst/cothreads.h:
21382 Let's remove these.
21384 2005-07-18 Wim Taymans <wim@fluendo.com>
21386 * docs/design/part-dynamic.txt:
21387 * docs/design/part-events.txt:
21388 * docs/design/part-seeking.txt:
21389 Some more docs in the works.
21391 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21392 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21393 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21394 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21395 (gst_base_transform_handle_buffer),
21396 (gst_base_transform_sink_activate_push),
21397 (gst_base_transform_src_activate_pull),
21398 (gst_base_transform_set_passthrough),
21399 (gst_base_transform_is_passthrough):
21400 Refcounting fixes.
21402 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21403 Cleanups.
21405 * gst/gstevent.c: (gst_event_finalize):
21406 Set SRC to NULL.
21408 * gst/gstutils.c: (gst_element_unlink),
21409 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21410 (gst_pad_proxy_setcaps):
21411 * gst/gstutils.h:
21412 Add _get_parent_element() to get a pads parent as an element.
21414 2005-07-18 Wim Taymans <wim@fluendo.com>
21416 * check/gst/gstbin.c: (GST_START_TEST):
21417 Remove bogus test.
21419 2005-07-18 Wim Taymans <wim@fluendo.com>
21421 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21422 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21423 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21424 (gst_base_sink_event), (gst_base_sink_do_sync),
21425 (gst_base_sink_chain), (gst_base_sink_loop),
21426 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21427 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21428 Refcounting fixes.
21429 Fix logic for returning ASYNC when not prerolled.
21431 2005-07-18 Wim Taymans <wim@fluendo.com>
21433 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21434 Fix nasty refcount bug.
21436 2005-07-16 Philippe Khalaf <burger@speedy.org>
21438 * gst/elements/gstfdsrc.c:
21439 * gst/elements/gstfdsrc.h:
21440 * gst/elements/gstelements.c:
21441 * gst/elements/Makefile.am:
21442 Ported fdsrc to 0.9.
21444 2005-07-16 Wim Taymans <wim@fluendo.com>
21446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21447 (gst_base_sink_do_sync):
21448 Fix compile error.
21450 2005-07-16 Wim Taymans <wim@fluendo.com>
21452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21453 (gst_base_sink_event), (gst_base_sink_get_times),
21454 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21455 * gst/base/gstbasesink.h:
21456 Store and use discont values when syncing buffers as described
21457 in design docs.
21459 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21460 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21461 (gst_base_src_activate_push):
21462 Push discont event when starting.
21464 * gst/elements/gstidentity.c: (gst_identity_transform):
21465 Small cleanups.
21467 * gst/gstbin.c: (gst_bin_change_state):
21468 Small cleanups in base_time distribution.
21470 * gst/gstelement.c: (gst_element_set_base_time),
21471 (gst_element_get_base_time), (gst_element_change_state):
21472 * gst/gstelement.h:
21473 Added methods for the base_time of the element.
21474 Some MT fixes.
21476 * gst/gstpipeline.c: (gst_pipeline_send_event),
21477 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21478 (gst_pipeline_get_last_stream_time):
21479 * gst/gstpipeline.h:
21480 MT fixes.
21481 Handle seeking as described in design doc, remove stream_time
21482 hack.
21483 Cleanups clock and stream_time selection code. Added accessors
21484 for the stream_time.
21487 2005-07-16 Andy Wingo <wingo@pobox.com>
21489 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21490 (#305291).
21492 2005-07-16 Wim Taymans <wim@fluendo.com>
21494 * check/gst/gstbin.c: (GST_START_TEST):
21495 Make elements silent as the deep_notify refs the
21496 parent, which might make the test fail.
21498 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21499 Don't hold the lock for too long.
21501 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
21503 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21504 Don't unref the caps we passed to gst_caps_make_writable() after
21505 passing them. gst_caps_make_writable() will do that for us.
21507 2005-07-15 Andy Wingo <wingo@pobox.com>
21509 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21510 (#157311).
21512 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21513 own marshalling function for the handoff signal. Properly type the
21514 buffer as a buffer. Fixes some warnings. Should do a more general
21515 solution.
21516 (gst_identity_class_init): Plug into the right marshaller.
21518 2005-07-15 Wim Taymans <wim@fluendo.com>
21520 * docs/design/part-TODO.txt:
21521 * docs/design/part-clocks.txt:
21522 * docs/design/part-element-sink.txt:
21523 * docs/design/part-events.txt:
21524 * docs/design/part-gstpipeline.txt:
21525 Updated docs, mostly DISCONT related.
21527 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
21529 * docs/pwg/building-pads.xml:
21530 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21532 2005-07-15 Andy Wingo <wingo@pobox.com>
21534 * tools/gst-typefind.c: Update, add copyright block.
21536 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21537 Normalize and truncate caps before fixation.
21539 * gst/gstcaps.h:
21540 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21541 discards all but the first structure from its argument.
21543 2005-07-15 Wim Taymans <wim@fluendo.com>
21545 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21546 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21547 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21548 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21549 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21550 (gst_base_transform_chain), (gst_base_transform_change_state),
21551 (gst_base_transform_set_passthrough),
21552 (gst_base_transform_is_passthrough):
21553 * gst/base/gstbasetransform.h:
21554 Make passthrough work using the bufferpools.
21555 Changed API a bit, subclasses have to write into a buffer
21556 provided by the base class.
21557 More debug info in nego functions.
21559 * gst/elements/gstidentity.c: (gst_identity_init),
21560 (gst_identity_transform):
21561 Port to new base class.
21563 2005-07-15 Wim Taymans <wim@fluendo.com>
21565 * gst/gstmessage.c: (gst_message_new_state_changed):
21566 * tools/gst-launch.c: (event_loop), (main):
21567 Totally dump messages in -launch with the -m option.
21568 Fix message name for State messages,
21570 2005-07-14 Wim Taymans <wim@fluendo.com>
21572 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21573 Post error messages on errors.
21575 2005-07-14 Wim Taymans <wim@fluendo.com>
21577 * gst/gstcaps.c: (gst_caps_do_simplify):
21578 Remove debug info.
21580 * gst/gsterror.h:
21581 Define error for stream stopped.
21583 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21584 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21585 Do proper return values.
21587 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21588 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21589 (gst_pad_get_range):
21590 Better return values.
21592 * gst/gstpad.h:
21593 Reorganise return values, add macro to check for fatal errors.
21595 * gst/gstqueue.c: (gst_queue_chain):
21596 Return proper GstFlowReturn values,
21598 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21600 * docs/gst/gstreamer-sections.txt:
21601 * docs/gst/gstreamer.types:
21602 * docs/gst/tmpl/gst.sgml:
21603 * docs/gst/tmpl/gstbasesink.sgml:
21604 * docs/gst/tmpl/gstbasesrc.sgml:
21605 * docs/gst/tmpl/gstbasetransform.sgml:
21606 * docs/gst/tmpl/gstbin.sgml:
21607 * docs/gst/tmpl/gstbuffer.sgml:
21608 * docs/gst/tmpl/gstcaps.sgml:
21609 * docs/gst/tmpl/gstclock.sgml:
21610 * docs/gst/tmpl/gstcompat.sgml:
21611 * docs/gst/tmpl/gstconfig.sgml:
21612 * docs/gst/tmpl/gstelement.sgml:
21613 * docs/gst/tmpl/gstelementdetails.sgml:
21614 * docs/gst/tmpl/gstelementfactory.sgml:
21615 * docs/gst/tmpl/gstenumtypes.sgml:
21616 * docs/gst/tmpl/gsterror.sgml:
21617 * docs/gst/tmpl/gstevent.sgml:
21618 * docs/gst/tmpl/gstfakesink.sgml:
21619 * docs/gst/tmpl/gstfakesrc.sgml:
21620 * docs/gst/tmpl/gstfilesink.sgml:
21621 * docs/gst/tmpl/gstfilesrc.sgml:
21622 * docs/gst/tmpl/gstfilter.sgml:
21623 * docs/gst/tmpl/gstformat.sgml:
21624 * docs/gst/tmpl/gstghostpad.sgml:
21625 * docs/gst/tmpl/gstimplementsinterface.sgml:
21626 * docs/gst/tmpl/gstindex.sgml:
21627 * docs/gst/tmpl/gstindexfactory.sgml:
21628 * docs/gst/tmpl/gstinfo.sgml:
21629 * docs/gst/tmpl/gstiterator.sgml:
21630 * docs/gst/tmpl/gstmacros.sgml:
21631 * docs/gst/tmpl/gstmemchunk.sgml:
21632 * docs/gst/tmpl/gstminiobject.sgml:
21633 * docs/gst/tmpl/gstobject.sgml:
21634 * docs/gst/tmpl/gstpad.sgml:
21635 * docs/gst/tmpl/gstpadtemplate.sgml:
21636 * docs/gst/tmpl/gstparse.sgml:
21637 * docs/gst/tmpl/gstpipeline.sgml:
21638 * docs/gst/tmpl/gstplugin.sgml:
21639 * docs/gst/tmpl/gstpluginfeature.sgml:
21640 * docs/gst/tmpl/gstquery.sgml:
21641 * docs/gst/tmpl/gstqueue.sgml:
21642 * docs/gst/tmpl/gstregistry.sgml:
21643 * docs/gst/tmpl/gstregistrypool.sgml:
21644 * docs/gst/tmpl/gstscheduler.sgml:
21645 * docs/gst/tmpl/gstschedulerfactory.sgml:
21646 * docs/gst/tmpl/gststructure.sgml:
21647 * docs/gst/tmpl/gstsystemclock.sgml:
21648 * docs/gst/tmpl/gsttaglist.sgml:
21649 * docs/gst/tmpl/gsttagsetter.sgml:
21650 * docs/gst/tmpl/gsttrace.sgml:
21651 * docs/gst/tmpl/gsttrashstack.sgml:
21652 * docs/gst/tmpl/gsttypefind.sgml:
21653 * docs/gst/tmpl/gsttypefindfactory.sgml:
21654 * docs/gst/tmpl/gsttypes.sgml:
21655 * docs/gst/tmpl/gsturihandler.sgml:
21656 * docs/gst/tmpl/gsturitype.sgml:
21657 * docs/gst/tmpl/gstutils.sgml:
21658 * docs/gst/tmpl/gstvalue.sgml:
21659 * docs/gst/tmpl/gstversion.sgml:
21660 * docs/gst/tmpl/gstxml.sgml:
21661 * docs/libs/tmpl/gstcontrol.sgml:
21662 * docs/libs/tmpl/gstdataprotocol.sgml:
21663 * docs/libs/tmpl/gstdparam.sgml:
21664 * docs/libs/tmpl/gstdplinint.sgml:
21665 * docs/libs/tmpl/gstdpman.sgml:
21666 * docs/libs/tmpl/gstdpsmooth.sgml:
21667 * docs/libs/tmpl/gstgetbits.sgml:
21668 * docs/libs/tmpl/gstunitconvert.sgml:
21669 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21670 (gst_push_src_base_init), (gst_push_src_class_init),
21671 (gst_push_src_init), (gst_push_src_create):
21672 * gst/base/gstpushsrc.h:
21673 * gst/elements/gstelements.c:
21674 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21675 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21676 (gst_fake_sink_init), (gst_fake_sink_set_property),
21677 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21678 (gst_fake_sink_event), (gst_fake_sink_preroll),
21679 (gst_fake_sink_render), (gst_fake_sink_change_state):
21680 * gst/elements/gstfakesink.h:
21681 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21682 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21683 (gst_fake_src_base_init), (gst_fake_src_class_init),
21684 (gst_fake_src_init), (gst_fake_src_event_handler),
21685 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21686 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21687 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21688 (gst_fake_src_create_buffer), (gst_fake_src_create),
21689 (gst_fake_src_start), (gst_fake_src_stop):
21690 * gst/elements/gstfakesrc.h:
21691 * gst/elements/gstfilesink.c: (_do_init),
21692 (gst_file_sink_base_init), (gst_file_sink_class_init),
21693 (gst_file_sink_init), (gst_file_sink_dispose),
21694 (gst_file_sink_set_location), (gst_file_sink_set_property),
21695 (gst_file_sink_get_property), (gst_file_sink_open_file),
21696 (gst_file_sink_close_file), (gst_file_sink_query),
21697 (gst_file_sink_event), (gst_file_sink_render),
21698 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21699 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21700 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21701 * gst/elements/gstfilesink.h:
21702 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21703 (gst_file_src_class_init), (gst_file_src_init),
21704 (gst_file_src_finalize), (gst_file_src_set_location),
21705 (gst_file_src_set_property), (gst_file_src_get_property),
21706 (gst_file_src_map_region), (gst_file_src_map_small_region),
21707 (gst_file_src_create_mmap), (gst_file_src_create_read),
21708 (gst_file_src_create), (gst_file_src_is_seekable),
21709 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21710 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21711 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21712 (gst_file_src_uri_handler_init):
21713 * gst/elements/gstfilesrc.h:
21714 more autistic cleanliness in functions/names/defines
21716 2005-07-13 Andy Wingo <wingo@pobox.com>
21718 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21719 source couldn't negotiate.
21721 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21722 connections again.
21724 * gst/gstutils.h:
21725 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21726 function. I am channeling Hades. Put your boots on suckers!!!
21728 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21730 * testsuite/caps/Makefile.am:
21731 * testsuite/caps/value_compare.c:
21732 * testsuite/caps/value_intersect.c:
21733 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21734 move two testsuite apps over to the check dir
21736 2005-07-12 Wim Taymans <wim@fluendo.com>
21738 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21739 Added more debug info in the negotiate process.
21741 * gst/gstmessage.h:
21742 Prepare for segment playback.
21744 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21745 Better debugging.
21747 * gst/gstutils.c:
21748 Some more docs.
21750 * tools/gst-launch.c: (main):
21751 NULL pipeline on errors.
21753 2005-07-12 Andy Wingo <wingo@pobox.com>
21755 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21756 not it comes from a malloc region. Make sure our copy gets freed.
21758 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21760 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21761 * check/gst/gstmessage.c: (GST_START_TEST):
21762 * check/gst/gststructure.c: (GST_START_TEST),
21763 (gst_structure_suite), (main):
21764 more testing
21765 * gst/gstelement.c: (gst_element_message_full):
21766 clean up GError and debug string now that they get copied
21767 * gst/gstmessage.c: (gst_message_new_error),
21768 (gst_message_new_warning), (gst_message_parse_error),
21769 (gst_message_parse_warning):
21770 use GST_TYPE_G_ERROR for structure_new, and take copies of
21771 arguments, so that we don't mess up refcounting
21773 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21775 * check/Makefile.am:
21776 add per-test valgrind targets
21777 * check/gst-libs/gdp.c: (GST_START_TEST),
21778 (gst_data_protocol_suite), (main):
21779 clean up
21781 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21783 * check/Makefile.am:
21784 instate more valgrindable tests
21785 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21786 (GST_START_TEST), (fakesrc_suite):
21787 * check/gst/gstpad.c: (GST_START_TEST):
21788 * check/gst/gststructure.c: (GST_START_TEST):
21789 fix test leaks
21790 * docs/gst/tmpl/gstminiobject.sgml:
21791 * gst/gstpad.c: (gst_pad_finalize):
21792 fix the static mutex leak
21794 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21796 * check/Makefile.am:
21797 add two more tests for valgrinding
21798 * check/gst/gstvalue.c: (GST_START_TEST):
21799 test refcount of deserialized buffer, found a leak
21800 * docs/gst/gstreamer-docs.sgml:
21801 * docs/gst/gstreamer-sections.txt:
21802 * docs/gst/gstreamer.types:
21803 * docs/gst/tmpl/gstminiobject.sgml:
21804 add miniobject to docs
21805 * gst/gstminiobject.c:
21806 add some docs
21807 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21808 (gst_string_unwrap):
21809 fix a hard-to-find invalid write for one of the tests
21810 fix a leak for deserialized buffers
21812 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21814 * docs/pwg/advanced-events.xml:
21815 * docs/pwg/advanced-request.xml:
21816 * docs/pwg/advanced-scheduling.xml:
21817 * docs/pwg/appendix-porting.xml:
21818 * docs/pwg/building-boiler.xml:
21819 * docs/pwg/intro-preface.xml:
21820 * docs/pwg/other-ntoone.xml:
21821 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21822 of example code and explanation for pad activation, loop() and
21823 getrange() functions and a bit more. Remove old comments pointing
21824 to loop-functions.
21825 * examples/pwg/Makefile.am:
21826 Add loop/getrange examples.
21828 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21830 * configure.ac:
21831 check for valgrind binary + some fixes
21832 * check/gst.supp:
21833 valgrind suppressions for the tests
21834 * check/Makefile.am:
21835 add a valgrind: target that valgrinds the unit tests
21836 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21837 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21838 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21839 * check/gst/gstghostpad.c:
21840 added some cleanup
21841 * check/gst/gstdata.c:
21842 removed
21843 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21844 (thread_unref), (gst_mini_object_suite), (main):
21845 added
21846 * gst/gst.c: (gst_deinit):
21847 * gst/gst.h:
21848 add a method to clean up.
21849 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21850 (gst_system_clock_obtain):
21851 allow for disposing the system clock.
21852 * tools/gst-launch.c: (main):
21853 deinit
21855 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21857 * docs/gst/tmpl/gstbasesrc.sgml:
21858 * docs/gst/tmpl/gstfakesrc.sgml:
21859 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21860 (gst_base_src_init), (gst_base_src_set_property),
21861 (gst_base_src_get_property), (gst_base_src_get_range),
21862 (gst_base_src_start):
21863 * gst/base/gstbasesrc.h:
21864 add num-buffers property
21865 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21866 (gst_fakesrc_init), (gst_fakesrc_set_property),
21867 (gst_fakesrc_get_property), (gst_fakesrc_create),
21868 (gst_fakesrc_start):
21869 remove num-buffers property
21871 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21873 * docs/gst/gstreamer-sections.txt:
21874 * docs/gst/tmpl/gstbasesink.sgml:
21875 * docs/gst/tmpl/gstbasesrc.sgml:
21876 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21877 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21878 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21879 (gst_base_sink_set_property), (gst_base_sink_get_property),
21880 (gst_base_sink_handle_object), (gst_base_sink_event),
21881 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21882 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21883 (gst_base_sink_loop), (gst_base_sink_deactivate),
21884 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21885 (gst_base_sink_change_state):
21886 * gst/base/gstbasesink.h:
21887 * gst/base/gstbasesrc.h:
21888 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21889 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21890 (gst_filesink_init):
21891 more macro splitting
21893 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21895 * gst/gstelement.c: (gst_element_get_bus):
21896 add debug
21897 * tools/gst-launch.c: (check_intr), (event_loop):
21898 fix bus leaks
21900 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21902 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21903 fix a caps leak
21905 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21907 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21908 (gst_base_src_finalize):
21909 add finalize method and clean up properly
21910 * gst/gstpipeline.c: (gst_pipeline_dispose):
21911 add debug
21913 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21915 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21916 (gst_bin_suite):
21917 add more things to check
21918 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21919 * gst/gstelement.c:
21920 more debug
21922 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21924 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21925 (GST_START_TEST), (fakesrc_suite):
21926 * check/gst-libs/gdp.c: (GST_START_TEST):
21927 * check/gst/gst.c: (GST_START_TEST):
21928 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21929 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21930 * check/gst/gstbus.c: (GST_START_TEST):
21931 * check/gst/gstcaps.c: (GST_START_TEST):
21932 * check/gst/gstdata.c: (GST_START_TEST):
21933 * check/gst/gstelement.c: (GST_START_TEST):
21934 * check/gst/gstghostpad.c: (GST_START_TEST):
21935 * check/gst/gstiterator.c: (GST_START_TEST):
21936 * check/gst/gstmessage.c: (GST_START_TEST):
21937 * check/gst/gstobject.c: (GST_START_TEST):
21938 * check/gst/gstpad.c: (GST_START_TEST):
21939 * check/gst/gststructure.c: (GST_START_TEST):
21940 * check/gst/gstsystemclock.c: (GST_START_TEST),
21941 (gst_systemclock_suite):
21942 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21943 * check/gst/gstvalue.c: (GST_START_TEST):
21944 * check/pipelines/cleanup.c: (GST_START_TEST):
21945 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21946 * check/states/sinks.c: (GST_START_TEST):
21947 * check/gstcheck.c: (gst_check_init):
21948 * check/gstcheck.h:
21949 add debugging category
21950 use GST_START_TEST now, so we add a debug line
21952 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21954 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21955 add test for state change message on a bin
21956 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21957 add another test
21958 * gst/gstbin.c: (gst_bin_init):
21959 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21960 * gst/gstelement.c: (gst_element_post_message),
21961 (gst_element_set_state):
21962 * gst/gstelementfactory.c: (gst_element_factory_create):
21963 * gst/gstmessage.c: (gst_message_new):
21964 * gst/gstscheduler.c:
21965 various debugging additions and cleanups
21967 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21969 * check/Makefile.am:
21970 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21971 (main):
21972 adding tests for elements
21973 * gst/gstelement.c: (gst_element_dispose):
21975 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21977 * gst/registries/gstlibxmlregistry.c: (load_feature):
21978 plug more leaks. A simple gst_init() now is leakfree, yay.
21980 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21982 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21983 (gst_xml_registry_load):
21984 plug another memleak
21986 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21988 * configure.ac:
21989 use GST_SET_ERROR_CFLAGS
21990 * docs/faq/cvs.xml:
21991 change to ERROR_CFLAGS
21993 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21995 * configure.ac:
21996 make GST_ERROR_CFLAGS overridable and re-enable Werror
21997 * docs/faq/cvs.xml:
21998 add a note about error CFLAGS
21999 * docs/gst/tmpl/gstfakesrc.sgml:
22000 * gst/elements/gstfakesrc.c:
22001 comment out some unused code
22002 * gst/gst.c: (split_and_iterate):
22003 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22004 (load_feature):
22005 plug some memleaks
22007 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22009 * common/Makefile.am:
22010 * common/gtk-doc.mak:
22011 * docs/gst/Makefile.am:
22012 factor out gtk-doc.mak
22014 2005-07-07 Wim Taymans <wim@fluendo.com>
22016 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22017 (gst_thread_scheduler_dispose):
22018 Unlock the STREAM_LOCK completely.
22020 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22022 * check/Makefile.am:
22023 * check/elements/.cvsignore:
22024 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22025 (START_TEST), (fakesrc_suite), (main):
22026 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22027 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22028 (gst_fakesrc_create), (gst_fakesrc_start):
22029 * gst/elements/gstfakesrc.h:
22030 adding a first element test
22032 2005-07-07 Andy Wingo <wingo@pobox.com>
22034 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22035 debug message.
22037 2005-07-07 Wim Taymans <wim@fluendo.com>
22039 * gst/gstquery.c:
22040 * gst/gstquery.h:
22041 Remove old types
22043 2005-07-07 Wim Taymans <wim@fluendo.com>
22045 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22046 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22047 Allow subclasses to implement their own negotiation.
22049 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22051 * docs/design/part-gstbin.txt:
22052 * docs/design/part-gstpipeline.txt:
22053 Update design notes to reflect the movement of
22054 responsibility for bus handling from GstPipeline to
22055 GstBin
22057 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22059 * configure.ac:
22060 Remove unnecessary queue2/3/4 examples.
22062 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22064 * examples/Makefile.am:
22065 * examples/helloworld/helloworld.c: (event_loop), (main):
22066 * examples/queue/queue.c: (event_loop), (main):
22067 * examples/queue2/queue2.c: (main):
22068 Update a couple of the examples to work again.
22070 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22071 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22072 Spelling corrections and extra debug.
22074 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22075 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22076 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22077 * gst/gstbin.h:
22078 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22079 (gst_pipeline_change_state):
22080 * gst/gstpipeline.h:
22081 Move the bus handler for children to the GstBin, and create a
22082 separate bus for receiving messages from children to the one the
22083 bus sends 'upwards' on.
22085 2005-07-06 Wim Taymans <wim@fluendo.com>
22087 * gst/base/README:
22088 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22089 (gst_base_sink_handle_object), (gst_base_sink_loop),
22090 (gst_base_sink_change_state):
22091 * gst/base/gstbasesink.h:
22092 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22093 (gst_base_src_init), (gst_base_src_setcaps),
22094 (gst_base_src_getcaps), (gst_base_src_loop),
22095 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22096 (gst_base_src_start), (gst_base_src_change_state):
22097 * gst/base/gstbasesrc.h:
22098 Make basesrc negotiate.
22099 Handle the case where preroll fails in basesink.
22100 Update README.
22102 2005-07-06 Wim Taymans <wim@fluendo.com>
22104 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22105 Implement the fixate function.
22106 Clean up acceptcaps.
22108 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22110 * docs/pwg/building-filterfactory.xml:
22111 * docs/pwg/pwg.xml:
22112 Remove never-written filter-factory chapter; I'll add the various
22113 base classes to part 4 ("other element types") later on.
22115 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22117 * docs/pwg/advanced-negotiation.xml:
22118 * docs/pwg/building-boiler.xml:
22119 * docs/pwg/building-pads.xml:
22120 * docs/pwg/pwg.xml:
22121 * examples/pwg/Makefile.am:
22122 Add a chapter on caps negotiation, simplify the original code
22123 samples a bit w.r.t. caps negotiation, add link to the advanced
22124 section. Add a bunch of examples showing different use cases of
22125 different types of caps negotiation. Upstream renegotiation isn't
22126 fully documented yet since nobody knows how that works.
22128 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22130 * check/gst/gstpad.c:
22131 * check/gstcheck.c:
22132 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22133 if pad has no parent, return NULL as list of internal links
22135 2005-07-05 Andy Wingo <wingo@pobox.com>
22137 * gst/elements/gstfilesrc.c:
22138 * gst/elements/gstfakesrc.c:
22139 * gst/base/gstpushsrc.c:
22140 * gst/base/gstbasesrc.h:
22141 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22143 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22145 * Makefile.am:
22146 better report generation target (lcov needs a patch)
22148 2005-07-05 Andy Wingo <wingo@pobox.com>
22150 * gst/elements, testsuite: Null if we got it...
22152 2005-07-05 Wim Taymans <wim@fluendo.com>
22154 * configure.ac:
22155 * libs/gst/dataprotocol/Makefile.am:
22156 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22157 * libs/gst/dataprotocol/dataprotocol.h:
22158 * pkgconfig/Makefile.am:
22159 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22160 * pkgconfig/gstreamer-dataprotocol.pc.in:
22161 Ported dataprotol to 0.9.
22162 Added pkgconfig files.
22164 2005-07-05 Andy Wingo <wingo@pobox.com>
22166 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22167 Default to returning TRUE for the case when tranform_caps returns
22168 a fixed caps, like for identity or volume.
22170 * check/gst/gstbus.c (pound_bus_with_messages):
22171 * check/gst/gstmessage.c (START_TEST):
22172 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22173 message API change.
22175 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22176 logic weaks here: always run transform_caps, trying passthrough
22177 operation only if the original caps intersects with the transform.
22179 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22180 source and sink caps.
22182 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22183 Intersect the peer caps with the pad template before going into
22184 transform_caps.
22185 (gst_base_transform_transform_caps): More debugging.
22187 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22188 src argument.
22190 2005-07-04 Edward Hervey <edward@fluendo.com>
22192 * gst/gstutils.c:
22193 * gst/gstutils.h:
22194 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22195 in bindings.
22197 2005-07-04 Andy Wingo <wingo@pobox.com>
22199 * check/gst/gstpad.c: Only set explicit caps on pads.
22201 2005-07-01 Andy Wingo <wingo@pobox.com>
22203 * tests/network-clock.scm: Commentary update.
22205 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22206 Didn't really make sense, not implementable with basetransform,
22207 etc.
22208 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22209 attempt at implementing the sync property, needs an unlock method.
22211 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22212 New func, by default returns the same caps (the identity
22213 transformation).
22214 (gst_base_transform_getcaps): Uses transform_caps to return
22215 something sensible.
22216 (gst_base_transform_setcaps): Complicated logic to get caps on
22217 both pads, even if they are different, and to call set_caps once
22218 for every time both pads get their caps set.
22219 (gst_base_transform_handle_buffer): Give the ref to the transform
22220 function. Allows in-place modification of the buffer.
22222 * gst/base/gstbasetransform.h (transform_caps): New class method.
22223 Given caps on one side, what can I do on the other.
22224 (set_caps): Take two caps, one for each side of the element.
22226 * gst/gstpad.h:
22227 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22228 caps in place. This is safe because we can check the mutability of
22229 the caps, and a good idea because fixate functions are just called
22230 as a matter of last resort. (Not actually implemented.)
22231 (gst_pad_set_caps): If the caps we're setting is actually the same
22232 as the existing pad caps, just update the pointer without calling
22233 setcaps. Assert that caps is either NULL or fixed, as per the
22234 docs.
22236 * gst/gstghostpad.c: Update for fixate changes.
22238 2005-07-02 Andy Wingo <wingo@pobox.com>
22240 * gst/gstcaps.c:
22241 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22242 two refcounts makes it immutable, which is enough. Doc more.
22244 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22246 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22247 Put the mini_object into GValue as a mini_object,
22248 not a gpointer, since that's how we declared
22249 the signal.
22251 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22253 * examples/pwg/Makefile.am:
22254 Fix buildbot again.
22256 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22258 * docs/pwg/building-testapp.xml:
22259 Add extra check.
22260 * examples/pwg/Makefile.am:
22261 Fix buildbot.
22263 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22265 * configure.ac:
22266 * examples/Makefile.am:
22267 * examples/pwg/Makefile.am:
22268 * examples/pwg/extract.pl:
22269 Enable building the PWG examples.
22270 * docs/pwg/advanced-interfaces.xml:
22271 Add URI interface stub.
22272 * docs/pwg/advanced-types.xml:
22273 * docs/pwg/other-autoplugger.xml:
22274 * docs/pwg/appendix-porting.xml:
22275 * docs/pwg/pwg.xml:
22276 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22277 * docs/pwg/building-boiler.xml:
22278 * docs/pwg/building-chainfn.xml:
22279 * docs/pwg/building-pads.xml:
22280 * docs/pwg/building-props.xml:
22281 * docs/pwg/building-state.xml:
22282 * docs/pwg/building-testapp.xml:
22283 Update the building-*.xml parts for 0.9 changes. All examples
22284 code blocks compile in examples/pwg/*.
22286 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22288 * docs/manual/advanced-autoplugging.xml:
22289 * docs/manual/appendix-checklist.xml:
22290 * docs/manual/appendix-integration.xml:
22291 * docs/manual/highlevel-components.xml:
22292 Fix playbin/decodebin examples, update docs a bit, mention bus
22293 instead of signals in various places, mention kmplayer and
22294 kaffeine since they have a working GStreamer backend in the KDE
22295 section.
22297 2005-06-30 Wim Taymans <wim@fluendo.com>
22299 * CHANGES-0.9:
22300 * docs/design/draft-ghostpads.txt:
22301 * docs/design/draft-push-pull.txt:
22302 * docs/design/draft-query.txt:
22303 * docs/design/part-TODO.txt:
22304 * docs/design/part-query.txt:
22305 Added CHANGES-0.9 doc, updated status of other docs.
22307 * gst/gstquery.h:
22308 Remove "hmm" macro
22310 2005-06-30 Wim Taymans <wim@fluendo.com>
22312 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22313 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22314 (gst_base_sink_change_state):
22315 * gst/base/gstbasesink.h:
22316 Some tweaks, only EOS and a buffer complete a preroll.
22318 2005-06-30 Andy Wingo <wingo@pobox.com>
22320 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22321 activate_push down to the internal pad as well.
22323 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22325 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22327 * gst/gsttaginterface.c:
22328 Some documentation fixes (#307394 and #307397).
22330 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22332 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22334 * gst/gstvalue.c: (gst_value_intersect_list):
22335 Fix memleak (#309125).
22337 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22339 * docs/manual/advanced-dataaccess.xml:
22340 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22341 * docs/manual/basics-pads.xml:
22342 Add reference for filtered caps to above chapter.
22344 2005-06-30 Wim Taymans <wim@fluendo.com>
22346 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22347 (gst_bin_change_state):
22348 Probes are gone.
22349 Lame attempt at making the state change function a bit
22350 more readable.
22352 2005-06-30 Wim Taymans <wim@fluendo.com>
22354 * docs/design/part-clocks.txt:
22355 * docs/design/part-element-sink.txt:
22356 * docs/design/part-events.txt:
22357 * docs/design/part-preroll.txt:
22358 * docs/design/part-states.txt:
22359 Some more tweeks and additions to the docs.
22361 2005-06-30 Wim Taymans <wim@fluendo.com>
22363 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22364 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22365 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22366 (gst_pad_check_pull_range), (gst_pad_get_range),
22367 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22368 * gst/gstpad.h:
22369 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22370 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22371 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22372 (gst_pad_remove_buffer_probe):
22373 Removed atomic operations, use existing LOCK.
22374 Move exception handling out of main code path.
22376 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22378 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22379 (silly_return_true_function), (gst_pad_class_init),
22380 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22381 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22382 (gst_pad_send_event):
22383 Fix accumulator, add default value by using _emitv() instead
22384 of _emit() for signal emission.
22386 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22388 * docs/manual/advanced-dataaccess.xml:
22389 * examples/manual/Makefile.am:
22390 Add probe example.
22391 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22392 Make work (??).
22394 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22396 * gst/elements/gstfilesink.c: (gst_filesink_render):
22397 Simplify code so that we don't have to handle short
22398 writes and return GST_FLOW_ERROR if an error occured.
22400 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22402 * docs/gst/gstreamer-docs.sgml:
22403 Remove probes more.
22405 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22407 * docs/gst/gstreamer-sections.txt:
22408 * docs/gst/tmpl/gstpad.sgml:
22409 * docs/gst/tmpl/gstprobe.sgml:
22410 * gst/Makefile.am:
22411 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22412 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22413 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22414 (gst_pad_push_event), (gst_pad_send_event):
22415 * gst/gstpad.h:
22416 * gst/gstutils.c: (gst_pad_add_data_probe),
22417 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22418 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22419 (gst_pad_remove_buffer_probe):
22420 * gst/gstutils.h:
22421 Remove old probes, add new g-signal-based probes and some utility
22422 functions.
22424 2005-06-29 Edward Hervey <edward@fluendo.com>
22426 * gst/gstelementfactory.c:
22427 * gst/gstutils.h:
22428 * gst/gstutils.c:
22429 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22430 the definition to the header file.
22432 2005-06-29 Andy Wingo <wingo@pobox.com>
22434 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22435 plugins from the source directory.
22437 2005-06-29 Wim Taymans <wim@fluendo.com>
22439 * docs/gst/tmpl/gstbuffer.sgml:
22440 * docs/gst/tmpl/gstclock.sgml:
22441 Some fixings for blantently wrong text.
22443 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22445 * check/Makefile.am:
22446 * gst/gst.c: (add_path_func), (init_pre):
22447 * gst/gstregistry.c: (gst_registry_add_path):
22448 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22449 only scan the GST_PLUGIN_PATH locations, and not add
22450 system locations
22452 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22454 * docs/gst/gstreamer-sections.txt:
22455 * docs/gst/tmpl/gstbasesrc.sgml:
22456 * gst/gstelement.c:
22457 * gst/gstelement.h:
22458 * gst/gstevent.c:
22459 * gst/gstutils.c:
22460 doc fixes
22462 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22464 * docs/manual/advanced-autoplugging.xml:
22465 Fix autoplugging example.
22467 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22469 * docs/manual/advanced-autoplugging.xml:
22470 * docs/manual/mime-world.fig:
22471 Try to get autoplugging working, fix type detection. Fix text
22472 in hello-world image.
22474 2005-06-29 Wim Taymans <wim@fluendo.com>
22476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22477 (gst_base_sink_change_state):
22478 Small debug line.
22480 * gst/gstclock.h:
22481 map SIGNAL and BROADCAST to the right function.
22483 * gst/gstobject.h:
22484 Remove redundant braces.
22486 * gst/gstpad.c: (gst_pad_set_caps):
22487 Don't call setcaps function when reseting caps to NULL.
22489 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22490 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22491 (gst_system_clock_id_unschedule):
22492 Use BROADCAST as this is what we do.
22494 2005-06-29 Wim Taymans <wim@fluendo.com>
22496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22497 We are actually prerolling before commiting the state
22498 change.
22500 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22502 * docs/manual/advanced-clocks.xml:
22503 * docs/manual/advanced-interfaces.xml:
22504 * docs/manual/advanced-metadata.xml:
22505 * docs/manual/advanced-position.xml:
22506 * docs/manual/advanced-schedulers.xml:
22507 * docs/manual/advanced-threads.xml:
22508 * docs/manual/appendix-porting.xml:
22509 * docs/manual/basics-bins.xml:
22510 * docs/manual/basics-bus.xml:
22511 * docs/manual/basics-elements.xml:
22512 * docs/manual/basics-helloworld.xml:
22513 * docs/manual/basics-pads.xml:
22514 * docs/manual/highlevel-components.xml:
22515 * docs/manual/manual.xml:
22516 * docs/manual/thread.fig:
22517 Update (until threads/scheduling) Application Development Manual;
22518 remove GstThread, add GstBus, add simple porting checklist, add
22519 documentation for tag writing, clocks, make all examples until this
22520 part compile and run.
22521 * examples/manual/Makefile.am:
22522 Update from changes to Application Development Manual; add bus
22523 example, remove thread example.
22525 2005-06-28 Wim Taymans <wim@fluendo.com>
22527 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22528 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22529 (gst_bus_source_dispatch):
22530 Add debugging messages.
22531 Make internal methods static.
22532 Handle the case where the bus is flushed in the handler.
22534 * gst/gstelement.c: (gst_element_get_bus):
22535 Fix refcount in _get_bus();
22537 * gst/gstpipeline.c: (gst_pipeline_change_state),
22538 (gst_pipeline_get_clock_func):
22539 Clock refcounting fixes.
22540 Handle the case where preroll timed out more gracefully.
22542 * gst/gstsystemclock.c: (gst_system_clock_dispose):
22543 Clean up the internal thread in dispose. This is needed
22544 for subclasses that actually get disposed.
22546 * gst/schedulers/threadscheduler.c:
22547 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22548 (gst_thread_scheduler_dispose):
22549 Free thread pool in dispose.
22551 2005-06-28 Andy Wingo <wingo@pobox.com>
22553 * tests/network-clock-utils.scm (debug, print-event): New utils.
22555 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22556 (*packet-loss*): Unified loss probability.
22557 (network-time): Report out-of-band events.
22559 * tests/plot-data: Add support for out-of-band events. Hack it
22560 into this script instead of passing it down the pipe; should fix
22561 this later.
22563 2005-06-28 Wim Taymans <wim@fluendo.com>
22565 * docs/gst/gstreamer.types:
22566 * docs/gst/tmpl/gstbasesrc.sgml:
22567 * docs/gst/tmpl/gstpad.sgml:
22568 Docs fixes.
22570 2005-06-28 Wim Taymans <wim@fluendo.com>
22572 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22573 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22574 (gst_proxy_pad_do_fixatecaps):
22575 Correctly proxy the check_pull_range function.
22577 2005-06-28 Andy Wingo <wingo@pobox.com>
22579 * tests/network-clock.scm: Removed need for slib.
22581 2005-06-28 Wim Taymans <wim@fluendo.com>
22583 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22584 (gst_basesink_preroll_queue_flush):
22585 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22586 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22587 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22588 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22589 (gst_proxy_pad_set_property):
22590 * gst/gstpad.c:
22591 * gst/gstpad.h:
22592 * gst/gstqueue.c: (gst_queue_init):
22593 The deprecated pad loop function is removed now.
22595 2005-06-28 Andy Wingo <wingo@pobox.com>
22597 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22598 New parameters, simulate network packet loss.
22600 * tests/network-clock-utils.scm: Initialize the RNG.
22602 2005-06-28 Wim Taymans <wim@fluendo.com>
22604 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22605 (gst_basesink_event), (gst_basesink_deactivate):
22606 Flushing the preroll queue always needs to unlock the waiters.
22608 2005-06-28 Edward Hervey <edward@fluendo.com>
22610 * gst/gstpipeline.c: (gst_pipeline_send_event):
22611 Wheen a seek was successful on a pipeline, set the stream_time to the
22612 seek offset in order to have a synchronized stream_time.
22614 2005-06-28 Wim Taymans <wim@fluendo.com>
22616 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22617 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22618 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22619 (gst_proxy_pad_do_fixatecaps):
22620 Call wrapper function instead of just calling the function
22621 pointers. This takes care of any locking and whatmore.
22623 2005-06-28 Wim Taymans <wim@fluendo.com>
22625 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22626 (gst_pad_pull_range):
22627 * gst/gstpad.h:
22628 CONNECTED -> LINKED.
22630 2005-06-28 Andy Wingo <wingo@pobox.com>
22632 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22633 source-munging commit!!!
22635 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22636 (gst_object_sink): Take gpointer arguments, not GstObject --
22637 avoids casts. Like GLib.
22639 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22640 activate.
22642 2005-06-27 Andy Wingo <wingo@pobox.com>
22644 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22645 remaining buffer.
22647 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22648 returns a sorted copy of the trace list.
22649 (gst_alloc_trace_print_live): New API, only prints traces with
22650 live objects. Sort the list.
22651 (gst_alloc_trace_print_all): Sort the list.
22652 (gst_alloc_trace_print): Align columns.
22654 * gst/elements/gstttypefindelement.c:
22655 * gst/elements/gsttee.c:
22656 * gst/base/gstbasesrc.c:
22657 * gst/base/gstbasesink.c:
22658 * gst/base/gstbasetransform.c:
22659 * gst/gstqueue.c: Adapt for pad activation changes.
22661 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22662 sched.
22663 (gst_pipeline_dispose): Drop ref on sched.
22665 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22666 (gst_pad_activate_default): Push mode by default.
22667 (pre_activate_switch, post_activate_switch): New stubs, things to
22668 do before and after switching activation modes on pads.
22669 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22670 the pad's activate function to choose which mode to activate.
22671 Shortcut on deactivation and call the right function directly.
22672 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22673 mode.
22674 (gst_pad_activate_push): New API, same for push mode.
22675 (gst_pad_set_activate_function)
22676 (gst_pad_set_activatepull_function)
22677 (gst_pad_set_activatepush_function): Setters for new API.
22679 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22680 Trace all miniobjects.
22681 (gst_mini_object_make_writable): Unref the arg if we copy, like
22682 gst_caps_make_writable.
22684 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22686 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22687 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22688 Adapt for new pad API.
22690 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22692 * gst/gstelement.h:
22693 * gst/gstelement.c (gst_element_iterate_src_pads)
22694 (gst_element_iterate_sink_pads): New API functions.
22696 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22697 should fold into gstiterator.c in some form.
22698 (gst_element_pads_activate): Simplified via use of fold and
22699 delegation of decisions to gstpad->activate.
22701 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22702 help in debugging.
22704 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22705 class once in init, like gstmessage. Didn't run into this issue
22706 but it seems correct. Don't initialize a trace, gstminiobject does
22707 that.
22709 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22710 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22711 to the bus.
22712 (assert_live_count): New util function, uses alloc traces to check
22713 cleanup.
22715 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22716 To be modified when unlink drops the internal pad.
22718 2005-06-27 Wim Taymans <wim@fluendo.com>
22720 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22721 (gst_bin_change_state):
22722 Cleanup the get_state() function a little, make sure it
22723 iterates the same set of elements.
22724 Added stub iterate_state_order().
22726 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22728 * docs/gst/gstreamer-docs.sgml:
22729 * docs/gst/gstreamer-sections.txt:
22730 * docs/gst/gstreamer.types:
22731 * docs/gst/tmpl/gstbasesink.sgml:
22732 * docs/gst/tmpl/gstbasesrc.sgml:
22733 * docs/gst/tmpl/gstbasetransform.sgml:
22734 * docs/gst/tmpl/gstelement.sgml:
22735 * docs/gst/tmpl/gstiterator.sgml:
22736 * gst/base/gstbasesrc.c:
22737 * gst/base/gstbasesrc.h:
22738 * gst/base/gstbasetransform.h:
22739 * gst/gstelement.c:
22740 * gst/gstiterator.h:
22741 adding basetransform and iterator docs
22743 2005-06-27 Andy Wingo <wingo@pobox.com>
22745 * docs/design/part-activation.txt: Notes on how activation should
22746 work -- not quite implemented yet.
22748 2005-06-25 Wim Taymans <wim@fluendo.com>
22750 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22751 At least get the chain function correct, needs more
22752 fixing.
22754 2005-06-25 Wim Taymans <wim@fluendo.com>
22756 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22757 (gst_basesink_handle_object), (gst_basesink_event),
22758 (gst_basesink_do_sync), (gst_basesink_handle_event),
22759 (gst_basesink_change_state):
22760 * gst/gsttask.h:
22761 Right, two problems here: ghostpads don't take locks and
22762 glib _rec_mutex_lock_full() with depth==0 still locks.
22763 Catch illegal locking and g_warn them.
22765 2005-06-25 Wim Taymans <wim@fluendo.com>
22767 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22768 Have to check for completion now...
22770 2005-06-25 Wim Taymans <wim@fluendo.com>
22772 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22773 (gst_basesink_handle_object), (gst_basesink_event),
22774 (gst_basesink_do_sync), (gst_basesink_handle_event),
22775 (gst_basesink_change_state):
22776 * gst/gstpad.h:
22777 Unlock STREAM_LOCK whatever the recursion was.
22779 2005-06-25 Wim Taymans <wim@fluendo.com>
22781 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22782 (gst_basesink_preroll_queue_empty),
22783 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22784 (gst_basesink_event), (gst_basesink_do_sync),
22785 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22786 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22787 (gst_basesink_change_state):
22788 Reworked the base sink, handle event and buffer serialisation
22789 correctly and removed possible deadlock.
22790 Handle EOS correctly.
22792 2005-06-25 Wim Taymans <wim@fluendo.com>
22794 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22795 (gst_pipeline_change_state):
22796 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22797 Allow elements to post EOS in the state change function.
22798 Fix up -launch, make it exit the poll loop when the
22799 pipeline actually changed state.
22800 Fix up warning parsing in -launch.
22802 2005-06-25 Wim Taymans <wim@fluendo.com>
22804 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22805 (gst_tee_sink_activate):
22806 Core takes STREAM_LOCK for us now.
22808 2005-06-25 Wim Taymans <wim@fluendo.com>
22810 * gst/gstelement.c: (gst_element_get_state_func),
22811 (gst_element_set_state):
22812 * gst/gstelement.h:
22813 * gst/gstmessage.c: (gst_message_parse_error),
22814 (gst_message_parse_warning):
22815 Keep track of current target state while performing a state
22816 change so that subclasses can do something interesting.
22817 Fix parsing of warning/error messages when GError is NULL.
22819 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22821 * docs/gst/Makefile.am:
22822 * docs/gst/gstreamer-docs.sgml:
22823 * docs/gst/gstreamer-sections.txt:
22824 * docs/gst/gstreamer.types:
22825 * docs/gst/tmpl/gstbasesink.sgml:
22826 * docs/gst/tmpl/gstbasesrc.sgml:
22827 * docs/gst/tmpl/gstbin.sgml:
22828 * docs/gst/tmpl/gstcompat.sgml:
22829 * docs/gst/tmpl/gstfakesink.sgml:
22830 * docs/gst/tmpl/gstfakesrc.sgml:
22831 * docs/gst/tmpl/gstfilesink.sgml:
22832 * docs/gst/tmpl/gstfilesrc.sgml:
22833 * docs/gst/tmpl/gstindex.sgml:
22834 * docs/manual/appendix-quotes.xml:
22835 * gst/base/gstbasesrc.h:
22836 * gst/elements/gstfakesrc.h:
22837 * gst/gstmessage.h:
22838 start pulling in base classes and elements in our docs
22840 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22842 * docs/gst/Makefile.am:
22843 * docs/libs/Makefile.am:
22844 fixed make distcheck with gtk-doc 1.3
22846 2005-06-23 Wim Taymans <wim@fluendo.com>
22848 * gst/gstelement.c: (gst_element_get_state_func),
22849 (gst_element_set_state), (gst_element_change_state):
22850 When the state did not change, also report NO_PREROLL
22851 when it matters.
22853 2005-06-23 Wim Taymans <wim@fluendo.com>
22855 * gst/gstpad.c: (gst_pad_event_default):
22856 * gst/gstqueue.c: (gst_queue_loop):
22857 No unsafe task pausing please.
22859 2005-06-23 Wim Taymans <wim@fluendo.com>
22861 * gst/schedulers/threadscheduler.c:
22862 (gst_thread_scheduler_task_start),
22863 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22864 Ref the task before pushing it on the threadpool. This
22865 makes sure that we have a ref when the threadfunction is
22866 actually called.
22868 2005-06-23 Andy Wingo <wingo@pobox.com>
22870 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22871 offset is greater than the file's size.
22873 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22874 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22875 * gst/gstobject.c (gst_object_class_init): Make the class lock
22876 recursive. Wim won't let me drop deep_notify. Decodebin works
22877 again, whoopdy doo.
22879 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22880 internal pad, and hacks accordingly. Doesn't do it on the target
22881 pad because we change its caps. Probably catches all cases of
22882 interest tho.
22883 (gst_ghost_pad_set_property): Connect to notify::caps as
22884 appropritate.
22886 * tests/network-clock.scm (plot-simulation): Pipe data to the
22887 elite python skript.
22889 * tests/network-clock-utils.scm (define-parameter): New macro,
22890 defines a parameter that can be set via the command line.
22891 (set-parameter!, parse-parameter-arguments): Command line args
22892 parser.
22894 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22895 stdin.
22897 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22899 * gst/elements/gsttypefindelement.c:
22900 (gst_type_find_element_handle_event):
22901 Don't restart typefinding on a discont.
22902 * gst/gstelement.c: (gst_element_set_state):
22903 Debug spelling fix.
22904 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22905 Allow changing mode of an active pad.
22906 Debug output fixes.
22907 * gst/registries/gstlibxmlregistry.c: (load_feature):
22908 Don't cast a static pad template to a normal pad template.
22910 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22912 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22913 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22914 remove gst_strtoll completely, since it didn't actually do
22915 anything more than what g_ascii_strtoull already does.
22916 check for range errors when deserializing
22917 do a cast for the unsigned cases; but further fixing needs
22918 a decision on what the interpretation of "(int)" and
22919 deserialization should be for values that fall outside the
22920 type's boundaries (ie, refuse, or interpret as casting)
22922 2005-06-23 Wim Taymans <wim@fluendo.com>
22924 * check/Makefile.am:
22925 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22926 * docs/design/part-live-source.txt:
22927 * docs/design/part-states.txt:
22928 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22929 (gst_basesrc_set_live), (gst_basesrc_is_live),
22930 (gst_basesrc_get_range), (gst_basesrc_activate),
22931 (gst_basesrc_change_state):
22932 * gst/base/gstbasesrc.h:
22933 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22934 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22935 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22936 * gst/gstelement.c: (gst_element_get_state_func),
22937 (gst_element_set_state):
22938 * gst/gstelement.h:
22939 * gst/gsttypes.h:
22940 * tools/gst-launch.c: (event_loop), (main):
22941 Added support for live sources and other elements that
22942 cannot do preroll.
22943 Updated design docs, added live-source design doc.
22944 Implemented live source functionality in basesrc
22945 Fix error condition in _bin_get_state()
22946 Implement live source handling in -launch.
22947 Added check for live sources.
22948 Fixed case in GstBin where elements were changed state
22949 multiple times.
22952 2005-06-23 Andy Wingo <wingo@pobox.com>
22954 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22955 borken refcounting.
22957 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22958 gst_caps_replace takes care of this for us.
22960 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22961 gst_pad_set_caps on the target, not just its setcaps() function.
22963 * tests/network-clock.scm:
22964 * tests/network-clock-utils.scm: A network clock simulator.
22965 Something of an algorithmic testbed before doing something in C.
22967 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22969 * check/Makefile.am:
22970 * check/gst/capslist.h:
22971 copy over from 0.8, and add two with bitmasks specified with
22972 (int) 0xFF...
22973 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22974 add test to parse everything from capslist.h
22975 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22976 (main):
22977 add test for structure deserialization
22978 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22979 add tests for deserialization of strings to int types
22980 * gst/gststructure.c: (gst_structure_nth_field_name):
22981 * gst/gststructure.h:
22982 add a way to get the name of a field referenced by index
22983 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22984 instead of checking if the resulting long long lies between
22985 min and max, we check if the long long would fit into
22986 a number of bytes for the final type.
22987 This fixes cases where a string represents 2^32 - 1, which
22988 when cast to int would be the (valid) -1, but is bigger than
22989 G_MAXINT
22991 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22993 * gst/parse/grammar.y:
22994 add a log line for type deserialization
22996 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22998 * check/gst/gstvalue.c: (START_TEST):
22999 * gst/gstvalue.c: (gst_value_deserialize):
23000 return long long, not int, so gint64 deserialization actually
23001 works. Is there any flag that makes the compiler check this ?
23002 Fixes #308559
23004 2005-06-22 Wim Taymans <wim@fluendo.com>
23006 * gst/gstbuffer.h:
23007 Added convenience macros for setting buffers in GValue.
23009 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23011 * check/gst/.cvsignore:
23012 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23013 add a test deserializing int64, and comment part out because
23014 it fails, yay !
23016 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23018 * check/Makefile.am:
23019 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23020 * testsuite/Makefile.am:
23021 * testsuite/caps/Makefile.am:
23022 * testsuite/caps/value_serialize.c:
23023 * testsuite/test_gst_init.c:
23024 move a value_serialize test over
23026 2005-06-20 Wim Taymans <wim@fluendo.com>
23028 * gst/gstpad.c:
23029 Small doc updates.
23031 * gst/gstvalue.c: (gst_value_compare_buffer),
23032 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23033 (gst_value_compare_flags), (gst_value_serialize_flags),
23034 (gst_value_deserialize_flags), (_gst_value_initialize):
23035 Fix serialisation of buffers, they are not boxed types anymore
23037 2005-06-20 Wim Taymans <wim@fluendo.com>
23039 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23040 Testcase to show error in buffer-on-caps serialisation.
23042 2005-06-20 Andy Wingo <wingo@pobox.com>
23044 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23045 will be adding to later.
23047 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23048 if its socks fill with rocks.
23049 (gst_system_clock_obtain): Set the name on object construction.
23050 Avoid double-checked locking.
23052 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23054 * gst/gsturi.c: (gst_element_make_from_uri):
23055 Fix potential endless loop.
23057 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23059 * check/Makefile.am:
23060 add gsttag
23061 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23062 (main):
23063 move over from testsuite dir and clean up
23064 * configure.ac:
23065 * gst/gsttag.c:
23066 * testsuite/Makefile.am:
23067 * testsuite/tags/.cvsignore:
23068 * testsuite/tags/Makefile.am:
23069 * testsuite/tags/merge.c:
23070 remove testsuite/tags
23072 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23074 * docs/gst/gstreamer-sections.txt:
23075 * docs/gst/tmpl/gstenumtypes.sgml:
23076 * win32/gstenumtypes.c:
23077 clean up documentation build a little
23079 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23081 * check/gstcheck.h:
23082 add macros for checking refcounts on objects and caps
23083 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23084 add some more unit tests
23085 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23086 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23087 fix leaked refcounts (I hope :)) so unittest works
23088 * gst/gstpad.h:
23089 whitespace removal
23091 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23093 * configure.ac: back to HEAD
23095 === release 0.9.1 ===
23097 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23099 * NEWS:
23100 * RELEASE:
23101 updated
23103 2005-06-17 Andy Wingo <wingo@pobox.com>
23105 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23106 assert; it's always possible that the pad gets deactivated in
23107 between the checks in gstpad.c and the implementation. Rely on
23108 finish_preroll() to return a FLUSHING or similar instead of on the
23109 assert.
23111 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23112 clock and post an EOS message if we come out of finish_preroll in
23113 the playing state.
23115 2005-06-16 David Schleef <ds@schleef.org>
23117 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23118 (gst_capsfilter_set_property): Allow NULL as possible value
23119 for filter_caps property, indicating GST_CAPS_ANY.
23121 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23123 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23124 fix debug output
23125 * gst/schedulers/Makefile.am:
23126 use libgst prefix
23127 * gstreamer.spec.in:
23128 fix spec for it
23130 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23132 * gstreamer.spec.in:
23133 clean up
23135 2005-06-08 Andy Wingo <wingo@pobox.com>
23137 * gst/gstutils.c: RPAD fixes all around.
23138 (gst_element_link_pads): Refcounting fixes.
23140 * tools/gst-inspect.c:
23141 * tools/gst-xmlinspect.c:
23142 * parse/grammar.y:
23143 * gst/base/gsttypefindhelper.c:
23144 * gst/base/gstbasesink.c:
23145 * gst/gstqueue.c: RPAD fixes.
23147 * gst/gstghostpad.h:
23148 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23149 pads. The tricky thing is they provide both source and sink
23150 interfaces, since they proxy the internal pad for the external
23151 pad, and vice versa. Implement with lower-level ProxyPad objects,
23152 with the interior proxy pad as a child of the exterior ghost pad.
23153 Should write a doc on this.
23155 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23156 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23157 gst_object API.
23159 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23160 pads are real pads. No ghost pads in this file. Not documenting
23161 the myriad s/RPAD/PAD/ and REALIZE fixes.
23162 (gst_pad_class_init): Add properties for "direction" and
23163 "template". Both are construct-only, so they can't change during
23164 the life of the pad. Fixes properly deriving from GstPad.
23165 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23166 derived objects, just set properties when creating the objects via
23167 g_object_new.
23168 (gst_pad_get_parent): Implement as a function, return NULL if the
23169 parent is not an element.
23170 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23171 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23173 * gst/gstobject.c (gst_object_class_init): Make name a construct
23174 property. Don't set it in the object init.
23176 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23177 with UNKNOWN direction.
23178 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23179 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23180 (gst_element_remove_pad): Remove ghost-pad special cases.
23181 (gst_element_pads_activate): Remove rpad cruft.
23183 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23184 catch the pad's-parent-not-an-element case.
23186 * gst/gst.h: Include gstghostpad.h.
23188 * gst/gst.c (init_post): No more real, ghost pads.
23190 * gst/Makefile.am: Add gstghostpad.[ch].
23192 * check/Makefile.am:
23193 * check/gst/gstbin.c:
23194 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23195 into a bin creates ghost pads, and that the refcounts are right.
23196 Partly moved from gstbin.c.
23198 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23200 * check/gst-libs/.cvsignore:
23201 * check/gst/.cvsignore:
23202 * check/pipelines/.cvsignore:
23203 ignore more
23204 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23205 (START_TEST), (cleanup_suite), (main):
23206 add some tests related to cleanup after running pipelines
23208 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23210 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23211 add a testsuite for GstBuffer
23213 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23215 * gst/gstminiobject.h:
23216 add defines for accessing the refcount
23218 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23220 * Makefile.am: added support for html unit test coverage reports
23222 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23224 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23225 Free existing caps if the capsfilter changes. Add a FIXME about
23226 setting those caps on the pads.
23228 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23229 Before adding a ghost pad to a parent bin, check that there isn't
23230 already one for the element on the bin. Prevents infinite recursion
23231 when using decodebin in parse pipelines. Andy says he'll rewrite the
23232 way this works anyway, so ignore the hack.
23234 2005-06-02 Andy Wingo <wingo@pobox.com>
23236 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23237 file size, pass it on to the type find helper.
23239 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23240 segment_start and segment_end properly according to the seek
23241 method. Segment_end is still a bit flaky because offset can be
23242 negative for CUR and END cases, but it takes -1 as an "unset"
23243 value.
23245 2005-06-02 Wim Taymans <wim@fluendo.com>
23247 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23248 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23249 (gst_basesink_activate):
23250 * gst/base/gstbasesink.h:
23251 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23252 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23253 (gst_pad_query), (gst_pad_start_task):
23254 * gst/gstpad.h:
23255 * gst/gstqueue.c: (gst_queue_bufferalloc),
23256 (gst_queue_handle_sink_event), (gst_queue_chain):
23257 Bufferalloc: return GstFlowReturn to more accuratly report
23258 why allocation failed.
23260 2005-06-02 Wim Taymans <wim@fluendo.com>
23262 * gst/gstpipeline.c: (gst_pipeline_send_event):
23263 Take snapshot of state without blocking.
23265 2005-06-02 Wim Taymans <wim@fluendo.com>
23267 * docs/design/part-TODO.txt:
23268 * docs/design/part-caps.txt:
23269 * docs/design/part-clocks.txt:
23270 * docs/design/part-negotiation.txt:
23271 * docs/design/part-preroll.txt:
23272 Small doc updates
23274 2005-05-30 Wim Taymans <wim@fluendo.com>
23276 * gst/elements/gstidentity.c: (gst_identity_event),
23277 (gst_identity_transform), (gst_identity_get_property):
23278 Protect last_message property as it is accessed from
23279 multiple threads.
23281 2005-05-30 Wim Taymans <wim@fluendo.com>
23283 * gst/gstelement.c: (gst_element_init),
23284 (gst_element_pads_activate), (gst_element_change_state):
23285 Slicker pad activation code.
23287 2005-05-30 Wim Taymans <wim@fluendo.com>
23289 * gst/Makefile.am:
23290 * gst/gstelement.h:
23291 * gst/gstelementfactory.h:
23292 * gst/gsttypes.h:
23293 Move elementfactory methods to separate .h file.
23295 2005-05-30 Wim Taymans <wim@fluendo.com>
23297 * docs/design/part-overview.txt:
23298 * gst/gstsystemclock.h:
23299 Small typo fixes, doc updates.
23301 2005-05-30 Wim Taymans <wim@fluendo.com>
23303 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23304 (init_popt_callback):
23305 Remove cpu-opt flag.
23307 2005-05-30 Wim Taymans <wim@fluendo.com>
23309 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23310 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23311 * gst/gstbuffer.h:
23312 Avoid typechecking in places where not needed.
23313 Added accessor for malloc_data.
23315 2005-05-30 Wim Taymans <wim@fluendo.com>
23317 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23318 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23319 (gst_pad_configure_sink), (gst_pad_configure_src),
23320 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23321 (gst_pad_start_task):
23322 Propagate errors from _set_caps() in configure_src/sink
23323 functions instead of returning TRUE.
23324 FLUSH events can travel up and downstream
23327 2005-05-30 Wim Taymans <wim@fluendo.com>
23329 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23330 (gst_basesink_activate):
23331 Handle EOS in preroll.
23333 2005-05-30 Wim Taymans <wim@fluendo.com>
23335 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23336 (gst_queue_loop), (gst_queue_handle_src_event):
23337 Remove old pieces of code
23338 Flushing the queue in an upstream event is a very bad idea.
23340 2005-05-26 Andy Wingo <wingo@pobox.com>
23342 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23343 gst_value_set_mini_object so as to add a ref on the object (which
23344 will be removed when the value is unset).
23346 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23347 arg type in ::handoff.
23349 * gst/gstelement.c (gst_element_change_state): Also deactivate
23350 pads in READY->NULL, just in case the element didn't make it to
23351 PAUSED. Wingo tested, Wim approved.
23353 2005-05-26 Wim Taymans <wim@fluendo.com>
23355 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23356 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23357 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23358 A flushing pad cannot be used to alloc_buffer from.
23360 2005-05-26 Wim Taymans <wim@fluendo.com>
23362 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23363 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23364 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23365 (gst_bus_create_watch), (gst_bus_add_watch_full):
23366 * gst/gstbus.h:
23367 Implement a real GSource and use g_main_context_wakeup() to
23368 signal new messages instead of the socketpair.
23370 2005-05-25 Wim Taymans <wim@fluendo.com>
23372 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23373 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23374 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23375 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23376 (gst_pad_send_event), (gst_pad_start_task):
23377 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23378 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23379 (gst_queue_sink_activate), (gst_queue_src_activate),
23380 (gst_queue_change_state):
23381 * gst/gstqueue.h:
23382 Fix state changes for non sinks. We now change sinks, then elements
23383 with unconnected srcpads, then the rest.
23384 More efficient queue unlocking in flush and state changes.
23385 Set the pad activate mode even if it does not have an activate
23386 function.
23388 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23390 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23391 Don't go in pull mode for non-seekable sources.
23392 * gst/elements/gsttypefindelement.h:
23393 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23394 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23395 (free_entry), (stop_typefinding),
23396 (gst_type_find_element_handle_event), (find_peek),
23397 (gst_type_find_element_chain), (do_pull_typefind),
23398 (gst_type_find_element_change_state):
23399 Allow typefinding (w/o seeking) in push-mode, simplified version
23400 of what was in 0.8.
23401 * gst/gstutils.c: (gst_buffer_join):
23402 * gst/gstutils.h:
23403 gst_buffer_join() from 0.8.
23405 2005-05-25 Wim Taymans <wim@fluendo.com>
23407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23408 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23409 (gst_pad_send_event), (gst_pad_start_task):
23410 Disable attempt at mode switching until it is figured out.
23412 2005-05-25 Wim Taymans <wim@fluendo.com>
23414 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23415 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23416 (gst_basesink_finish_preroll), (gst_basesink_chain),
23417 (gst_basesink_loop), (gst_basesink_activate),
23418 (gst_basesink_change_state):
23419 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23420 (gst_basesrc_get_range), (gst_basesrc_loop),
23421 (gst_basesrc_activate):
23422 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23423 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23424 (gst_real_pad_init), (gst_real_pad_set_property),
23425 (gst_real_pad_get_property), (gst_pad_set_active),
23426 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23427 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23428 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23429 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23430 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23431 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23432 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23433 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23434 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23435 (gst_pad_stop_task):
23436 * gst/gstpad.h:
23437 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23438 (gst_queue_loop), (gst_queue_src_activate):
23439 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23440 (gst_task_get_state):
23441 * gst/gsttask.h:
23442 * gst/schedulers/threadscheduler.c:
23443 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23444 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23445 in task function.
23446 Remove ACTIVE pad flag, use FLUSHING everywhere
23447 Added _pad_chain(), _pad_get_range() to call chain/getrange
23448 functions.
23449 Add locks around IS_FLUSHING when reading.
23450 Take STREAM lock in chain(), get_range() functions so plugins
23451 don't need to take it anymore.
23455 2005-05-25 Wim Taymans <wim@fluendo.com>
23457 * tools/gst-launch.c: (event_loop):
23458 Unref message after using its contents instead of
23459 before.
23461 2005-05-24 Wim Taymans <wim@fluendo.com>
23463 * docs/design/draft-ghostpads.txt:
23464 * docs/design/draft-push-pull.txt:
23465 * docs/design/draft-query.txt:
23466 * docs/design/part-overview.txt:
23467 Docs updates, added general overview doc.
23469 2005-05-21 David Schleef <ds@schleef.org>
23471 * docs/gst/tmpl/old/GstBin.sgml:
23472 * docs/gst/tmpl/old/GstBuffer.sgml:
23473 * docs/gst/tmpl/old/GstCaps.sgml:
23474 * docs/gst/tmpl/old/GstClock.sgml:
23475 * docs/gst/tmpl/old/GstCompat.sgml:
23476 * docs/gst/tmpl/old/GstData.sgml:
23477 * docs/gst/tmpl/old/GstElement.sgml:
23478 * docs/gst/tmpl/old/GstEvent.sgml:
23479 * docs/gst/tmpl/old/GstIndex.sgml:
23480 * docs/gst/tmpl/old/GstStructure.sgml:
23481 * docs/gst/tmpl/old/GstTag.sgml:
23482 * docs/gst/tmpl/old/cothreads.sgml:
23483 * docs/gst/tmpl/old/cothreads_compat.sgml:
23484 * docs/gst/tmpl/old/gettext.sgml:
23485 * docs/gst/tmpl/old/gobject2gtk.sgml:
23486 * docs/gst/tmpl/old/grammar.tab.sgml:
23487 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23488 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23489 * docs/gst/tmpl/old/gst_private.sgml:
23490 * docs/gst/tmpl/old/gstaggregator.sgml:
23491 * docs/gst/tmpl/old/gstarch.sgml:
23492 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23493 * docs/gst/tmpl/old/gstbufferstore.sgml:
23494 * docs/gst/tmpl/old/gstdata_private.sgml:
23495 * docs/gst/tmpl/old/gstdisksink.sgml:
23496 * docs/gst/tmpl/old/gstdisksrc.sgml:
23497 * docs/gst/tmpl/old/gstelementfactory.sgml:
23498 * docs/gst/tmpl/old/gstextratypes.sgml:
23499 * docs/gst/tmpl/old/gstfakesink.sgml:
23500 * docs/gst/tmpl/old/gstfakesrc.sgml:
23501 * docs/gst/tmpl/old/gstfdsink.sgml:
23502 * docs/gst/tmpl/old/gstfdsrc.sgml:
23503 * docs/gst/tmpl/old/gstfilesink.sgml:
23504 * docs/gst/tmpl/old/gstfilesrc.sgml:
23505 * docs/gst/tmpl/old/gsthttpsrc.sgml:
23506 * docs/gst/tmpl/old/gstidentity.sgml:
23507 * docs/gst/tmpl/old/gstindexfactory.sgml:
23508 * docs/gst/tmpl/old/gstmarshal.sgml:
23509 * docs/gst/tmpl/old/gstmd5sink.sgml:
23510 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23511 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23512 * docs/gst/tmpl/old/gstpadtemplate.sgml:
23513 * docs/gst/tmpl/old/gstpipefilter.sgml:
23514 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23515 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23516 * docs/gst/tmpl/old/gstshaper.sgml:
23517 * docs/gst/tmpl/old/gstspider.sgml:
23518 * docs/gst/tmpl/old/gstspideridentity.sgml:
23519 * docs/gst/tmpl/old/gststatistics.sgml:
23520 * docs/gst/tmpl/old/gsttee.sgml:
23521 * docs/gst/tmpl/old/gsttimecache.sgml:
23522 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23523 * docs/gst/tmpl/old/gstxmlregistry.sgml:
23524 * docs/gst/tmpl/old/gthread-cothreads.sgml:
23525 * docs/gst/tmpl/old/types.sgml:
23526 I didn't intend to add these or check them in.
23528 2005-05-19 David Schleef <ds@schleef.org>
23530 * configure.ac: Use -no-common everywhere. In a sane world, it
23531 would be the default in libtool, because without it, you can't
23532 build DLLs on Windows.
23533 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23534 * docs/gst/gstreamer-sections.txt:
23535 * docs/gst/tmpl/gstcpu.sgml:
23536 * docs/gst/tmpl/gstdata.sgml:
23537 * docs/gst/tmpl/gstthread.sgml:
23539 2005-05-19 David Schleef <ds@schleef.org>
23541 * gst/gstminiobject.c: (gst_value_set_mini_object),
23542 (gst_value_take_mini_object), (gst_value_get_mini_object):
23543 * gst/gstminiobject.h: Add GValue set/get functions.
23545 2005-05-19 Wim Taymans <wim@fluendo.com>
23547 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23548 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23549 (gst_subbuffer_init), (gst_buffer_is_span_fast):
23550 * gst/gstbuffer.h:
23551 * gst/gstbus.c: (gst_bus_post):
23552 * gst/gstelement.c: (gst_element_get_random_pad):
23553 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23554 Make subbufer unref the parent in finalize.
23555 some more debugging info.
23558 2005-05-19 Wim Taymans <wim@fluendo.com>
23560 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23561 (gst_basesink_init), (gst_basesink_finalize),
23562 (gst_basesink_activate), (gst_basesink_change_state):
23563 Don't free preroll queue too early.
23565 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23567 * gst/Makefile.am:
23568 * gst/ROADMAP:
23569 Hi, I'm outdated. Please shoot me.
23571 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23573 * gst/gstpipeline.c: (gst_pipeline_send_event):
23574 Do not access variables after they have been deleted.
23576 2005-05-19 Wim Taymans <wim@fluendo.com>
23578 * tools/gst-inspect.c: (print_plugin_features):
23579 A plugin feature does unfortunatly not use the
23580 object name yet...
23582 2005-05-18 Wim Taymans <wim@fluendo.com>
23584 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23585 Port _span() functions to new subbuffers.
23587 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23589 * gst/gstbin.c: (gst_bin_add_func):
23590 Fix clock settery in bins when adding kids after the clock has
23591 been selected.
23593 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23595 * gst/elements/gstidentity.c: (gst_identity_class_init):
23596 Workaround until signals support GstMiniObject.
23598 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23600 * gst/gstbuffer.c:
23601 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23603 2005-05-18 Wim Taymans <wim@fluendo.com>
23605 * gst/base/Makefile.am:
23606 * gst/base/gstadapter.c: (gst_adapter_base_init),
23607 (gst_adapter_class_init), (gst_adapter_init),
23608 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23609 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23610 (gst_adapter_flush), (gst_adapter_available),
23611 (gst_adapter_available_fast):
23612 * gst/base/gstadapter.h:
23613 Ported and added adapter to the base classes.
23615 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23617 * gst/gst.c:
23618 * gst/gstmessage.c:
23619 Make sure the class is reffed/unreffed once before threads can be
23620 used. Fixes #304551.
23622 2005-05-17 Wim Taymans <wim@fluendo.com>
23624 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23625 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23626 * gst/gstminiobject.c: (gst_mini_object_get_type),
23627 (gst_mini_object_free):
23628 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23629 (gst_pad_push), (gst_pad_push_event):
23630 * gst/gstqueue.c: (gst_queue_change_state):
23631 Don't queue buffers in basesink when we are flushing.
23632 Unref buffer when flushing in basesink.
23633 Flush queue when going to READY
23634 Unref buffer when _push() returns an error.
23635 Don't free MiniObject instance when refcount is incremented
23636 in _finalize() so that we can recover objects.
23638 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23640 * docs/manual/advanced-schedulers.xml:
23641 * docs/manual/appendix-checklist.xml:
23642 * docs/pwg/advanced-clock.xml:
23643 * docs/pwg/advanced-interfaces.xml:
23644 * docs/pwg/advanced-request.xml:
23645 * docs/pwg/advanced-types.xml:
23646 * docs/pwg/intro-preface.xml:
23647 * examples/plugins/example.c: (gst_example_get_type),
23648 (gst_example_class_init), (gst_example_chain),
23649 (gst_example_set_property), (gst_example_get_property),
23650 (gst_example_change_state), (plugin_init):
23651 * examples/plugins/example.h:
23652 small doc fixes
23654 2005-05-17 Wim Taymans <wim@fluendo.com>
23656 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23657 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23658 * gst/gstqueue.c: (gst_queue_change_state):
23659 Clear queue when going to READY.
23660 Remove IN_SETCAPS flag too.
23662 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23664 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23665 Remove implicit cast from gboolean to GstElementStateReturn;
23666 make sure we still return failure in paused => ready case if
23667 the parent class fails to change state and our own stop
23668 vfunc succeeds.
23670 2005-05-17 Wim Taymans <wim@fluendo.com>
23672 * tools/gst-launch.c: (event_loop):
23673 Message was unreffed too soon.
23675 2005-05-16 Andy Wingo <wingo@pobox.com>
23677 * gst/gstbin.c (sink_iterator_filter): Err... um...
23679 * check/gst/gstbin.c (test_ghost_pads): New test for the
23680 ghosting-if-elements-not-in-same-bin behavior.
23682 2005-05-16 David Schleef <ds@schleef.org>
23684 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23685 accessing refcount directly.
23687 2005-05-15 David Schleef <ds@schleef.org>
23689 * check/Makefile.am: remove GstData checks
23690 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23691 * gst/Makefile.am: add miniobject, remove data
23692 * gst/gst.h: add miniobject, remove data
23693 * gst/gstdata.c: remove
23694 * gst/gstdata.h: remove
23695 * gst/gstdata_private.h: remove
23696 * gst/gsttypes.h: remove GstEvent and GstMessage
23697 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23698 * gst/gstmarshal.list: change BOXED -> OBJECT
23700 Implement GstMiniObject.
23701 * gst/gstminiobject.c:
23702 * gst/gstminiobject.h:
23704 Modify to be subclasses of GstMiniObject.
23705 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23706 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23707 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23708 (gst_subbuffer_get_type), (gst_subbuffer_init),
23709 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23710 (gst_buffer_span):
23711 * gst/gstbuffer.h:
23712 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23713 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23714 (_gst_event_copy), (gst_event_new):
23715 * gst/gstevent.h:
23716 * gst/gstmessage.c: (_gst_message_initialize),
23717 (gst_message_get_type), (gst_message_class_init),
23718 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23719 (gst_message_new), (gst_message_new_error),
23720 (gst_message_new_warning), (gst_message_new_tag),
23721 (gst_message_new_state_changed), (gst_message_new_application):
23722 * gst/gstmessage.h:
23723 * gst/gstprobe.c: (gst_probe_perform),
23724 (gst_probe_dispatcher_dispatch):
23725 * gst/gstprobe.h:
23726 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23727 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23728 (_gst_query_copy), (gst_query_new):
23730 Update elements for GstData -> GstMiniObject changes
23731 * gst/gstquery.h:
23732 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23733 (gst_queue_chain), (gst_queue_loop):
23734 * gst/elements/gstbufferstore.c:
23735 (gst_buffer_store_add_buffer_func),
23736 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23737 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23738 (gst_fakesink_render):
23739 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23740 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23741 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23742 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23743 (gst_filesrc_create_read):
23744 * gst/elements/gstidentity.c: (gst_identity_class_init):
23745 * gst/elements/gsttypefindelement.c:
23746 (gst_type_find_element_src_event), (free_entry_buffers),
23747 (gst_type_find_element_handle_event):
23748 * libs/gst/dataprotocol/dataprotocol.c:
23749 (gst_dp_header_from_buffer):
23750 * libs/gst/dataprotocol/dataprotocol.h:
23751 * libs/gst/dataprotocol/dp-private.h:
23753 2005-05-15 David Schleef <ds@schleef.org>
23755 * gst/elements/gstelements.c: Don't include headers that were
23756 just removed.
23758 2005-05-15 David Schleef <ds@schleef.org>
23760 * gst/elements/Makefile.am: Remove some elements that don't
23761 need to be in the core (or even exist at all).
23762 * gst/elements/gstaggregator.c:
23763 * gst/elements/gstaggregator.h:
23764 * gst/elements/gstmd5sink.c:
23765 * gst/elements/gstmd5sink.h:
23766 * gst/elements/gstmultifilesrc.c:
23767 * gst/elements/gstmultifilesrc.h:
23768 * gst/elements/gstpipefilter.c:
23769 * gst/elements/gstpipefilter.h:
23770 * gst/elements/gstshaper.c:
23771 * gst/elements/gstshaper.h:
23772 * gst/elements/gststatistics.c:
23773 * gst/elements/gststatistics.h:
23774 * po/POTFILES.in: Remove above files.
23776 2005-05-14 Andy Wingo <wingo@pobox.com>
23778 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23779 so as to get the refs right.
23780 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23781 unreffing objects that don't pass the filter.
23783 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23784 gst_element_set_bus.
23785 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23786 normal cases, this will destroy the bus.
23788 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23789 object.
23791 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23792 has no sinks.
23794 2005-05-13 Andy Wingo <wingo@pobox.com>
23796 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23797 gst_pad_link, call pad_link_maybe_ghosting,
23798 (pad_link_maybe_ghosting): Links pads, making sure that the
23799 elements being linked are in the same bin.
23800 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23801 Helpers for pad_link_maybe_ghosting.
23803 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23805 * configure.ac:
23806 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23808 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23810 * docs/design/part-element-source.txt:
23811 Mention GstPushSrc
23813 2005-05-12 Wim Taymans <wim@fluendo.com>
23815 * gst/base/gstbasesink.c: (gst_basesink_init),
23816 (gst_basesink_activate):
23817 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23818 (gst_basesrc_is_seekable):
23819 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23820 (bin_element_is_sink), (gst_bin_change_state):
23821 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23822 * gst/gstelement.h:
23823 Identify sinks by their flag to avoid overly complicated
23824 checks (fow now).
23825 Do state changes even for elements not reachable from the
23826 sinks.
23827 BaseSink is a sink now :)
23828 Some more debugging info in the basesrc.
23831 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23833 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23834 Implement _query on a bin, similar to _send_event.
23836 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23838 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23839 Discont event offset format should be GST_FORMAT_BYTES,
23840 not GST_FORMAT_TIME.
23842 2005-05-12 Wim Taymans <wim@fluendo.com>
23844 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23845 Same fix as Ronald's but without the signal.
23847 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23849 * gst/gstutils.c: (gst_element_query_position):
23850 No, an element is not a pad.
23852 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23854 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23855 (gst_bin_get_state):
23856 If a child is removed from a bin while we remove the child from
23857 the bin and while we're retrieving its state, signal this to the
23858 get_state function so we abort the wait (instead of waiting for
23859 a timeout) and can immediately re-iterate over all other elements.
23861 2005-05-12 Wim Taymans <wim@fluendo.com>
23863 * gst/base/Makefile.am:
23864 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23865 (gst_basesrc_start):
23866 * gst/base/gstbasesrc.h:
23867 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23868 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23869 (gst_pushsrc_init), (gst_pushsrc_create):
23870 * gst/base/gstpushsrc.h:
23871 Added is_seekable to BaseSrc
23872 Added simple PushSrc.
23874 2005-05-11 Wim Taymans <wim@fluendo.com>
23876 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23877 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23878 (gst_element_link_pads), (gst_element_query_position),
23879 (gst_element_query_convert), (intersect_caps_func),
23880 (gst_pad_query_position), (gst_pad_query_convert):
23881 Fix refcounting in utils function.
23882 No point in trying to activate a pad when it's added, it could
23883 be added from the state change function and then we deadlock, the
23884 element has to decide what to do.
23886 2005-05-10 Andy Wingo <wingo@pobox.com>
23888 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23889 *all* the arguments.
23891 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23892 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23893 lock (according to the docs -- if this is wrong change the docs).
23895 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23896 flush messages in the NULL state.
23898 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23899 message immediately and return.
23900 (gst_bus_set_flushing): New function. If a bus is flushing, it
23901 flushes out any queued messages and immediately unrefs new
23902 messages. This is so when an element goes to NULL, all of the
23903 unhandled messages coming from it can be freed, and their
23904 references to the element dropped. In other words: message source
23905 ref considered harmful :P
23907 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23908 we're finished with it.
23910 * gst/gstmessage.c (gst_message_new_state_changed):
23912 2005-05-10 Wim Taymans <wim@fluendo.com>
23914 * gst/gstvalue.c: (gst_value_compare_flags),
23915 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23916 (_gst_value_initialize):
23917 Added flags serialize/deserialize/compare code.
23919 2005-05-09 Andy Wingo <wingo@pobox.com>
23921 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23922 Intersect the peer's caps with our caps.
23924 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23926 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23927 * gst/elements/gsttypefindelement.c: (find_peek):
23928 Handle negative offsets better. Fixes decodebin.
23930 2005-05-09 Wim Taymans <wim@fluendo.com>
23932 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23933 (gst_base_transform_event):
23934 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23935 Implement accept_caps.
23936 Fix silly lock/unlock mismatch in base class.
23938 2005-05-09 Wim Taymans <wim@fluendo.com>
23940 * docs/design/draft-push-pull.txt:
23941 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23942 * gst/elements/gstfilesink.c: (gst_filesink_init),
23943 (gst_filesink_query):
23944 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23945 (gst_type_find_handle_src_query), (find_element_get_length):
23946 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23947 * gst/gstelement.h:
23948 * gst/gstmessage.c:
23949 * gst/gstmessage.h:
23950 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23951 (gst_real_pad_get_caps_unlocked),
23952 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23953 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23954 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23955 (gst_real_pad_dispose), (gst_real_pad_finalize),
23956 (gst_pad_load_and_link), (gst_pad_save_thyself),
23957 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23958 (gst_pad_check_pull_range), (gst_pad_pull_range),
23959 (gst_pad_template_get_type), (gst_pad_template_class_init),
23960 (gst_pad_template_init), (gst_pad_template_dispose),
23961 (name_is_valid), (gst_static_pad_template_get),
23962 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23963 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23964 (gst_pad_get_element_private), (gst_pad_start_task),
23965 (gst_pad_pause_task), (gst_pad_stop_task),
23966 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23967 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23968 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23969 (gst_ghost_pad_new):
23970 * gst/gstpad.h:
23971 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23972 (gst_query_new_position), (gst_query_set_position),
23973 (gst_query_parse_position), (gst_query_new_convert),
23974 (gst_query_set_convert), (gst_query_parse_convert):
23975 * gst/gstquery.h:
23976 * gst/gstqueryutils.c:
23977 * gst/gstqueryutils.h:
23978 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23979 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23980 (gst_queue_handle_src_query):
23981 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23982 (gst_element_query_position), (gst_element_query_convert),
23983 (intersect_caps_func), (gst_pad_query_position),
23984 (gst_pad_query_convert):
23985 * gst/gstutils.h:
23986 * tools/gst-inspect.c: (print_pad_info):
23987 * tools/gst-xmlinspect.c: (print_element_info):
23988 Remove old query functions. Ported old code.
23989 Added position/convert helper functions to gstutils.
23990 Reordered gstpad.c code, grouping relevant things.
23991 Remove gst_message_new(), always need to speficy a specific
23992 message.
23995 2005-05-09 Andy Wingo <wingo@pobox.com>
23997 * gst/gstiterator.h: Add some includes.
23999 * gst/gstqueryutils.h: Include more headers.
24001 * gst/gstpad.h:
24002 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24003 some uses of gst_pad_query.
24005 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24006 NULL out parameters.
24007 (gst_query_new_position): New proc, allocates a new position
24008 query.
24010 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24011 gstqueryutils.c to the build.
24013 * gst/gststructure.c (gst_structure_set_valist): Implement with
24014 the generic G_VALUE_COLLECT.
24016 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24018 * gst/Makefile.am: (gst_headers):
24019 Added gstqueryutils.h to the list of headers to install, that was
24020 a 'nachty' move wingo :)
24022 2005-05-06 Andy Wingo <wingo@pobox.com>
24024 * gst/gstquery.h
24025 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24026 GstData, init a memchunk.
24027 (standard_definitions): Add a few query types, deprecate a few.
24028 (gst_query_get_type): New proc.
24029 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24030 implementation.
24031 (gst_query_new_application, gst_query_get_structure): New public
24032 procs.
24034 * docs/design/draft-query.txt: Removed LINKS from the query types,
24035 because all the rest can be dispatched to other pads -- seemed
24036 ugly to have a query that couldn't be dispatched. internal_links
24037 is fine as a pad method.
24039 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24040 in gstpad.c, but maintain binary compatibility for the moment.
24041 Will fix before 0.9 is out.
24043 * gst/gstqueryutils.c:
24044 * gst/gstqueryutils.h: New files, implement 3 methods for each
24045 query type: parse_query, parse_response, and set. Probably need an
24046 allocator as well.
24048 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24050 * gst/elements/gstfilesink.c (gst_filesink_query2):
24051 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24052 query_types, and formats methods.
24054 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24055 (gst_pad_set_query2_function): New functions.
24056 (gst_real_pad_init): Set query2_default as the default query2
24057 function. Basically just dispatches to internally linked pads.
24059 Needs review!
24061 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24062 without using the atomic operations. Only one thread can possibly
24063 be accessing the data at this point. Changed so as to avoid
24064 gst_atomic operations.
24066 2005-05-06 Wim Taymans <wim@fluendo.com>
24068 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24069 Also set caps if we use the fallback buffer alloc.
24071 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24073 * docs/gst/Makefile.am:
24074 * docs/gst/gstreamer-docs.sgml:
24075 * docs/gst/gstreamer-sections.txt:
24076 * docs/gst/tmpl/gstatomic.sgml:
24077 * docs/gst/tmpl/gstmemchunk.sgml:
24078 * testsuite/elements/struct_i386.h:
24079 * win32/GStreamer.vcproj:
24080 * win32/Makefile:
24081 Purge GstAtomic stuff from docs and win32 makefiles as well
24083 2005-05-06 Wim Taymans <wim@fluendo.com>
24085 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24086 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24087 * gst/gstpad.c: (gst_pad_peer_get_caps):
24088 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24089 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24090 (gst_queue_src_activate), (gst_queue_change_state):
24091 * gst/gstqueue.h:
24092 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24093 (intersect_caps_func):
24094 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24095 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24096 Some fixes for the peer_get_caps() change.
24098 2005-05-06 Wim Taymans <wim@fluendo.com>
24100 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24101 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24102 (gst_basesink_activate):
24103 Actually do something with error codes returned from the push
24104 functions.
24106 2005-05-06 Wim Taymans <wim@fluendo.com>
24108 * docs/design/part-element-sink.txt:
24109 * docs/design/part-element-source.txt:
24110 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24111 (gst_basesink_event), (gst_basesink_activate):
24112 * gst/base/gstbasesink.h:
24113 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24114 (gst_basesrc_activate):
24115 * gst/base/gstbasesrc.h:
24116 * gst/gstelement.c: (gst_element_pads_activate):
24117 Some more documentation.
24118 Fixed scheduling decision in _pads_activate().
24120 2005-05-05 Andy Wingo <wingo@pobox.com>
24122 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24123 the test suite.
24125 2005-05-05 Wim Taymans <wim@fluendo.com>
24127 * gst/base/Makefile.am:
24128 * gst/base/gstbasesink.h:
24129 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24130 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24131 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24132 (gst_collectpads_class_init), (gst_collectpads_init),
24133 (gst_collectpads_finalize), (gst_collectpads_new),
24134 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24135 (find_pad), (gst_collectpads_remove_pad),
24136 (gst_collectpads_is_active), (gst_collectpads_collect),
24137 (gst_collectpads_collect_range), (gst_collectpads_start),
24138 (gst_collectpads_stop), (gst_collectpads_peek),
24139 (gst_collectpads_pop), (gst_collectpads_available),
24140 (gst_collectpads_read), (gst_collectpads_flush),
24141 (gst_collectpads_chain):
24142 * gst/base/gstcollectpads.h:
24143 * gst/elements/Makefile.am:
24144 * gst/elements/gstelements.c:
24145 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24146 (gst_fakesink_get_times), (gst_fakesink_event),
24147 (gst_fakesink_preroll), (gst_fakesink_render):
24148 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24149 (gst_filesink_init), (gst_filesink_set_location),
24150 (gst_filesink_open_file), (gst_filesink_close_file),
24151 (gst_filesink_pad_query), (gst_filesink_event),
24152 (gst_filesink_render), (gst_filesink_change_state):
24153 * gst/elements/gstfilesink.h:
24154 Added object to help in making collect pad based elements.
24155 Ported filesink.
24156 Make event function in sink baseclass return gboolean.
24158 2005-05-05 Wim Taymans <wim@fluendo.com>
24160 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24161 (gst_bin_get_by_name):
24162 * gst/gstbuffer.h:
24163 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24164 (gst_clock_finalize):
24165 * gst/gstdata.c: (gst_data_replace):
24166 * gst/gstdata.h:
24167 * gst/gstelement.c: (gst_element_request_pad),
24168 (gst_element_pads_activate):
24169 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24170 (gst_object_unref):
24171 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24172 (gst_pad_set_checkgetrange_function),
24173 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24174 (gst_pad_check_pull_range), (gst_pad_pull_range),
24175 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24176 (gst_pad_pause_task), (gst_pad_stop_task):
24177 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24178 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24179 Fix name lookup in GstBin.
24180 Added _data_replace() function and _buffer_replace()
24181 Use finalize method to clean up clock.
24182 Fix refcounting on request pads.
24183 Fix pad schedule mode error.
24184 Some more object refcounting debug info,
24187 2005-05-04 Andy Wingo <wingo@pobox.com>
24189 * check/Makefile.am:
24190 * docs/gst/tmpl/gstatomic.sgml:
24191 * docs/gst/tmpl/gstplugin.sgml:
24192 * gst/base/gstbasesink.c: (gst_basesink_activate):
24193 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24194 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24195 (gst_basesrc_query), (gst_basesrc_set_property),
24196 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24197 (gst_basesrc_activate):
24198 * gst/base/gstbasesrc.h:
24199 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24200 (gst_base_transform_src_activate):
24201 * gst/elements/gstelements.c:
24202 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24203 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24204 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24205 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24206 (gst_type_find_element_checkgetrange),
24207 (gst_type_find_element_activate):
24208 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24209 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24210 (gst_caps_load_thyself):
24211 * gst/gstelement.c: (gst_element_pads_activate),
24212 (gst_element_save_thyself), (gst_element_restore_thyself):
24213 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24214 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24215 * gst/gstpad.h:
24216 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24217 (gst_xml_parse_file), (gst_xml_parse_memory),
24218 (gst_xml_get_element), (gst_xml_make_element):
24219 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24220 (_file_index_id_save_xml), (gst_file_index_commit):
24221 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24222 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24223 (load_paths):
24224 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24225 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24226 * tools/gst-complete.c: (main):
24227 * tools/gst-compprep.c: (main):
24228 * tools/gst-inspect.c: (print_element_properties_info):
24229 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24230 * tools/gst-xmlinspect.c: (print_element_properties):
24231 GCC 4 fixen.
24233 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24235 * gst/gstplugin.c: (gst_plugin_check_module),
24236 (gst_plugin_check_file), (gst_plugin_load_file):
24237 apply patch from #172526 to make register work on MacOSX
24239 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24241 * docs/gst/tmpl/gstconfig.sgml:
24242 * gst/gstconfig.h.in:
24243 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24244 * testsuite/debug/printf_extension.c: (main):
24245 Do not use GST_PTR_FORMAT on pointers to types with
24246 sizeof < sizeof(gpointer). Fixes test on 64-bit
24247 * testsuite/elements/property.h:
24248 use correct printf format
24250 2005-05-02 Wim Taymans <wim@fluendo.com>
24252 * docs/design/draft-push-pull.txt:
24253 * docs/design/draft-query.txt:
24254 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24255 (gst_basesrc_start):
24256 Added draft for new query API.
24257 Added draft for better selecting scheduling methods.
24258 Make basesrc ignore length if the subclass does not support
24259 it.
24261 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24263 * gst/Makefile.am:
24264 possible fixes for automake-1.5 - _LIBADD is reserved
24266 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24268 * docs/faq/Makefile.am:
24269 * docs/manual/Makefile.am:
24270 * docs/manuals.mak:
24271 * docs/pwg/Makefile.am:
24272 * gst/Makefile.am:
24273 possible fixes for automake-1.5
24275 2005-04-28 Wim Taymans <wim@fluendo.com>
24277 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24278 (gst_basesink_pad_getcaps), (gst_basesink_init),
24279 (gst_basesink_do_sync):
24280 * gst/gstclock.c: (gst_clock_entry_new):
24281 * gst/gstevent.c: (gst_event_discont_get_value):
24282 * gst/gstpipeline.c: (pipeline_bus_handler),
24283 (gst_pipeline_change_state):
24284 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24285 Better debugging of clocking info.
24286 Allow NULL values when getting discont values.
24288 2005-04-27 Wim Taymans <wim@fluendo.com>
24290 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24291 * check/gst/gstpad.c: (gst_pad_suite):
24292 Increase timeout for checks.
24294 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24296 * check/Makefile.am:
24297 fix the broken rule for cleanup. Apparently this rule is
24298 only needed on FC2, so maybe this warrants further autotool
24299 inspection.
24301 2005-04-26 Wim Taymans <wim@fluendo.com>
24303 * gst/gsttrashstack.h:
24304 Ooohh. a nasty one! After having a failed pop() from the stack,
24305 it's possible that the stack is empty. In that case, don't
24306 follow the NULL pointer.
24308 2005-04-25 Wim Taymans <wim@fluendo.com>
24310 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24311 (gst_pad_set_checkgetrange_function),
24312 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24313 (gst_pad_check_pull_range), (gst_pad_pull_range),
24314 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24315 (gst_pad_pause_task), (gst_pad_stop_task):
24316 * gst/gstplugin.c: (gst_plugin_load):
24317 * gst/gstplugin.h:
24318 Remove gst_library_load as it does more harm than good with
24319 the new g_module flags.
24320 Revert bogus caps template check in pad linking, pad caps
24321 are important when linking not the template, which is more
24322 general than the current caps.
24324 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24326 * gst/autoplug/.cvsignore:
24327 * gst/autoplug/Makefile.am:
24328 * gst/autoplug/gstsearchfuncs.c:
24329 * gst/autoplug/gstsearchfuncs.h:
24330 * gst/autoplug/gstspider.c:
24331 * gst/autoplug/gstspider.h:
24332 * gst/autoplug/gstspideridentity.c:
24333 * gst/autoplug/gstspideridentity.h:
24334 * gst/autoplug/spidertest.c:
24335 Die, spider, die.
24337 2005-04-25 Wim Taymans <wim@fluendo.com>
24339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24340 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24341 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24342 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24343 * gst/gstpad.h:
24344 Added stubs for unimplemented functions.
24346 2005-04-24 David Schleef <ds@schleef.org>
24348 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24349 please fix.
24351 2005-04-24 David Schleef <ds@schleef.org>
24353 Convert everything from GstAtomicInt to g_atomic_int_*, and
24354 remove gstatomic.
24355 * gst/Makefile.am:
24356 * gst/gstatomic.c:
24357 * gst/gstatomic.h:
24358 * gst/gstatomic_impl.h:
24359 * gst/gstbuffer.c:
24360 * gst/gstcaps.c:
24361 * gst/gstcaps.h:
24362 * gst/gstclock.c:
24363 * gst/gstclock.h:
24364 * gst/gstdata.c:
24365 * gst/gstdata.h:
24366 * gst/gstdata_private.h:
24367 * gst/gstevent.c:
24368 * gst/gstinfo.c:
24369 * gst/gstinfo.h:
24370 * gst/gstmessage.c:
24371 * gst/gstobject.c:
24372 * gst/gstobject.h:
24373 * gst/gststructure.c:
24374 * gst/gststructure.h:
24375 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24376 * gst/gstutils.h:
24378 2005-04-24 David Schleef <ds@schleef.org>
24380 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24381 make the regressions tests work. Remove some code that is no
24382 longer true.
24383 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24384 Disable warning for pads without templates.
24386 2005-04-24 David Schleef <ds@schleef.org>
24388 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24389 functions that handle filtered links.
24390 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24391 removed functions.
24392 * gst/gstutils.c: Fix/remove utility functions that handle
24393 filtered caps.
24394 * gst/gstutils.h:
24395 * gst/gstvalue.c: Add serialization/deserialization of caps
24396 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24397 requires fixing so that the filter caps notation creates
24398 a capsfilter element and sets the filter_caps property. I
24399 think everyone probably wants to keep the shorthand notation.
24400 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24401 * docs/gst/tmpl/gstpad.sgml:
24403 * gst/elements/gstelements.c: Register capsfilter element.
24404 * gst/Makefile.am: fix spacing
24405 * docs/random/ds/0.9-suggested-changes: random
24407 2005-04-23 David Schleef <ds@schleef.org>
24409 * gst/elements/Makefile.am:
24410 * gst/elements/gstcapsfilter.c: New element that acts like an
24411 identity, but filters caps. Will eventually replace filtered
24412 caps in pad linking.
24413 * gst/gstutils.c: (gst_element_create_all_pads): New function
24414 to create all the ALWAYS pads that are registered with an
24415 element class. This functionality should eventually be
24416 merged in with GstElement initialization.
24417 * gst/gstutils.h:
24418 * testsuite/trigger/README: part of trigger test code that should
24419 have been checked in a long time ago.
24421 2005-04-23 David Schleef <ds@schleef.org>
24423 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24424 needed with new versions of libtool (nobody will confirm this),
24425 and hard to carry around.
24426 * gst/autoplug/Makefile.am:
24427 * gst/base/Makefile.am:
24428 * gst/elements/Makefile.am:
24429 * gst/indexers/Makefile.am:
24430 * gst/schedulers/Makefile.am:
24431 * libs/gst/bytestream/Makefile.am:
24432 * libs/gst/control/Makefile.am:
24433 * libs/gst/dataprotocol/Makefile.am:
24434 * libs/gst/getbits/Makefile.am:
24436 2005-04-21 Wim Taymans <wim@fluendo.com>
24438 * docs/design/draft-push-pull.txt:
24439 * docs/design/part-MT-refcounting.txt:
24440 * docs/design/part-TODO.txt:
24441 * docs/design/part-caps.txt:
24442 * docs/design/part-events.txt:
24443 * docs/design/part-gstbus.txt:
24444 * docs/design/part-gstpipeline.txt:
24445 * docs/design/part-messages.txt:
24446 * docs/design/part-push-pull.txt:
24447 * docs/design/part-query.txt:
24448 Some more docs.
24450 2005-04-21 Wim Taymans <wim@fluendo.com>
24452 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24453 (gst_message_new), (gst_message_new_error),
24454 (gst_message_new_warning), (gst_message_new_tag),
24455 (gst_message_new_state_changed), (gst_message_new_application),
24456 (gst_message_get_structure):
24457 * gst/gstmessage.h:
24458 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24459 (gst_structure_copy_conditional):
24460 Use parent refcount in GstMessage to ensure GstStructure
24461 consistency.
24462 Cleaned up headers a bit.
24465 2005-04-20 Wim Taymans <wim@fluendo.com>
24467 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24468 (gst_basesink_pad_getcaps), (gst_basesink_init),
24469 (gst_basesink_chain_unlocked):
24470 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24471 (gst_type_find_helper):
24472 * gst/elements/gsttypefindelement.c:
24473 (gst_type_find_element_have_type), (gst_type_find_element_init),
24474 (stop_typefinding), (gst_type_find_element_handle_event),
24475 (find_suggest), (gst_type_find_element_chain),
24476 (gst_type_find_element_checkgetrange),
24477 (gst_type_find_element_getrange), (do_typefind),
24478 (gst_type_find_element_activate):
24479 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24480 (gst_buffer_default_free), (gst_buffer_default_copy),
24481 (gst_buffer_set_caps):
24482 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24483 (gst_caps_replace):
24484 * gst/gstmessage.c: (gst_message_new),
24485 (gst_message_new_state_changed):
24486 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24487 (gst_pad_set_checkgetrange_function),
24488 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24489 (gst_pad_set_caps), (gst_pad_check_pull_range),
24490 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24491 * gst/gstpad.h:
24492 * gst/gsttypefind.c: (gst_type_find_register):
24493 Make gst_caps_replace() work like other _replace() functions.
24494 Use _caps_replace() where possible.
24495 Make sure _message_new() initialises its field.
24496 Add gst_static_pad_template_get_caps()
24499 2005-04-18 Andy Wingo <wingo@pobox.com>
24501 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24502 on the peer, not the pad. I think that was a typo. Pass an extra
24503 arg to see if random access is possible. Activate the pads as
24504 PULL_RANGE if possible.
24506 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24508 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
24509 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24510 to PROP_....
24512 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24514 * docs/faq/using.xml:
24515 Add note on gstreamer-properties (#154996).
24517 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24519 * docs/random/bbb/optional-properties:
24520 Some analysis on optional properties.
24522 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24524 * docs/gst/tmpl/gstelementfactory.sgml:
24525 * gst/gstelement.h:
24526 * gst/gstelementfactory.c: (gst_element_factory_init),
24527 (gst_element_factory_cleanup), (gst_element_register),
24528 (__gst_element_factory_add_static_pad_template),
24529 (gst_element_factory_get_static_pad_templates),
24530 (gst_element_factory_can_src_caps),
24531 (gst_element_factory_can_sink_caps):
24532 * gst/registries/Makefile.am:
24533 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24534 (gst_xml_registry_class_init), (gst_xml_registry_init),
24535 (gst_xml_registry_new), (gst_xml_registry_set_property),
24536 (gst_xml_registry_get_property), (get_time), (make_dir),
24537 (gst_xml_registry_get_perms_func),
24538 (plugin_times_older_than_recurse), (plugin_times_older_than),
24539 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24540 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24541 (add_to_char_array), (read_string), (read_uint), (read_enum),
24542 (load_pad_template), (load_feature), (load_plugin), (load_paths),
24543 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24544 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24545 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24546 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24547 (gst_xml_registry_rebuild):
24548 * gst/registries/gstlibxmlregistry.h:
24549 * tools/gst-compprep.c: (main):
24550 * tools/gst-inspect.c: (print_pad_templates_info):
24551 * tools/gst-xmlinspect.c: (print_element_info):
24552 Use libxml2 for registry parsing, use staticpadtemplates in
24553 elementfactories. Makes gst_init() +/- 10x faster.
24555 2005-04-12 Wim Taymans <wim@fluendo.com>
24557 * gst/base/Makefile.am:
24558 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24559 (gst_basesink_pad_getcaps), (gst_basesink_init),
24560 (gst_basesink_event), (gst_basesink_change_state):
24561 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24562 (gst_basesrc_init), (gst_basesrc_query),
24563 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24564 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24565 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24566 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24567 (gst_basesrc_stop), (gst_basesrc_activate),
24568 (gst_basesrc_change_state):
24569 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24570 (helper_find_suggest), (gst_type_find_helper):
24571 * gst/base/gsttypefindhelper.h:
24572 * gst/elements/Makefile.am:
24573 * gst/elements/gstelements.c:
24574 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24575 (gst_fakesink_get_times), (gst_fakesink_event),
24576 (gst_fakesink_preroll), (gst_fakesink_render):
24577 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24578 (gst_fakesrc_init), (gst_fakesrc_event_handler),
24579 (gst_fakesrc_get_property), (gst_fakesrc_create),
24580 (gst_fakesrc_start), (gst_fakesrc_stop):
24581 * gst/elements/gstfakesrc.h:
24582 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24583 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24584 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24585 (gst_filesrc_create_read), (gst_filesrc_create),
24586 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24587 (gst_filesrc_start):
24588 * gst/elements/gsttypefindelement.c:
24589 (gst_type_find_element_have_type), (gst_type_find_element_init),
24590 (start_typefinding), (stop_typefinding), (push_buffer_store),
24591 (gst_type_find_element_handle_event),
24592 (gst_type_find_element_chain),
24593 (gst_type_find_element_checkgetrange),
24594 (gst_type_find_element_getrange), (do_typefind),
24595 (gst_type_find_element_activate),
24596 (gst_type_find_element_change_state):
24597 * gst/elements/gsttypefindelement.h:
24598 * gst/gstpipeline.c: (pipeline_bus_handler):
24599 Added typefind helper.
24600 Small preroll fix in the base sink.
24601 Disable typefind code in basesrc.
24602 Crude port of typefindelement.
24603 Fakesrc cleanups.
24606 2005-04-11 Wim Taymans <wim@fluendo.com>
24608 * check/gst/gstbus.c: (gstbus_suite):
24609 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24610 * check/gstcheck.h:
24611 Fix up the timeout so that the test does not fail.
24613 2005-04-06 Wim Taymans <wim@fluendo.com>
24615 * gst/base/README:
24616 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24617 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24618 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24619 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24620 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24621 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24622 (gst_basesrc_stop), (gst_basesrc_activate),
24623 (gst_basesrc_change_state), (basesrc_find_peek),
24624 (basesrc_find_suggest), (gst_basesrc_type_find):
24625 * gst/base/gstbasesrc.h:
24626 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24627 (gst_filesrc_class_init), (gst_filesrc_init),
24628 (gst_filesrc_finalize), (gst_filesrc_set_location),
24629 (gst_filesrc_set_property), (gst_filesrc_get_property),
24630 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24631 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24632 (gst_filesrc_create_read), (gst_filesrc_create),
24633 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24634 * gst/elements/gstfilesrc.h:
24635 * gst/gstelement.c: (gst_element_get_state_func),
24636 (gst_element_lost_state), (gst_element_pads_activate):
24637 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24638 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24639 (gst_pad_pull_range):
24640 * gst/gstpad.h:
24641 More work on the generic source base class, implement seeking,
24642 query.
24643 Make filesrc extend the base source class.
24644 Added gst_pad_set_checkgetrange_function to GstPad.
24646 2005-04-06 Andy Wingo <wingo@pobox.com>
24648 * pkgconfig/gstreamer-base.pc.in:
24649 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24651 * pkgconfig/Makefile.am:
24652 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24654 2005-04-04 Wim Taymans <wim@fluendo.com>
24656 * gst/base/Makefile.am:
24657 * gst/base/README:
24658 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24659 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24660 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24661 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24662 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24663 (gst_basesrc_base_init), (gst_basesrc_class_init),
24664 (gst_basesrc_init), (gst_basesrc_get_formats),
24665 (gst_basesrc_get_query_types), (gst_basesrc_query),
24666 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24667 (gst_basesrc_set_property), (gst_basesrc_get_property),
24668 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24669 (gst_basesrc_loop), (gst_basesrc_activate),
24670 (gst_basesrc_change_state):
24671 * gst/base/gstbasesrc.h:
24672 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24673 (gst_fakesrc_class_init), (gst_fakesrc_init),
24674 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24675 (gst_fakesrc_get_property), (gst_fakesrc_create):
24676 * gst/elements/gstfakesrc.h:
24677 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24678 (gst_filesrc_open_file), (gst_filesrc_loop),
24679 (gst_filesrc_activate), (filesrc_find_peek),
24680 (gst_filesrc_type_find):
24681 Made base source class, make fakesrc extend it.
24682 Add comments to basesink class.
24683 Some filesrc cleanup.
24685 2005-03-31 David Schleef <ds@schleef.org>
24687 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24688 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24689 expected to link against libgstreamer.
24690 * gst/base/Makefile.am: link against libgstreamer
24691 * gst/elements/Makefile.am: same
24693 2005-03-31 Andy Wingo <wingo@pobox.com>
24695 * tests/instantiate/Makefile.am:
24696 * tests/instantiate/caps.c: Add test to test speed of caps copy
24697 and free.
24699 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24700 GMemChunk to be fair.
24702 * gst/gsttrashstack.h: Remove warning about using the fallback
24703 trash stack implementation, it's still faster than malloc.
24705 2005-03-30 Andy Wingo <wingo@pobox.com>
24707 * tests/complexity.c: Add a copyright.
24709 2005-03-31 Wim Taymans <wim@fluendo.com>
24711 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24712 (gst_base_transform_class_init), (gst_base_transform_init),
24713 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24714 (gst_base_transform_get_property),
24715 (gst_base_transform_sink_activate),
24716 (gst_base_transform_src_activate),
24717 (gst_base_transform_change_state):
24718 * gst/base/gstbasetransform.h:
24719 * gst/elements/gstidentity.c: (gst_identity_class_init),
24720 (gst_identity_event), (gst_identity_check_perfect),
24721 (gst_identity_transform), (gst_identity_start),
24722 (gst_identity_stop):
24723 Added start/stop methods to transform base class so subclasses
24724 don't need to deal with state changes even.
24726 2005-03-31 Wim Taymans <wim@fluendo.com>
24728 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24729 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24730 * gst/gstevent.h:
24731 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24732 (gst_pad_pull_range):
24733 Added rate to the discont event to prepare for variable speed
24734 and reverse playback.
24736 2005-03-29 David Schleef <ds@schleef.org>
24738 * configure.ac:
24739 * testsuite/trigger/Makefile.am:
24740 * testsuite/trigger/trigger.c: A little example program to show
24741 how trigger-based elements can work.
24743 2005-03-29 Wim Taymans <wim@fluendo.com>
24745 * gst/base/Makefile.am:
24746 * gst/base/README:
24747 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24748 (gst_basesink_base_init), (gst_basesink_class_init),
24749 (gst_basesink_pad_getcaps), (gst_basesink_init),
24750 (gst_basesink_activate), (gst_basesink_change_state):
24751 * gst/base/gstbasesink.h:
24752 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24753 (gst_base_transform_base_init), (gst_base_transform_finalize),
24754 (gst_base_transform_class_init), (gst_base_transform_init),
24755 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24756 (gst_base_transform_event), (gst_base_transform_getrange),
24757 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24758 (gst_base_transform_set_property),
24759 (gst_base_transform_get_property),
24760 (gst_base_transform_sink_activate),
24761 (gst_base_transform_src_activate),
24762 (gst_base_transform_change_state):
24763 * gst/base/gstbasetransform.h:
24764 * gst/elements/gstidentity.c: (gst_identity_finalize),
24765 (gst_identity_class_init), (gst_identity_init),
24766 (gst_identity_event), (gst_identity_check_perfect),
24767 (gst_identity_transform), (gst_identity_set_property),
24768 (gst_identity_get_property), (gst_identity_change_state):
24769 * gst/elements/gstidentity.h:
24770 * gst/gstelement.c: (gst_element_get_state_func),
24771 (gst_element_lost_state), (gst_element_pads_activate):
24772 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24773 (gst_pad_check_pull_range), (gst_pad_pull_range):
24774 * gst/gstpad.h:
24775 Simplify pad activation.
24776 Added function to check if pull_range can be performed.
24777 Error out when pulling inactive or flushing pads.
24778 Removed const from refcounted types as it does not make sense.
24779 Simplify pad templates in basesink
24780 Added base class for simple 1-to-1 transforms.
24781 Make identity subclass the base transform.
24783 2005-03-29 Andy Wingo <wingo@pobox.com>
24785 * docs/libs/gstreamer-libs-overrides.txt:
24786 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24787 really don't understand what's going on, but like whatever. I want
24788 green buildbot!
24790 * docs/gst/Makefile.am:
24791 * docs/libs/Makefile.am: Dist the overrides files.
24793 * check/Makefile.am (clean-local): Remove .libs directories.
24795 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24796 elements to EXTRA_DIST, so po/ files are happy.
24798 * po/POTFILES.in: Er, remove it here.
24800 * po/POTFILES: Remove gstspider.c.
24802 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24804 * docs/libs/gstreamer-libs-docs.sgml:
24805 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24806 bytestream.
24808 * tests/complexity.c (main): Set the length of the preroll queue
24809 on the sinks to prevent a lockup.
24811 * libs/gst/dataprotocol/Makefile.am:
24812 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24813 the same as the one in check/gst-libs/gdp.c.
24815 * po/, docs/gst/: Commit automatic changes to docs and po files.
24817 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24818 the versioned libgstbase.
24820 * check/Makefile.am: Depend on an unversioned gst-register, seems
24821 to make autoconf happier.
24823 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24825 2005-03-28 Wim Taymans <wim@fluendo.com>
24827 * configure.ac:
24828 * docs/design/part-gstelement.txt:
24829 * docs/design/part-negotiation.txt:
24830 * docs/design/part-preroll.txt:
24831 * docs/design/part-scheduling.txt:
24832 * docs/design/part-states.txt:
24833 * gst/Makefile.am:
24834 * gst/base/Makefile.am:
24835 * gst/base/README:
24836 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24837 (gst_basesink_base_init), (gst_basesink_class_init),
24838 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24839 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24840 (gst_basesink_set_pad_functions),
24841 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24842 (gst_basesink_set_property), (gst_basesink_get_property),
24843 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24844 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24845 (gst_basesink_preroll_queue_push),
24846 (gst_basesink_preroll_queue_empty),
24847 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24848 (gst_basesink_event), (gst_basesink_get_times),
24849 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24850 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24851 (gst_basesink_loop), (gst_basesink_activate),
24852 (gst_basesink_change_state):
24853 * gst/base/gstbasesink.h:
24854 * gst/elements/Makefile.am:
24855 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24856 (gst_fakesink_class_init), (gst_fakesink_init),
24857 (gst_fakesink_set_property), (gst_fakesink_get_property),
24858 (gst_fakesink_get_times), (gst_fakesink_event),
24859 (gst_fakesink_preroll), (gst_fakesink_render),
24860 (gst_fakesink_change_state):
24861 * gst/elements/gstfakesink.h:
24862 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24863 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24864 * gst/gstelement.c: (gst_element_add_pad),
24865 (gst_element_get_state_func), (gst_element_abort_state),
24866 (gst_element_commit_state), (gst_element_lost_state),
24867 (gst_element_set_state), (gst_element_pads_activate):
24868 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24869 * gst/gstpipeline.c: (gst_pipeline_send_event),
24870 (gst_pipeline_change_state):
24871 Added state change code.
24872 Added/updated docs.
24873 Added sink base class, make fakesink extend the base class.
24874 Small cleanups in GstPipeline.
24876 2005-03-26 David Schleef <ds@schleef.org>
24878 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24879 is broken and should be implemented in a different library.
24880 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24881 * gst/gst.h: remove gstcpu.h
24882 * gst/gstcpu.c: remove
24883 * gst/gstcpu.h: remove
24884 * gst/Makefile.am.future: Remove this file. It's ancient.
24886 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24888 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24889 (gst_bin_send_event):
24890 Add default event/set_manager handlers. The set_manager handler
24891 takes care that the manager is distributed over kids that were
24892 already in the bin before the manager was set. The event handler
24893 is a utility virtual function that sends the event over all sinks,
24894 so that gst_element_send_event (bin, event); has the expected
24895 behaviour.
24896 * gst/gstpad.c: (gst_pad_event_default):
24897 Re-install default event handling for discontinuities, so that
24898 seeking works without requiring hacks in applications or extra
24899 code in sinks.
24900 * gst/gstpipeline.c: (gst_pipeline_class_init),
24901 (gst_pipeline_send_event):
24902 Half hack, half utility: set a pipeline to PAUSED for seek events,
24903 since that is the only way we can guarantee a/v sync. Means that
24904 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24905 and it "just works".
24907 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24909 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24910 Lock/unlock mismatch.
24912 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24914 * docs/faq/gst-uninstalled:
24915 add gst-plugins-base
24916 * docs/gst/Makefile.am:
24917 don't error out until docs are fixed
24918 * docs/gst/gstreamer.types:
24919 remove thread
24921 2005-03-22 Wim Taymans <wim@fluendo.com>
24923 * check/Makefile.am:
24924 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24925 * gst/gststructure.c: (gst_structure_set_valist),
24926 (gst_structure_copy_conditional):
24927 Activated more tests.
24928 Added message test.
24929 Added G_TYPE_POINTER to GstStructure.
24932 2005-03-22 Wim Taymans <wim@fluendo.com>
24934 * docs/design/part-TODO.txt:
24935 * docs/design/part-events.txt:
24936 * docs/design/part-gstbin.txt:
24937 * docs/design/part-gstbus.txt:
24938 * docs/design/part-gstpipeline.txt:
24939 * docs/design/part-messages.txt:
24940 * gst/gstbus.c:
24941 * gst/gstmessage.c:
24942 Docs updates
24944 2005-03-21 Wim Taymans <wim@fluendo.com>
24946 * gst/gstbus.c: (gst_bus_post):
24947 Fix copy-and-paste error.
24949 2005-03-21 Wim Taymans <wim@fluendo.com>
24951 * check/Makefile.am:
24952 * gst/Makefile.am:
24953 * gst/elements/Makefile.am:
24954 * gst/elements/gstelements.c:
24955 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24956 (gst_fakesink_event), (gst_fakesink_chain):
24957 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24958 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24959 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24960 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24961 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24962 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24963 (gst_fakesrc_loop), (gst_fakesrc_activate),
24964 (gst_fakesrc_change_state):
24965 * gst/elements/gstfakesrc.h:
24966 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24967 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24968 (gst_filesrc_open_file), (gst_filesrc_loop),
24969 (gst_filesrc_activate), (gst_filesrc_change_state),
24970 (filesrc_find_peek), (filesrc_find_suggest),
24971 (gst_filesrc_type_find):
24972 * gst/elements/gstidentity.c: (gst_identity_finalize),
24973 (gst_identity_class_init), (gst_identity_init),
24974 (gst_identity_proxy_getcaps), (identity_queue_push),
24975 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24976 (gst_identity_getrange), (gst_identity_chain),
24977 (gst_identity_sink_loop), (gst_identity_src_loop),
24978 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24979 (gst_identity_set_property), (gst_identity_get_property),
24980 (gst_identity_change_state):
24981 * gst/elements/gstidentity.h:
24982 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24983 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24984 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24985 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24986 (gst_tee_sink_activate):
24987 * gst/elements/gsttee.h:
24988 * gst/gst.c: (gst_register_core_elements), (init_post):
24989 * gst/gst.h:
24990 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24991 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24992 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24993 (gst_bin_change_state):
24994 * gst/gstbin.h:
24995 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24996 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24997 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24998 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24999 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25000 (bus_watch_callback), (bus_watch_destroy),
25001 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25002 (poll_timeout), (gst_bus_poll):
25003 * gst/gstbus.h:
25004 * gst/gstcaps.h:
25005 * gst/gstdata.h:
25006 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25007 (gst_element_post_message), (gst_element_message_full),
25008 (gst_element_get_state_func), (gst_element_get_state),
25009 (gst_element_abort_state), (gst_element_commit_state),
25010 (gst_element_lost_state), (gst_element_set_state),
25011 (gst_element_pads_activate), (gst_element_change_state),
25012 (gst_element_dispose), (gst_element_set_manager_func),
25013 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25014 (gst_element_set_manager), (gst_element_get_manager),
25015 (gst_element_set_bus), (gst_element_get_bus),
25016 (gst_element_set_scheduler), (gst_element_get_scheduler):
25017 * gst/gstelement.h:
25018 * gst/gstevent.c: (gst_event_new_segment_seek),
25019 (gst_event_new_flush):
25020 * gst/gstevent.h:
25021 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25022 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25023 (gst_message_new_eos), (gst_message_new_error),
25024 (gst_message_new_warning), (gst_message_new_tag),
25025 (gst_message_new_state_changed), (gst_message_new_application),
25026 (gst_message_get_structure), (gst_message_parse_tag),
25027 (gst_message_parse_state_changed), (gst_message_parse_error),
25028 (gst_message_parse_warning):
25029 * gst/gstmessage.h:
25030 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25031 (gst_real_pad_set_property), (gst_pad_set_active),
25032 (gst_pad_is_active), (gst_pad_set_blocked_async),
25033 (gst_pad_set_blocked), (gst_pad_is_blocked),
25034 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25035 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25036 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25037 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25038 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25039 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25040 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25041 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25042 (gst_pad_set_caps), (gst_pad_configure_sink),
25043 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25044 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25045 (gst_real_pad_dispose), (gst_real_pad_finalize),
25046 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25047 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25048 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25049 * gst/gstpad.h:
25050 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25051 (pipeline_bus_handler), (gst_pipeline_change_state),
25052 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25053 * gst/gstpipeline.h:
25054 * gst/gstprobe.h:
25055 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25056 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25057 (gst_queue_link_src), (gst_queue_bufferalloc),
25058 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25059 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25060 (gst_queue_loop), (gst_queue_handle_src_event),
25061 (gst_queue_handle_src_query), (gst_queue_src_activate),
25062 (gst_queue_change_state):
25063 * gst/gstqueue.h:
25064 * gst/gstscheduler.c: (gst_scheduler_init),
25065 (gst_scheduler_dispose), (gst_scheduler_create_task),
25066 (gst_scheduler_factory_create):
25067 * gst/gstscheduler.h:
25068 * gst/gststructure.c: (gst_structure_get_type),
25069 (gst_structure_copy_conditional):
25070 * gst/gststructure.h:
25071 * gst/gsttaginterface.h:
25072 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25073 (gst_task_init), (gst_task_dispose), (gst_task_create),
25074 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25075 (gst_task_pause):
25076 * gst/gsttask.h:
25077 * gst/gstthread.c:
25078 * gst/gstthread.h:
25079 * gst/gsttypes.h:
25080 * gst/schedulers/Makefile.am:
25081 * gst/schedulers/cothreads_compat.h:
25082 * gst/schedulers/entryscheduler.c:
25083 * gst/schedulers/faircothreads.c:
25084 * gst/schedulers/faircothreads.h:
25085 * gst/schedulers/fairscheduler.c:
25086 * gst/schedulers/gstbasicscheduler.c:
25087 * gst/schedulers/gstoptimalscheduler.c:
25088 * gst/schedulers/gthread-cothreads.h:
25089 * gst/schedulers/threadscheduler.c:
25090 (gst_thread_scheduler_task_get_type),
25091 (gst_thread_scheduler_task_class_init),
25092 (gst_thread_scheduler_task_init),
25093 (gst_thread_scheduler_task_start),
25094 (gst_thread_scheduler_task_stop),
25095 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25096 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25097 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25098 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25099 (plugin_init):
25100 * libs/gst/Makefile.am:
25101 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25102 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25103 (gst_file_pad_parent_set):
25104 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25105 (gst_dp_event_from_packet):
25106 * tests/complexity.c: (main):
25107 * tests/mass_elements.c: (main):
25108 * testsuite/states/locked.c: (message_received), (main):
25109 * testsuite/states/parent.c: (main):
25110 * tools/gst-inspect.c: (print_element_flag_info),
25111 (print_implementation_info), (print_pad_info):
25112 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25113 (main):
25114 * tools/gst-md5sum.c: (event_loop), (main):
25115 * tools/gst-typefind.c: (main):
25116 * tools/gst-xmlinspect.c: (print_element_info):
25117 Next big merge.
25118 Added GstBus for mainloop integration.
25119 Added GstMessage for sending notifications on the bus.
25120 Added GstTask as an abstraction for pipeline entry points.
25121 Removed GstThread.
25122 Removed Schedulers.
25123 Simplified GstQueue for multithreaded core.
25124 Made _link threadsafe, removed old capsnego.
25125 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25126 Added pad blocking functions.
25127 Reworked scheduling functions in GstPad to prepare for
25128 scheduling updates soon.
25129 Moved events out of data stream.
25130 Simplified GstEvent types.
25131 Added return values to push/pull.
25132 Removed clocking from GstElement.
25133 Added prototypes for state change function for next merge.
25134 Removed iterate from bins and state change management.
25135 Fixed some elements, disabled others for now.
25136 Fixed -inspect and -launch.
25137 Added check for GstBus.
25139 2005-03-10 Wim Taymans <wim@fluendo.com>
25141 * docs/design/part-MT-refcounting.txt:
25142 * docs/design/part-clocks.txt:
25143 * docs/design/part-gstelement.txt:
25144 * docs/design/part-gstobject.txt:
25145 * docs/design/part-standards.txt:
25146 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25147 (gst_bin_remove_func), (gst_bin_remove):
25148 * gst/gstbin.h:
25149 * gst/gstbuffer.c:
25150 * gst/gstcaps.h:
25151 * testsuite/clock/clock1.c: (main):
25152 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25153 (main):
25154 * testsuite/dlopen/loadgst.c: (do_test):
25155 * testsuite/refcounting/bin.c: (add_remove_test1),
25156 (add_remove_test2), (main):
25157 * testsuite/refcounting/element.c: (main):
25158 * testsuite/refcounting/element_pad.c: (main):
25159 * testsuite/refcounting/pad.c: (main):
25160 * tools/gst-launch.c: (sigint_handler_sighandler):
25161 * tools/gst-typefind.c: (main):
25162 Doc updates.
25163 Added doc about clock.
25164 removed gst_bin_iterate_recurse_up(), marked methods
25165 for removal.
25166 Fix more testsuites.
25168 2005-03-09 Wim Taymans <wim@fluendo.com>
25170 * gst/gstpad.c: (gst_pad_get_direction),
25171 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25172 (gst_pad_collect_valist):
25173 * testsuite/bins/interface.c: (main):
25174 * testsuite/caps/audioscale.c: (test_caps):
25175 * testsuite/caps/caps.c: (test1), (test2), (test3):
25176 * testsuite/caps/deserialize.c: (main):
25177 * testsuite/caps/enumcaps.c: (main):
25178 * testsuite/caps/filtercaps.c: (main):
25179 * testsuite/caps/intersect2.c: (main):
25180 * testsuite/caps/random.c: (main):
25181 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25182 * testsuite/caps/sets.c: (check_caps):
25183 * testsuite/caps/simplify.c: (check_caps), (main):
25184 * testsuite/caps/subtract.c: (check_caps):
25185 Fix _pad_get_direction wrt ghostpads.
25186 Fix caps testsuite.
25188 2005-03-09 Wim Taymans <wim@fluendo.com>
25190 * check/Makefile.am:
25191 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25192 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25193 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25194 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25195 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25196 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25197 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25198 (bin_element_is_sink), (gst_bin_iterate_sinks),
25199 (gst_bin_iterate_all_by_interface):
25200 * gst/gstbin.h:
25201 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25202 (gst_element_change_state), (gst_element_dispose),
25203 (gst_element_finalize), (gst_element_set_loop_function):
25204 * gst/gstelement.h:
25205 * gst/gstiterator.c: (find_custom_fold_func):
25206 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25207 (gst_pad_collectv), (gst_pad_collect_valist),
25208 (gst_pad_template_new):
25209 * gst/gstpipeline.c: (gst_pipeline_class_init),
25210 (gst_pipeline_dispose), (gst_pipeline_set_property),
25211 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25212 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25213 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25214 * gst/gstutils.h:
25215 * gst/schedulers/entryscheduler.c:
25216 * gst/schedulers/gstbasicscheduler.c:
25217 (gst_basic_scheduler_cothreaded_chain),
25218 (gst_basic_scheduler_chain_add_element):
25219 * testsuite/bins/interface.c: (main):
25220 Added GstBin test.
25221 Added GstSystemClock test.
25222 Implemented clock distribution code in GstBin.
25223 Implemented iterate sinks method for future use.
25224 Rearranged gstelement.h
25225 Fix GstIterator comparison bug.
25226 Moved some code to GstPipeline, mostly clocking related.
25228 2005-03-09 Wim Taymans <wim@fluendo.com>
25230 * configure.ac:
25231 * gst/gst_private.h:
25232 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25233 (gst_bin_remove_func), (gst_bin_remove),
25234 (gst_bin_get_by_name_recurse_up):
25235 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25236 (gst_clock_id_compare_func), (gst_clock_id_wait),
25237 (gst_clock_id_wait_async), (gst_clock_init),
25238 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25239 * gst/gstelement.h:
25240 * gst/gstinfo.c: (_gst_debug_init):
25241 * gst/gstobject.h:
25242 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25243 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25244 * gst/gstpad.h:
25245 Bump version number, we're now 0.9.0
25246 Add future debugging category.
25247 Fix NULL _unref() in _get_by_name_recurse_up
25248 Rearrange gstpad.h.
25249 Update some docs.
25251 2005-03-08 Wim Taymans <wim@fluendo.com>
25253 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25254 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25255 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25256 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25257 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25258 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25259 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25260 * gst/elements/gstidentity.c: (gst_identity_class_init):
25261 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25262 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25263 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25264 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25265 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25266 (gst_tee_link):
25267 * gst/gstelement.c: (gst_element_class_init),
25268 (gst_element_base_class_init), (gst_element_init),
25269 (gst_element_get_random_pad), (gst_element_wait_state_change),
25270 (gst_element_change_state), (gst_element_dispose),
25271 (gst_element_finalize), (gst_element_set_loop_function):
25272 * gst/gstelement.h:
25273 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25274 * gst/gstthread.c: (gst_thread_class_init),
25275 (gst_thread_release_children_locks), (gst_thread_change_state):
25276 * gst/schedulers/gstbasicscheduler.c:
25277 (gst_basic_scheduler_loopfunc_wrapper),
25278 (gst_basic_scheduler_chain_wrapper),
25279 (gst_basic_scheduler_src_wrapper),
25280 (gst_basic_scheduler_remove_element):
25281 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25282 Remove threadsafe properties. Fix elements because GObject
25283 complains when installing a property before declaring a
25284 set/get_property handler.
25285 Rearrange gstelement.h file, use STATE macros for state locks.
25286 Free mutexes in the finalize method instead of dispose.
25288 2005-03-08 Wim Taymans <wim@fluendo.com>
25290 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25291 * gst/gstthread.c: (gst_thread_release_children_locks):
25292 Added parentage check.
25293 Fix build og GstThread again.
25295 2005-03-08 Wim Taymans <wim@fluendo.com>
25297 * docs/design/part-MT-refcounting.txt:
25298 * docs/design/part-conventions.txt:
25299 * docs/design/part-gstobject.txt:
25300 * docs/design/part-relations.txt:
25301 * docs/design/part-standards.txt:
25302 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25303 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25304 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25305 (gst_bin_iterate_all_by_interface):
25306 * gst/gstbuffer.h:
25307 * gst/gstclock.h:
25308 * gst/gstelement.c: (gst_element_class_init),
25309 (gst_element_change_state), (gst_element_set_loop_function):
25310 * gst/gstelement.h:
25311 * gst/gstiterator.c:
25312 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25313 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25314 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25315 (gst_object_set_parent), (gst_object_unparent),
25316 (gst_object_check_uniqueness):
25317 * gst/gstobject.h:
25318 Docs updates, clean up some headers.
25320 2005-03-07 Wim Taymans <wim@fluendo.com>
25322 * check/.cvsignore:
25323 * check/Makefile.am:
25324 * check/gst-libs/.cvsignore:
25325 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25326 * check/gst/.cvsignore:
25327 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25328 (START_TEST), (gstbus_suite), (main):
25329 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25330 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25331 (gst_data_suite), (main):
25332 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25333 (add_fold_func), (gstiterator_suite), (main):
25334 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25335 (thread_name_object), (thread_name_object_default),
25336 (gst_object_name_compare), (gst_object_suite), (main):
25337 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25338 (gst_pad_suite), (main):
25339 * check/gstcheck.c: (gst_check_log_message_func),
25340 (gst_check_log_critical_func), (gst_check_init):
25341 * check/gstcheck.h:
25342 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25343 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25344 Added checks.
25346 2005-03-07 Wim Taymans <wim@fluendo.com>
25348 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25349 (gst_list_iterator_next), (gst_list_iterator_resync),
25350 (gst_list_iterator_free), (gst_iterator_new_list),
25351 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25352 (gst_iterator_free), (gst_iterator_push), (filter_next),
25353 (filter_resync), (filter_uninit), (filter_free),
25354 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25355 (gst_iterator_foreach), (find_custom_fold_func),
25356 (gst_iterator_find_custom):
25357 * gst/gstiterator.h:
25358 Added missing files.
25360 2005-03-07 Wim Taymans <wim@fluendo.com>
25362 * Makefile.am:
25363 * configure.ac:
25364 * docs/design/part-MT-refcounting.txt:
25365 * docs/design/part-conventions.txt:
25366 * docs/design/part-gstobject.txt:
25367 * docs/design/part-relations.txt:
25368 * examples/mixer/mixer.c: (main):
25369 * examples/thread/thread.c: (eos), (main):
25370 * gst/Makefile.am:
25371 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25372 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25373 (gst_spider_plug_from_srcpad):
25374 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25375 (gst_spider_identity_change_state),
25376 (gst_spider_identity_sink_loop_type_finding):
25377 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25378 * gst/elements/gstidentity.c: (gst_identity_init):
25379 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25380 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25381 * gst/elements/gsttypefindelement.c: (free_entry):
25382 * gst/gst.c:
25383 * gst/gst.h:
25384 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25385 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25386 (gst_bin_set_index), (gst_bin_set_element_sched),
25387 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25388 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25389 (gst_bin_iterate_elements), (iterate_child_recurse),
25390 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25391 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25392 (compare_interface), (gst_bin_get_by_interface),
25393 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25394 * gst/gstbin.h:
25395 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25396 (gst_buffer_default_free), (gst_buffer_default_copy),
25397 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25398 (gst_buffer_create_sub):
25399 * gst/gstbuffer.h:
25400 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25401 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25402 (gst_caps_unref), (gst_static_caps_get),
25403 (gst_caps_remove_and_get_structure), (gst_caps_append),
25404 (gst_caps_append_structure), (gst_caps_remove_structure),
25405 (gst_caps_copy_nth), (gst_caps_set_simple),
25406 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25407 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25408 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25409 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25410 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25411 (gst_caps_structure_figure_out_union),
25412 (gst_caps_switch_structures), (gst_caps_do_simplify),
25413 (gst_caps_replace), (gst_caps_from_string),
25414 (gst_caps_copy_conditional):
25415 * gst/gstcaps.h:
25416 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25417 (_gst_clock_id_free), (gst_clock_id_unref),
25418 (gst_clock_id_compare_func), (gst_clock_id_wait),
25419 (gst_clock_id_wait_async), (gst_clock_class_init),
25420 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25421 (gst_clock_get_time), (gst_clock_set_time_adjust),
25422 (gst_clock_set_property), (gst_clock_get_property):
25423 * gst/gstclock.h:
25424 * gst/gstcompat.h:
25425 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25426 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25427 * gst/gstdata.h:
25428 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25429 (gst_element_requires_clock), (gst_element_provides_clock),
25430 (gst_element_set_clock), (gst_element_clock_wait),
25431 (gst_element_wait), (gst_element_set_time_delay),
25432 (gst_element_is_indexable), (gst_element_add_pad),
25433 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25434 (pad_compare_name), (gst_element_get_static_pad),
25435 (gst_element_request_pad), (gst_element_get_request_pad),
25436 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25437 (gst_element_class_get_pad_template_list),
25438 (gst_element_class_get_pad_template), (gst_element_error_func),
25439 (gst_element_get_random_pad), (gst_element_get_event_masks),
25440 (gst_element_send_event), (gst_element_seek),
25441 (gst_element_get_query_types), (gst_element_query),
25442 (gst_element_get_formats), (gst_element_convert),
25443 (gst_element_is_locked_state), (gst_element_set_locked_state),
25444 (gst_element_sync_state_with_parent), (gst_element_change_state),
25445 (gst_element_finalize), (gst_element_yield),
25446 (gst_element_interrupt), (gst_element_set_scheduler),
25447 (gst_element_get_scheduler), (gst_element_set_loop_function):
25448 * gst/gstelement.h:
25449 * gst/gstevent.h:
25450 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25451 (gst_format_get_by_nick), (gst_format_get_details),
25452 (gst_format_iterate_definitions):
25453 * gst/gstformat.h:
25454 * gst/gstindex.c: (gst_index_gtype_resolver):
25455 * gst/gstinfo.c:
25456 * gst/gstinfo.h:
25457 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25458 (gst_mem_chunk_free):
25459 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25460 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25461 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25462 (gst_object_dispatch_properties_changed),
25463 (gst_object_set_name_default), (gst_object_set_name),
25464 (gst_object_get_name), (gst_object_set_name_prefix),
25465 (gst_object_get_name_prefix), (gst_object_set_parent),
25466 (gst_object_get_parent), (gst_object_unparent),
25467 (gst_object_check_uniqueness), (gst_object_save_thyself),
25468 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25469 (gst_object_set_property), (gst_object_get_property),
25470 (gst_object_get_path_string):
25471 * gst/gstobject.h:
25472 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25473 (gst_real_pad_init), (gst_real_pad_get_property),
25474 (gst_pad_custom_new), (gst_pad_get_direction),
25475 (gst_pad_set_active), (gst_pad_is_active),
25476 (gst_pad_set_event_function), (gst_pad_is_linked),
25477 (gst_pad_link_free), (gst_pad_link_intersect),
25478 (gst_pad_link_fixate), (gst_pad_set_caps),
25479 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25480 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25481 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25482 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25483 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25484 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25485 (gst_pad_realize), (gst_pad_get_allowed_caps),
25486 (gst_real_pad_dispose), (gst_real_pad_finalize),
25487 (gst_pad_collectv), (gst_pad_collect_valist),
25488 (gst_pad_template_dispose), (gst_pad_template_new),
25489 (gst_pad_get_internal_links):
25490 * gst/gstpad.h:
25491 * gst/gstpipeline.c: (gst_pipeline_dispose),
25492 (gst_pipeline_change_state):
25493 * gst/gstpipeline.h:
25494 * gst/gstplugin.c:
25495 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25496 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25497 * gst/gstpluginfeature.h:
25498 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25499 * gst/gstquery.c: (_gst_query_type_initialize),
25500 (gst_query_type_register), (gst_query_type_get_by_nick),
25501 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25502 * gst/gstquery.h:
25503 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25504 * gst/gstscheduler.c: (gst_scheduler_add_element),
25505 (gst_scheduler_factory_create):
25506 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25507 (gst_structure_free), (gst_structure_set_name),
25508 (gst_structure_id_set_value), (gst_structure_set_value),
25509 (gst_structure_set_valist), (gst_structure_remove_field),
25510 (gst_structure_remove_fields),
25511 (gst_structure_remove_fields_valist),
25512 (gst_structure_remove_all_fields), (gst_structure_foreach),
25513 (gst_structure_map_in_place),
25514 (gst_caps_structure_fixate_field_nearest_int),
25515 (gst_caps_structure_fixate_field_nearest_double):
25516 * gst/gststructure.h:
25517 * gst/gstsystemclock.c: (gst_system_clock_class_init),
25518 (gst_system_clock_init), (gst_system_clock_dispose),
25519 (gst_system_clock_async_thread),
25520 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25521 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25522 * gst/gstsystemclock.h:
25523 * gst/gsttag.c: (gst_tag_list_add_value_internal),
25524 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25525 * gst/gsttaginterface.c:
25526 * gst/gstthread.c: (gst_thread_dispose),
25527 (gst_thread_release_children_locks), (gst_thread_change_state),
25528 (gst_thread_main_loop):
25529 * gst/gsttrashstack.h:
25530 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25531 * gst/gsttypes.h:
25532 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25533 (gst_element_request_pad), (gst_element_get_pad_from_template),
25534 (gst_element_request_compatible_pad),
25535 (gst_element_get_compatible_pad_filtered),
25536 (gst_element_get_compatible_pad), (gst_element_state_get_name),
25537 (gst_element_link_pads_filtered), (gst_element_link_filtered),
25538 (gst_element_link_many), (gst_element_link),
25539 (gst_element_link_pads), (gst_element_unlink_pads),
25540 (gst_element_unlink_many), (gst_element_unlink),
25541 (gst_pad_can_link_filtered), (gst_pad_can_link),
25542 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25543 (gst_object_default_error), (gst_bin_add_many),
25544 (gst_bin_remove_many), (gst_element_populate_std_props),
25545 (gst_element_class_install_std_props), (gst_buffer_merge),
25546 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25547 (link_fold_func), (gst_pad_proxy_setcaps):
25548 * gst/gstutils.h:
25549 * gst/gstvalue.c: (gst_value_deserialize_string):
25550 * gst/parse/grammar.y:
25551 * gst/schedulers/gstbasicscheduler.c:
25552 (gst_basic_scheduler_cothreaded_chain),
25553 (gst_basic_scheduler_chain_recursive_add),
25554 (gst_basic_scheduler_pad_link):
25555 * gst/schedulers/gstoptimalscheduler.c:
25556 (get_group_schedule_function),
25557 (gst_opt_scheduler_state_transition),
25558 (gst_opt_scheduler_add_element), (element_get_reachables_func):
25559 * libs/gst/bytestream/bytestream.c:
25560 * libs/gst/dataprotocol/dataprotocol.c:
25561 (gst_dp_header_from_buffer):
25562 * po/nb.po:
25563 * po/ru.po:
25564 * tests/threadstate/threadstate2.c: (eos):
25565 * tools/gst-compprep.c: (main):
25566 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25567 (print_pad_info), (print_children_info):
25568 * tools/gst-launch.c: (idle_func), (main):
25569 * tools/gst-md5sum.c: (idle_func), (main):
25570 * tools/gst-xmlinspect.c: (print_element_info):
25571 First THREADED backport attempt, focusing on adding locks and
25572 making sure the API is threadsafe. Needs more work. More docs
25573 follow this week.
25575 2005-02-24 Andy Wingo <wingo@pobox.com>
25577 * tests/bench-complexity.scm:
25578 * tests/complexity.gnuplot: New files, good for running complexity
25579 benchmarks.
25581 * tests/Makefile.am:
25582 * tests/complexity.c: New test, sets up N elements, at each level
25583 teeing into M streams per element. Eeeenteresting.
25585 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25586 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25587 running bench-mass_elements.scm.
25589 * tests/bench-mass_elements.scm: New script, runs mass_elements
25590 for various numbers of identities, outputting the results to a
25591 file. Requires guile 1.6. Just for testing.
25593 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
25595 * gst/schedulers/fairscheduler.c:
25596 compile with debug disabled
25598 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25600 * configure.ac:
25601 hunting season on 0.9 is now OPEN