Commit graph

392 commits

Author SHA1 Message Date
David Schleef 3607f4f024 gst/gstpad.*: Add new function to allow element to (somewhat) specify non-fixed caps on a pad.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_try_set_caps_nonfixed):
* gst/gstpad.h: Add new function to allow element to (somewhat)
specify non-fixed caps on a pad.
* gst/gstqueue.c: (gst_queue_chain): Remove noisy g_object_notify()
that I added a few weeks ago.
2004-01-27 02:06:02 +00:00
David Schleef e02c8aae61 gst/gstpad.c: Revert last change making try_set_caps() work with non-fixed caps.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_try_set_caps): Revert last change
making try_set_caps() work with non-fixed caps.
2004-01-26 23:25:24 +00:00
David Schleef aeca198dda Revert accidental checkin and start over
Original commit message from CVS:
Revert accidental checkin and start over
2004-01-26 23:16:21 +00:00
David Schleef 13a292781e Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* docs/gst/tmpl/gstelement.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* docs/gst/tmpl/gstreamer-unused.sgml:
* docs/gst/tmpl/gstxml.sgml:
* gst/gstelement.h:
* gst/gstpad.c: (gst_pad_try_set_caps):
* gst/gstqueue.c: (gst_queue_chain):
* testsuite/caps/Makefile.am:
2004-01-26 23:13:24 +00:00
Ronald S. Bultje f0e1d945a4 docs/pwg/: First try to resurrect the PWG. I'm halfway integrating the mimetypes and will from there on work on both ...
Original commit message from CVS:
2004-01-26  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* docs/pwg/advanced_types.xml:
* docs/pwg/intro_basics.xml:
* docs/pwg/intro_preface.xml:
* docs/pwg/pwg.xml:
* docs/pwg/titlepage.xml:
First try to resurrect the PWG. I'm halfway integrating the mimetypes
in here (docs/random/mimetypes), and will from there on work on both
updating outdated parts and adding missing parts.
That doesn't mean I'll fix it completely, but I'll try at least. ;).
2004-01-26 16:43:31 +00:00
Thomas Vander Stichele 92be9ac6e8 reinstate LIBRARY_ENCODE
Original commit message from CVS:
reinstate LIBRARY_ENCODE
2004-01-26 09:45:55 +00:00
Benjamin Otte 074ecb2227 gst/gstelement.h: remove gst_element_factory_get_version. It doesn't exist anymore.
Original commit message from CVS:
2004-01-26  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstelement.h:
remove gst_element_factory_get_version. It doesn't exist anymore.
* gst/gstplugin.c:
* gst/gstplugin.h:
remove gst_plugin_set_name and change gst_plugin_get_longname to
gst_plugin_get_description to match code.
* gst/gsterror.h:
remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
* gst/gstpad.c: (gst_pad_try_set_caps):
make it work with nonfixed caps.
Note that even in the nonfixed case the link function of the pad
that tries to set caps isn't called.
2004-01-26 03:44:14 +00:00
Benjamin Otte 8a1bb576b2 gst/elements/gstbufferstore.c: fix bug where buffer was not assembled correctly
Original commit message from CVS:
2004-01-25  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
fix bug where buffer was not assembled correctly
* gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
silence by default
* gst/elements/gsttypefind.c: (gst_type_find_element_chain):
only seek if there's no more buffers that could work without seeking
2004-01-25 02:50:09 +00:00
Ronald S. Bultje f21808c6a8 gst/gsttag.*: Add application tag (for encoding/muxing app).
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
Add application tag (for encoding/muxing app).
2004-01-23 13:18:46 +00:00
Thomas Vander Stichele 001dbed9a3 fix doc build fix autogen
Original commit message from CVS:
fix doc build
fix autogen
2004-01-23 13:16:33 +00:00
Thomas Vander Stichele 38d4e551fa adding GstTagFlag
Original commit message from CVS:
adding GstTagFlag
2004-01-22 13:59:57 +00:00
Thomas Vander Stichele 13ef4f4290 sync latest api changes
Original commit message from CVS:
sync latest api changes
2004-01-20 18:48:32 +00:00
Thomas Vander Stichele 022fa081ff rename gsttypefindelement
Original commit message from CVS:
rename gsttypefindelement
2004-01-20 15:39:11 +00:00
Thomas Vander Stichele 603c990009 fix rename
Original commit message from CVS:
fix rename
2004-01-20 15:05:42 +00:00
Thomas Vander Stichele 68f5c775c5 fix output of typefind add GPL headers fix doc snippet
Original commit message from CVS:
fix output of typefind
add GPL headers
fix doc snippet
2004-01-20 14:09:42 +00:00
Thomas Vander Stichele 1c7f15e0cc renamine typefindelement to typefind
Original commit message from CVS:
renamine typefindelement to typefind
2004-01-20 13:48:51 +00:00
Thomas Vander Stichele 8cab12db34 adding vorbis tags fixing replaygain tag names
Original commit message from CVS:
adding vorbis tags
fixing replaygain tag names
2004-01-20 13:37:10 +00:00
Thomas Vander Stichele 3f5ffa36ca fix LIBRARY_ERROR_ENCODE
Original commit message from CVS:
fix LIBRARY_ERROR_ENCODE
2004-01-20 12:42:56 +00:00
Thomas Vander Stichele 3d115f3bff changed _extended to _full
Original commit message from CVS:
changed _extended to _full
2004-01-20 10:53:20 +00:00
Thomas Vander Stichele 075034841a fix _gst_element_error_printf prototype
Original commit message from CVS:
fix _gst_element_error_printf prototype
2004-01-20 10:32:38 +00:00
David Schleef 134e00d543 gst/gststructure.c: Convert function to use gst_value_serialize().
Original commit message from CVS:
* gst/gststructure.c: (gst_structure_to_string):
Convert function to use gst_value_serialize().
* gst/gstvalue.c: (gst_value_serialize_list),
(gst_value_serialize_fourcc), (gst_value_serialize_int_range),
(gst_value_serialize_double_range), (gst_value_serialize_boolean),
(gst_value_serialize_int), (gst_value_serialize_double),
(gst_string_wrap), (gst_value_serialize_string),
(gst_value_serialize), (gst_value_deserialize):
* gst/gstvalue.h:
Add implementations for serialize.
2004-01-20 09:14:25 +00:00
Julien Moutte 05202e6ac7 gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if we want to keep that one in the future or change x...
Original commit message from CVS:
2004-01-20  Julien MOUTTE  <julien@moutte.net>

* gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
we want to keep that one in the future or change xvidenc.c to use
another error.
2004-01-19 23:02:55 +00:00
Julien Moutte 842d3ed37e gst/gstelement.h: Temporary fixing core build breakage due to _gst_element_error_printf being undeclared before the m...
Original commit message from CVS:
2004-01-19  Julien MOUTTE  <julien@moutte.net>

* gst/gstelement.h: Temporary fixing core build breakage due to
_gst_element_error_printf being undeclared before the macro. Thomas
please fix that soon !
2004-01-19 22:33:34 +00:00
Thomas Vander Stichele 1a12e752e4 privatise
Original commit message from CVS:
privatise
2004-01-19 18:23:19 +00:00
Thomas Vander Stichele 2dabfe7567 adding docs
Original commit message from CVS:
adding docs
2004-01-19 18:00:43 +00:00
Thomas Vander Stichele 8e0c83daf9 add gstelement.c for translation remove config.h from i18n headers
Original commit message from CVS:
add gstelement.c for translation
remove config.h from i18n headers
2004-01-19 15:49:52 +00:00
Thomas Vander Stichele 1832de08dd add gst/gstelement.c
Original commit message from CVS:
add gst/gstelement.c
2004-01-19 15:21:33 +00:00
Thomas Vander Stichele a1882e1bc4 updated dutch translation
Original commit message from CVS:
updated dutch translation
2004-01-19 12:22:42 +00:00
Thomas Vander Stichele 853f236b36 removing ending punctuation dots
Original commit message from CVS:
removing ending punctuation dots
2004-01-19 11:44:12 +00:00
Thomas Vander Stichele b0a02001fa adding a helper printf function for gst_element_error
Original commit message from CVS:
adding a helper printf function for gst_element_error
2004-01-19 11:32:35 +00:00
Thomas Vander Stichele f26ac1474a add G_STMT macros
Original commit message from CVS:
add G_STMT macros
2004-01-19 09:58:29 +00:00
Thomas Vander Stichele 4efc300279 changing error signal add error codes and domains
Original commit message from CVS:
changing error signal
add error codes and domains
2004-01-18 21:36:20 +00:00
Jeremy Simon 3aaa423f36 Add replaygain tag
Original commit message from CVS:
Add replaygain tag
2004-01-18 21:03:43 +00:00
Colin Walters b0171c4aa5 examples/retag/retag.c: Call gst_init before processing program args. Add g_assert to _link_many call.
Original commit message from CVS:
2004-01-18  Colin Walters  <walters@verbum.org>

* examples/retag/retag.c: Call gst_init before processing
program args.  Add g_assert to _link_many call.
2004-01-18 18:48:44 +00:00
Ronald S. Bultje 2dbab3aad3 Apparently, I've forgotten to commit this... Stupid me
Original commit message from CVS:
Apparently, I've forgotten to commit this... Stupid me
2004-01-17 21:51:06 +00:00
Benjamin Otte 393a5a8fa3 gst/gstpad.c: Return a newly allocated buffer when the pad has no peer.
Original commit message from CVS:
2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstpad.c: (gst_pad_alloc_buffer):
Return a newly allocated buffer when the pad has no peer.
2004-01-16 23:02:54 +00:00
Benjamin Otte b26be1ef68 gst/gstclock.c: make it compile with gcc 2.95 again.
Original commit message from CVS:
2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstclock.c: (gst_clock_get_time):
make it compile with gcc 2.95 again.
Patch by Scott Wheeler
2004-01-16 22:56:34 +00:00
David Schleef a5834649c7 gst/gstcaps.h: Added gst_caps_is_simple() macro.
Original commit message from CVS:
* gst/gstcaps.h:
Added gst_caps_is_simple() macro.
* testsuite/caps/caps.c: (test1):
* testsuite/caps/intersect2.c: (main):
* testsuite/caps/intersection.c: (main):
Fixes to make 'make check' work again after removing
gst_caps_is_chained().
2004-01-16 00:58:06 +00:00
Leif Johnson a9514e81c4 head -5 ChangeLog
Original commit message from CVS:
`head -5 ChangeLog `
2004-01-15 23:48:03 +00:00
David Schleef 4516e56791 gst/gstelement.c: Use GST_PAD_ macros instead of GST_RPAD_, since we don't know if it's a real or ghost pad.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
(gst_element_link_pads_filtered): Use GST_PAD_ macros instead
of GST_RPAD_, since we don't know if it's a real or ghost pad.
2004-01-15 21:30:49 +00:00
David Schleef 61c61cefda gst/gstqueue.*: Fix the spelling of "treshold" and make min_threshold actually affect the queue.
Original commit message from CVS:
* gst/gstqueue.c:
* gst/gstqueue.h:
Fix the spelling of "treshold" and make min_threshold actually
affect the queue.
2004-01-15 20:37:07 +00:00
David Schleef 2ae2ed523d gst/gstcaps.c: Add lots of documentation.
Original commit message from CVS:
* gst/gstcaps.c:
Add lots of documentation.
* gst/gstcaps.h:
Deprecate a few functions.
* gst/gstpad.c:
Removed use of deprecated functions.
2004-01-15 09:03:42 +00:00
Benjamin Otte e81fbd612f gst/gstpad.*: implement gst_pad_is_linked
Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstpad.c: (gst_pad_is_linked):
* gst/gstpad.h:
implement gst_pad_is_linked
* gst/gstelement.h:
reserve space for initiate_state_change
2004-01-15 03:03:15 +00:00
Benjamin Otte 5e8a2fb8a4 gst/autoplug/gstspideridentity.c: break infinite loop by just returning instead of looping
Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/autoplug/gstspideridentity.c:
(gst_spider_identity_sink_loop_type_finding):
break infinite loop by just returning instead of looping
* gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
set event time difference correctly. Set it to 1 second instead
of 100ms to be more tolerant
* gst/gstelement.c: (gst_element_set_time):
add debugging output
2004-01-15 01:35:41 +00:00
Benjamin Otte 6a06c610da gst/gstqueue.c: query if buffers are inside the pool, ignore events
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
query if buffers are inside the pool, ignore events
2004-01-14 01:50:31 +00:00
Benjamin Otte 1e82f617e4 gst/gstclock.*: deprecate old interface and disable functions that aren't in use anymore.
Original commit message from CVS:
2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
(gst_clock_set_speed), (gst_clock_set_active),
(gst_clock_is_active), (gst_clock_reset),
(gst_clock_handle_discont):
* gst/gstclock.h:
deprecate old interface and disable functions that aren't in use
anymore.
* gst/gstelement.h:
* gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
(gst_element_set_time), (gst_element_adjust_time):
add concept of "element time" and functions to get/set this time.
* gst/gstelement.c: (gst_element_change_state):
update element time correctly.
* gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
This is a debug message, not a g_critical.
* gst/gstpad.c: (gst_pad_event_default):
handle discontinuous events right with element time.
* gst/gstscheduler.c: (gst_scheduler_state_transition):
update to clocking fixes.
set clocks on elements in READY=>PAUSED. The old behaviour caused
a wrong element time on the first element that started playing.
* gst/schedulers/gstbasicscheduler.c:
(gst_basic_scheduler_class_init):
* gst/schedulers/gstoptimalscheduler.c:
(gst_opt_scheduler_class_init):
remove code that just implements the default behaviour.
* gst/elements/gstfakesink.c: (gst_fakesink_chain):
update to use new clocking functions
* testsuite/clock/clock1.c: (gst_clock_debug), (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (main):
update to test new element time.
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
use _get_allowed_caps instead of _get_caps. This catches filtered
caps correctly.
* testsuite/debug/commandline.c:
update for new GST_DEBUG syntax.
* testsuite/threads/Makefile.am:
disable a test that only works sometimes.
2004-01-14 00:46:48 +00:00
Julien Moutte ce994e16ed po/LINGUAS: Adding fr.
Original commit message from CVS:
2004-01-13  Julien MOUTTE <julien@moutte.net>

* po/LINGUAS: Adding fr.
* po/fr.po: Adding french translation.
2004-01-13 17:50:18 +00:00
Thomas Vander Stichele 8e96cb73f6 translating parsing error messages
Original commit message from CVS:
translating parsing error messages
2004-01-13 14:23:44 +00:00
Thomas Vander Stichele 7e56c5435f update nl transition add gst-launch to be translated
Original commit message from CVS:
update nl transition
add gst-launch to be translated
2004-01-13 13:44:10 +00:00
Thomas Vander Stichele c8d60d688f fix translations change --gst-debug format
Original commit message from CVS:
fix translations
change --gst-debug format
2004-01-13 13:03:24 +00:00
Thomas Vander Stichele a4a1b6e958 capitalize popt options
Original commit message from CVS:
capitalize popt options
2004-01-13 12:46:47 +00:00
Thomas Vander Stichele 463d3e15ef adding README for translations
Original commit message from CVS:
adding README for translations
2004-01-13 11:39:06 +00:00
Thomas Vander Stichele f5b464fd27 adding i18n tested with nl, seems to work fine
Original commit message from CVS:
adding i18n
tested with nl, seems to work fine
2004-01-13 11:30:00 +00:00
Thomas Vander Stichele eb278d959d fix some marked strings
Original commit message from CVS:
fix some marked strings
2004-01-13 11:04:25 +00:00
Iain Holmes e10cd625ca Reference the group when we add an element to it.
Original commit message from CVS:
Reference the group when we add an element to it.
2004-01-13 01:34:32 +00:00
Thomas Vander Stichele 2fc36c6669 fix testsuite
Original commit message from CVS:
fix testsuite
2004-01-12 17:22:15 +00:00
Benjamin Otte a5bb704036 update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* examples/cutter/.cvsignore:
* examples/helloworld/.cvsignore:
* examples/launch/.cvsignore:
* examples/manual/.cvsignore:
* examples/mixer/.cvsignore:
* examples/pingpong/.cvsignore:
* examples/plugins/.cvsignore:
* examples/queue/.cvsignore:
* examples/queue2/.cvsignore:
* examples/queue3/.cvsignore:
* examples/queue4/.cvsignore:
* examples/retag/.cvsignore:
* examples/thread/.cvsignore:
* examples/typefind/.cvsignore:
* examples/xml/.cvsignore:
* gst/.cvsignore:
* gst/autoplug/.cvsignore:
* gst/elements/.cvsignore:
* gst/indexers/.cvsignore:
* gst/parse/.cvsignore:
* gst/registries/.cvsignore:
* gst/schedulers/.cvsignore:
* libs/gst/bytestream/.cvsignore:
* libs/gst/control/.cvsignore:
* libs/gst/getbits/.cvsignore:
* tests/.cvsignore:
* tests/bufspeed/.cvsignore:
* tests/instantiate/.cvsignore:
* tests/memchunk/.cvsignore:
* tests/muxing/.cvsignore:
* tests/sched/.cvsignore:
* tests/seeking/.cvsignore:
* tests/threadstate/.cvsignore:
* testsuite/.cvsignore:
* testsuite/caps/.cvsignore:
* testsuite/cleanup/.cvsignore:
* testsuite/dynparams/.cvsignore:
* testsuite/plugin/.cvsignore:
* tools/.cvsignore:
update - this is huge, because it includes *.bb, *.bbg and *.da files
which are generated for gcov.
2004-01-12 16:53:23 +00:00
David Schleef ea1135ec9f Add gst_strtoi().
Original commit message from CVS:
Add gst_strtoi().
2004-01-11 23:25:02 +00:00
Benjamin Otte 61fbbfc278 tools/gst-inspect.c: improve output of caps a bit
Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* tools/gst-inspect.c: (print_caps):
improve output of caps a bit
2004-01-11 22:39:00 +00:00
David Schleef d1e5984afa Inherit some of parent's buffer flags.
Original commit message from CVS:
Inherit some of parent's buffer flags.
2004-01-11 22:37:03 +00:00
David Schleef 09012ae0da gst/: Change GstBuffer private structure element names. (all files)
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
(gst_filesrc_map_region):
* gst/gstbuffer.c: (_gst_buffer_initialize),
(_gst_buffer_sub_free), (gst_buffer_default_copy),
(gst_buffer_new), (gst_buffer_create_sub),
(gst_buffer_is_span_fast), (gst_buffer_span):
* gst/gstbuffer.h:
Change GstBuffer private structure element names. (all files)
* gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
(gst_queue_link):
* gst/gstqueue.h:
Implement getcaps/pad_link functions that handle the case where
there are data in the queue.
2004-01-11 22:11:35 +00:00
Benjamin Otte a06605e4e3 gst/elements/gstbufferstore.c: initialize debugging structure correctly
Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/elements/gstbufferstore.c:
initialize debugging structure correctly
* gst/elements/gsttee.c: (gst_tee_set_property):
g_object_notify when property was changed
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_change_state):
clear caps correctly
2004-01-11 18:23:48 +00:00
Benjamin Otte 88c4887db3 gst/gstqueue.c: Use better defaults for when a queue should block. This gets rid of jerky playback for quite a few fi...
Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstqueue.c: (gst_queue_init):
Use better defaults for when a queue should block. This
gets rid of jerky playback for quite a few files.
It takes more memory.
2004-01-11 17:55:10 +00:00
Thomas Vander Stichele 68df6ee79d make critical more useful
Original commit message from CVS:
make critical more useful
2004-01-10 13:52:44 +00:00
Benjamin Otte 29e4f4c6ba gst/gstinfo.*: Change gst_debug_log(_valist) to take a const format string.
Original commit message from CVS:
2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
(gst_debug_message_get), (gst_debug_log_default):
* gst/gstinfo.h:
Change gst_debug_log(_valist) to take a const format string.
Change prototype of log function and functions using those to
take a GstDebugMessage instead of a string that requires using
gst_debug_message_get.
2004-01-10 01:49:00 +00:00
David Schleef 67062b7320 Add option --enable-gcov to build GStreamer with -fprofile-arcs and -ftest-coverage, which allows gcov to show inform...
Original commit message from CVS:
Add option --enable-gcov to build GStreamer with -fprofile-arcs
and -ftest-coverage, which allows gcov to show information about
testsuite coverage.
2004-01-09 01:42:11 +00:00
Benjamin Otte de60fbda38 gst/gstutils.h: GST_PARENT_CALL and
Original commit message from CVS:
2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstutils.h:
Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
GST_PARENT_CALL_WITH_DEFAULT
* gst/elements/gstaggregator.c:
* gst/elements/gstbufferstore.c:
* gst/elements/gstfakesink.c:
* gst/elements/gstfakesrc.c:
* gst/elements/gstfdsink.c:
* gst/elements/gstfdsrc.c:
* gst/elements/gstfilesink.c:
* gst/elements/gstfilesrc.c:
* gst/elements/gstidentity.c:
* gst/elements/gstmd5sink.c:
* gst/elements/gstmultidisksrc.c:
* gst/elements/gstpipefilter.c:
* gst/elements/gstshaper.c:
* gst/elements/gststatistics.c:
* gst/elements/gsttee.c:
* gst/elements/gsttypefindelement.c:
use them.
2004-01-08 04:10:18 +00:00
Thomas Vander Stichele 339012e033 fix up docs remove props commit automatic moving and removing of documentation
Original commit message from CVS:
fix up docs
remove props
commit automatic moving and removing of documentation
2004-01-07 16:32:24 +00:00
Jan Schmidt baa7050fd2 Make the "could not find compatible pad' message more informative
Original commit message from CVS:
Make the "could not find compatible pad' message more informative
2004-01-06 16:28:43 +00:00
Jan Schmidt c1d837b9d5 gst/gstcaps.c: Move the poisoning to allow a NULL structure
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_append_structure):
Move the poisoning to allow a NULL structure
* gst/gstevent.c: (_gst_event_free):
When freeing a navigation event, free the structure
also
2004-01-05 16:25:31 +00:00
David Schleef 2f85a255ba gst/elements/gsttee.c: Remove usage of gst_pad_proxy_fixate.
Original commit message from CVS:
* gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
Remove usage of gst_pad_proxy_fixate.
* gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
(gst_caps_split_one), (gst_caps_replace):
Add poisoning code.
* gst/gstmarshal.list:
Add pointer__pointer for fixate signal
* gst/gstpad.c: (gst_real_pad_class_init),
(_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
(_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
(gst_pad_set_explicit_caps), (gst_pad_template_new):
Add poisoning code. Add fixate signal on RealPad. Change
set_explicit_caps() to take const GstCaps, like try_set_caps().
* gst/gstpad.h:
* testsuite/caps/Makefile.am:
* testsuite/caps/app_fixate.c: Add a test for the fixate signal
2004-01-04 23:43:11 +00:00
David Schleef 599926b18e gst/elements/gsttypefindelement.c: Use gst_pad_use_explicit_caps for src pad.
Original commit message from CVS:
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_have_type), (gst_type_find_element_init):
Use gst_pad_use_explicit_caps for src pad.
* gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
before using it.
2004-01-03 10:01:35 +00:00
David Schleef d4142ec0a0 gst/gstelement.c: Fix to allow DELAYED to indicate that linking was successful.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_link_pads_filtered),
(gst_element_negotiate_pads): Fix to allow DELAYED to indicate
that linking was successful.
* gst/gstpad.c: (gst_pad_link_free),
(gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
(gst_pad_link_try), (gst_pad_link_unnegotiate),
(gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
GstPadLinkReturn correctly between functions, and don't fail
when DELAYED is used (DELAYED is very important).  Better
cleanup on unlinking and unnegotiation.  Should fix some spider
bugs.
2004-01-03 09:25:04 +00:00
David Schleef f69c95d94c Move padtemplate clearing from class_init to base_init
Original commit message from CVS:
Move padtemplate clearing from class_init to base_init
2004-01-03 01:25:01 +00:00
Ronald S. Bultje 8dd4d19854 gst/gstelement.c: Refuse registering a pad template if another pad template with the same name already exists (#114715).
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/gstelement.c: (gst_element_class_add_pad_template):
Refuse registering a pad template if another pad template
with the same name already exists (#114715).
2004-01-02 23:52:59 +00:00
David Schleef a77e6e35e4 gst/gstcaps.c: Add new function.
Original commit message from CVS:
* gst/gstcaps.c: (_gst_structure_is_equal_foreach),
(gst_caps_is_equal_fixed): Add new function.
* gst/gstcaps.h: ditto.
* gst/gstpad.c: (gst_real_pad_class_init),
(gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
(gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
check new caps against existing caps -- if they're the same, return
OK without renegotiating.  caps-nego-failed signal fixed so that
the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
to save an extra caps copy.  Don't complete negotiation if a pad
link function returns DELAYED.
2004-01-02 23:04:14 +00:00
Benjamin Otte 62d2803d5d gst/gstpad.c: Fix wrong g_return_if_fail
Original commit message from CVS:
2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstpad.c: (gst_pad_try_relink_filtered):
Fix wrong g_return_if_fail
2004-01-02 19:10:44 +00:00
Jan Schmidt de0c9fba96 Change the marshalilng of element_added/element_removed signals to use gst_marshal_VOID__OBJECT over gst_marshal_VOID...
Original commit message from CVS:
Change the marshalilng of element_added/element_removed signals to use
gst_marshal_VOID__OBJECT over gst_marshal_VOID__POINTER
2004-01-02 15:41:08 +00:00
David Schleef 9ad670e297 Add new use_explicit_caps() and set_explicit_caps() functions.
Original commit message from CVS:
Add new use_explicit_caps() and set_explicit_caps() functions.
2004-01-02 07:02:43 +00:00
David Schleef e7d186c69a Negotiation fixes
Original commit message from CVS:
Negotiation fixes
2004-01-01 02:23:47 +00:00
David Schleef 58f4b89e95 Implement gst_caps_normalize()
Original commit message from CVS:
Implement gst_caps_normalize()
2004-01-01 02:17:44 +00:00
Ronald S. Bultje dd6ba0b28e gst/gstqueue.c: use gst_pad_proxy_getcaps()
Original commit message from CVS:
2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/gstqueue.c: (gst_queue_init):
use gst_pad_proxy_getcaps()
2003-12-31 11:08:01 +00:00
David Schleef 2ecb08f2bd Negotiation fixes
Original commit message from CVS:
Negotiation fixes
2003-12-31 08:09:38 +00:00
David Schleef 8f8aaf83f4 Add functions useful default pad_link and fixate functions.
Original commit message from CVS:
Add functions useful default pad_link and fixate functions.
2003-12-31 08:06:49 +00:00
David Schleef 1933a78c8e Fix segfault caused by last checkin
Original commit message from CVS:
Fix segfault caused by last checkin
2003-12-30 19:11:03 +00:00
David Schleef cd1d72deb2 gst/gstcaps.*: Add simplify function
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
(gst_caps_structure_simplify), (gst_caps_simplify):
* gst/gstcaps.h:
Add simplify function
* gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
(gst_pad_perform_negotiate), (gst_pad_is_negotiated):
* gst/gstpad.h:
Copy over srcnotify, sinknotify when calling old pad_link
functions.  Add new is_negotiated() function.
* gst/gststructure.c: (gst_structure_copy):
Fix an incredibly stupid bug that should have been noticed
weeks ago.  _copy() returned the argument, not the new copy.
2003-12-30 04:59:48 +00:00
Benjamin Otte 85374eb1a9 forgot important file in commit it seems...
Original commit message from CVS:
forgot important file in commit it seems...
2003-12-29 09:50:46 +00:00
Thomas Vander Stichele 6cc7e04989 fix GST_DEBUG_CATEGORY_INIT description
Original commit message from CVS:
fix GST_DEBUG_CATEGORY_INIT description
2003-12-25 09:42:56 +00:00
Thomas Vander Stichele d2b1c2c2f1 removing conflict traces
Original commit message from CVS:
removing conflict traces
2003-12-25 09:36:00 +00:00
Thomas Vander Stichele e448390775 removing last mentions of wingo cothreads
Original commit message from CVS:
removing last mentions of wingo cothreads
2003-12-24 15:11:20 +00:00
Thomas Vander Stichele 47274a1abe fix non-gtk-doc comment blocks
Original commit message from CVS:
fix non-gtk-doc comment blocks
2003-12-24 14:39:46 +00:00
Thomas Vander Stichele dfedf4271f whitespace and doc style fixes
Original commit message from CVS:
whitespace and doc style fixes
2003-12-24 14:36:03 +00:00
Thomas Vander Stichele 28f19dd965 remove trailing comma for gtk-doc
Original commit message from CVS:
remove trailing comma for gtk-doc
2003-12-24 12:55:00 +00:00
Colin Walters 5d39cbbd4e Make GstCaps parameter const. Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED. Don't double-fre...
Original commit message from CVS:
Make GstCaps parameter const.  Copy caps parameter. Use _POINTER to
marshal caps instead of _BOXED.  Don't double-free caps.Use
GST_PAD_LINK_SUCCESSFUL.
2003-12-24 07:42:43 +00:00
David Schleef a7ef9c4a68 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-12-24 03:36:47 +00:00
Colin Walters fa4316c123 Use GST_PAD_LINK_SUCCESSFUL.
Original commit message from CVS:
Use GST_PAD_LINK_SUCCESSFUL.
2003-12-23 23:37:54 +00:00
David Schleef 778c24a58a gst/elements/: Use gst_pad_proxy_getcaps().
Original commit message from CVS:
* gst/elements/gstaggregator.c:
* gst/elements/gsttee.c:
Use gst_pad_proxy_getcaps().
* gst/gstpad.c:
* gst/gstpad.h:
Add gst_pad_proxy_getcaps(), which filter elements can use
as a generic getcaps implementation.
Fix gst_pad_get_allowed_caps().  It just wasn't doing what
was advertised.
2003-12-23 23:19:07 +00:00
David Schleef 91954ff66b gst/gstpad.c: Rearrange/rewrite much of the pad negotiation code, since it resembled pasta. This actually changes th...
Original commit message from CVS:
* gst/gstpad.c:
Rearrange/rewrite much of the pad negotiation code, since it
resembled pasta.  This actually changes the way some
negotiation works, since the previous code was inconsistent
depending on how it was invoked.  Add (internal) structure
GstPadLink, which is used to hold some information (more in
the future) about the link between two pads.  Fixes a number
of bugs, including random lossage of filter caps when the
initial negotiation is delayed.  A few functions are still
unimplemented.
* gst/gstpad.h:
Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
these when testing GstPadLinkReturn values instead of comparing
directly.
2003-12-23 21:39:35 +00:00
David Schleef 63079b12bc Rearrange lots of code. Change registration of compare function into registration of compare/serialize/deserialize f...
Original commit message from CVS:
Rearrange lots of code.  Change registration of compare function
into registration of compare/serialize/deserialize functions.
2003-12-23 20:58:05 +00:00
Thomas Vander Stichele 8895177bcf removing no longer used symbols
Original commit message from CVS:
removing no longer used symbols
2003-12-23 18:36:26 +00:00
Thomas Vander Stichele 012b42aa31 removing old caps code from docs removing gstprops from docs
Original commit message from CVS:
removing old caps code from docs
removing gstprops from docs
2003-12-23 18:20:52 +00:00
Thomas Vander Stichele 4e696c6c45 remove bufferpool documentation
Original commit message from CVS:
remove bufferpool documentation
2003-12-23 18:11:36 +00:00
Colin Walters 660f597eed I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-12-23 04:51:15 +00:00
Benjamin Otte 31baf87dd4 gst/elements/gstelements.c: Set ranks of elements to NONE, so the autoplugger doesn't use them.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/elements/gstelements.c:
Set ranks of elements to NONE, so the autoplugger doesn't use them.
* gst/elements/gstshaper.c: (gst_shaper_getcaps):
Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
gst_caps (peer).
2003-12-22 19:10:41 +00:00
Benjamin Otte d136495dd9 gst/autoplug/: Fix autoplugging in spider element, so it works with new caps.
Original commit message from CVS:
2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
(gst_spider_identity_getcaps), (gst_spider_identity_change_state),
(gst_spider_identity_sink_loop_type_finding):
* gst/autoplug/gstspideridentity.h:
Fix autoplugging in spider element, so it works with new caps.
This was mainly caused by identifying empty caps incorrectly.
2003-12-22 18:06:22 +00:00
David Schleef 72163f3e5c Add gst_value_init_and_copy() and use it, to avoid silly mistakes in using g_value_copy()
Original commit message from CVS:
Add gst_value_init_and_copy() and use it, to avoid silly mistakes in
using g_value_copy()
2003-12-22 07:00:25 +00:00
David Schleef 6150b02001 rename gstcaps2.[ch] to gstcaps.[ch]
Original commit message from CVS:
rename gstcaps2.[ch] to gstcaps.[ch]
2003-12-22 01:58:20 +00:00
Ronald S. Bultje f12a5871cf gst/gstqueue.c: implement timeout for sending events. Workaround for if the pipeline on this queue is not passing any...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/gstqueue.c: (gst_queue_handle_pending_events),
(gst_queue_chain), (gst_queue_handle_src_event):
implement timeout for sending events. Workaround for if the
pipeline on this queue is not passing any data.
2003-12-21 18:59:06 +00:00
Ronald S. Bultje 8cf94a0c18 New start
Original commit message from CVS:
New start
2003-12-21 18:55:24 +00:00
Christian Schaller b16c88aed3 adding gstreamer and midi doc
Original commit message from CVS:
adding gstreamer and midi doc
2003-12-21 12:37:48 +00:00
Thomas Vander Stichele cdfe720faa rename option as suggested to avoid bad jokes :)
Original commit message from CVS:
rename option as suggested to avoid bad jokes :)
2003-12-16 12:20:54 +00:00
Benjamin Otte 1d207e2e64 please don't make decisions like these on your own
Original commit message from CVS:
please don't make decisions like these on your own
2003-12-16 03:35:31 +00:00
Thomas Vander Stichele a4f74f5eb4 implementing segfault handler for plugin loading
Original commit message from CVS:
implementing segfault handler for plugin loading
2003-12-15 12:44:35 +00:00
Thomas Vander Stichele a0e8e56d8d fix docs build fix make distcheck
Original commit message from CVS:
fix docs build
fix make distcheck
2003-12-02 18:21:35 +00:00
Thomas Vander Stichele a26231e44b please don't make decisions like these on your own
Original commit message from CVS:
please don't make decisions like these on your own
2003-11-15 11:51:57 +00:00
Benjamin Otte 22e3bc9c8c GStreamer does not use changelogs
Original commit message from CVS:
GStreamer does not use changelogs
2003-11-14 19:22:11 +00:00
Thomas Vander Stichele cc00f4039a put GST_CACHE_DIR in config.h
Original commit message from CVS:
put GST_CACHE_DIR in config.h
2003-11-14 15:08:15 +00:00
Thomas Vander Stichele 69bae8af40 removing GST_CONFIG_DIR
Original commit message from CVS:
removing GST_CONFIG_DIR
2003-11-14 14:44:19 +00:00
Colin Walters 697a019437 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-06-02 06:33:08 +00:00
Martin Schulze df2f947370 gst/gstelementfactory.c: Add "g_free (dp->license)" in gst_element_details_free().
Original commit message from CVS:
2003-03-29  Martin Schulze  <MHL.Schulze@t-online.de>

* gst/gstelementfactory.c: Add "g_free (dp->license)" in
gst_element_details_free().
* gst/gstevent.[ch]: Add function gst_event_get_type() to
support c++ language binding. Make macros gst_event_ref[_by_count]
return a GstEvent* instead of a GstData*.
* gst/gstbuffer.[ch]: Add functions gst_buffer[_pool]_get_type()
to support c++ language binding.
2003-03-29 11:58:15 +00:00
Christian Meyer dabb6637bd Fixed bug #108514.
Original commit message from CVS:
Fixed bug #108514.
2003-03-16 20:06:02 +00:00
Thomas Vander Stichele 5529bbc7dc first pass of connect->link gst-plugins and other stuff compiles without change at this point
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Thomas Vander Stichele 58855aa95b gst_init modeled upon gtk_init code cleanups
Original commit message from CVS:
gst_init modeled upon gtk_init
code cleanups
2002-11-27 21:08:06 +00:00
Thomas Vander Stichele e00bcd6792 registry handling changes read up on it in docs/random/thomasvs/registry if interested net effect should be transpare...
Original commit message from CVS:
registry handling changes
read up on it in docs/random/thomasvs/registry if interested
net effect should be transparent; ie. it will keep on working, but will
be more flexible than before.  Testing with garnome seems to work now.
Should probably be rewritten completely, together with plugin loading, but
only after we spec it out ;) It's a bit messy.
2002-04-12 09:53:00 +00:00
Thomas Vander Stichele 8a14dad222 applied some of meeks's patches
Original commit message from CVS:
applied some of meeks's patches
2002-03-02 10:33:40 +00:00
Bastien Nocera f1e89caecd - add all the dirs to the DIST_SUBDIRS
Original commit message from CVS:
- add all the dirs to the DIST_SUBDIRS
2002-01-15 21:25:02 +00:00
Bastien Nocera 769cc8e90c - dodge compiling memchunk and bufspeed if NASM is not present
Original commit message from CVS:
- dodge compiling memchunk and bufspeed if NASM is not present
2002-01-15 21:00:56 +00:00
David I. Lehn 0bdb498055 remove a cvs merge leftover
Original commit message from CVS:
remove a cvs merge leftover
2002-01-07 22:35:26 +00:00
Rodney Dawes 9576d6e6e4 fixed the missing .so files for plug-ins problem where gstreamer-register didn't find them
Original commit message from CVS:
fixed the missing .so files for plug-ins problem where gstreamer-register didn't find them
2002-01-03 20:10:15 +00:00
Rodney Dawes 0892015e06 Fixed up the spec file for the split, now to do the plug-ins one
Original commit message from CVS:
Fixed up the spec file for the split, now to do the plug-ins one
2001-12-30 18:59:49 +00:00
Thomas Vander Stichele 2e74cc9cc9 additions
Original commit message from CVS:
additions
2001-12-24 09:59:34 +00:00
Thomas Vander Stichele 40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Michael Meeks d04099240b gst/gst.c (gst_main, gst_main_quit): upd.
Original commit message from CVS:
2001-12-14  Michael Meeks  <michael@ximian.com>

* gst/gst.c (gst_main, gst_main_quit): upd.

* gst/gstutils.c (gst_util_has_arg): impl.
(gst_util_get_int64_arg): impl.

* plugins/mpeg2/video/gstmpeg2play.c
(gst_mpeg2play_class_init): min frames per sec = 0.

* plugins/mikmod/gstmikmod.c (gst_mikmod_class_init):
s/16bit/use16bit/ properties can't begin with a non
alpha.

* tools/gstreamer-guilaunch.c: fresh from the ministy
of nasty hacks.

* tools/Makefile.am: enable gstreamer-guilaunch for
Gnome 2.0

* tools/gstreamer-launch.c (main): upd.
(idle_func): quit the mainloop.
2001-12-14 18:11:52 +00:00
Wim Taymans 6dc4fb7616 Michael fixage
Original commit message from CVS:
Michael fixage
2001-12-14 14:28:27 +00:00
Wim Taymans feefad212e Some leftover fixes from Michael.
Original commit message from CVS:
Some leftover fixes from Michael.
2001-12-14 11:11:54 +00:00
Wim Taymans e2cb41fed8 More Michael fixage
Original commit message from CVS:
More Michael fixage
2001-12-13 23:37:47 +00:00
Wim Taymans 9f23c76bea Aplied more fixage from Michael Meeks.
Original commit message from CVS:
Aplied more fixage from Michael Meeks.
2001-12-13 23:14:39 +00:00
Michael Meeks 7943a116f6 Aplied a patch from Michael Meeks to add libxml2 support.
Original commit message from CVS:
Aplied a patch from Michael Meeks to add libxml2 support.
2001-12-13 19:00:58 +00:00
Thomas Vander Stichele eade69d52d docs changes
Original commit message from CVS:
docs changes
2001-12-11 22:55:55 +00:00
Bastien Nocera 3369d5aa88 - added a ChangeLog generated with cvs2cl, easier to read than 'cvs log'
Original commit message from CVS:
- added a ChangeLog generated with cvs2cl, easier to read than 'cvs log'
2001-08-16 14:46:44 +00:00
Wim Taymans f607205951 Updated ChangeLog :-)
Original commit message from CVS:
Updated ChangeLog :-)
2001-01-12 20:54:04 +00:00
Erik Walthinsen 1762dfbf98 initial checkin
Original commit message from CVS:
initial checkin
2000-01-30 09:03:00 +00:00