1 2004-01-26 Benjamin Otte <in7y118@public.uni-hamburg.de>
4 remove gst_element_factory_get_version. It doesn't exist anymore.
7 remove gst_plugin_set_name and change gst_plugin_get_longname to
8 gst_plugin_get_description to match code.
10 remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
11 * gst/gstpad.c: (gst_pad_try_set_caps):
12 make it work with nonfixed caps.
13 Note that even in the nonfixed case the link function of the pad
14 that tries to set caps isn't called.
16 2004-01-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
18 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
19 fix bug where buffer was not assembled correctly
20 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
22 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
23 only seek if there's no more buffers that could work without seeking
25 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net>
27 * gst/gsttag.c: (_gst_tag_initialize):
29 Add application tag (for encoding/muxing app).
31 2004-01-23 Thomas Vander Stichele <thomas at apestaart dot org>
34 make autopoint force, and libtoolize not copy
35 * common/m4/as-docbook.m4:
36 added docbook xml catalog setup check
37 * common/m4/gst-doc.m4:
40 2004-01-22 Thomas Vander Stichele <thomas at apestaart dot org>
42 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
46 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
48 * docs/gst/gstreamer-sections.txt:
49 * docs/gst/tmpl/gst.sgml:
50 * docs/gst/tmpl/gstbuffer.sgml:
51 * docs/gst/tmpl/gstclock.sgml:
52 * docs/gst/tmpl/gstelement.sgml:
53 * docs/gst/tmpl/gstreamer-unused.sgml:
54 * docs/gst/tmpl/gstxml.sgml:
55 sync latest API changes to docs
57 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
59 * gst/gstpluginfeature.c:
61 * tools/gst-inspect.c: (print_element_list):
62 fix output of typefind
67 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
69 * gst/elements/Makefile.am:
70 * gst/elements/gstelements.c:
71 * gst/elements/gsttypefindelement.c:
72 * gst/elements/gsttypefindelement.h:
76 renamed gsttypefindelement to gsttypefind, conserving CVS history
78 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
80 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
82 add some tags used in ogg as well
83 fix _ in replaygain tags
85 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
88 fix wrong GST_LIBRARY_ERROR_ENCODE addition
90 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
92 * gst/gstelement.c: (gst_element_error_full):
94 change _extended to _full
96 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
98 reviewed by: <delete if not using a buddy>
100 * docs/gst/tmpl/gst.sgml:
101 * docs/gst/tmpl/gstbuffer.sgml:
102 * docs/gst/tmpl/gstclock.sgml:
103 * docs/gst/tmpl/gstelement.sgml:
104 * docs/gst/tmpl/gstreamer-unused.sgml:
105 * docs/gst/tmpl/gstxml.sgml:
106 * gst/gstelement.c: (gst_element_error_full):
109 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
111 * gst/gstelement.h: fix _gst_element_error_printf prototype
113 2004-01-20 David Schleef <ds@schleef.org>
115 * gst/gststructure.c: (gst_structure_to_string):
116 Convert function to use gst_value_serialize().
117 * gst/gstvalue.c: (gst_value_serialize_list),
118 (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
119 (gst_value_serialize_double_range), (gst_value_serialize_boolean),
120 (gst_value_serialize_int), (gst_value_serialize_double),
121 (gst_string_wrap), (gst_value_serialize_string),
122 (gst_value_serialize), (gst_value_deserialize):
124 Add implementations for serialize.
126 2004-01-20 Julien MOUTTE <julien@moutte.net>
128 * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
129 we want to keep that one in the future or change xvidenc.c to use
132 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
134 * gst/gstelement.c: (_gst_element_error_printf):
138 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
141 doc explaining error system
142 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
145 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
147 * gst/gst-i18n-app.h:
148 * gst/gst-i18n-lib.h:
149 remove inclusion of config.h
154 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
156 * po/nl.po: updated Dutch translation
158 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
160 * gst/gsterror.c: (_gst_core_errors_init),
161 (_gst_library_errors_init), (_gst_resource_errors_init),
162 (_gst_stream_errors_init):
163 remove ending punctuation dots
165 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
167 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
168 * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
169 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
170 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
171 (gst_pipefilter_chain), (gst_pipefilter_open_file):
174 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
176 * gst/gstelement.c: (gst_element_error_printf),
177 (gst_element_error_extended):
179 add a helper printf function so we can have NULL values passed.
181 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
184 add G_STMT macros to gst_element_error, which isn't strictly
185 necessary but people tell me to anyway.
187 2004-01-18 Thomas Vander Stichele <thomas at apestaart dot org>
190 * gst/autoplug/gstspideridentity.c:
191 (gst_spider_identity_sink_loop_type_finding):
192 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
193 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
194 (gst_filesink_close_file), (gst_filesink_handle_event),
195 (gst_filesink_chain):
196 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
197 (gst_filesrc_map_region), (gst_filesrc_get_read),
198 (gst_filesrc_open_file):
199 * gst/elements/gstidentity.c: (gst_identity_chain):
200 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
201 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
202 (gst_pipefilter_chain), (gst_pipefilter_open_file):
203 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
206 * gst/gstelement.c: (gst_element_class_init),
207 (gst_element_default_error), (gst_element_error_func),
208 (gst_element_error_extended):
210 * gst/gsterror.c: (_gst_core_errors_init),
211 (_gst_library_errors_init), (_gst_resource_errors_init),
212 (_gst_stream_errors_init), (gst_error_get_message):
214 * gst/gstinfo.c: (_gst_debug_init):
215 * gst/gstmarshal.list:
216 * gst/gstpad.c: (gst_pad_set_explicit_caps),
217 (gst_pad_recover_caps_error), (gst_pad_pull):
218 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
219 * gst/schedulers/gstbasicscheduler.c:
220 (gst_basic_scheduler_chainhandler_proxy),
221 (gst_basic_scheduler_gethandler_proxy),
222 (gst_basic_scheduler_cothreaded_chain):
229 2004-01-18 Jeremy Simon <jesimon@libertysurf.fr>
231 * gst/gsttag.c: (_gst_tag_initialize):
235 2004-01-18 Colin Walters <walters@verbum.org>
237 * examples/retag/retag.c: Call gst_init before processing
238 program args. Add g_assert to _link_many call.
240 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
242 * gst/gstpad.c: (gst_pad_alloc_buffer):
243 Return a newly allocated buffer when the pad has no peer.
245 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
247 * gst/gstclock.c: (gst_clock_get_time):
248 make it compile with gcc 2.95 again.
249 Patch by Scott Wheeler
251 2004-01-15 David Schleef <ds@schleef.org>
254 Added gst_caps_is_simple() macro.
255 * testsuite/caps/caps.c: (test1):
256 * testsuite/caps/intersect2.c: (main):
257 * testsuite/caps/intersection.c: (main):
258 Fixes to make 'make check' work again after removing
259 gst_caps_is_chained().
261 2004-01-15 Leif Johnson <leif@ambient.2y.net>
263 * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
264 and additions to the MIDI document.
266 2004-01-15 David Schleef <ds@schleef.org>
268 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
269 (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
270 of GST_RPAD_, since we don't know if it's a real or ghost pad.
272 2004-01-15 David Schleef <ds@schleef.org>
276 Fix the spelling of "treshold" and make min_threshold actually
279 2004-01-15 David Schleef <ds@schleef.org>
282 Add lots of documentation.
284 Deprecate a few functions.
286 Removed use of deprecated functions.
288 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
290 * gst/gstpad.c: (gst_pad_is_linked):
292 implement gst_pad_is_linked
294 reserve space for initiate_state_change
296 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
298 * gst/autoplug/gstspideridentity.c:
299 (gst_spider_identity_sink_loop_type_finding):
300 break infinite loop by just returning instead of looping
301 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
302 set event time difference correctly. Set it to 1 second instead
303 of 100ms to be more tolerant
304 * gst/gstelement.c: (gst_element_set_time):
307 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
309 * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
310 query if buffers are inside the pool, ignore events
312 2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
314 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
315 (gst_clock_set_speed), (gst_clock_set_active),
316 (gst_clock_is_active), (gst_clock_reset),
317 (gst_clock_handle_discont):
319 deprecate old interface and disable functions that aren't in use
322 * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
323 (gst_element_set_time), (gst_element_adjust_time):
324 add concept of "element time" and functions to get/set this time.
325 * gst/gstelement.c: (gst_element_change_state):
326 update element time correctly.
327 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
328 This is a debug message, not a g_critical.
329 * gst/gstpad.c: (gst_pad_event_default):
330 handle discontinuous events right with element time.
331 * gst/gstscheduler.c: (gst_scheduler_state_transition):
332 update to clocking fixes.
333 set clocks on elements in READY=>PAUSED. The old behaviour caused
334 a wrong element time on the first element that started playing.
335 * gst/schedulers/gstbasicscheduler.c:
336 (gst_basic_scheduler_class_init):
337 * gst/schedulers/gstoptimalscheduler.c:
338 (gst_opt_scheduler_class_init):
339 remove code that just implements the default behaviour.
340 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
341 update to use new clocking functions
342 * testsuite/clock/clock1.c: (gst_clock_debug), (main):
343 * testsuite/clock/clock2.c: (gst_clock_debug), (main):
344 update to test new element time.
345 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
346 use _get_allowed_caps instead of _get_caps. This catches filtered
348 * testsuite/debug/commandline.c:
349 update for new GST_DEBUG syntax.
350 * testsuite/threads/Makefile.am:
351 disable a test that only works sometimes.
353 2004-01-13 Julien MOUTTE <julien@moutte.net>
355 * po/LINGUAS: Adding fr.
356 * po/fr.po: Adding french translation.
358 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
360 * gst/parse/grammar.y:
363 * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
364 translate parsing error messages
366 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
368 * po/POTFILES.in: adding gst-launch
369 * po/nl.po: updated translation, all 99 strings translated
370 * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
371 (found_tag), (sigint_handler_sighandler), (play_handler), (main):
372 fix strings for translation
374 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
377 - capitalize beginnings of popt options
378 - fix strings for translation
379 - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
381 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
383 * po/README: add some notes on how to update translations
385 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
387 * ABOUT-NLS: removed, is autogenerated from autopoint
388 * autogen.sh: add autopoint stuff
389 * configure.ac: fix up gettext stuff
390 * gst/Makefile.am: add i18n headers to noinst_HEADERS
391 * gst/elements/gsttypefindelement.c: add header include
392 * gst/gettext.h: add header, copy from system-installed header
393 * gst/gst-i18n-app.h: to be included by each app having translations
394 * gst/gst-i18n-lib.h: to be included by each lib having translations
395 * gst/gst.c: (init_pre): fix up gettext calls
396 * gst/gst_private.h: remove i18n stuff, moving to separate headers
397 * po/LINGUAS: the new way to specify translations present
398 * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
399 * po/Makevars: the variables filled in for GStreamer
400 * po/POTFILES.in: added new files with translations
401 * po/de.po: has new strings
402 * po/nl.po: readded, has new strings
404 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
406 * gst/gsttag.c: fix some strings marked for translation
408 2004-01-13 Iain <iain@prettypeople.org>
410 * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
411 group when we add an element to it, cos we unref it when we remove one
413 2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
415 * testsuite/debug/commandline.c: (debug_not_reached):
416 * testsuite/debug/output.c: (check_message):
419 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
421 * examples/cutter/.cvsignore:
422 * examples/helloworld/.cvsignore:
423 * examples/launch/.cvsignore:
424 * examples/manual/.cvsignore:
425 * examples/mixer/.cvsignore:
426 * examples/pingpong/.cvsignore:
427 * examples/plugins/.cvsignore:
428 * examples/queue/.cvsignore:
429 * examples/queue2/.cvsignore:
430 * examples/queue3/.cvsignore:
431 * examples/queue4/.cvsignore:
432 * examples/retag/.cvsignore:
433 * examples/thread/.cvsignore:
434 * examples/typefind/.cvsignore:
435 * examples/xml/.cvsignore:
437 * gst/autoplug/.cvsignore:
438 * gst/elements/.cvsignore:
439 * gst/indexers/.cvsignore:
440 * gst/parse/.cvsignore:
441 * gst/registries/.cvsignore:
442 * gst/schedulers/.cvsignore:
443 * libs/gst/bytestream/.cvsignore:
444 * libs/gst/control/.cvsignore:
445 * libs/gst/getbits/.cvsignore:
447 * tests/bufspeed/.cvsignore:
448 * tests/instantiate/.cvsignore:
449 * tests/memchunk/.cvsignore:
450 * tests/muxing/.cvsignore:
451 * tests/sched/.cvsignore:
452 * tests/seeking/.cvsignore:
453 * tests/threadstate/.cvsignore:
454 * testsuite/.cvsignore:
455 * testsuite/caps/.cvsignore:
456 * testsuite/cleanup/.cvsignore:
457 * testsuite/dynparams/.cvsignore:
458 * testsuite/plugin/.cvsignore:
460 update - this is huge, because it includes *.bb, *.bbg and *.da files
461 which are generated for gcov.
463 2004-01-11 David Schleef <ds@schleef.org>
465 * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
466 a function to parse integers in ways that strto[u]l() does not.
468 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
470 * tools/gst-inspect.c: (print_caps):
471 improve output of caps a bit
473 2004-01-11 David Schleef <ds@schleef.org>
475 * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
476 inherit correct flags (READONLY and DONTKEEP).
478 2004-01-11 David Schleef <ds@schleef.org>
480 * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
481 (gst_filesrc_map_region):
482 * gst/gstbuffer.c: (_gst_buffer_initialize),
483 (_gst_buffer_sub_free), (gst_buffer_default_copy),
484 (gst_buffer_new), (gst_buffer_create_sub),
485 (gst_buffer_is_span_fast), (gst_buffer_span):
487 Change GstBuffer private structure element names. (all files)
488 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
491 Implement getcaps/pad_link functions that handle the case where
492 there are data in the queue.
494 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
496 * gst/elements/gstbufferstore.c:
497 initialize debugging structure correctly
498 * gst/elements/gsttee.c: (gst_tee_set_property):
499 g_object_notify when property was changed
500 * gst/elements/gsttypefindelement.c:
501 (gst_type_find_element_change_state):
504 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
506 * gst/gstqueue.c: (gst_queue_init):
507 Use better defaults for when a queue should block. This
508 gets rid of jerky playback for quite a few files.
509 It takes more memory.
511 2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
513 (gst_xml_registry_parse_padtemplate):
514 make critical message slightly more useful
516 2004-01-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
518 * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
519 (gst_debug_message_get), (gst_debug_log_default):
521 Change gst_debug_log(_valist) to take a const format string.
522 Change prototype of log function and functions using those to
523 take a GstDebugMessage instead of a string that requires using
524 gst_debug_message_get.
526 2004-01-08 David Schleef <ds@schleef.org>
530 Add option --enable-gcov to build GStreamer with -fprofile-arcs
531 and -ftest-coverage, which allows gcov to show information about
534 2004-01-08 Benjamin Otte <in7y118@public.uni-hamburg.de>
537 Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
538 GST_PARENT_CALL_WITH_DEFAULT
539 * gst/elements/gstaggregator.c:
540 * gst/elements/gstbufferstore.c:
541 * gst/elements/gstfakesink.c:
542 * gst/elements/gstfakesrc.c:
543 * gst/elements/gstfdsink.c:
544 * gst/elements/gstfdsrc.c:
545 * gst/elements/gstfilesink.c:
546 * gst/elements/gstfilesrc.c:
547 * gst/elements/gstidentity.c:
548 * gst/elements/gstmd5sink.c:
549 * gst/elements/gstmultidisksrc.c:
550 * gst/elements/gstpipefilter.c:
551 * gst/elements/gstshaper.c:
552 * gst/elements/gststatistics.c:
553 * gst/elements/gsttee.c:
554 * gst/elements/gsttypefindelement.c:
557 2004-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
559 * docs/gst/gstreamer-docs.sgml: remove props
560 * docs/gst/gstreamer-sections.txt: remove props
561 * docs/gst/tmpl/gst.sgml:
562 * docs/gst/tmpl/gstbin.sgml:
563 * docs/gst/tmpl/gstbuffer.sgml:
564 * docs/gst/tmpl/gstcaps.sgml:
565 * docs/gst/tmpl/gstclock.sgml:
566 * docs/gst/tmpl/gstelement.sgml:
567 * docs/gst/tmpl/gstindex.sgml:
568 * docs/gst/tmpl/gstobject.sgml:
569 * docs/gst/tmpl/gstpad.sgml:
570 * docs/gst/tmpl/gstpadtemplate.sgml:
571 * docs/gst/tmpl/gstreamer-unused.sgml:
572 * docs/gst/tmpl/gstthread.sgml:
573 * docs/gst/tmpl/gstxml.sgml:
574 sync with code reorganization
576 2004-01-07 Jan Schmidt <thaytan@mad.scientist.com>
578 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
579 Make the 'Could not find compatible pad' message more informative.
581 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
583 * gst/elements/gstfilesink.c: (gst_filesink_set_location):
584 Fix for if we pass NULL as property to location.
585 * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
586 (gst_pipefilter_handle_event), (gst_pipefilter_chain):
587 Fix for instantiate-test (see below).
588 * gst/gststructure.c: (_gst_structure_parse_value):
589 Fix compile error on gcc-2.96.
592 * tests/instantiate/Makefile.am:
593 * tests/instantiate/create.c: (create_all_elements), (main):
594 Add a test that instantiates all elements. This makes it easy to
595 track dead code for old API/design (like setting event functions
596 on sink pads and so on).
598 2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
600 * gst/gstcaps.c: (gst_caps_append_structure):
601 Move the poisoning to allow a NULL structure
602 * gst/gstevent.c: (_gst_event_free):
603 When freeing a navigation event, free the structure
606 2004-01-04 David Schleef <ds@schleef.org>
608 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
609 Remove usage of gst_pad_proxy_fixate.
610 * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
611 (gst_caps_split_one), (gst_caps_replace):
613 * gst/gstmarshal.list:
614 Add pointer__pointer for fixate signal
615 * gst/gstpad.c: (gst_real_pad_class_init),
616 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
617 (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
618 (gst_pad_set_explicit_caps), (gst_pad_template_new):
619 Add poisoning code. Add fixate signal on RealPad. Change
620 set_explicit_caps() to take const GstCaps, like try_set_caps().
622 * testsuite/caps/Makefile.am:
623 * testsuite/caps/app_fixate.c: Add a test for the fixate signal
625 2004-01-03 David Schleef <ds@schleef.org>
627 * gst/elements/gsttypefindelement.c:
628 (gst_type_find_element_have_type), (gst_type_find_element_init):
629 Use gst_pad_use_explicit_caps for src pad.
630 * gst/gstpad.c: (gst_pad_try_set_caps): Check that link exists
633 2004-01-03 David Schleef <ds@schleef.org>
635 * gst/gstelement.c: (gst_element_link_pads_filtered),
636 (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
637 that linking was successful.
638 * gst/gstpad.c: (gst_pad_link_free),
639 (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
640 (gst_pad_link_try), (gst_pad_link_unnegotiate),
641 (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
642 GstPadLinkReturn correctly between functions, and don't fail
643 when DELAYED is used (DELAYED is very important). Better
644 cleanup on unlinking and unnegotiation. Should fix some spider
647 2004-01-02 David Schleef <ds@schleef.org>
649 * gst/gstelement.c: (gst_element_class_init),
650 (gst_element_base_class_init): ->padtemplates should be cleared
651 in base_init, since we need to have a fresh list for every
652 class. (Alternately, we chould copy the list and share the
653 actual pad templates (not the list), but that would require
654 changing every plugin to move pad template registration from
655 base_init to class_init.)
657 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
659 * gst/gstelement.c: (gst_element_class_add_pad_template):
660 Refuse registering a pad template if another pad template
661 with the same name already exists (#114715).
663 2004-01-02 David Schleef <ds@schleef.org>
665 * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
666 (gst_caps_is_equal_fixed): Add new function.
667 * gst/gstcaps.h: ditto.
668 * gst/gstpad.c: (gst_real_pad_class_init),
669 (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
670 (gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
671 check new caps against existing caps -- if they're the same, return
672 OK without renegotiating. caps-nego-failed signal fixed so that
673 the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
674 to save an extra caps copy. Don't complete negotiation if a pad
675 link function returns DELAYED.
677 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
679 * gst/gstpad.c: (gst_pad_try_relink_filtered):
680 Fix wrong g_return_if_fail
682 2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
684 * gst/gstbin.c: (gst_bin_class_init):
685 Change the marshalling of element_added/element_removed
686 to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
687 complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
689 2004-01-01 David Schleef <ds@schleef.org>
691 * gst/gstpad.c: (gst_pad_set_explicit_caps),
692 (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
693 (gst_pad_use_explicit_caps):
695 Add new functions. gst_pad_use_explicit_caps() sets up a pad
696 to use an internal getcaps and link fuction so that negotiation
697 always results in the explicitly set caps.
698 gst_pad_set_explicit_caps() sets the explicit caps. These functions
699 are particularly useful for decoders.
701 2003-12-31 David Schleef <ds@schleef.org>
703 * gst/elements/gstidentity.c: (gst_identity_class_init),
704 (gst_identity_init), (gst_identity_chain),
705 (gst_identity_set_property), (gst_identity_get_property):
706 * gst/elements/gstidentity.h:
707 * gst/gstqueue.c: (gst_queue_init):
710 2003-12-31 David Schleef <ds@schleef.org>
712 * gst/gstcaps.c: (gst_caps_intersect),
713 (_gst_caps_normalize_foreach), (gst_caps_normalize):
714 Implement gst_caps_normalize().
715 * testsuite/caps/normalisation.c: (main):
716 Add an additional test
718 2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
720 * gst/gstqueue.c: (gst_queue_init):
721 use gst_pad_proxy_getcaps()
723 2003-12-31 David Schleef <ds@schleef.org>
725 * gst/elements/gstshaper.c: (gst_shaper_link):
726 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
727 * gst/gstqueue.c: (gst_queue_link):
730 2003-12-31 David Schleef <ds@schleef.org>
732 * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
733 * gst/gstpad.h: Add functions that are useful as default pad
734 link and fixate functions for elements.
736 2003-12-30 David Schleef <ds@schleef.org>
738 * gst/gstpad.c: (gst_pad_link_try):
739 Fix segfault when attempting to return to old caps
741 2003-12-29 David Schleef <ds@schleef.org>
743 * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
744 (gst_caps_structure_simplify), (gst_caps_simplify):
746 Add simplify function
747 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
748 (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
750 Copy over srcnotify, sinknotify when calling old pad_link
751 functions. Add new is_negotiated() function.
752 * gst/gststructure.c: (gst_structure_copy):
753 Fix an incredibly stupid bug that should have been noticed
754 weeks ago. _copy() returned the argument, not the new copy.
756 2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
758 * gst/gstcaps.c: (gst_caps_append):
760 * gst/gstcaps.h: (gst_caps_debug):
761 remove, it doesn't exist anymore.
762 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
763 (gst_element_threadsafe_properties_post_run):
764 make debugging messages not clutter up THREAD debug category
765 (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
766 (gst_element_change_state):
767 update to new caps API
768 * gst/gstinterface.c: (gst_implements_interface_cast):
769 don't put vital code in g_return_if_fail
770 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
771 (gst_pad_link_filtered):
772 add pst_pad_try_link and use it.
773 (gst_pad_perform_negotiate), (gst_pad_renegotiate):
774 implement correctly, deprecate first one.
775 (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
777 (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
779 (gst_pad_get_negotiated_caps):
780 add and implement. Make GST_PAD_CAPS call this function.
782 remove unneeded check..
783 (gst_pad_recover_caps_error):
784 disable, always return FALSE.
785 (gst_real_pad_dispose):
786 don't free caps and appfilter anymore, they're unused.
788 Reflect changes mentioned above.
789 * gst/gstsystemclock.c: (gst_system_clock_wait):
790 Make 'clock is way behind' a debugging message.
791 * gst/gstthread.c: (gst_thread_change_state):
792 Fix debugging message
794 2003-12-25 Thomas Vander Stichele <thomas at apestaart dot org>
797 fix GST_DEBUG_CATEGORY_INIT gtk-doc description
798 * docs/gst/tmpl/gstreamer-unused.sgml:
799 removed all traces of cvs conflicts
801 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
804 * gst/schedulers/cothreads_compat.h:
806 remove last instances of wingo cothread usage
808 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
811 * gst/gstversion.h.in:
812 * gst/parse/grammar.y:
813 change comment block from /** to /* when not gtk-doc comments
815 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
817 * gst/gst.c: whitespace and doc style fixes
819 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
821 * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
823 2003-12-24 Colin Walters <walters@verbum.org>
825 * gst/elements/gsttypefindelement.c:
826 gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
827 Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
828 Don't double-free caps.
830 2003-12-23 David Schleef <ds@schleef.org>
832 * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
833 gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
834 Many little fixes and additions of debug statements to
835 get rhythmbox working.
837 2003-12-23 Colin Walters <walters@verbum.org>
839 * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
840 Use GST_PAD_LINK_SUCCESSFUL.
842 2003-12-23 David Schleef <ds@schleef.org>
844 * gst/elements/gstaggregator.c:
845 * gst/elements/gsttee.c:
846 Use gst_pad_proxy_getcaps().
849 Add gst_pad_proxy_getcaps(), which filter elements can use
850 as a generic getcaps implementation.
851 Fix gst_pad_get_allowed_caps(). It just wasn't doing what
854 2003-12-23 David Schleef <ds@schleef.org>
857 Rearrange/rewrite much of the pad negotiation code, since it
858 resembled pasta. This actually changes the way some
859 negotiation works, since the previous code was inconsistent
860 depending on how it was invoked. Add (internal) structure
861 GstPadLink, which is used to hold some information (more in
862 the future) about the link between two pads. Fixes a number
863 of bugs, including random lossage of filter caps when the
864 initial negotiation is delayed. A few functions are still
867 Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
868 these when testing GstPadLinkReturn values instead of comparing
871 2003-12-23 David Schleef <ds@schleef.org>
875 Rearrange lots of code. Change registration of compare function
876 into registration of compare/serialize/deserialize functions.
877 Doesn't include implementation of gst_value_[de]serialize(),
878 but that should be easy.
880 2003-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
882 * docs/gst/gstreamer-sections.txt:
883 * docs/gst/tmpl/gstprops.sgml: removed
884 * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
885 David removed props and caps code, so let's remove their docs as well.
886 Removed all no longer existing symbols from gstreamer-sections.txt
888 2003-12-22 Colin Walters <walters@verbum.org>
890 * gst/gsttaginterface.c, gst/gsttaginterface.h,
891 gst/gsttag.c, gst/gsttag.h: Add interface to setting GValues
894 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
896 * gst/elements/gstelements.c:
897 Set ranks of elements to NONE, so the autoplugger doesn't use them.
898 * gst/elements/gstshaper.c: (gst_shaper_getcaps):
899 Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
902 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
904 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
905 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
906 (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
907 (gst_spider_identity_sink_loop_type_finding):
908 * gst/autoplug/gstspideridentity.h:
909 Fix autoplugging in spider element, so it works with new caps.
910 This was mainly caused by identifying empty caps incorrectly.
912 2003-12-22 David Schleef <ds@schleef.org>
914 * gststructure.c, gstvalue.c, gstvalue.h: Add
915 gst_value_init_and_copy() and use it, to avoid silly mistakes in
918 2003-12-21 David Schleef <ds@schleef.org>
920 * many, many files: Merge CAPS branch. This includes:
921 - implemention of GstValue and several GstValue types
922 - implemention of GstStructure
923 - entire rewrite of GstCaps
924 - removal of GstProps
925 - many changes to GstPad to compensate for new caps paradigm
926 - removal of GstBufferpool
927 * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
928 gstvalue.h, gst/gstcaps[2]*.[ch]:
929 - rename gstcaps2.[ch] to gstcaps.[ch]
931 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
933 * gst/gstqueue.c: (gst_queue_handle_pending_events),
934 (gst_queue_chain), (gst_queue_handle_src_event):
935 implement timeout for sending events. Workaround for if the
936 pipeline on this queue is not passing any data.
938 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
940 * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
941 * moved CVS to freedesktop.org