platform/upstream/gstreamer.git
16 years agolibs/gst/controller/gstinterpolationcontrolsource.c: Optimize list handling. Use...
Stefan Kost [Sun, 29 Jun 2008 16:11:24 +0000 (16:11 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Optimize list handling. Use own find function. Exploit that fact...

Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
Optimize list handling. Use own find function. Exploit that fact that
the list is sorted. Also pass back the node before, so that we can
insert quickly. Have a fast path for append.

16 years agodocs/design/: Fix two typos.
Stefan Kost [Sun, 29 Jun 2008 15:00:26 +0000 (15:00 +0000)]
docs/design/: Fix two typos.

Original commit message from CVS:
* docs/design/draft-framestep.txt:
* docs/design/part-negotiation.txt:
Fix two typos.

16 years agoconfigure.ac:
Stefan Kost [Fri, 27 Jun 2008 09:02:51 +0000 (09:02 +0000)]
configure.ac:

Original commit message from CVS:
* configure.ac:
Show configuration sumary after configure run. Based on patch by
Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134

16 years agodocs/manual/: Add scale factor for pdf output.
Luc Pionchon [Fri, 27 Jun 2008 07:03:05 +0000 (07:03 +0000)]
docs/manual/: Add scale factor for pdf output.

Original commit message from CVS:
patch by: Luc Pionchon  <luc.pionchon@nokia.com>
* docs/manual/advanced-autoplugging.xml:
* docs/manual/advanced-threads.xml:
* docs/manual/basics-bins.xml:
* docs/manual/basics-elements.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
Add scale factor for pdf output.
* docs/manual/intro-basics.xml:
Switched sections "pads" and "bins" and added a pipeline diagram.
* docs/manual/intro-gstreamer.xml:
Added more info on gstreamer.
* docs/manual/intro-motivation.xml:
Commented out the whole section "current problem", which sounds
historical and somehow osolete; it could be turned in a positive
way and reused to improve the design principles.
* docs/manual/intro-preface.xml:
- Update URLs to library.gnome.org.
- Do not mention GTK+ in preliminary reading (irrelevant).
- Mention Plugin Writer's Manual and further reading only in the
previous section.
- Added a list of most relevant GObject/glib topics.
* docs/manual/Makefile.am:
* docs/manual/bin-element-ghost.fig:
* docs/manual/bin-element-ghost.png:
* docs/manual/bin-element-noghost.fig:
* docs/manual/bin-element-noghost.png:
* docs/manual/bin-element.fig:
* docs/manual/bin-element.png:
* docs/manual/filter-element-multi.fig:
* docs/manual/filter-element-multi.png:
* docs/manual/filter-element.fig:
* docs/manual/filter-element.png:
* docs/manual/gstreamer-overview.png:
* docs/manual/hello-world.fig:
* docs/manual/hello-world.png:
* docs/manual/linked-elements.fig:
* docs/manual/linked-elements.png:
* docs/manual/mime-world.fig:
* docs/manual/mime-world.png:
* docs/manual/queue.fig:
* docs/manual/queue.png:
* docs/manual/simple-player.png:
* docs/manual/sink-element.fig:
* docs/manual/sink-element.png:
* docs/manual/src-element.fig:
* docs/manual/src-element.png:
* docs/manual/diagrams-general.svg:
* docs/manual/diagrams-pipelines.svg:
Removed .fig, added .png counterpart.
Fixes: #539137

16 years agoplugins/elements/gstmultiqueue.*: revert extra-size-buffers stuff, caused some race...
Thijs Vermeir [Thu, 26 Jun 2008 20:27:00 +0000 (20:27 +0000)]
plugins/elements/gstmultiqueue.*: revert extra-size-buffers stuff, caused some race conditions and extra-size-buffers...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstmultiqueue.h:
revert extra-size-buffers stuff, caused some race conditions
and extra-size-buffers is not used anymore. Docs needs some updates

16 years agowin32/common/: Update win32 files.
Tim-Philipp Müller [Thu, 26 Jun 2008 12:52:41 +0000 (12:52 +0000)]
win32/common/: Update win32 files.

Original commit message from CVS:
* win32/common/config.h:
* win32/common/gstenumtypes.c:
* win32/common/gstenumtypes.h:
* win32/common/gstversion.h:
Update win32 files.

16 years agogst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs.
Tim-Philipp Müller [Thu, 26 Jun 2008 12:24:08 +0000 (12:24 +0000)]
gst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs.

Original commit message from CVS:
* gst/gstdebugutils.h: (GstDebugGraphDetails),
(GST_DEBUG_BIN_TO_DOT_FILE):
Add missing Since' markers to gtk-doc blurbs.

16 years agotests/check/libs/transform1.c: Add some more tests with switching caps in buffer_alloc.
Wim Taymans [Thu, 26 Jun 2008 11:59:40 +0000 (11:59 +0000)]
tests/check/libs/transform1.c: Add some more tests with switching caps in buffer_alloc.

Original commit message from CVS:
* tests/check/libs/transform1.c: (buffer_alloc_pt1),
(set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
(set_caps_1), (set_caps_ct1), (transform_ct1),
(transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
(set_caps_ct2), (transform_ct2), (transform_caps_ct2),
(transform_size_ct2), (buffer_alloc_ct2):
Add some more tests with switching caps in buffer_alloc.

16 years agotests/check/libs/: More tests, prepare for tests with switching caps in buffer_alloc.
Wim Taymans [Wed, 25 Jun 2008 17:27:30 +0000 (17:27 +0000)]
tests/check/libs/: More tests, prepare for tests with switching caps in buffer_alloc.

Original commit message from CVS:
* tests/check/libs/test_transform.c: (gst_test_trans_base_init),
(gst_test_trans_class_init), (result_sink_chain),
(result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
(gst_test_trans_push), (gst_test_trans_pop):
* tests/check/libs/transform1.c: (buffer_alloc_pt1),
(set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
(set_caps_1), (set_caps_ct1), (transform_ct1),
(transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
(set_caps_ct2), (transform_ct2), (transform_caps_ct2),
(transform_size_ct2), (buffer_alloc_ct2),
(gst_basetransform_suite):
More tests, prepare for tests with switching caps in buffer_alloc.

16 years agoplugins/elements/gstmultiqueue.*: Fix dead-lock in underrun_cb
Thijs Vermeir [Wed, 25 Jun 2008 15:39:02 +0000 (15:39 +0000)]
plugins/elements/gstmultiqueue.*: Fix dead-lock in underrun_cb

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstmultiqueue.h:
Fix dead-lock in underrun_cb

16 years agodocs/design/part-states.txt: Fix device open/close docs.
Wim Taymans [Wed, 25 Jun 2008 14:49:08 +0000 (14:49 +0000)]
docs/design/part-states.txt: Fix device open/close docs.

Original commit message from CVS:
* docs/design/part-states.txt:
Fix device open/close docs.

16 years agoChangeLog: Mention bugnumber for last commit.
Stefan Kost [Wed, 25 Jun 2008 14:47:11 +0000 (14:47 +0000)]
ChangeLog: Mention bugnumber for last commit.

Original commit message from CVS:
* ChangeLog:
Mention bugnumber for last commit.

16 years agodocs/manual/manual.xml: - Reorganised the previous "introduction" bundle into Foreword,
Luc Pionchon [Wed, 25 Jun 2008 14:44:52 +0000 (14:44 +0000)]
docs/manual/manual.xml: - Reorganised the previous "introduction" bundle into Foreword,

Original commit message from CVS:
patch by: Luc Pionchon  <luc.pionchon@nokia.com>
* docs/manual/manual.xml:
- Reorganised the previous "introduction" bundle into Foreword,
Introduction, and About GStreamer. The two first are <preface>
docbook elements. The later is the first part of the book.
- added intro-gstreamer.xml (content partially from
intro-preface.xml)
- moved appendix-win32.xml into appendix-integration.xml
* docs/manual/intro-preface.xml: gstreamer section moved...
* docs/manual/intro-gstreamer.xml: ...here. new file.
* docs/manual/appendix-win32.xml: removed file. Content moved...
* docs/manual/appendix-integration.xml: ...here.
* docs/manual/highlevel-components.xml: section about GstEditor moved...
* docs/manual/appendix-checklist.xml: ...here.

16 years agodocs/manual/: - Explicitely include glib.h.
Luc Pionchon [Wed, 25 Jun 2008 14:32:53 +0000 (14:32 +0000)]
docs/manual/: - Explicitely include glib.h.

Original commit message from CVS:
patch by: Luc Pionchon  <luc.pionchon@nokia.com>
* docs/manual/basics-helloworld.xml:
* docs/manual/hello-world.fig:
- Explicitely include glib.h.
- Do not use global variables.
- Use g_printerr() instead of g_print().
- Minor formating/renaming to increase readibility.
- Renamed new_pad() to on_pad_added()
- Improved explenatory comments.
- renamed ogg parser to ogg demuxer
- Use "autoaudiosink" instead of "alsasink".
Fixes: #538619

16 years agoChangeLog: Remove cvs conflict marker.
Stefan Kost [Wed, 25 Jun 2008 14:27:37 +0000 (14:27 +0000)]
ChangeLog: Remove cvs conflict marker.

Original commit message from CVS:
* ChangeLog:
Remove cvs conflict marker.

16 years agodocs/README: Document that for plgin-docs we extraxt he short-desc from the element...
Stefan Kost [Wed, 25 Jun 2008 14:25:49 +0000 (14:25 +0000)]
docs/README: Document that for plgin-docs we extraxt he short-desc from the element details.

Original commit message from CVS:
* docs/README:
Document that for plgin-docs we extraxt he short-desc from the element
details.
* docs/design/part-states.txt:
Tell that devices should be closed in PAUSED -> READY.
* docs/manual/README:
Document how tests in the manual are handled.
* docs/manuals.mak:
Typo in comment.

16 years agogst/gstbin.c: Only care about latency min and max when the sink is actually a live...
Wim Taymans [Wed, 25 Jun 2008 11:50:06 +0000 (11:50 +0000)]
gst/gstbin.c: Only care about latency min and max when the sink is actually a live sink.

Original commit message from CVS:
* gst/gstbin.c: (bin_query_latency_fold):
Only care about latency min and max when the sink is actually a live
sink.

16 years agodocs/design/part-block.txt: Fix typo.
Wim Taymans [Wed, 25 Jun 2008 10:53:52 +0000 (10:53 +0000)]
docs/design/part-block.txt: Fix typo.

Original commit message from CVS:
* docs/design/part-block.txt:
Fix typo.
* docs/design/part-element-transform.txt:
Add notes about why transform needs to know input/output sizes.
Add some issues that need to be solved.
Add some more use cases.
* tests/check/libs/test_transform.c: (gst_test_trans_base_init),
(gst_test_trans_class_init), (result_sink_chain),
(result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
(gst_test_trans_push), (gst_test_trans_pop):
* tests/check/libs/transform1.c: (buffer_alloc_pt1),
(set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
(set_caps_1), (set_caps_ct1), (transform_ct1),
(transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
(gst_basetransform_suite):
Add suport for different pad templates and buffer-alloc.
Add more checks for caps and buffer-alloc.
Add checks for proxy buffer alloc.
Add unit test for copy transform.

16 years agodocs/manual/: Typo and formatting fixes (#538594).
Luc Pionchon [Tue, 24 Jun 2008 19:56:51 +0000 (19:56 +0000)]
docs/manual/: Typo and formatting fixes (#538594).

Original commit message from CVS:
Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
* docs/manual/appendix-integration.xml:
* docs/manual/appendix-licensing.xml:
* docs/manual/basics-elements.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
* docs/manual/highlevel-components.xml:
* docs/manual/highlevel-xml.xml:
* docs/manual/intro-basics.xml:
* docs/manual/intro-preface.xml:
Typo and formatting fixes (#538594).

16 years agotests/check/gst/gstghostpad.c: Fix some memory leaks and uses of object instances...
Sebastian Dröge [Tue, 24 Jun 2008 07:49:36 +0000 (07:49 +0000)]
tests/check/gst/gstghostpad.c: Fix some memory leaks and uses of object instances that we don't actually own.

Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix some memory leaks and uses of object instances that we don't
actually own.

16 years agoplugins/elements/gstmultiqueue.c: Add functionality to extra-size-buffers property.
Thijs Vermeir [Sun, 22 Jun 2008 19:19:35 +0000 (19:19 +0000)]
plugins/elements/gstmultiqueue.c: Add functionality to extra-size-buffers property.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
Add functionality to extra-size-buffers property.

16 years agoplugins/elements/gstmultiqueue.c: Don't update the cur_time on GST_CLOCK_TIME_NONE...
Thijs Vermeir [Sun, 22 Jun 2008 14:35:13 +0000 (14:35 +0000)]
plugins/elements/gstmultiqueue.c: Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't activate the p...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
activate the pads if they are added in STATE_NULL.

16 years agodocs/libs/gstreamer-libs-sections.txt: Add new API to doc
Thijs Vermeir [Sat, 21 Jun 2008 21:20:13 +0000 (21:20 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new API to doc

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new API to doc
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
API: gst_check_teardown_pad_by_name

16 years agolibs/gst/check/gstcheck.*: Also setup request pads and allow setup pads by name ...
Thijs Vermeir [Sat, 21 Jun 2008 19:48:53 +0000 (19:48 +0000)]
libs/gst/check/gstcheck.*: Also setup request pads and allow setup pads by name (#537812)

Original commit message from CVS:
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Also setup request pads and allow setup pads by name (#537812)
API: gst_check_setup_src_pad_by_name
API: gst_check_setup_sink_pad_by_name

16 years agotests/check/: Use HAVE_VALGRIND_H some more.
Thomas Vander Stichele [Fri, 20 Jun 2008 21:08:47 +0000 (21:08 +0000)]
tests/check/: Use HAVE_VALGRIND_H some more.

Original commit message from CVS:
* tests/check/gst/gstbuffer.c:
* tests/check/pipelines/parse-launch.c:
Use HAVE_VALGRIND_H some more.

16 years agoscripts/cvs-update.sh: Pass arguments to make.
Thomas Vander Stichele [Fri, 20 Jun 2008 16:29:23 +0000 (16:29 +0000)]
scripts/cvs-update.sh: Pass arguments to make.

Original commit message from CVS:
* scripts/cvs-update.sh:
Pass arguments to make.
Run autoregen.sh if Makefile is not there.

16 years agoDon't assume that <valgrind/valgrind.h> exists just because the binary is there.
Thomas Vander Stichele [Fri, 20 Jun 2008 15:54:43 +0000 (15:54 +0000)]
Don't assume that <valgrind/valgrind.h> exists just because the binary is there.

Original commit message from CVS:
* configure.ac:
* gst/gstinfo.c:
Don't assume that <valgrind/valgrind.h> exists just because
the binary is there.

16 years agotests/check/: Add some test basetransform element and the beginnings of various unit...
Wim Taymans [Fri, 20 Jun 2008 12:06:54 +0000 (12:06 +0000)]
tests/check/: Add some test basetransform element and the beginnings of various unit tests for it.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/libs/test_transform.c: (gst_test_trans_base_init),
(gst_test_trans_class_init), (gst_test_trans_init),
(gst_test_trans_set_data), (result_sink_chain),
(gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
(gst_test_trans_pop):
* tests/check/libs/transform1.c: (GST_START_TEST),
(transform_ip_1), (set_caps_1), (gst_basetransform_suite):
Add some test basetransform element and the beginnings of various
unit tests for it.

16 years agolibs/gst/base/gsttypefindhelper.c: Increase code readability.
Wim Taymans [Fri, 20 Jun 2008 11:24:03 +0000 (11:24 +0000)]
libs/gst/base/gsttypefindhelper.c: Increase code readability.

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
Increase code readability.
Don't try to compare buffer offsets when ther are invalid.

16 years agodocs/design/Makefile.am: Dist some more design docs.
Tim-Philipp Müller [Fri, 20 Jun 2008 11:07:05 +0000 (11:07 +0000)]
docs/design/Makefile.am: Dist some more design docs.

Original commit message from CVS:
* docs/design/Makefile.am:
Dist some more design docs.
* docs/random/moving-plugins:
Small addition: good plugins mustn't have functional code
within assertion macros.

16 years agodocs/design/draft-framestep.txt: Some ideas about a framestep API
Wim Taymans [Fri, 20 Jun 2008 10:32:34 +0000 (10:32 +0000)]
docs/design/draft-framestep.txt: Some ideas about a framestep API

Original commit message from CVS:
* docs/design/draft-framestep.txt:
Some ideas about a framestep API
* docs/design/part-element-transform.txt:
Start design and use cases for basetransform in order to get it
fixed soon.

16 years agogst/gstbus.c: Make it known that gst_bus_poll() is pure evil (fixes #538810).
Tim-Philipp Müller [Fri, 20 Jun 2008 10:20:08 +0000 (10:20 +0000)]
gst/gstbus.c: Make it known that gst_bus_poll() is pure evil (fixes #538810).

Original commit message from CVS:
* gst/gstbus.c:
Make it known that gst_bus_poll() is pure evil (fixes #538810).

16 years agoplugins/elements/: Remove short_description. Add basic docs for gsttypefindelement.
Stefan Kost [Fri, 20 Jun 2008 10:14:54 +0000 (10:14 +0000)]
plugins/elements/: Remove short_description. Add basic docs for gsttypefindelement.

Original commit message from CVS:
* plugins/elements/gstcapsfilter.c:
* plugins/elements/gstfakesink.c:
* plugins/elements/gstfakesrc.c:
* plugins/elements/gstfdsink.c:
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstfilesink.c:
* plugins/elements/gstfilesrc.c:
* plugins/elements/gstidentity.c:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
Remove short_description. Add basic docs for gsttypefindelement.
Simplify markup for fakesrc/fdsrc.

16 years agoplugins/elements/gstfdsrc.c: Added Since doc.
Wim Taymans [Fri, 20 Jun 2008 10:07:28 +0000 (10:07 +0000)]
plugins/elements/gstfdsrc.c: Added Since doc.

Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
Added Since doc.

16 years agoAdd timeout property like udpsrc. Fixes #538628.
joel larsson [Fri, 20 Jun 2008 10:02:14 +0000 (10:02 +0000)]
Add timeout property like udpsrc. Fixes #538628.

Original commit message from CVS:
Patch by: joel larsson <tilljoel at gmail dot com>
* docs/plugins/gstreamer-plugins.args:
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_init), (gst_fd_src_update_fd),
(gst_fd_src_set_property), (gst_fd_src_get_property),
(gst_fd_src_create):
* plugins/elements/gstfdsrc.h:
Add timeout property like udpsrc. Fixes #538628.
Add some more docs and example pipelines.

16 years agoAdd method to allow sinks to specify additional delay between the sync times and...
Wim Taymans [Fri, 20 Jun 2008 08:54:45 +0000 (08:54 +0000)]
Add method to allow sinks to specify additional delay between the sync times and the actual rendering of the data.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
(gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
(gst_base_sink_do_sync):
* libs/gst/base/gstbasesink.h:
* win32/common/libgstbase.def:
Add method to allow sinks to specify additional delay between the sync
times and the actual rendering of the data.
API: gst_base_sink_set_render_delay()
API: gst_base_sink_get_render_delay()

16 years agoconfigure.ac: Bump version number back to dev -> 0.10.20.1
Jan Schmidt [Fri, 20 Jun 2008 08:45:01 +0000 (08:45 +0000)]
configure.ac: Bump version number back to dev -> 0.10.20.1

Original commit message from CVS:
* configure.ac:
Bump version number back to dev -> 0.10.20.1

16 years agoAPI: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
Sebastian Dröge [Fri, 20 Jun 2008 08:39:54 +0000 (08:39 +0000)]
API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
Fixes bug #538568.

16 years agolibs/gst/controller/gstcontroller.c: Revert one change, that make ret value possible...
Stefan Kost [Fri, 20 Jun 2008 08:36:46 +0000 (08:36 +0000)]
libs/gst/controller/gstcontroller.c: Revert one change, that make ret value possible uninitialized.

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Revert one change, that make ret value possible uninitialized.

16 years agolibs/gst/controller/gstcontroller.c: Use freeze/thaw notify to sync notify emission...
Stefan Kost [Fri, 20 Jun 2008 08:32:36 +0000 (08:32 +0000)]
libs/gst/controller/gstcontroller.c: Use freeze/thaw notify to sync notify emission a bit (its also more efficient). ...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Use freeze/thaw notify to sync notify emission a bit (its also more
efficient). Move debug output to LOG (is called a lot in a loop).
Always unset g_values if the have been initialized.

16 years agolibs/gst/base/gstbasesink.c: If we have not seen a buffer before EOS, use the segment...
Wim Taymans [Fri, 20 Jun 2008 08:28:46 +0000 (08:28 +0000)]
libs/gst/base/gstbasesink.c: If we have not seen a buffer before EOS, use the segment values to report the current po...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_wait_eos), (gst_base_sink_event):
If we have not seen a buffer before EOS, use the segment values to
report the current position instead of invalid positions.

16 years agoIgnore more.
Stefan Kost [Fri, 20 Jun 2008 08:21:48 +0000 (08:21 +0000)]
Ignore more.

Original commit message from CVS:
* docs/plugins/tmpl/.cvsignore:
* tests/check/gst/.cvsignore:
Ignore more.

16 years agoRewrite handling of default values. Fix overflow with unsigned types in linear interp...
Stefan Kost [Fri, 20 Jun 2008 08:17:08 +0000 (08:17 +0000)]
Rewrite handling of default values. Fix overflow with unsigned types in linear interpolation. Remove now obsolete _fi...

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
* libs/gst/controller/gstinterpolationcontrolsource.c:
* tests/check/libs/controller.c:
Rewrite handling of default values. Fix overflow with unsigned types
in linear interpolation. Remove now obsolete _first_value() function.
Add more tests. Fixes #538201.

16 years agolibs/gst/base/gstbasetransform.c: Add debug info.
Wim Taymans [Fri, 20 Jun 2008 08:14:23 +0000 (08:14 +0000)]
libs/gst/base/gstbasetransform.c: Add debug info.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init), (gst_base_transform_init),
(gst_base_transform_transform_caps),
(gst_base_transform_prepare_output_buffer):
Add debug info.
When a buffer is writable, its metadata is also writable so we don't
need to subbuffer (which then makes the buffer not-writable anymore).

16 years agoRelease 0.10.20 RELEASE-0_10_20
Jan Schmidt [Wed, 18 Jun 2008 10:58:35 +0000 (10:58 +0000)]
Release 0.10.20

Original commit message from CVS:
Release 0.10.20

16 years agoUpdate .po files
Jan Schmidt [Wed, 18 Jun 2008 10:56:18 +0000 (10:56 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agoconfigure.ac: 0.10.19.3 pre-release
Jan Schmidt [Wed, 11 Jun 2008 21:14:17 +0000 (21:14 +0000)]
configure.ac: 0.10.19.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.19.3 pre-release

16 years agoRename DATADIR to GST_DATADIR to avoid build problems
David Schleef [Wed, 11 Jun 2008 20:07:31 +0000 (20:07 +0000)]
Rename DATADIR to GST_DATADIR to avoid build problems

Original commit message from CVS:
* configure.ac:
* gst/gstpreset.c:
Rename DATADIR to GST_DATADIR to avoid build problems
on win32. Patch By: David Schleef <ds@schleef.org>
Fixes: #536857

16 years agoconfigure.ac: Explicitely link with -ldl if dladdr() is found there. Before it was...
Sebastian Dröge [Thu, 5 Jun 2008 10:13:45 +0000 (10:13 +0000)]
configure.ac: Explicitely link with -ldl if dladdr() is found there. Before it was implicitely linked by the gmodule ...

Original commit message from CVS:
* configure.ac:
Explicitely link with -ldl if dladdr() is found there. Before it was
implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
-ldl has moved from Libs to Libs.private. Fixes bug #536744.

16 years agoPut pre-release chaneglog entry where it actually happened
Jan Schmidt [Thu, 5 Jun 2008 09:42:31 +0000 (09:42 +0000)]
Put pre-release chaneglog entry where it actually happened

Original commit message from CVS:
Put pre-release chaneglog entry where it actually happened

16 years agoconfigure.ac: 0.10.19.2 pre-release
Jan Schmidt [Thu, 5 Jun 2008 09:41:25 +0000 (09:41 +0000)]
configure.ac: 0.10.19.2 pre-release

Original commit message from CVS:
* configure.ac:
0.10.19.2 pre-release

16 years agogst/gsterror.c: Fix typo (spotted by Fabricio Godoy, #536723).
Tim-Philipp Müller [Thu, 5 Jun 2008 08:55:41 +0000 (08:55 +0000)]
gst/gsterror.c: Fix typo (spotted by Fabricio Godoy, #536723).

Original commit message from CVS:
* gst/gsterror.c: (_gst_stream_errors_init):
Fix typo (spotted by Fabricio Godoy, #536723).

16 years agolibs/gst/base/gstbasesink.c: Add some debug.
Wim Taymans [Wed, 4 Jun 2008 11:47:16 +0000 (11:47 +0000)]
libs/gst/base/gstbasesink.c: Add some debug.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
(gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
Add some debug.
Make sure we don't generate invalid QoS messages.

16 years agogst/gstevent.c: Add some assert and docs for invalid input to the qos function.
Wim Taymans [Wed, 4 Jun 2008 11:31:15 +0000 (11:31 +0000)]
gst/gstevent.c: Add some assert and docs for invalid input to the qos function.

Original commit message from CVS:
* gst/gstevent.c: (gst_event_new_qos):
Add some assert and docs for invalid input to the qos function.

16 years agolibs/gst/base/gstbasesink.c: The reported position must always be smaller than the...
Wim Taymans [Fri, 30 May 2008 15:48:52 +0000 (15:48 +0000)]
libs/gst/base/gstbasesink.c: The reported position must always be smaller than the last seen timestamps (or timestamp...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_get_position):
The reported position must always be smaller than the last seen
timestamps (or timestamp + duration for reverse).

16 years agogst/gstregistry.c: Don't recurse into .debug directories as some distros install...
Rob Bradford [Fri, 30 May 2008 07:36:17 +0000 (07:36 +0000)]
gst/gstregistry.c: Don't recurse into .debug directories as some distros install the debugging symbols next to the pl...

Original commit message from CVS:
Patch by: Rob Bradford <rob at robster dot org dot uk>
* gst/gstregistry.c: (gst_registry_scan_path_level):
Don't recurse into .debug directories as some distros install
the debugging symbols next to the plugins in .debug directories
and dlopen() crashes on them sometimes. Fixes bug #508070.
Add FIXME for 0.11 to not recurse into directories at all because
it's very inconsistent to the behaviour of other PATH environment
variables.

16 years agolibs/gst/base/gstbasesink.c: Fix position query range checks in reverse playback.
Wim Taymans [Thu, 29 May 2008 16:34:22 +0000 (16:34 +0000)]
libs/gst/base/gstbasesink.c: Fix position query range checks in reverse playback.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_get_position_last), (gst_base_sink_get_position):
Fix position query range checks in reverse playback.

16 years agogst/gstelement.*: Deprecated gst_element_get_pad() as it can't be used sanely. It...
Sebastian Dröge [Thu, 29 May 2008 07:19:47 +0000 (07:19 +0000)]
gst/gstelement.*: Deprecated gst_element_get_pad() as it can't be used sanely. It's not clear of the reference to the...

Original commit message from CVS:
* gst/gstelement.c:
* gst/gstelement.h:
Deprecated gst_element_get_pad() as it can't be used sanely. It's not
clear of the reference to the resulting pad must be released later
or not, resulting in possible leaks. Fixes bug #533865.

16 years agogst/gstelementfactory.c: Small doc fix. Fixes #535285.
José Alburquerque [Wed, 28 May 2008 16:46:07 +0000 (16:46 +0000)]
gst/gstelementfactory.c: Small doc fix. Fixes #535285.

Original commit message from CVS:
Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
* gst/gstelementfactory.c:
Small doc fix. Fixes #535285.

16 years agolibs/gst/base/gstbasesrc.c: Make sending an EOS event to the basesrc non-blocking...
Bjarne Rosengren [Wed, 28 May 2008 13:48:17 +0000 (13:48 +0000)]
libs/gst/base/gstbasesrc.c: Make sending an EOS event to the basesrc non-blocking even if the implementation does blo...

Original commit message from CVS:
Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
(gst_base_src_get_range), (gst_base_src_pad_get_range),
(gst_base_src_loop), (gst_base_src_set_flushing),
(gst_base_src_change_state):
Make sending an EOS event to the basesrc non-blocking even if the
implementation does blocking waits in the create function. This is done
by unlocking the create function when EOS is sent.
Fixes #535218.

16 years agotools/gst-inspect.c: If possible print the element type of GValueArray properties.
Sebastian Dröge [Wed, 28 May 2008 10:44:15 +0000 (10:44 +0000)]
tools/gst-inspect.c: If possible print the element type of GValueArray properties.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
If possible print the element type of GValueArray properties.

16 years agogst/gstiterator.c: Remove an unused field from the private GstListIterator struct.
Sebastian Dröge [Wed, 28 May 2008 07:47:22 +0000 (07:47 +0000)]
gst/gstiterator.c: Remove an unused field from the private GstListIterator struct.

Original commit message from CVS:
* gst/gstiterator.c:
Remove an unused field from the private GstListIterator struct.

16 years agolibs/gst/controller/gstcontroller.c: Add parameter guards.
Stefan Kost [Tue, 27 May 2008 20:19:17 +0000 (20:19 +0000)]
libs/gst/controller/gstcontroller.c: Add parameter guards.

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Add parameter guards.

16 years agotests/check/gst/gstpipeline.c: Revert test change and add comment why it should not...
Stefan Kost [Tue, 27 May 2008 19:47:49 +0000 (19:47 +0000)]
tests/check/gst/gstpipeline.c: Revert test change and add comment why it should not work.

Original commit message from CVS:
* tests/check/gst/gstpipeline.c:
Revert test change and add comment why it should not work.

16 years agotests/check/gst/gstpipeline.c: Extending the test a little to verify that we also...
Stefan Kost [Tue, 27 May 2008 18:31:39 +0000 (18:31 +0000)]
tests/check/gst/gstpipeline.c: Extending the test a little to verify that we also get the NULL state- change message.

Original commit message from CVS:
* tests/check/gst/gstpipeline.c:
Extending the test a little to verify that we also get the NULL state-
change message.

16 years agogst/gstpreset.c: Add Since: markers to docs blurbs.
Tim-Philipp Müller [Tue, 27 May 2008 16:37:32 +0000 (16:37 +0000)]
gst/gstpreset.c: Add Since: markers to docs blurbs.

Original commit message from CVS:
* gst/gstpreset.c: (gst_preset_default_get_meta),
(gst_preset_get_preset_names), (gst_preset_get_property_names),
(gst_preset_load_preset), (gst_preset_save_preset),
(gst_preset_rename_preset), (gst_preset_delete_preset),
(gst_preset_set_meta):
Add Since: markers to docs blurbs.
* win32/common/libgstreamer.def:
Add recently-added API.

16 years agoconfigure.ac: Add DATADIR for storing presets.
Stefan Kost [Tue, 27 May 2008 15:11:35 +0000 (15:11 +0000)]
configure.ac: Add DATADIR for storing presets.

Original commit message from CVS:
Patch by: Stefan Kost  <ensonic@users.sf.net>
* configure.ac:
Add DATADIR for storing presets.
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types.in:
Add GstPreset to docs.
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
(preset_open_and_parse_header), (preset_parse_version),
(preset_merge), (preset_get_keyfile),
(gst_preset_default_get_preset_names),
(gst_preset_default_get_property_names),
(gst_preset_default_load_preset),
(gst_preset_default_save_presets_file),
(gst_preset_default_save_preset),
(gst_preset_default_rename_preset),
(gst_preset_default_delete_preset), (gst_preset_default_set_meta),
(gst_preset_default_get_meta), (gst_preset_default_randomize),
(gst_preset_default_reset), (gst_preset_get_preset_names),
(gst_preset_get_property_names), (gst_preset_load_preset),
(gst_preset_save_preset), (gst_preset_rename_preset),
(gst_preset_delete_preset), (gst_preset_set_meta),
(gst_preset_get_meta), (gst_preset_class_init),
(gst_preset_base_init), (gst_preset_get_type):
* gst/gstpreset.h:
Add GstPreset to core. Fixes #396779
* tests/check/Makefile.am:
* tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
(gst_preset_test_set_property), (gst_preset_test_class_init),
(gst_preset_test_base_init), (gst_preset_test_get_type),
(gst_preset_test_plugin_init), (GST_START_TEST),
(remove_preset_file), (test_setup), (test_teardown),
(gst_preset_suite):
Add GstPreset unit tests.

16 years agogst/gstpad.c: The default event function on a sinkpad should return TRUE when there...
Wim Taymans [Tue, 27 May 2008 10:59:38 +0000 (10:59 +0000)]
gst/gstpad.c: The default event function on a sinkpad should return TRUE when there are no internal links but should ...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default_dispatch):
The default event function on a sinkpad should return TRUE when
there are no internal links but should collect the return values from
the internal links otherwise.

16 years agoplugins/elements/gsttypefindelement.c: Use faster and safer _pad_push_event().
Wim Taymans [Tue, 27 May 2008 10:57:11 +0000 (10:57 +0000)]
plugins/elements/gsttypefindelement.c: Use faster and safer _pad_push_event().

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_src_event),
(gst_type_find_element_handle_event):
Use faster and safer _pad_push_event().

16 years agoAPI: add gst_bin_find_unlinked_pad()
Tim-Philipp Müller [Tue, 27 May 2008 10:50:49 +0000 (10:50 +0000)]
API: add gst_bin_find_unlinked_pad()

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.c: (element_find_unlinked_pad),
(gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
* gst/gstutils.h:
API: add gst_bin_find_unlinked_pad()
API: deprecate gst_bin_find_unconnected_pad() (#401456)

16 years agogst/: Fixed a bunch of typos.
Peter Kjellerstedt [Mon, 26 May 2008 10:07:09 +0000 (10:07 +0000)]
gst/: Fixed a bunch of typos.

Original commit message from CVS:
* gst/gstclock.c:
* gst/gstclock.h:
* gst/gsttask.c:
* gst/gsttask.h:
Fixed a bunch of typos.

16 years agogst/: 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
Tim-Philipp Müller [Sun, 25 May 2008 16:34:32 +0000 (16:34 +0000)]
gst/: 'unconnected pad' -> 'unlinked pad' for consistency (#401456).

Original commit message from CVS:
* gst/gstpad.h:
* gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
(gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
(gst_parse_bin_from_description_full):
* gst/gstutils.h:
'unconnected pad' -> 'unlinked pad' for consistency (#401456).

16 years agodocs/pwg/advanced-tagging.xml: Small docs update, can't be bothered to rewrite the...
Tim-Philipp Müller [Sun, 25 May 2008 16:13:38 +0000 (16:13 +0000)]
docs/pwg/advanced-tagging.xml: Small docs update, can't be bothered to rewrite the nonsensical examples right now.

Original commit message from CVS:
* docs/pwg/advanced-tagging.xml:
Small docs update, can't be bothered to rewrite the nonsensical
examples right now.

16 years agogst/gstevent.h: Clarify docs for GST_SEEK_TYPE_CUR (#534505).
Tim-Philipp Müller [Sun, 25 May 2008 14:44:44 +0000 (14:44 +0000)]
gst/gstevent.h: Clarify docs for GST_SEEK_TYPE_CUR (#534505).

Original commit message from CVS:
* gst/gstevent.h:
Clarify docs for GST_SEEK_TYPE_CUR (#534505).

16 years agogst/parse/grammar.y: Remove unneeded casts.
Tim-Philipp Müller [Sun, 25 May 2008 14:13:22 +0000 (14:13 +0000)]
gst/parse/grammar.y: Remove unneeded casts.

Original commit message from CVS:
* gst/parse/grammar.y:
Remove unneeded casts.

16 years agoGet all missing elements from a parse launch string if possible (ie. if the FATAL_ERR...
Tim-Philipp Müller [Sun, 25 May 2008 13:56:38 +0000 (13:56 +0000)]
Get all missing elements from a parse launch string if possible (ie. if the FATAL_ERRORS flag has been specified). Fi...

Original commit message from CVS:
* gst/parse/grammar.y:
* tests/check/pipelines/parse-launch.c:
Get all missing elements from a parse launch string if possible
(ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.

16 years agotests/check/: Add some unit tests for the new gst_parse_launch*_full() API. (Exposes...
Tim-Philipp Müller [Sat, 24 May 2008 16:38:15 +0000 (16:38 +0000)]
tests/check/: Add some unit tests for the new gst_parse_launch*_full() API. (Exposes a previously-existing memory lea...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/parse-launch.c:
Add some unit tests for the new gst_parse_launch*_full() API.
(Exposes a previously-existing memory leak in the error code
path, so adding to VALGRIND_TO_FIX for now).

16 years agoAPI: gst_parse_launch_full()
Tim-Philipp Müller [Sat, 24 May 2008 15:33:53 +0000 (15:33 +0000)]
API: gst_parse_launch_full()

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c: (init_post):
* gst/gst_private.h: (_GstParseContext):
* gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
(gst_parse_context_free), (gst_parse_context_get_missing_elements),
(gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
(gst_parse_launch_full):
* gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
(GstParseFlags), (GstParseContext):
* gst/gstutils.c: (gst_parse_bin_from_description),
(gst_parse_bin_from_description_full):
* gst/gstutils.h:
* gst/parse/grammar.y:
* gst/parse/types.h:
* win32/common/libgstreamer.def:
Add new gst_parse_*_full API (#528178):
API: gst_parse_launch_full()
API: gst_parse_launchv_full()
API: gst_parse_bin_from_description_full()
API: gst_parse_context_new()
API: gst_parse_context_free()
API: gst_parse_context_get_missing_elements()

16 years agodocs/faq/gst-uninstalled: Also support ffmpeg in gst-uninstalled.
Suresh Kumar P [Fri, 23 May 2008 06:50:10 +0000 (06:50 +0000)]
docs/faq/gst-uninstalled: Also support ffmpeg in gst-uninstalled.

Original commit message from CVS:
patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
* docs/faq/gst-uninstalled:
Also support ffmpeg in gst-uninstalled.

16 years agoconfigure.ac: After discussion on IRC use the binary registry as default but allow...
Sebastian Dröge [Thu, 22 May 2008 20:29:20 +0000 (20:29 +0000)]
configure.ac: After discussion on IRC use the binary registry as default but allow to disable it with --disable-binar...

Original commit message from CVS:
* configure.ac:
After discussion on IRC use the binary registry as default
but allow to disable it with --disable-binary-registry.
* win32/common/libgstreamer.def:
Add the two new symbols for the binary registry.

16 years agogst/: More guards against bad input; typo fix; some minor clean-ups.
Tim-Philipp Müller [Thu, 22 May 2008 15:38:54 +0000 (15:38 +0000)]
gst/: More guards against bad input; typo fix; some minor clean-ups.

Original commit message from CVS:
* gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
* gst/gstutils.c: (gst_parse_bin_from_description):
* gst/parse/grammar.y: (graph):
More guards against bad input; typo fix; some minor clean-ups.

16 years agolibs/gst/base/gstbasesink.c: If nothing else can be used, use the last buffer's start...
Sjoerd Simons [Thu, 22 May 2008 08:33:27 +0000 (08:33 +0000)]
libs/gst/base/gstbasesink.c: If nothing else can be used, use the last buffer's start time as the segment's last stop...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
If nothing else can be used, use the last buffer's start time as
the segment's last stop. Fixes bug #534258.

16 years agogst/gstpad.c: Move size sanity check to the right place: downstream may return a...
Tim-Philipp Müller [Wed, 21 May 2008 18:33:08 +0000 (18:33 +0000)]
gst/gstpad.c: Move size sanity check to the right place: downstream may return a buffer with a smaller size if the bu...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer_full):
Move size sanity check to the right place: downstream may return
a buffer with a smaller size if the buffer caps are different than
the requested ones, as may happen when doing reverse negotiation.

16 years agoplugins/elements/: Small cleanups. Add note adbout g_fopen() on windows and why we...
Wim Taymans [Wed, 21 May 2008 16:06:53 +0000 (16:06 +0000)]
plugins/elements/: Small cleanups. Add note adbout g_fopen() on windows and why we don't use it yet.

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
(gst_file_sink_render):
* plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
(gst_file_src_start):
Small cleanups. Add note adbout g_fopen() on windows and why we don't
use it yet.

16 years agoDon't use gst_element_get_pad().
Wim Taymans [Wed, 21 May 2008 15:57:52 +0000 (15:57 +0000)]
Don't use gst_element_get_pad().

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_load_and_link):
* gst/gstutils.c: (gst_element_link_pads),
(gst_element_unlink_pads):
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
(gst_check_teardown_sink_pad),
(gst_check_element_push_buffer_list):
* tests/check/elements/fakesink.c: (GST_START_TEST):
* tests/check/elements/filesink.c:
* tests/check/elements/filesrc.c: (GST_START_TEST):
* tests/check/elements/multiqueue.c: (setup_multiqueue),
(mq_sinkpad_to_srcpad):
* tests/check/elements/tee.c: (GST_START_TEST):
* tests/check/generic/sinks.c: (GST_START_TEST):
* tests/check/gst/gstbin.c: (GST_START_TEST):
* tests/check/gst/gstevent.c: (GST_START_TEST):
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
* tests/check/gst/gstpipeline.c: (GST_START_TEST):
* tests/check/gst/gstquery.c: (GST_START_TEST):
* tests/check/gst/gstutils.c: (GST_START_TEST):
* tests/check/libs/basesrc.c: (GST_START_TEST):
* tests/check/pipelines/parse-launch.c: (run_delayed_test),
(gst_parse_test_element_change_state):
Don't use gst_element_get_pad().

16 years agodocs/Makefile.am: Fix installing plugin documentation when gtk-doc is disabled.
Felipe Contreras [Wed, 21 May 2008 15:54:28 +0000 (15:54 +0000)]
docs/Makefile.am: Fix installing plugin documentation when gtk-doc is disabled.

Original commit message from CVS:
* docs/Makefile.am:
Fix installing plugin documentation when gtk-doc is disabled.

16 years agodocs/manual/: Avoid using a bad function in the example code.
Wim Taymans [Wed, 21 May 2008 15:51:25 +0000 (15:51 +0000)]
docs/manual/: Avoid using a bad function in the example code.

Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
* docs/manual/highlevel-components.xml:
Avoid using a bad function in the example code.

16 years agogst/gstclock.c: Fix debug of the new clock rate.
Wim Taymans [Wed, 21 May 2008 15:49:21 +0000 (15:49 +0000)]
gst/gstclock.c: Fix debug of the new clock rate.

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_set_calibration):
Fix debug of the new clock rate.

16 years agowin32/common/libgstbase.def: Add gst_base_sink_wait_clock() to the exported symbols.
Sebastian Dröge [Wed, 21 May 2008 11:10:32 +0000 (11:10 +0000)]
win32/common/libgstbase.def: Add gst_base_sink_wait_clock() to the exported symbols.

Original commit message from CVS:
* win32/common/libgstbase.def:
Add gst_base_sink_wait_clock() to the exported symbols.

16 years agolibs/gst/base/gstbasetransform.c: Unref events that the GstBaseTransform::event vfunc...
Tim-Philipp Müller [Tue, 20 May 2008 08:28:24 +0000 (08:28 +0000)]
libs/gst/base/gstbasetransform.c: Unref events that the GstBaseTransform::event vfunc didn't want to have forwarded b...

Original commit message from CVS:
Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_event):
Unref events that the GstBaseTransform::event vfunc didn't want to
have forwarded by the base class. Closes a leak in identity.
Fixes bug #446763.

16 years agoExpose a method that was previously used internally to synchronize against the clock...
Wim Taymans [Mon, 19 May 2008 16:36:51 +0000 (16:36 +0000)]
Expose a method that was previously used internally to synchronize against the clock because it can be useful for sub...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
* libs/gst/base/gstbasesink.h:
Expose a method that was previously used internally to synchronize
against the clock because it can be useful for subclasses too.
GstBaseSink::gst_base_sink_wait_clock()

16 years agogst/gstpad.c: Add sanity check to make sure we don't get smaller buffers than request...
Tim-Philipp Müller [Mon, 19 May 2008 11:59:34 +0000 (11:59 +0000)]
gst/gstpad.c: Add sanity check to make sure we don't get smaller buffers than requested (and fallback to normal buffe...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
Add sanity check to make sure we don't get smaller buffers
than requested (and fallback to normal buffer alloc if we do).

16 years agolibs/gst/base/gstbasesink.c: Refactor adjusting the running_time with latency and...
Wim Taymans [Mon, 19 May 2008 11:11:49 +0000 (11:11 +0000)]
libs/gst/base/gstbasesink.c: Refactor adjusting the running_time with latency and offset into a separate method.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
(gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
(gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
Refactor adjusting the running_time with latency and offset into a
separate method.
When doing clipping, we still want to use the subclass get_times method,
just in case the DURATION or TIMESTAMP are not set.

16 years agoAPI: add gst_type_find_suggest_simple(), #533740.
Tim-Philipp Müller [Mon, 19 May 2008 10:46:44 +0000 (10:46 +0000)]
API: add gst_type_find_suggest_simple(), #533740.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttypefind.c: (gst_type_find_suggest_simple):
* gst/gsttypefind.h:
* win32/common/libgstreamer.def:
API: add gst_type_find_suggest_simple(), #533740.

16 years agolibs/gst/base/gstbasesrc.c: Use right error code when typefinding fails, so we can...
Tim-Philipp Müller [Mon, 19 May 2008 10:29:57 +0000 (10:29 +0000)]
libs/gst/base/gstbasesrc.c: Use right error code when typefinding fails, so we can use the default (translated) error...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_start):
Use right error code when typefinding fails, so we can use
the default (translated) error messages.

16 years agolibs/gst/base/gstbasesrc.c: When the subclass did not set caps on outgoing buffers...
Wim Taymans [Mon, 19 May 2008 10:03:09 +0000 (10:03 +0000)]
libs/gst/base/gstbasesrc.c: When the subclass did not set caps on outgoing buffers, configure the caps we negotiated ...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_start):
When the subclass did not set caps on outgoing buffers, configure the
caps we negotiated on the source pad.
When the typefind helper does not find caps, error out properly instead
of doing things with NULL caps.

16 years agogst/gsttypefind.h: Tabs to spaces, oh yes!
Tim-Philipp Müller [Sun, 18 May 2008 18:53:50 +0000 (18:53 +0000)]
gst/gsttypefind.h: Tabs to spaces, oh yes!

Original commit message from CVS:
* gst/gsttypefind.h:
Tabs to spaces, oh yes!

16 years agoChangeLog surgery
Tim-Philipp Müller [Sun, 18 May 2008 12:13:42 +0000 (12:13 +0000)]
ChangeLog surgery

Original commit message from CVS:
ChangeLog surgery

16 years agotests/check/gst/gstcaps.c: Add David's and Benjamin's tests for array subtraction...
Tim-Philipp Müller [Sun, 18 May 2008 11:52:39 +0000 (11:52 +0000)]
tests/check/gst/gstcaps.c: Add David's and Benjamin's tests for array subtraction to the unit test suite, which sugge...

Original commit message from CVS:
* tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
Add David's and Benjamin's tests for array subtraction to the
unit test suite, which suggests that #147931 is fixed these days.

16 years agogst/gstevent.c: Document that gst_event_new_tag() and gst_event_new_navigation()...
Tim-Philipp Müller [Sun, 18 May 2008 11:35:43 +0000 (11:35 +0000)]
gst/gstevent.c: Document that gst_event_new_tag() and gst_event_new_navigation() take ownership of the taglist/struct...

Original commit message from CVS:
* gst/gstevent.c:
Document that gst_event_new_tag() and gst_event_new_navigation()
take ownership of the taglist/structure passed to them. (#533635).