1 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/gstelement.c: (gst_element_error_full):
5 change _extended to _full
7 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9 reviewed by: <delete if not using a buddy>
11 * docs/gst/tmpl/gst.sgml:
12 * docs/gst/tmpl/gstbuffer.sgml:
13 * docs/gst/tmpl/gstclock.sgml:
14 * docs/gst/tmpl/gstelement.sgml:
15 * docs/gst/tmpl/gstreamer-unused.sgml:
16 * docs/gst/tmpl/gstxml.sgml:
17 * gst/gstelement.c: (gst_element_error_full):
20 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
22 * gst/gstelement.h: fix _gst_element_error_printf prototype
24 2004-01-20 David Schleef <ds@schleef.org>
26 * gst/gststructure.c: (gst_structure_to_string):
27 Convert function to use gst_value_serialize().
28 * gst/gstvalue.c: (gst_value_serialize_list),
29 (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
30 (gst_value_serialize_double_range), (gst_value_serialize_boolean),
31 (gst_value_serialize_int), (gst_value_serialize_double),
32 (gst_string_wrap), (gst_value_serialize_string),
33 (gst_value_serialize), (gst_value_deserialize):
35 Add implementations for serialize.
37 2004-01-20 Julien MOUTTE <julien@moutte.net>
39 * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
40 we want to keep that one in the future or change xvidenc.c to use
43 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
45 * gst/gstelement.c: (_gst_element_error_printf):
49 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
52 doc explaining error system
53 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
56 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
60 remove inclusion of config.h
65 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
67 * po/nl.po: updated Dutch translation
69 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
71 * gst/gsterror.c: (_gst_core_errors_init),
72 (_gst_library_errors_init), (_gst_resource_errors_init),
73 (_gst_stream_errors_init):
74 remove ending punctuation dots
76 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
78 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
79 * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
80 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
81 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
82 (gst_pipefilter_chain), (gst_pipefilter_open_file):
85 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
87 * gst/gstelement.c: (gst_element_error_printf),
88 (gst_element_error_extended):
90 add a helper printf function so we can have NULL values passed.
92 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
95 add G_STMT macros to gst_element_error, which isn't strictly
96 necessary but people tell me to anyway.
98 2004-01-18 Thomas Vander Stichele <thomas at apestaart dot org>
101 * gst/autoplug/gstspideridentity.c:
102 (gst_spider_identity_sink_loop_type_finding):
103 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
104 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
105 (gst_filesink_close_file), (gst_filesink_handle_event),
106 (gst_filesink_chain):
107 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
108 (gst_filesrc_map_region), (gst_filesrc_get_read),
109 (gst_filesrc_open_file):
110 * gst/elements/gstidentity.c: (gst_identity_chain):
111 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
112 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
113 (gst_pipefilter_chain), (gst_pipefilter_open_file):
114 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
117 * gst/gstelement.c: (gst_element_class_init),
118 (gst_element_default_error), (gst_element_error_func),
119 (gst_element_error_extended):
121 * gst/gsterror.c: (_gst_core_errors_init),
122 (_gst_library_errors_init), (_gst_resource_errors_init),
123 (_gst_stream_errors_init), (gst_error_get_message):
125 * gst/gstinfo.c: (_gst_debug_init):
126 * gst/gstmarshal.list:
127 * gst/gstpad.c: (gst_pad_set_explicit_caps),
128 (gst_pad_recover_caps_error), (gst_pad_pull):
129 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
130 * gst/schedulers/gstbasicscheduler.c:
131 (gst_basic_scheduler_chainhandler_proxy),
132 (gst_basic_scheduler_gethandler_proxy),
133 (gst_basic_scheduler_cothreaded_chain):
140 2004-01-18 Jeremy Simon <jesimon@libertysurf.fr>
142 * gst/gsttag.c: (_gst_tag_initialize):
146 2004-01-18 Colin Walters <walters@verbum.org>
148 * examples/retag/retag.c: Call gst_init before processing
149 program args. Add g_assert to _link_many call.
151 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
153 * gst/gstpad.c: (gst_pad_alloc_buffer):
154 Return a newly allocated buffer when the pad has no peer.
156 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
158 * gst/gstclock.c: (gst_clock_get_time):
159 make it compile with gcc 2.95 again.
160 Patch by Scott Wheeler
162 2004-01-15 David Schleef <ds@schleef.org>
165 Added gst_caps_is_simple() macro.
166 * testsuite/caps/caps.c: (test1):
167 * testsuite/caps/intersect2.c: (main):
168 * testsuite/caps/intersection.c: (main):
169 Fixes to make 'make check' work again after removing
170 gst_caps_is_chained().
172 2004-01-15 Leif Johnson <leif@ambient.2y.net>
174 * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
175 and additions to the MIDI document.
177 2004-01-15 David Schleef <ds@schleef.org>
179 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
180 (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
181 of GST_RPAD_, since we don't know if it's a real or ghost pad.
183 2004-01-15 David Schleef <ds@schleef.org>
187 Fix the spelling of "treshold" and make min_threshold actually
190 2004-01-15 David Schleef <ds@schleef.org>
193 Add lots of documentation.
195 Deprecate a few functions.
197 Removed use of deprecated functions.
199 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
201 * gst/gstpad.c: (gst_pad_is_linked):
203 implement gst_pad_is_linked
205 reserve space for initiate_state_change
207 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
209 * gst/autoplug/gstspideridentity.c:
210 (gst_spider_identity_sink_loop_type_finding):
211 break infinite loop by just returning instead of looping
212 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
213 set event time difference correctly. Set it to 1 second instead
214 of 100ms to be more tolerant
215 * gst/gstelement.c: (gst_element_set_time):
218 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
220 * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
221 query if buffers are inside the pool, ignore events
223 2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
225 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
226 (gst_clock_set_speed), (gst_clock_set_active),
227 (gst_clock_is_active), (gst_clock_reset),
228 (gst_clock_handle_discont):
230 deprecate old interface and disable functions that aren't in use
233 * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
234 (gst_element_set_time), (gst_element_adjust_time):
235 add concept of "element time" and functions to get/set this time.
236 * gst/gstelement.c: (gst_element_change_state):
237 update element time correctly.
238 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
239 This is a debug message, not a g_critical.
240 * gst/gstpad.c: (gst_pad_event_default):
241 handle discontinuous events right with element time.
242 * gst/gstscheduler.c: (gst_scheduler_state_transition):
243 update to clocking fixes.
244 set clocks on elements in READY=>PAUSED. The old behaviour caused
245 a wrong element time on the first element that started playing.
246 * gst/schedulers/gstbasicscheduler.c:
247 (gst_basic_scheduler_class_init):
248 * gst/schedulers/gstoptimalscheduler.c:
249 (gst_opt_scheduler_class_init):
250 remove code that just implements the default behaviour.
251 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
252 update to use new clocking functions
253 * testsuite/clock/clock1.c: (gst_clock_debug), (main):
254 * testsuite/clock/clock2.c: (gst_clock_debug), (main):
255 update to test new element time.
256 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
257 use _get_allowed_caps instead of _get_caps. This catches filtered
259 * testsuite/debug/commandline.c:
260 update for new GST_DEBUG syntax.
261 * testsuite/threads/Makefile.am:
262 disable a test that only works sometimes.
264 2004-01-13 Julien MOUTTE <julien@moutte.net>
266 * po/LINGUAS: Adding fr.
267 * po/fr.po: Adding french translation.
269 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
271 * gst/parse/grammar.y:
274 * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
275 translate parsing error messages
277 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
279 * po/POTFILES.in: adding gst-launch
280 * po/nl.po: updated translation, all 99 strings translated
281 * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
282 (found_tag), (sigint_handler_sighandler), (play_handler), (main):
283 fix strings for translation
285 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
288 - capitalize beginnings of popt options
289 - fix strings for translation
290 - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
292 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
294 * po/README: add some notes on how to update translations
296 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
298 * ABOUT-NLS: removed, is autogenerated from autopoint
299 * autogen.sh: add autopoint stuff
300 * configure.ac: fix up gettext stuff
301 * gst/Makefile.am: add i18n headers to noinst_HEADERS
302 * gst/elements/gsttypefindelement.c: add header include
303 * gst/gettext.h: add header, copy from system-installed header
304 * gst/gst-i18n-app.h: to be included by each app having translations
305 * gst/gst-i18n-lib.h: to be included by each lib having translations
306 * gst/gst.c: (init_pre): fix up gettext calls
307 * gst/gst_private.h: remove i18n stuff, moving to separate headers
308 * po/LINGUAS: the new way to specify translations present
309 * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
310 * po/Makevars: the variables filled in for GStreamer
311 * po/POTFILES.in: added new files with translations
312 * po/de.po: has new strings
313 * po/nl.po: readded, has new strings
315 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
317 * gst/gsttag.c: fix some strings marked for translation
319 2004-01-13 Iain <iain@prettypeople.org>
321 * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
322 group when we add an element to it, cos we unref it when we remove one
324 2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
326 * testsuite/debug/commandline.c: (debug_not_reached):
327 * testsuite/debug/output.c: (check_message):
330 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
332 * examples/cutter/.cvsignore:
333 * examples/helloworld/.cvsignore:
334 * examples/launch/.cvsignore:
335 * examples/manual/.cvsignore:
336 * examples/mixer/.cvsignore:
337 * examples/pingpong/.cvsignore:
338 * examples/plugins/.cvsignore:
339 * examples/queue/.cvsignore:
340 * examples/queue2/.cvsignore:
341 * examples/queue3/.cvsignore:
342 * examples/queue4/.cvsignore:
343 * examples/retag/.cvsignore:
344 * examples/thread/.cvsignore:
345 * examples/typefind/.cvsignore:
346 * examples/xml/.cvsignore:
348 * gst/autoplug/.cvsignore:
349 * gst/elements/.cvsignore:
350 * gst/indexers/.cvsignore:
351 * gst/parse/.cvsignore:
352 * gst/registries/.cvsignore:
353 * gst/schedulers/.cvsignore:
354 * libs/gst/bytestream/.cvsignore:
355 * libs/gst/control/.cvsignore:
356 * libs/gst/getbits/.cvsignore:
358 * tests/bufspeed/.cvsignore:
359 * tests/instantiate/.cvsignore:
360 * tests/memchunk/.cvsignore:
361 * tests/muxing/.cvsignore:
362 * tests/sched/.cvsignore:
363 * tests/seeking/.cvsignore:
364 * tests/threadstate/.cvsignore:
365 * testsuite/.cvsignore:
366 * testsuite/caps/.cvsignore:
367 * testsuite/cleanup/.cvsignore:
368 * testsuite/dynparams/.cvsignore:
369 * testsuite/plugin/.cvsignore:
371 update - this is huge, because it includes *.bb, *.bbg and *.da files
372 which are generated for gcov.
374 2004-01-11 David Schleef <ds@schleef.org>
376 * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
377 a function to parse integers in ways that strto[u]l() does not.
379 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
381 * tools/gst-inspect.c: (print_caps):
382 improve output of caps a bit
384 2004-01-11 David Schleef <ds@schleef.org>
386 * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
387 inherit correct flags (READONLY and DONTKEEP).
389 2004-01-11 David Schleef <ds@schleef.org>
391 * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
392 (gst_filesrc_map_region):
393 * gst/gstbuffer.c: (_gst_buffer_initialize),
394 (_gst_buffer_sub_free), (gst_buffer_default_copy),
395 (gst_buffer_new), (gst_buffer_create_sub),
396 (gst_buffer_is_span_fast), (gst_buffer_span):
398 Change GstBuffer private structure element names. (all files)
399 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
402 Implement getcaps/pad_link functions that handle the case where
403 there are data in the queue.
405 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
407 * gst/elements/gstbufferstore.c:
408 initialize debugging structure correctly
409 * gst/elements/gsttee.c: (gst_tee_set_property):
410 g_object_notify when property was changed
411 * gst/elements/gsttypefindelement.c:
412 (gst_type_find_element_change_state):
415 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
417 * gst/gstqueue.c: (gst_queue_init):
418 Use better defaults for when a queue should block. This
419 gets rid of jerky playback for quite a few files.
420 It takes more memory.
422 2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
424 (gst_xml_registry_parse_padtemplate):
425 make critical message slightly more useful
427 2004-01-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
429 * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
430 (gst_debug_message_get), (gst_debug_log_default):
432 Change gst_debug_log(_valist) to take a const format string.
433 Change prototype of log function and functions using those to
434 take a GstDebugMessage instead of a string that requires using
435 gst_debug_message_get.
437 2004-01-08 David Schleef <ds@schleef.org>
441 Add option --enable-gcov to build GStreamer with -fprofile-arcs
442 and -ftest-coverage, which allows gcov to show information about
445 2004-01-08 Benjamin Otte <in7y118@public.uni-hamburg.de>
448 Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
449 GST_PARENT_CALL_WITH_DEFAULT
450 * gst/elements/gstaggregator.c:
451 * gst/elements/gstbufferstore.c:
452 * gst/elements/gstfakesink.c:
453 * gst/elements/gstfakesrc.c:
454 * gst/elements/gstfdsink.c:
455 * gst/elements/gstfdsrc.c:
456 * gst/elements/gstfilesink.c:
457 * gst/elements/gstfilesrc.c:
458 * gst/elements/gstidentity.c:
459 * gst/elements/gstmd5sink.c:
460 * gst/elements/gstmultidisksrc.c:
461 * gst/elements/gstpipefilter.c:
462 * gst/elements/gstshaper.c:
463 * gst/elements/gststatistics.c:
464 * gst/elements/gsttee.c:
465 * gst/elements/gsttypefindelement.c:
468 2004-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
470 * docs/gst/gstreamer-docs.sgml: remove props
471 * docs/gst/gstreamer-sections.txt: remove props
472 * docs/gst/tmpl/gst.sgml:
473 * docs/gst/tmpl/gstbin.sgml:
474 * docs/gst/tmpl/gstbuffer.sgml:
475 * docs/gst/tmpl/gstcaps.sgml:
476 * docs/gst/tmpl/gstclock.sgml:
477 * docs/gst/tmpl/gstelement.sgml:
478 * docs/gst/tmpl/gstindex.sgml:
479 * docs/gst/tmpl/gstobject.sgml:
480 * docs/gst/tmpl/gstpad.sgml:
481 * docs/gst/tmpl/gstpadtemplate.sgml:
482 * docs/gst/tmpl/gstreamer-unused.sgml:
483 * docs/gst/tmpl/gstthread.sgml:
484 * docs/gst/tmpl/gstxml.sgml:
485 sync with code reorganization
487 2004-01-07 Jan Schmidt <thaytan@mad.scientist.com>
489 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
490 Make the 'Could not find compatible pad' message more informative.
492 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
494 * gst/elements/gstfilesink.c: (gst_filesink_set_location):
495 Fix for if we pass NULL as property to location.
496 * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
497 (gst_pipefilter_handle_event), (gst_pipefilter_chain):
498 Fix for instantiate-test (see below).
499 * gst/gststructure.c: (_gst_structure_parse_value):
500 Fix compile error on gcc-2.96.
503 * tests/instantiate/Makefile.am:
504 * tests/instantiate/create.c: (create_all_elements), (main):
505 Add a test that instantiates all elements. This makes it easy to
506 track dead code for old API/design (like setting event functions
507 on sink pads and so on).
509 2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
511 * gst/gstcaps.c: (gst_caps_append_structure):
512 Move the poisoning to allow a NULL structure
513 * gst/gstevent.c: (_gst_event_free):
514 When freeing a navigation event, free the structure
517 2004-01-04 David Schleef <ds@schleef.org>
519 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
520 Remove usage of gst_pad_proxy_fixate.
521 * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
522 (gst_caps_split_one), (gst_caps_replace):
524 * gst/gstmarshal.list:
525 Add pointer__pointer for fixate signal
526 * gst/gstpad.c: (gst_real_pad_class_init),
527 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
528 (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
529 (gst_pad_set_explicit_caps), (gst_pad_template_new):
530 Add poisoning code. Add fixate signal on RealPad. Change
531 set_explicit_caps() to take const GstCaps, like try_set_caps().
533 * testsuite/caps/Makefile.am:
534 * testsuite/caps/app_fixate.c: Add a test for the fixate signal
536 2004-01-03 David Schleef <ds@schleef.org>
538 * gst/elements/gsttypefindelement.c:
539 (gst_type_find_element_have_type), (gst_type_find_element_init):
540 Use gst_pad_use_explicit_caps for src pad.
541 * gst/gstpad.c: (gst_pad_try_set_caps): Check that link exists
544 2004-01-03 David Schleef <ds@schleef.org>
546 * gst/gstelement.c: (gst_element_link_pads_filtered),
547 (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
548 that linking was successful.
549 * gst/gstpad.c: (gst_pad_link_free),
550 (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
551 (gst_pad_link_try), (gst_pad_link_unnegotiate),
552 (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
553 GstPadLinkReturn correctly between functions, and don't fail
554 when DELAYED is used (DELAYED is very important). Better
555 cleanup on unlinking and unnegotiation. Should fix some spider
558 2004-01-02 David Schleef <ds@schleef.org>
560 * gst/gstelement.c: (gst_element_class_init),
561 (gst_element_base_class_init): ->padtemplates should be cleared
562 in base_init, since we need to have a fresh list for every
563 class. (Alternately, we chould copy the list and share the
564 actual pad templates (not the list), but that would require
565 changing every plugin to move pad template registration from
566 base_init to class_init.)
568 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
570 * gst/gstelement.c: (gst_element_class_add_pad_template):
571 Refuse registering a pad template if another pad template
572 with the same name already exists (#114715).
574 2004-01-02 David Schleef <ds@schleef.org>
576 * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
577 (gst_caps_is_equal_fixed): Add new function.
578 * gst/gstcaps.h: ditto.
579 * gst/gstpad.c: (gst_real_pad_class_init),
580 (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
581 (gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
582 check new caps against existing caps -- if they're the same, return
583 OK without renegotiating. caps-nego-failed signal fixed so that
584 the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
585 to save an extra caps copy. Don't complete negotiation if a pad
586 link function returns DELAYED.
588 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
590 * gst/gstpad.c: (gst_pad_try_relink_filtered):
591 Fix wrong g_return_if_fail
593 2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
595 * gst/gstbin.c: (gst_bin_class_init):
596 Change the marshalling of element_added/element_removed
597 to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
598 complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
600 2004-01-01 David Schleef <ds@schleef.org>
602 * gst/gstpad.c: (gst_pad_set_explicit_caps),
603 (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
604 (gst_pad_use_explicit_caps):
606 Add new functions. gst_pad_use_explicit_caps() sets up a pad
607 to use an internal getcaps and link fuction so that negotiation
608 always results in the explicitly set caps.
609 gst_pad_set_explicit_caps() sets the explicit caps. These functions
610 are particularly useful for decoders.
612 2003-12-31 David Schleef <ds@schleef.org>
614 * gst/elements/gstidentity.c: (gst_identity_class_init),
615 (gst_identity_init), (gst_identity_chain),
616 (gst_identity_set_property), (gst_identity_get_property):
617 * gst/elements/gstidentity.h:
618 * gst/gstqueue.c: (gst_queue_init):
621 2003-12-31 David Schleef <ds@schleef.org>
623 * gst/gstcaps.c: (gst_caps_intersect),
624 (_gst_caps_normalize_foreach), (gst_caps_normalize):
625 Implement gst_caps_normalize().
626 * testsuite/caps/normalisation.c: (main):
627 Add an additional test
629 2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
631 * gst/gstqueue.c: (gst_queue_init):
632 use gst_pad_proxy_getcaps()
634 2003-12-31 David Schleef <ds@schleef.org>
636 * gst/elements/gstshaper.c: (gst_shaper_link):
637 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
638 * gst/gstqueue.c: (gst_queue_link):
641 2003-12-31 David Schleef <ds@schleef.org>
643 * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
644 * gst/gstpad.h: Add functions that are useful as default pad
645 link and fixate functions for elements.
647 2003-12-30 David Schleef <ds@schleef.org>
649 * gst/gstpad.c: (gst_pad_link_try):
650 Fix segfault when attempting to return to old caps
652 2003-12-29 David Schleef <ds@schleef.org>
654 * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
655 (gst_caps_structure_simplify), (gst_caps_simplify):
657 Add simplify function
658 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
659 (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
661 Copy over srcnotify, sinknotify when calling old pad_link
662 functions. Add new is_negotiated() function.
663 * gst/gststructure.c: (gst_structure_copy):
664 Fix an incredibly stupid bug that should have been noticed
665 weeks ago. _copy() returned the argument, not the new copy.
667 2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
669 * gst/gstcaps.c: (gst_caps_append):
671 * gst/gstcaps.h: (gst_caps_debug):
672 remove, it doesn't exist anymore.
673 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
674 (gst_element_threadsafe_properties_post_run):
675 make debugging messages not clutter up THREAD debug category
676 (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
677 (gst_element_change_state):
678 update to new caps API
679 * gst/gstinterface.c: (gst_implements_interface_cast):
680 don't put vital code in g_return_if_fail
681 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
682 (gst_pad_link_filtered):
683 add pst_pad_try_link and use it.
684 (gst_pad_perform_negotiate), (gst_pad_renegotiate):
685 implement correctly, deprecate first one.
686 (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
688 (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
690 (gst_pad_get_negotiated_caps):
691 add and implement. Make GST_PAD_CAPS call this function.
693 remove unneeded check..
694 (gst_pad_recover_caps_error):
695 disable, always return FALSE.
696 (gst_real_pad_dispose):
697 don't free caps and appfilter anymore, they're unused.
699 Reflect changes mentioned above.
700 * gst/gstsystemclock.c: (gst_system_clock_wait):
701 Make 'clock is way behind' a debugging message.
702 * gst/gstthread.c: (gst_thread_change_state):
703 Fix debugging message
705 2003-12-25 Thomas Vander Stichele <thomas at apestaart dot org>
708 fix GST_DEBUG_CATEGORY_INIT gtk-doc description
709 * docs/gst/tmpl/gstreamer-unused.sgml:
710 removed all traces of cvs conflicts
712 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
715 * gst/schedulers/cothreads_compat.h:
717 remove last instances of wingo cothread usage
719 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
722 * gst/gstversion.h.in:
723 * gst/parse/grammar.y:
724 change comment block from /** to /* when not gtk-doc comments
726 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
728 * gst/gst.c: whitespace and doc style fixes
730 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
732 * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
734 2003-12-24 Colin Walters <walters@verbum.org>
736 * gst/elements/gsttypefindelement.c:
737 gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
738 Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
739 Don't double-free caps.
741 2003-12-23 David Schleef <ds@schleef.org>
743 * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
744 gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
745 Many little fixes and additions of debug statements to
746 get rhythmbox working.
748 2003-12-23 Colin Walters <walters@verbum.org>
750 * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
751 Use GST_PAD_LINK_SUCCESSFUL.
753 2003-12-23 David Schleef <ds@schleef.org>
755 * gst/elements/gstaggregator.c:
756 * gst/elements/gsttee.c:
757 Use gst_pad_proxy_getcaps().
760 Add gst_pad_proxy_getcaps(), which filter elements can use
761 as a generic getcaps implementation.
762 Fix gst_pad_get_allowed_caps(). It just wasn't doing what
765 2003-12-23 David Schleef <ds@schleef.org>
768 Rearrange/rewrite much of the pad negotiation code, since it
769 resembled pasta. This actually changes the way some
770 negotiation works, since the previous code was inconsistent
771 depending on how it was invoked. Add (internal) structure
772 GstPadLink, which is used to hold some information (more in
773 the future) about the link between two pads. Fixes a number
774 of bugs, including random lossage of filter caps when the
775 initial negotiation is delayed. A few functions are still
778 Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
779 these when testing GstPadLinkReturn values instead of comparing
782 2003-12-23 David Schleef <ds@schleef.org>
786 Rearrange lots of code. Change registration of compare function
787 into registration of compare/serialize/deserialize functions.
788 Doesn't include implementation of gst_value_[de]serialize(),
789 but that should be easy.
791 2003-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
793 * docs/gst/gstreamer-sections.txt:
794 * docs/gst/tmpl/gstprops.sgml: removed
795 * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
796 David removed props and caps code, so let's remove their docs as well.
797 Removed all no longer existing symbols from gstreamer-sections.txt
799 2003-12-22 Colin Walters <walters@verbum.org>
801 * gst/gsttaginterface.c, gst/gsttaginterface.h,
802 gst/gsttag.c, gst/gsttag.h: Add interface to setting GValues
805 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
807 * gst/elements/gstelements.c:
808 Set ranks of elements to NONE, so the autoplugger doesn't use them.
809 * gst/elements/gstshaper.c: (gst_shaper_getcaps):
810 Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
813 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
815 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
816 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
817 (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
818 (gst_spider_identity_sink_loop_type_finding):
819 * gst/autoplug/gstspideridentity.h:
820 Fix autoplugging in spider element, so it works with new caps.
821 This was mainly caused by identifying empty caps incorrectly.
823 2003-12-22 David Schleef <ds@schleef.org>
825 * gststructure.c, gstvalue.c, gstvalue.h: Add
826 gst_value_init_and_copy() and use it, to avoid silly mistakes in
829 2003-12-21 David Schleef <ds@schleef.org>
831 * many, many files: Merge CAPS branch. This includes:
832 - implemention of GstValue and several GstValue types
833 - implemention of GstStructure
834 - entire rewrite of GstCaps
835 - removal of GstProps
836 - many changes to GstPad to compensate for new caps paradigm
837 - removal of GstBufferpool
838 * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
839 gstvalue.h, gst/gstcaps[2]*.[ch]:
840 - rename gstcaps2.[ch] to gstcaps.[ch]
842 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
844 * gst/gstqueue.c: (gst_queue_handle_pending_events),
845 (gst_queue_chain), (gst_queue_handle_src_event):
846 implement timeout for sending events. Workaround for if the
847 pipeline on this queue is not passing any data.
849 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
851 * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
852 * moved CVS to freedesktop.org