1 2004-01-26 David Schleef <ds@schleef.org>
3 * gst/gstpad.c: (gst_pad_try_set_caps): Revert last change
4 making try_set_caps() work with non-fixed caps.
6 2004-01-26 Ronald Bultje <rbultje@ronald.bitfreak.net>
8 * docs/pwg/advanced_types.xml:
9 * docs/pwg/intro_basics.xml:
10 * docs/pwg/intro_preface.xml:
12 * docs/pwg/titlepage.xml:
13 First try to resurrect the PWG. I'm halfway integrating the mimetypes
14 in here (docs/random/mimetypes), and will from there on work on both
15 updating outdated parts and adding missing parts.
16 That doesn't mean I'll fix it completely, but I'll try at least. ;).
18 2004-01-26 Thomas Vander Stichele <thomas at apestaart dot org>
20 * gst/gsterror.h: reinstate GST_LIBRARY_ERROR_ENCODE until
23 2004-01-26 Benjamin Otte <in7y118@public.uni-hamburg.de>
26 remove gst_element_factory_get_version. It doesn't exist anymore.
29 remove gst_plugin_set_name and change gst_plugin_get_longname to
30 gst_plugin_get_description to match code.
32 remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
33 * gst/gstpad.c: (gst_pad_try_set_caps):
34 make it work with nonfixed caps.
35 Note that even in the nonfixed case the link function of the pad
36 that tries to set caps isn't called.
38 2004-01-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
40 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
41 fix bug where buffer was not assembled correctly
42 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
44 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
45 only seek if there's no more buffers that could work without seeking
47 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net>
49 * gst/gsttag.c: (_gst_tag_initialize):
51 Add application tag (for encoding/muxing app).
53 2004-01-23 Thomas Vander Stichele <thomas at apestaart dot org>
56 make autopoint force, and libtoolize not copy
57 * common/m4/as-docbook.m4:
58 added docbook xml catalog setup check
59 * common/m4/gst-doc.m4:
62 2004-01-22 Thomas Vander Stichele <thomas at apestaart dot org>
64 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
68 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
70 * docs/gst/gstreamer-sections.txt:
71 * docs/gst/tmpl/gst.sgml:
72 * docs/gst/tmpl/gstbuffer.sgml:
73 * docs/gst/tmpl/gstclock.sgml:
74 * docs/gst/tmpl/gstelement.sgml:
75 * docs/gst/tmpl/gstreamer-unused.sgml:
76 * docs/gst/tmpl/gstxml.sgml:
77 sync latest API changes to docs
79 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
81 * gst/gstpluginfeature.c:
83 * tools/gst-inspect.c: (print_element_list):
84 fix output of typefind
89 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
91 * gst/elements/Makefile.am:
92 * gst/elements/gstelements.c:
93 * gst/elements/gsttypefindelement.c:
94 * gst/elements/gsttypefindelement.h:
98 renamed gsttypefindelement to gsttypefind, conserving CVS history
100 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
102 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
104 add some tags used in ogg as well
105 fix _ in replaygain tags
107 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
110 fix wrong GST_LIBRARY_ERROR_ENCODE addition
112 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
114 * gst/gstelement.c: (gst_element_error_full):
116 change _extended to _full
118 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
120 reviewed by: <delete if not using a buddy>
122 * docs/gst/tmpl/gst.sgml:
123 * docs/gst/tmpl/gstbuffer.sgml:
124 * docs/gst/tmpl/gstclock.sgml:
125 * docs/gst/tmpl/gstelement.sgml:
126 * docs/gst/tmpl/gstreamer-unused.sgml:
127 * docs/gst/tmpl/gstxml.sgml:
128 * gst/gstelement.c: (gst_element_error_full):
131 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
133 * gst/gstelement.h: fix _gst_element_error_printf prototype
135 2004-01-20 David Schleef <ds@schleef.org>
137 * gst/gststructure.c: (gst_structure_to_string):
138 Convert function to use gst_value_serialize().
139 * gst/gstvalue.c: (gst_value_serialize_list),
140 (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
141 (gst_value_serialize_double_range), (gst_value_serialize_boolean),
142 (gst_value_serialize_int), (gst_value_serialize_double),
143 (gst_string_wrap), (gst_value_serialize_string),
144 (gst_value_serialize), (gst_value_deserialize):
146 Add implementations for serialize.
148 2004-01-20 Julien MOUTTE <julien@moutte.net>
150 * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
151 we want to keep that one in the future or change xvidenc.c to use
154 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
156 * gst/gstelement.c: (_gst_element_error_printf):
160 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
163 doc explaining error system
164 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
167 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
169 * gst/gst-i18n-app.h:
170 * gst/gst-i18n-lib.h:
171 remove inclusion of config.h
176 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
178 * po/nl.po: updated Dutch translation
180 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
182 * gst/gsterror.c: (_gst_core_errors_init),
183 (_gst_library_errors_init), (_gst_resource_errors_init),
184 (_gst_stream_errors_init):
185 remove ending punctuation dots
187 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
189 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
190 * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
191 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
192 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
193 (gst_pipefilter_chain), (gst_pipefilter_open_file):
196 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
198 * gst/gstelement.c: (gst_element_error_printf),
199 (gst_element_error_extended):
201 add a helper printf function so we can have NULL values passed.
203 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
206 add G_STMT macros to gst_element_error, which isn't strictly
207 necessary but people tell me to anyway.
209 2004-01-18 Thomas Vander Stichele <thomas at apestaart dot org>
212 * gst/autoplug/gstspideridentity.c:
213 (gst_spider_identity_sink_loop_type_finding):
214 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
215 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
216 (gst_filesink_close_file), (gst_filesink_handle_event),
217 (gst_filesink_chain):
218 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
219 (gst_filesrc_map_region), (gst_filesrc_get_read),
220 (gst_filesrc_open_file):
221 * gst/elements/gstidentity.c: (gst_identity_chain):
222 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
223 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
224 (gst_pipefilter_chain), (gst_pipefilter_open_file):
225 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
228 * gst/gstelement.c: (gst_element_class_init),
229 (gst_element_default_error), (gst_element_error_func),
230 (gst_element_error_extended):
232 * gst/gsterror.c: (_gst_core_errors_init),
233 (_gst_library_errors_init), (_gst_resource_errors_init),
234 (_gst_stream_errors_init), (gst_error_get_message):
236 * gst/gstinfo.c: (_gst_debug_init):
237 * gst/gstmarshal.list:
238 * gst/gstpad.c: (gst_pad_set_explicit_caps),
239 (gst_pad_recover_caps_error), (gst_pad_pull):
240 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
241 * gst/schedulers/gstbasicscheduler.c:
242 (gst_basic_scheduler_chainhandler_proxy),
243 (gst_basic_scheduler_gethandler_proxy),
244 (gst_basic_scheduler_cothreaded_chain):
251 2004-01-18 Jeremy Simon <jesimon@libertysurf.fr>
253 * gst/gsttag.c: (_gst_tag_initialize):
257 2004-01-18 Colin Walters <walters@verbum.org>
259 * examples/retag/retag.c: Call gst_init before processing
260 program args. Add g_assert to _link_many call.
262 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
264 * gst/gstpad.c: (gst_pad_alloc_buffer):
265 Return a newly allocated buffer when the pad has no peer.
267 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
269 * gst/gstclock.c: (gst_clock_get_time):
270 make it compile with gcc 2.95 again.
271 Patch by Scott Wheeler
273 2004-01-15 David Schleef <ds@schleef.org>
276 Added gst_caps_is_simple() macro.
277 * testsuite/caps/caps.c: (test1):
278 * testsuite/caps/intersect2.c: (main):
279 * testsuite/caps/intersection.c: (main):
280 Fixes to make 'make check' work again after removing
281 gst_caps_is_chained().
283 2004-01-15 Leif Johnson <leif@ambient.2y.net>
285 * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
286 and additions to the MIDI document.
288 2004-01-15 David Schleef <ds@schleef.org>
290 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
291 (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
292 of GST_RPAD_, since we don't know if it's a real or ghost pad.
294 2004-01-15 David Schleef <ds@schleef.org>
298 Fix the spelling of "treshold" and make min_threshold actually
301 2004-01-15 David Schleef <ds@schleef.org>
304 Add lots of documentation.
306 Deprecate a few functions.
308 Removed use of deprecated functions.
310 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
312 * gst/gstpad.c: (gst_pad_is_linked):
314 implement gst_pad_is_linked
316 reserve space for initiate_state_change
318 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
320 * gst/autoplug/gstspideridentity.c:
321 (gst_spider_identity_sink_loop_type_finding):
322 break infinite loop by just returning instead of looping
323 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
324 set event time difference correctly. Set it to 1 second instead
325 of 100ms to be more tolerant
326 * gst/gstelement.c: (gst_element_set_time):
329 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
331 * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
332 query if buffers are inside the pool, ignore events
334 2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
336 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
337 (gst_clock_set_speed), (gst_clock_set_active),
338 (gst_clock_is_active), (gst_clock_reset),
339 (gst_clock_handle_discont):
341 deprecate old interface and disable functions that aren't in use
344 * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
345 (gst_element_set_time), (gst_element_adjust_time):
346 add concept of "element time" and functions to get/set this time.
347 * gst/gstelement.c: (gst_element_change_state):
348 update element time correctly.
349 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
350 This is a debug message, not a g_critical.
351 * gst/gstpad.c: (gst_pad_event_default):
352 handle discontinuous events right with element time.
353 * gst/gstscheduler.c: (gst_scheduler_state_transition):
354 update to clocking fixes.
355 set clocks on elements in READY=>PAUSED. The old behaviour caused
356 a wrong element time on the first element that started playing.
357 * gst/schedulers/gstbasicscheduler.c:
358 (gst_basic_scheduler_class_init):
359 * gst/schedulers/gstoptimalscheduler.c:
360 (gst_opt_scheduler_class_init):
361 remove code that just implements the default behaviour.
362 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
363 update to use new clocking functions
364 * testsuite/clock/clock1.c: (gst_clock_debug), (main):
365 * testsuite/clock/clock2.c: (gst_clock_debug), (main):
366 update to test new element time.
367 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
368 use _get_allowed_caps instead of _get_caps. This catches filtered
370 * testsuite/debug/commandline.c:
371 update for new GST_DEBUG syntax.
372 * testsuite/threads/Makefile.am:
373 disable a test that only works sometimes.
375 2004-01-13 Julien MOUTTE <julien@moutte.net>
377 * po/LINGUAS: Adding fr.
378 * po/fr.po: Adding french translation.
380 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
382 * gst/parse/grammar.y:
385 * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
386 translate parsing error messages
388 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
390 * po/POTFILES.in: adding gst-launch
391 * po/nl.po: updated translation, all 99 strings translated
392 * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
393 (found_tag), (sigint_handler_sighandler), (play_handler), (main):
394 fix strings for translation
396 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
399 - capitalize beginnings of popt options
400 - fix strings for translation
401 - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
403 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
405 * po/README: add some notes on how to update translations
407 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
409 * ABOUT-NLS: removed, is autogenerated from autopoint
410 * autogen.sh: add autopoint stuff
411 * configure.ac: fix up gettext stuff
412 * gst/Makefile.am: add i18n headers to noinst_HEADERS
413 * gst/elements/gsttypefindelement.c: add header include
414 * gst/gettext.h: add header, copy from system-installed header
415 * gst/gst-i18n-app.h: to be included by each app having translations
416 * gst/gst-i18n-lib.h: to be included by each lib having translations
417 * gst/gst.c: (init_pre): fix up gettext calls
418 * gst/gst_private.h: remove i18n stuff, moving to separate headers
419 * po/LINGUAS: the new way to specify translations present
420 * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
421 * po/Makevars: the variables filled in for GStreamer
422 * po/POTFILES.in: added new files with translations
423 * po/de.po: has new strings
424 * po/nl.po: readded, has new strings
426 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
428 * gst/gsttag.c: fix some strings marked for translation
430 2004-01-13 Iain <iain@prettypeople.org>
432 * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
433 group when we add an element to it, cos we unref it when we remove one
435 2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
437 * testsuite/debug/commandline.c: (debug_not_reached):
438 * testsuite/debug/output.c: (check_message):
441 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
443 * examples/cutter/.cvsignore:
444 * examples/helloworld/.cvsignore:
445 * examples/launch/.cvsignore:
446 * examples/manual/.cvsignore:
447 * examples/mixer/.cvsignore:
448 * examples/pingpong/.cvsignore:
449 * examples/plugins/.cvsignore:
450 * examples/queue/.cvsignore:
451 * examples/queue2/.cvsignore:
452 * examples/queue3/.cvsignore:
453 * examples/queue4/.cvsignore:
454 * examples/retag/.cvsignore:
455 * examples/thread/.cvsignore:
456 * examples/typefind/.cvsignore:
457 * examples/xml/.cvsignore:
459 * gst/autoplug/.cvsignore:
460 * gst/elements/.cvsignore:
461 * gst/indexers/.cvsignore:
462 * gst/parse/.cvsignore:
463 * gst/registries/.cvsignore:
464 * gst/schedulers/.cvsignore:
465 * libs/gst/bytestream/.cvsignore:
466 * libs/gst/control/.cvsignore:
467 * libs/gst/getbits/.cvsignore:
469 * tests/bufspeed/.cvsignore:
470 * tests/instantiate/.cvsignore:
471 * tests/memchunk/.cvsignore:
472 * tests/muxing/.cvsignore:
473 * tests/sched/.cvsignore:
474 * tests/seeking/.cvsignore:
475 * tests/threadstate/.cvsignore:
476 * testsuite/.cvsignore:
477 * testsuite/caps/.cvsignore:
478 * testsuite/cleanup/.cvsignore:
479 * testsuite/dynparams/.cvsignore:
480 * testsuite/plugin/.cvsignore:
482 update - this is huge, because it includes *.bb, *.bbg and *.da files
483 which are generated for gcov.
485 2004-01-11 David Schleef <ds@schleef.org>
487 * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
488 a function to parse integers in ways that strto[u]l() does not.
490 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
492 * tools/gst-inspect.c: (print_caps):
493 improve output of caps a bit
495 2004-01-11 David Schleef <ds@schleef.org>
497 * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
498 inherit correct flags (READONLY and DONTKEEP).
500 2004-01-11 David Schleef <ds@schleef.org>
502 * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
503 (gst_filesrc_map_region):
504 * gst/gstbuffer.c: (_gst_buffer_initialize),
505 (_gst_buffer_sub_free), (gst_buffer_default_copy),
506 (gst_buffer_new), (gst_buffer_create_sub),
507 (gst_buffer_is_span_fast), (gst_buffer_span):
509 Change GstBuffer private structure element names. (all files)
510 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
513 Implement getcaps/pad_link functions that handle the case where
514 there are data in the queue.
516 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
518 * gst/elements/gstbufferstore.c:
519 initialize debugging structure correctly
520 * gst/elements/gsttee.c: (gst_tee_set_property):
521 g_object_notify when property was changed
522 * gst/elements/gsttypefindelement.c:
523 (gst_type_find_element_change_state):
526 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
528 * gst/gstqueue.c: (gst_queue_init):
529 Use better defaults for when a queue should block. This
530 gets rid of jerky playback for quite a few files.
531 It takes more memory.
533 2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
535 (gst_xml_registry_parse_padtemplate):
536 make critical message slightly more useful
538 2004-01-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
540 * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
541 (gst_debug_message_get), (gst_debug_log_default):
543 Change gst_debug_log(_valist) to take a const format string.
544 Change prototype of log function and functions using those to
545 take a GstDebugMessage instead of a string that requires using
546 gst_debug_message_get.
548 2004-01-08 David Schleef <ds@schleef.org>
552 Add option --enable-gcov to build GStreamer with -fprofile-arcs
553 and -ftest-coverage, which allows gcov to show information about
556 2004-01-08 Benjamin Otte <in7y118@public.uni-hamburg.de>
559 Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
560 GST_PARENT_CALL_WITH_DEFAULT
561 * gst/elements/gstaggregator.c:
562 * gst/elements/gstbufferstore.c:
563 * gst/elements/gstfakesink.c:
564 * gst/elements/gstfakesrc.c:
565 * gst/elements/gstfdsink.c:
566 * gst/elements/gstfdsrc.c:
567 * gst/elements/gstfilesink.c:
568 * gst/elements/gstfilesrc.c:
569 * gst/elements/gstidentity.c:
570 * gst/elements/gstmd5sink.c:
571 * gst/elements/gstmultidisksrc.c:
572 * gst/elements/gstpipefilter.c:
573 * gst/elements/gstshaper.c:
574 * gst/elements/gststatistics.c:
575 * gst/elements/gsttee.c:
576 * gst/elements/gsttypefindelement.c:
579 2004-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
581 * docs/gst/gstreamer-docs.sgml: remove props
582 * docs/gst/gstreamer-sections.txt: remove props
583 * docs/gst/tmpl/gst.sgml:
584 * docs/gst/tmpl/gstbin.sgml:
585 * docs/gst/tmpl/gstbuffer.sgml:
586 * docs/gst/tmpl/gstcaps.sgml:
587 * docs/gst/tmpl/gstclock.sgml:
588 * docs/gst/tmpl/gstelement.sgml:
589 * docs/gst/tmpl/gstindex.sgml:
590 * docs/gst/tmpl/gstobject.sgml:
591 * docs/gst/tmpl/gstpad.sgml:
592 * docs/gst/tmpl/gstpadtemplate.sgml:
593 * docs/gst/tmpl/gstreamer-unused.sgml:
594 * docs/gst/tmpl/gstthread.sgml:
595 * docs/gst/tmpl/gstxml.sgml:
596 sync with code reorganization
598 2004-01-07 Jan Schmidt <thaytan@mad.scientist.com>
600 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
601 Make the 'Could not find compatible pad' message more informative.
603 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
605 * gst/elements/gstfilesink.c: (gst_filesink_set_location):
606 Fix for if we pass NULL as property to location.
607 * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
608 (gst_pipefilter_handle_event), (gst_pipefilter_chain):
609 Fix for instantiate-test (see below).
610 * gst/gststructure.c: (_gst_structure_parse_value):
611 Fix compile error on gcc-2.96.
614 * tests/instantiate/Makefile.am:
615 * tests/instantiate/create.c: (create_all_elements), (main):
616 Add a test that instantiates all elements. This makes it easy to
617 track dead code for old API/design (like setting event functions
618 on sink pads and so on).
620 2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
622 * gst/gstcaps.c: (gst_caps_append_structure):
623 Move the poisoning to allow a NULL structure
624 * gst/gstevent.c: (_gst_event_free):
625 When freeing a navigation event, free the structure
628 2004-01-04 David Schleef <ds@schleef.org>
630 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
631 Remove usage of gst_pad_proxy_fixate.
632 * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
633 (gst_caps_split_one), (gst_caps_replace):
635 * gst/gstmarshal.list:
636 Add pointer__pointer for fixate signal
637 * gst/gstpad.c: (gst_real_pad_class_init),
638 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
639 (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
640 (gst_pad_set_explicit_caps), (gst_pad_template_new):
641 Add poisoning code. Add fixate signal on RealPad. Change
642 set_explicit_caps() to take const GstCaps, like try_set_caps().
644 * testsuite/caps/Makefile.am:
645 * testsuite/caps/app_fixate.c: Add a test for the fixate signal
647 2004-01-03 David Schleef <ds@schleef.org>
649 * gst/elements/gsttypefindelement.c:
650 (gst_type_find_element_have_type), (gst_type_find_element_init):
651 Use gst_pad_use_explicit_caps for src pad.
652 * gst/gstpad.c: (gst_pad_try_set_caps): Check that link exists
655 2004-01-03 David Schleef <ds@schleef.org>
657 * gst/gstelement.c: (gst_element_link_pads_filtered),
658 (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
659 that linking was successful.
660 * gst/gstpad.c: (gst_pad_link_free),
661 (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
662 (gst_pad_link_try), (gst_pad_link_unnegotiate),
663 (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
664 GstPadLinkReturn correctly between functions, and don't fail
665 when DELAYED is used (DELAYED is very important). Better
666 cleanup on unlinking and unnegotiation. Should fix some spider
669 2004-01-02 David Schleef <ds@schleef.org>
671 * gst/gstelement.c: (gst_element_class_init),
672 (gst_element_base_class_init): ->padtemplates should be cleared
673 in base_init, since we need to have a fresh list for every
674 class. (Alternately, we chould copy the list and share the
675 actual pad templates (not the list), but that would require
676 changing every plugin to move pad template registration from
677 base_init to class_init.)
679 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
681 * gst/gstelement.c: (gst_element_class_add_pad_template):
682 Refuse registering a pad template if another pad template
683 with the same name already exists (#114715).
685 2004-01-02 David Schleef <ds@schleef.org>
687 * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
688 (gst_caps_is_equal_fixed): Add new function.
689 * gst/gstcaps.h: ditto.
690 * gst/gstpad.c: (gst_real_pad_class_init),
691 (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
692 (gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
693 check new caps against existing caps -- if they're the same, return
694 OK without renegotiating. caps-nego-failed signal fixed so that
695 the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
696 to save an extra caps copy. Don't complete negotiation if a pad
697 link function returns DELAYED.
699 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
701 * gst/gstpad.c: (gst_pad_try_relink_filtered):
702 Fix wrong g_return_if_fail
704 2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
706 * gst/gstbin.c: (gst_bin_class_init):
707 Change the marshalling of element_added/element_removed
708 to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
709 complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
711 2004-01-01 David Schleef <ds@schleef.org>
713 * gst/gstpad.c: (gst_pad_set_explicit_caps),
714 (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
715 (gst_pad_use_explicit_caps):
717 Add new functions. gst_pad_use_explicit_caps() sets up a pad
718 to use an internal getcaps and link fuction so that negotiation
719 always results in the explicitly set caps.
720 gst_pad_set_explicit_caps() sets the explicit caps. These functions
721 are particularly useful for decoders.
723 2003-12-31 David Schleef <ds@schleef.org>
725 * gst/elements/gstidentity.c: (gst_identity_class_init),
726 (gst_identity_init), (gst_identity_chain),
727 (gst_identity_set_property), (gst_identity_get_property):
728 * gst/elements/gstidentity.h:
729 * gst/gstqueue.c: (gst_queue_init):
732 2003-12-31 David Schleef <ds@schleef.org>
734 * gst/gstcaps.c: (gst_caps_intersect),
735 (_gst_caps_normalize_foreach), (gst_caps_normalize):
736 Implement gst_caps_normalize().
737 * testsuite/caps/normalisation.c: (main):
738 Add an additional test
740 2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
742 * gst/gstqueue.c: (gst_queue_init):
743 use gst_pad_proxy_getcaps()
745 2003-12-31 David Schleef <ds@schleef.org>
747 * gst/elements/gstshaper.c: (gst_shaper_link):
748 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
749 * gst/gstqueue.c: (gst_queue_link):
752 2003-12-31 David Schleef <ds@schleef.org>
754 * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
755 * gst/gstpad.h: Add functions that are useful as default pad
756 link and fixate functions for elements.
758 2003-12-30 David Schleef <ds@schleef.org>
760 * gst/gstpad.c: (gst_pad_link_try):
761 Fix segfault when attempting to return to old caps
763 2003-12-29 David Schleef <ds@schleef.org>
765 * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
766 (gst_caps_structure_simplify), (gst_caps_simplify):
768 Add simplify function
769 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
770 (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
772 Copy over srcnotify, sinknotify when calling old pad_link
773 functions. Add new is_negotiated() function.
774 * gst/gststructure.c: (gst_structure_copy):
775 Fix an incredibly stupid bug that should have been noticed
776 weeks ago. _copy() returned the argument, not the new copy.
778 2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
780 * gst/gstcaps.c: (gst_caps_append):
782 * gst/gstcaps.h: (gst_caps_debug):
783 remove, it doesn't exist anymore.
784 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
785 (gst_element_threadsafe_properties_post_run):
786 make debugging messages not clutter up THREAD debug category
787 (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
788 (gst_element_change_state):
789 update to new caps API
790 * gst/gstinterface.c: (gst_implements_interface_cast):
791 don't put vital code in g_return_if_fail
792 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
793 (gst_pad_link_filtered):
794 add pst_pad_try_link and use it.
795 (gst_pad_perform_negotiate), (gst_pad_renegotiate):
796 implement correctly, deprecate first one.
797 (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
799 (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
801 (gst_pad_get_negotiated_caps):
802 add and implement. Make GST_PAD_CAPS call this function.
804 remove unneeded check..
805 (gst_pad_recover_caps_error):
806 disable, always return FALSE.
807 (gst_real_pad_dispose):
808 don't free caps and appfilter anymore, they're unused.
810 Reflect changes mentioned above.
811 * gst/gstsystemclock.c: (gst_system_clock_wait):
812 Make 'clock is way behind' a debugging message.
813 * gst/gstthread.c: (gst_thread_change_state):
814 Fix debugging message
816 2003-12-25 Thomas Vander Stichele <thomas at apestaart dot org>
819 fix GST_DEBUG_CATEGORY_INIT gtk-doc description
820 * docs/gst/tmpl/gstreamer-unused.sgml:
821 removed all traces of cvs conflicts
823 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
826 * gst/schedulers/cothreads_compat.h:
828 remove last instances of wingo cothread usage
830 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
833 * gst/gstversion.h.in:
834 * gst/parse/grammar.y:
835 change comment block from /** to /* when not gtk-doc comments
837 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
839 * gst/gst.c: whitespace and doc style fixes
841 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
843 * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
845 2003-12-24 Colin Walters <walters@verbum.org>
847 * gst/elements/gsttypefindelement.c:
848 gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
849 Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
850 Don't double-free caps.
852 2003-12-23 David Schleef <ds@schleef.org>
854 * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
855 gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
856 Many little fixes and additions of debug statements to
857 get rhythmbox working.
859 2003-12-23 Colin Walters <walters@verbum.org>
861 * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
862 Use GST_PAD_LINK_SUCCESSFUL.
864 2003-12-23 David Schleef <ds@schleef.org>
866 * gst/elements/gstaggregator.c:
867 * gst/elements/gsttee.c:
868 Use gst_pad_proxy_getcaps().
871 Add gst_pad_proxy_getcaps(), which filter elements can use
872 as a generic getcaps implementation.
873 Fix gst_pad_get_allowed_caps(). It just wasn't doing what
876 2003-12-23 David Schleef <ds@schleef.org>
879 Rearrange/rewrite much of the pad negotiation code, since it
880 resembled pasta. This actually changes the way some
881 negotiation works, since the previous code was inconsistent
882 depending on how it was invoked. Add (internal) structure
883 GstPadLink, which is used to hold some information (more in
884 the future) about the link between two pads. Fixes a number
885 of bugs, including random lossage of filter caps when the
886 initial negotiation is delayed. A few functions are still
889 Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
890 these when testing GstPadLinkReturn values instead of comparing
893 2003-12-23 David Schleef <ds@schleef.org>
897 Rearrange lots of code. Change registration of compare function
898 into registration of compare/serialize/deserialize functions.
899 Doesn't include implementation of gst_value_[de]serialize(),
900 but that should be easy.
902 2003-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
904 * docs/gst/gstreamer-sections.txt:
905 * docs/gst/tmpl/gstprops.sgml: removed
906 * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
907 David removed props and caps code, so let's remove their docs as well.
908 Removed all no longer existing symbols from gstreamer-sections.txt
910 2003-12-22 Colin Walters <walters@verbum.org>
912 * gst/gsttaginterface.c, gst/gsttaginterface.h,
913 gst/gsttag.c, gst/gsttag.h: Add interface to setting GValues
916 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
918 * gst/elements/gstelements.c:
919 Set ranks of elements to NONE, so the autoplugger doesn't use them.
920 * gst/elements/gstshaper.c: (gst_shaper_getcaps):
921 Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
924 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
926 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
927 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
928 (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
929 (gst_spider_identity_sink_loop_type_finding):
930 * gst/autoplug/gstspideridentity.h:
931 Fix autoplugging in spider element, so it works with new caps.
932 This was mainly caused by identifying empty caps incorrectly.
934 2003-12-22 David Schleef <ds@schleef.org>
936 * gststructure.c, gstvalue.c, gstvalue.h: Add
937 gst_value_init_and_copy() and use it, to avoid silly mistakes in
940 2003-12-21 David Schleef <ds@schleef.org>
942 * many, many files: Merge CAPS branch. This includes:
943 - implemention of GstValue and several GstValue types
944 - implemention of GstStructure
945 - entire rewrite of GstCaps
946 - removal of GstProps
947 - many changes to GstPad to compensate for new caps paradigm
948 - removal of GstBufferpool
949 * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
950 gstvalue.h, gst/gstcaps[2]*.[ch]:
951 - rename gstcaps2.[ch] to gstcaps.[ch]
953 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
955 * gst/gstqueue.c: (gst_queue_handle_pending_events),
956 (gst_queue_chain), (gst_queue_handle_src_event):
957 implement timeout for sending events. Workaround for if the
958 pipeline on this queue is not passing any data.
960 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
962 * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
963 * moved CVS to freedesktop.org