platform/upstream/gstreamer.git
20 years agogst/gstqueue.*: Fix the spelling of "treshold" and make min_threshold actually affect...
David Schleef [Thu, 15 Jan 2004 20:37:07 +0000 (20:37 +0000)]
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.

20 years agoMinor fix in documentation
David Schleef [Thu, 15 Jan 2004 20:33:53 +0000 (20:33 +0000)]
Minor fix in documentation

Original commit message from CVS:
Minor fix in documentation

20 years agoadd new fields in padding, dude
Benjamin Otte [Thu, 15 Jan 2004 09:36:01 +0000 (09:36 +0000)]
add new fields in padding, dude

Original commit message from CVS:
add new fields in padding, dude

20 years agogst/gstcaps.c: Add lots of documentation.
David Schleef [Thu, 15 Jan 2004 09:03:42 +0000 (09:03 +0000)]
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.

20 years agogst/gstpad.*: implement gst_pad_is_linked
Benjamin Otte [Thu, 15 Jan 2004 03:03:15 +0000 (03:03 +0000)]
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

20 years agogst/autoplug/gstspideridentity.c: break infinite loop by just returning instead of...
Benjamin Otte [Thu, 15 Jan 2004 01:35:41 +0000 (01:35 +0000)]
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

20 years agogst/gstqueue.c: query if buffers are inside the pool, ignore events
Benjamin Otte [Wed, 14 Jan 2004 01:50:31 +0000 (01:50 +0000)]
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

20 years agogst/gstclock.*: deprecate old interface and disable functions that aren't in use...
Benjamin Otte [Wed, 14 Jan 2004 00:46:48 +0000 (00:46 +0000)]
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.

20 years agoignore more files
Thomas Vander Stichele [Wed, 14 Jan 2004 00:32:56 +0000 (00:32 +0000)]
ignore more files

Original commit message from CVS:
ignore more files

20 years agopo/LINGUAS: Adding fr.
Julien Moutte [Tue, 13 Jan 2004 17:50:18 +0000 (17:50 +0000)]
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.

20 years agoI hope david won't mind I thrashed the de.po to fix the build, it only has three...
Thomas Vander Stichele [Tue, 13 Jan 2004 15:49:10 +0000 (15:49 +0000)]
I hope david won't mind I thrashed the de.po to fix the build, it only has three strings translated anyway

Original commit message from CVS:
I hope david won't mind I thrashed the de.po to fix the build, it only
has three strings translated anyway

20 years agoI'm too lazy to comment this
Thomas Vander Stichele [Tue, 13 Jan 2004 15:13:11 +0000 (15:13 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

20 years agofix autopoint error
Thomas Vander Stichele [Tue, 13 Jan 2004 15:07:48 +0000 (15:07 +0000)]
fix autopoint error

Original commit message from CVS:
fix autopoint error

20 years agostrings fix
Thomas Vander Stichele [Tue, 13 Jan 2004 14:48:41 +0000 (14:48 +0000)]
strings fix

Original commit message from CVS:
strings fix

20 years agolax gettext requirment
Thomas Vander Stichele [Tue, 13 Jan 2004 14:28:47 +0000 (14:28 +0000)]
lax gettext requirment

Original commit message from CVS:
lax gettext requirment

20 years agotranslating parsing error messages
Thomas Vander Stichele [Tue, 13 Jan 2004 14:23:44 +0000 (14:23 +0000)]
translating parsing error messages

Original commit message from CVS:
translating parsing error messages

20 years agoupdate nl transition add gst-launch to be translated
Thomas Vander Stichele [Tue, 13 Jan 2004 13:44:10 +0000 (13:44 +0000)]
update nl transition add gst-launch to be translated

Original commit message from CVS:
update nl transition
add gst-launch to be translated

20 years agostray comment removed
Thomas Vander Stichele [Tue, 13 Jan 2004 13:25:03 +0000 (13:25 +0000)]
stray comment removed

Original commit message from CVS:
stray comment removed

20 years agofix translations change --gst-debug format
Thomas Vander Stichele [Tue, 13 Jan 2004 13:03:24 +0000 (13:03 +0000)]
fix translations change --gst-debug format

Original commit message from CVS:
fix translations
change --gst-debug format

20 years agocapitalize popt options
Thomas Vander Stichele [Tue, 13 Jan 2004 12:46:47 +0000 (12:46 +0000)]
capitalize popt options

Original commit message from CVS:
capitalize popt options

20 years agodistcheck fixes
Thomas Vander Stichele [Tue, 13 Jan 2004 11:46:12 +0000 (11:46 +0000)]
distcheck fixes

Original commit message from CVS:
distcheck fixes

20 years agoadd a check
Thomas Vander Stichele [Tue, 13 Jan 2004 11:40:12 +0000 (11:40 +0000)]
add a check

Original commit message from CVS:
add a check

20 years agoadding README for translations
Thomas Vander Stichele [Tue, 13 Jan 2004 11:39:06 +0000 (11:39 +0000)]
adding README for translations

Original commit message from CVS:
adding README for translations

20 years agoadding i18n tested with nl, seems to work fine
Thomas Vander Stichele [Tue, 13 Jan 2004 11:30:00 +0000 (11:30 +0000)]
adding i18n tested with nl, seems to work fine

Original commit message from CVS:
adding i18n
tested with nl, seems to work fine

20 years agofix some marked strings
Thomas Vander Stichele [Tue, 13 Jan 2004 11:04:25 +0000 (11:04 +0000)]
fix some marked strings

Original commit message from CVS:
fix some marked strings

20 years agoremoving empty translation files
Thomas Vander Stichele [Tue, 13 Jan 2004 10:13:00 +0000 (10:13 +0000)]
removing empty translation files

Original commit message from CVS:
removing empty translation files

20 years agoadd _remove/_intersect tip
Thomas Vander Stichele [Tue, 13 Jan 2004 09:40:28 +0000 (09:40 +0000)]
add _remove/_intersect tip

Original commit message from CVS:
add _remove/_intersect tip

20 years agoReference the group when we add an element to it.
Iain Holmes [Tue, 13 Jan 2004 01:34:32 +0000 (01:34 +0000)]
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.

20 years agoAdd Company's email about tagging
David Schleef [Tue, 13 Jan 2004 00:39:17 +0000 (00:39 +0000)]
Add Company's email about tagging

Original commit message from CVS:
Add Company's email about tagging

20 years ago... and free the copied va_args
Benjamin Otte [Mon, 12 Jan 2004 22:44:38 +0000 (22:44 +0000)]
... and free the copied va_args

Original commit message from CVS:
... and free the copied va_args

20 years agouse G_VA_COPY instead of directly assigning va_lists
Benjamin Otte [Mon, 12 Jan 2004 22:33:11 +0000 (22:33 +0000)]
use G_VA_COPY instead of directly assigning va_lists

Original commit message from CVS:
use G_VA_COPY instead of directly assigning va_lists

20 years agofix testsuite
Thomas Vander Stichele [Mon, 12 Jan 2004 17:22:15 +0000 (17:22 +0000)]
fix testsuite

Original commit message from CVS:
fix testsuite

20 years agoupdate - this is huge, because it includes *.bb, *.bbg and *.da files which are gener...
Benjamin Otte [Mon, 12 Jan 2004 16:53:23 +0000 (16:53 +0000)]
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.

20 years agoChange _gst_padding[] to _gst_reserved[]
David Schleef [Mon, 12 Jan 2004 03:15:01 +0000 (03:15 +0000)]
Change _gst_padding[] to _gst_reserved[]

Original commit message from CVS:
Change _gst_padding[] to _gst_reserved[]

20 years agoactually use the free_data function
Benjamin Otte [Mon, 12 Jan 2004 01:41:23 +0000 (01:41 +0000)]
actually use the free_data function

Original commit message from CVS:
actually use the free_data function

20 years agoAdd gst_strtoi().
David Schleef [Sun, 11 Jan 2004 23:25:02 +0000 (23:25 +0000)]
Add gst_strtoi().

Original commit message from CVS:
Add gst_strtoi().

20 years agonotes about 0.9
David Schleef [Sun, 11 Jan 2004 22:52:16 +0000 (22:52 +0000)]
notes about 0.9

Original commit message from CVS:
notes about 0.9

20 years agoFix some incorrect comments caused by recent checkins
David Schleef [Sun, 11 Jan 2004 22:46:22 +0000 (22:46 +0000)]
Fix some incorrect comments caused by recent checkins

Original commit message from CVS:
Fix some incorrect comments caused by recent checkins

20 years agotools/gst-inspect.c: improve output of caps a bit
Benjamin Otte [Sun, 11 Jan 2004 22:39:00 +0000 (22:39 +0000)]
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

20 years agoInherit some of parent's buffer flags.
David Schleef [Sun, 11 Jan 2004 22:37:03 +0000 (22:37 +0000)]
Inherit some of parent's buffer flags.

Original commit message from CVS:
Inherit some of parent's buffer flags.

20 years ago#3
David Schleef [Sun, 11 Jan 2004 22:23:02 +0000 (22:23 +0000)]
#3

Original commit message from CVS:
#3

20 years agogst/: Change GstBuffer private structure element names. (all files)
David Schleef [Sun, 11 Jan 2004 22:11:35 +0000 (22:11 +0000)]
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.

20 years agogst/elements/gstbufferstore.c: initialize debugging structure correctly
Benjamin Otte [Sun, 11 Jan 2004 18:23:48 +0000 (18:23 +0000)]
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

20 years agogst/gstqueue.c: Use better defaults for when a queue should block. This gets rid...
Benjamin Otte [Sun, 11 Jan 2004 17:55:10 +0000 (17:55 +0000)]
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.

20 years agomake critical more useful
Thomas Vander Stichele [Sat, 10 Jan 2004 13:52:44 +0000 (13:52 +0000)]
make critical more useful

Original commit message from CVS:
make critical more useful

20 years agogst/gstinfo.*: Change gst_debug_log(_valist) to take a const format string.
Benjamin Otte [Sat, 10 Jan 2004 01:49:00 +0000 (01:49 +0000)]
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.

20 years agoAdd option --enable-gcov to build GStreamer with -fprofile-arcs and -ftest-coverage...
David Schleef [Fri, 9 Jan 2004 01:42:11 +0000 (01:42 +0000)]
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.

20 years agomore notes
David Schleef [Fri, 9 Jan 2004 01:24:22 +0000 (01:24 +0000)]
more notes

Original commit message from CVS:
more notes

20 years agoemail about bufferpool replacement
David Schleef [Thu, 8 Jan 2004 21:59:00 +0000 (21:59 +0000)]
email about bufferpool replacement

Original commit message from CVS:
email about bufferpool replacement

20 years agogst/gstutils.h: GST_PARENT_CALL and
Benjamin Otte [Thu, 8 Jan 2004 04:10:18 +0000 (04:10 +0000)]
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.

20 years agofix up docs remove props commit automatic moving and removing of documentation
Thomas Vander Stichele [Wed, 7 Jan 2004 16:32:24 +0000 (16:32 +0000)]
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

20 years agofiles to ignore
Thomas Vander Stichele [Wed, 7 Jan 2004 16:31:01 +0000 (16:31 +0000)]
files to ignore

Original commit message from CVS:
files to ignore

20 years agogst/elements/gstfilesink.c: Fix for if we pass NULL as property to location.
Ronald S. Bultje [Wed, 7 Jan 2004 13:13:03 +0000 (13:13 +0000)]
gst/elements/gstfilesink.c: Fix for if we pass NULL as property to location.

Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/elements/gstfilesink.c: (gst_filesink_set_location):
Fix for if we pass NULL as property to location.
* gst/elements/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_handle_event), (gst_pipefilter_chain):
Fix for instantiate-test (see below).
* gst/gststructure.c: (_gst_structure_parse_value):
Fix compile error on gcc-2.96.
* configure.ac:
* tests/Makefile.am:
* tests/instantiate/Makefile.am:
* tests/instantiate/create.c: (create_all_elements), (main):
Add a test that instantiates all elements. This makes it easy to
track dead code for old API/design (like setting event functions
on sink pads and so on).

20 years agoRevert last change, because it was unintended.
David Schleef [Tue, 6 Jan 2004 21:41:05 +0000 (21:41 +0000)]
Revert last change, because it was unintended.

Original commit message from CVS:
Revert last change, because it was unintended.

20 years agoDisable some poisoning, since some plugins rely on undefined behavior
David Schleef [Tue, 6 Jan 2004 21:39:53 +0000 (21:39 +0000)]
Disable some poisoning, since some plugins rely on undefined behavior

Original commit message from CVS:
Disable some poisoning, since some plugins rely on undefined behavior

20 years agoMake the "could not find compatible pad' message more informative
Jan Schmidt [Tue, 6 Jan 2004 16:28:43 +0000 (16:28 +0000)]
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

20 years agoA checklist of things to check in elements
David Schleef [Mon, 5 Jan 2004 21:29:35 +0000 (21:29 +0000)]
A checklist of things to check in elements

Original commit message from CVS:
A checklist of things to check in elements

20 years agogst/gstcaps.c: Move the poisoning to allow a NULL structure
Jan Schmidt [Mon, 5 Jan 2004 16:25:31 +0000 (16:25 +0000)]
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

20 years agogst/elements/gsttee.c: Remove usage of gst_pad_proxy_fixate.
David Schleef [Sun, 4 Jan 2004 23:43:11 +0000 (23:43 +0000)]
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

20 years agoFix segfaults caused by last checkin and add a few more checks.
David Schleef [Sat, 3 Jan 2004 10:39:57 +0000 (10:39 +0000)]
Fix segfaults caused by last checkin and add a few more checks.

Original commit message from CVS:
Fix segfaults caused by last checkin and add a few more checks.

20 years agogst/elements/gsttypefindelement.c: Use gst_pad_use_explicit_caps for src pad.
David Schleef [Sat, 3 Jan 2004 10:01:35 +0000 (10:01 +0000)]
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.

20 years agogst/gstelement.c: Fix to allow DELAYED to indicate that linking was successful.
David Schleef [Sat, 3 Jan 2004 09:25:04 +0000 (09:25 +0000)]
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.

20 years agoMove padtemplate clearing from class_init to base_init
David Schleef [Sat, 3 Jan 2004 01:25:01 +0000 (01:25 +0000)]
Move padtemplate clearing from class_init to base_init

Original commit message from CVS:
Move padtemplate clearing from class_init to base_init

20 years agogst/gstelement.c: Refuse registering a pad template if another pad template with...
Ronald S. Bultje [Fri, 2 Jan 2004 23:52:59 +0000 (23:52 +0000)]
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).

20 years agogst/gstcaps.c: Add new function.
David Schleef [Fri, 2 Jan 2004 23:04:14 +0000 (23:04 +0000)]
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.

20 years agogst/gstpad.c: Fix wrong g_return_if_fail
Benjamin Otte [Fri, 2 Jan 2004 19:10:44 +0000 (19:10 +0000)]
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

20 years agoChange the marshalilng of element_added/element_removed signals to use gst_marshal_VO...
Jan Schmidt [Fri, 2 Jan 2004 15:41:08 +0000 (15:41 +0000)]
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

20 years agoClean up some code in last checkin. Fix minor bug where allowed_caps were incorrectl...
David Schleef [Fri, 2 Jan 2004 10:01:11 +0000 (10:01 +0000)]
Clean up some code in last checkin.  Fix minor bug where allowed_caps were incorrectly used for negotiation.

Original commit message from CVS:
Clean up some code in last checkin.  Fix minor bug where allowed_caps
were incorrectly used for negotiation.

20 years agoAdd new use_explicit_caps() and set_explicit_caps() functions.
David Schleef [Fri, 2 Jan 2004 07:02:43 +0000 (07:02 +0000)]
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.

20 years agoremove bogus FIXME
David Schleef [Fri, 2 Jan 2004 06:58:17 +0000 (06:58 +0000)]
remove bogus FIXME

Original commit message from CVS:
remove bogus FIXME

20 years agominor wording change
David Schleef [Fri, 2 Jan 2004 06:57:32 +0000 (06:57 +0000)]
minor wording change

Original commit message from CVS:
minor wording change

20 years agoNegotiation fixes
David Schleef [Thu, 1 Jan 2004 02:23:47 +0000 (02:23 +0000)]
Negotiation fixes

Original commit message from CVS:
Negotiation fixes

20 years agoImplement gst_caps_normalize()
David Schleef [Thu, 1 Jan 2004 02:17:44 +0000 (02:17 +0000)]
Implement gst_caps_normalize()

Original commit message from CVS:
Implement gst_caps_normalize()

20 years agogst/gstqueue.c: use gst_pad_proxy_getcaps()
Ronald S. Bultje [Wed, 31 Dec 2003 11:08:01 +0000 (11:08 +0000)]
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()

20 years agoNegotiation fixes
David Schleef [Wed, 31 Dec 2003 08:09:38 +0000 (08:09 +0000)]
Negotiation fixes

Original commit message from CVS:
Negotiation fixes

20 years agoAdd functions useful default pad_link and fixate functions.
David Schleef [Wed, 31 Dec 2003 08:06:49 +0000 (08:06 +0000)]
Add functions useful default pad_link and fixate functions.

Original commit message from CVS:
Add functions useful default pad_link and fixate functions.

20 years agoFix segfault caused by last checkin
David Schleef [Tue, 30 Dec 2003 19:11:03 +0000 (19:11 +0000)]
Fix segfault caused by last checkin

Original commit message from CVS:
Fix segfault caused by last checkin

20 years agogst/gstcaps.*: Add simplify function
David Schleef [Tue, 30 Dec 2003 04:59:48 +0000 (04:59 +0000)]
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.

20 years agoreorganizing manual so that concepts are explained before code is shown.
Thomas Vander Stichele [Mon, 29 Dec 2003 14:15:02 +0000 (14:15 +0000)]
reorganizing manual so that concepts are explained before code is shown.

Original commit message from CVS:
reorganizing manual so that concepts are explained before code is shown.
needs some proofreading, will get to it.

20 years agoadd faq entry for building form source
Thomas Vander Stichele [Mon, 29 Dec 2003 14:09:59 +0000 (14:09 +0000)]
add faq entry for building form source

Original commit message from CVS:
add faq entry for building form source

20 years agoforgot important file in commit it seems...
Benjamin Otte [Mon, 29 Dec 2003 09:50:46 +0000 (09:50 +0000)]
forgot important file in commit it seems...

Original commit message from CVS:
forgot important file in commit it seems...

20 years agoonly call link functions to restore old link if the old link was negotiated
Benjamin Otte [Sat, 27 Dec 2003 15:49:15 +0000 (15:49 +0000)]
only call link functions to restore old link if the old link was negotiated

Original commit message from CVS:
only call link functions to restore old link if the old link was negotiated

20 years agoset freed caps to NULL
Benjamin Otte [Sat, 27 Dec 2003 14:09:51 +0000 (14:09 +0000)]
set freed caps to NULL

Original commit message from CVS:
set freed caps to NULL

20 years agogst/gstcaps.c: add sanity checks
Benjamin Otte [Sat, 27 Dec 2003 13:51:31 +0000 (13:51 +0000)]
gst/gstcaps.c: add sanity checks

Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstcaps.c: (gst_caps_append):
add sanity checks
* gst/gstcaps.h: (gst_caps_debug):
remove, it doesn't exist anymore.
* gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
(gst_element_threadsafe_properties_post_run):
make debugging messages not clutter up THREAD debug category
(gst_element_negotiate_pads), (gst_element_clear_pad_caps),
(gst_element_change_state):
update to new caps API
* gst/gstinterface.c: (gst_implements_interface_cast):
don't put vital code in g_return_if_fail
* gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
(gst_pad_link_filtered):
add pst_pad_try_link and use it.
(gst_pad_perform_negotiate), (gst_pad_renegotiate):
implement correctly, deprecate first one.
(gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
add and implement.
(gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
implement.
(gst_pad_get_negotiated_caps):
add and implement. Make GST_PAD_CAPS call this function.
(gst_pad_get_caps):
remove unneeded check..
(gst_pad_recover_caps_error):
disable, always return FALSE.
(gst_real_pad_dispose):
don't free caps and appfilter anymore, they're unused.
* gst/gstpad.h:
Reflect changes mentioned above.
* gst/gstsystemclock.c: (gst_system_clock_wait):
Make 'clock is way behind' a debugging message.
* gst/gstthread.c: (gst_thread_change_state):
Fix debugging message

20 years agofix GST_DEBUG_CATEGORY_INIT description
Thomas Vander Stichele [Thu, 25 Dec 2003 09:42:56 +0000 (09:42 +0000)]
fix GST_DEBUG_CATEGORY_INIT description

Original commit message from CVS:
fix GST_DEBUG_CATEGORY_INIT description

20 years agoremoving conflict traces
Thomas Vander Stichele [Thu, 25 Dec 2003 09:36:00 +0000 (09:36 +0000)]
removing conflict traces

Original commit message from CVS:
removing conflict traces

20 years agoremoving last mentions of wingo cothreads
Thomas Vander Stichele [Wed, 24 Dec 2003 15:11:20 +0000 (15:11 +0000)]
removing last mentions of wingo cothreads

Original commit message from CVS:
removing last mentions of wingo cothreads

20 years agofix non-gtk-doc comment blocks
Thomas Vander Stichele [Wed, 24 Dec 2003 14:39:46 +0000 (14:39 +0000)]
fix non-gtk-doc comment blocks

Original commit message from CVS:
fix non-gtk-doc comment blocks

20 years agowhitespace and doc style fixes
Thomas Vander Stichele [Wed, 24 Dec 2003 14:36:03 +0000 (14:36 +0000)]
whitespace and doc style fixes

Original commit message from CVS:
whitespace and doc style fixes

20 years agoremove trailing comma for gtk-doc
Thomas Vander Stichele [Wed, 24 Dec 2003 12:55:00 +0000 (12:55 +0000)]
remove trailing comma for gtk-doc

Original commit message from CVS:
remove trailing comma for gtk-doc

20 years agoMake GstCaps parameter const. Copy caps parameter. Use _POINTER to marshal caps...
Colin Walters [Wed, 24 Dec 2003 07:42:43 +0000 (07:42 +0000)]
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.

20 years agoI'm too lazy to comment this
David Schleef [Wed, 24 Dec 2003 03:36:47 +0000 (03:36 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

20 years agoFix a few logic bugs in gst_element_get_compatible_pad_filtered() caused by new pad...
David Schleef [Wed, 24 Dec 2003 03:28:27 +0000 (03:28 +0000)]
Fix a few logic bugs in gst_element_get_compatible_pad_filtered() caused by new pad negotiation.  Add some debugging,...

Original commit message from CVS:
Fix a few logic bugs in gst_element_get_compatible_pad_filtered() caused
by new pad negotiation.  Add some debugging, and fix logic bug in gstpad.c.

20 years agoImplement gst_pad_can_link_filtered(). Fix a few minor bugs.
David Schleef [Wed, 24 Dec 2003 02:32:42 +0000 (02:32 +0000)]
Implement gst_pad_can_link_filtered().  Fix a few minor bugs.

Original commit message from CVS:
Implement gst_pad_can_link_filtered().  Fix a few minor bugs.

20 years agoAdd some sanity tests to gstpad.c. Check that pad is linked before calling gst_pad_t...
David Schleef [Wed, 24 Dec 2003 01:39:08 +0000 (01:39 +0000)]
Add some sanity tests to gstpad.c.  Check that pad is linked before calling gst_pad_try_set_caps() on it in spideride...

Original commit message from CVS:
Add some sanity tests to gstpad.c.  Check that pad is linked before
calling gst_pad_try_set_caps() on it in spideridentity.

20 years agoCheck caps for NULL before copying
David Schleef [Wed, 24 Dec 2003 00:26:45 +0000 (00:26 +0000)]
Check caps for NULL before copying

Original commit message from CVS:
Check caps for NULL before copying

20 years agoFix bug in _gst_caps_value_copy() that could cause GValue corruption
David Schleef [Wed, 24 Dec 2003 00:02:17 +0000 (00:02 +0000)]
Fix bug in _gst_caps_value_copy() that could cause GValue corruption

Original commit message from CVS:
Fix bug in _gst_caps_value_copy() that could cause GValue corruption

20 years agoUse GST_PAD_LINK_SUCCESSFUL.
Colin Walters [Tue, 23 Dec 2003 23:37:54 +0000 (23:37 +0000)]
Use GST_PAD_LINK_SUCCESSFUL.

Original commit message from CVS:
Use GST_PAD_LINK_SUCCESSFUL.

20 years agogst/elements/: Use gst_pad_proxy_getcaps().
David Schleef [Tue, 23 Dec 2003 23:19:07 +0000 (23:19 +0000)]
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.

20 years agogst/gstpad.c: Rearrange/rewrite much of the pad negotiation code, since it resembled...
David Schleef [Tue, 23 Dec 2003 21:39:35 +0000 (21:39 +0000)]
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.