platform/upstream/gstreamer.git
18 years agogst/: Add note about refcounting and miniobject/buffer writeability to docs. Fixes...
Wim Taymans [Fri, 5 May 2006 14:27:31 +0000 (14:27 +0000)]
gst/: Add note about refcounting and miniobject/buffer writeability to docs. Fixes #340604

Original commit message from CVS:
* gst/gstbuffer.h:
* gst/gstminiobject.c:
Add note about refcounting and miniobject/buffer writeability
to docs. Fixes #340604
* gst/gstelementfactory.h:
Added some explanation about @klass.

18 years agoAvoid CORBA & Bonobo references (#340598)
Maciej Katafiasz [Fri, 5 May 2006 14:09:21 +0000 (14:09 +0000)]
Avoid CORBA & Bonobo references (#340598)

Original commit message from CVS:
Avoid CORBA & Bonobo references (#340598)

18 years agoFix up some inaccuracies and omissions in ADM (#340609)
Maciej Katafiasz [Fri, 5 May 2006 13:53:28 +0000 (13:53 +0000)]
Fix up some inaccuracies and omissions in ADM (#340609)

Original commit message from CVS:
Fix up some inaccuracies and omissions in ADM (#340609)

18 years agoSmall typo in docs (#340625)
Maciej Katafiasz [Fri, 5 May 2006 12:53:33 +0000 (12:53 +0000)]
Small typo in docs (#340625)

Original commit message from CVS:
Small typo in docs (#340625)

18 years agogst/parse/Makefile.am: Make 'make -j' proof (see #340698).
Tim-Philipp Müller [Fri, 5 May 2006 09:01:52 +0000 (09:01 +0000)]
gst/parse/Makefile.am: Make 'make -j' proof (see #340698).

Original commit message from CVS:
* gst/parse/Makefile.am:
Make 'make -j' proof (see #340698).

18 years agoconfigure.ac: Require GLib-2.8 here as well.
Tim-Philipp Müller [Fri, 5 May 2006 08:56:32 +0000 (08:56 +0000)]
configure.ac: Require GLib-2.8 here as well.

Original commit message from CVS:
* configure.ac:
Require GLib-2.8 here as well.

18 years agogst/: Remove pre glib2.8 compatibility, fixes #340508
Wim Taymans [Fri, 5 May 2006 08:17:22 +0000 (08:17 +0000)]
gst/: Remove pre glib2.8 compatibility, fixes #340508

Original commit message from CVS:
* gst/glib-compat.c:
* gst/gst.c: (init_pre):
* gst/gstobject.c: (gst_object_init), (gst_object_ref),
(gst_object_unref), (gst_object_replace), (gst_object_dispose),
(gst_object_dispatch_properties_changed):
* gst/gstobject.h:
* gst/gstregistryxml.c: (gst_registry_xml_read_cache):
* gst/gststructure.c: (gst_structure_set_valist):
* gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
Remove pre glib2.8 compatibility, fixes #340508

18 years agogst/gsttaglist.h: Mention type of tags in doc blurbs.
Tim-Philipp Müller [Thu, 4 May 2006 18:14:31 +0000 (18:14 +0000)]
gst/gsttaglist.h: Mention type of tags in doc blurbs.

Original commit message from CVS:
* gst/gsttaglist.h:
Mention type of tags in doc blurbs.

18 years agogst/gstpad.c: Restore acceptcaps checking behaviour now that good plugins have been...
Jan Schmidt [Thu, 4 May 2006 16:34:20 +0000 (16:34 +0000)]
gst/gstpad.c: Restore acceptcaps checking behaviour now that good plugins have been released.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_push):
Restore acceptcaps checking behaviour now that good plugins have
been released.

18 years agoMake sure gstprivate.h and/or config.h are always included first, otherwise some...
James Andrewartha [Thu, 4 May 2006 15:20:14 +0000 (15:20 +0000)]
Make sure gstprivate.h and/or config.h are always included first, otherwise some of our defines (like _FILE_OFFSET_BI...

Original commit message from CVS:
Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
* gst/gst.c:
* gst/gstbus.c:
* gst/gstclock.c:
* gst/gstevent.c:
* gst/gstformat.c:
* gst/gstmessage.c:
* gst/gstparse.c:
* gst/gstquery.c:
* gst/gstutils.c:
* gst/parse/Makefile.am:
* libs/gst/base/gstadapter.c:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstpushsrc.c:
* libs/gst/base/gsttypefindhelper.c:
* plugins/elements/gstfakesrc.c:
* plugins/elements/gstidentity.c:
Make sure gstprivate.h and/or config.h are
always included first, otherwise some of our
defines (like _FILE_OFFSET_BITS) might be
redefined in the system headers. Fixes build
on opensolaris (#340016).

18 years agodocs/libs/gstreamer-libs-sections.txt: API: addition: gst_adapter_take_buffer()
Wim Taymans [Thu, 4 May 2006 14:19:53 +0000 (14:19 +0000)]
docs/libs/gstreamer-libs-sections.txt: API: addition: gst_adapter_take_buffer()

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
API: addition: gst_adapter_take_buffer()
* libs/gst/base/gstadapter.c: (gst_adapter_push),
(gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
(gst_adapter_available_fast):
* libs/gst/base/gstadapter.h:
Prepare for optimizing the hell out of this hugely inefficient
piece of code.
Added gst_adapter_take_buffer() so we can at least start thinking
about subbuffering and merging.
Added some comments.
* tests/check/Makefile.am:
* tests/check/libs/adapter.c: (GST_START_TEST),
(gst_adapter_suite), (main):
Added GstAdapter check.

18 years agodocs/design/part-overview.txt: Fix some typos, add blurb about buffer flags.
Wim Taymans [Thu, 4 May 2006 13:30:30 +0000 (13:30 +0000)]
docs/design/part-overview.txt: Fix some typos, add blurb about buffer flags.

Original commit message from CVS:
* docs/design/part-overview.txt:
Fix some typos, add blurb about buffer flags.

18 years agodocs/libs/gstreamer-libs-sections.txt: make sure GstBaseTransformClass shows up in...
Thomas Vander Stichele [Wed, 3 May 2006 16:45:11 +0000 (16:45 +0000)]
docs/libs/gstreamer-libs-sections.txt: make sure GstBaseTransformClass shows up in the docs

Original commit message from CVS:

* docs/libs/gstreamer-libs-sections.txt:
make sure GstBaseTransformClass shows up in the docs
* libs/gst/base/gstbasetransform.c:
* libs/gst/base/gstbasetransform.h:
move docs so gtk-doc picks it up now

18 years agowhitespace removal and width coercion
Thomas Vander Stichele [Wed, 3 May 2006 16:42:08 +0000 (16:42 +0000)]
whitespace removal and width coercion

Original commit message from CVS:
whitespace removal and width coercion

18 years agowhitespace moving
Thomas Vander Stichele [Wed, 3 May 2006 16:40:57 +0000 (16:40 +0000)]
whitespace moving

Original commit message from CVS:
whitespace moving

18 years agodocs/libs/gstreamer-libs-sections.txt: add missing symbols to docs
Stefan Kost [Tue, 2 May 2006 17:29:07 +0000 (17:29 +0000)]
docs/libs/gstreamer-libs-sections.txt: add missing symbols to docs

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
add missing symbols to docs

18 years agolibs/gst/base/gstcollectpads.c: back out the newsegment handling change, see #340060...
Stefan Kost [Tue, 2 May 2006 17:17:22 +0000 (17:17 +0000)]
libs/gst/base/gstcollectpads.c: back out the newsegment handling change, see #340060 for ongoing discussion

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
back out the newsegment handling change, see #340060 for ongoing
discussion

18 years agotools/gst-run.c: Fix wrong g_file_test() usage (see glib docs for why it doesn't...
Tim-Philipp Müller [Sat, 29 Apr 2006 23:15:40 +0000 (23:15 +0000)]
tools/gst-run.c: Fix wrong g_file_test() usage (see glib docs for why it doesn't work); fix typo in error message. Fi...

Original commit message from CVS:
* tools/gst-run.c: (get_candidates), (main):
Fix wrong g_file_test() usage (see glib docs for why it doesn't
work); fix typo in error message. Fixes #340079.

18 years agoignore more
Thomas Vander Stichele [Sat, 29 Apr 2006 00:38:06 +0000 (00:38 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agomove upload.mak to common
Thomas Vander Stichele [Sat, 29 Apr 2006 00:36:47 +0000 (00:36 +0000)]
move upload.mak to common

Original commit message from CVS:
* common/Makefile.am:
* docs/Makefile.am:
* docs/faq/Makefile.am:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/manual/Makefile.am:
* docs/plugins/Makefile.am:
* docs/pwg/Makefile.am:
* docs/slides/Makefile.am:
* docs/upload.mak:
* common/upload.mak:
move upload.mak to common

18 years agoadd more notes on moving
Thomas Vander Stichele [Sat, 29 Apr 2006 00:35:48 +0000 (00:35 +0000)]
add more notes on moving

Original commit message from CVS:
add more notes on moving

18 years agotests/check/gst/gstghostpad.c: add more asserts on refcounts do more cleanup at end...
Thomas Vander Stichele [Sat, 29 Apr 2006 00:33:44 +0000 (00:33 +0000)]
tests/check/gst/gstghostpad.c: add more asserts on refcounts do more cleanup at end of tests fix test leaks showing i...

Original commit message from CVS:
2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>

* tests/check/gst/gstghostpad.c: (GST_START_TEST):
add more asserts on refcounts
do more cleanup at end of tests
fix test leaks showing in FC5

18 years agoplugins/elements/gsttypefindelement.c: reverted wrong change and reflowed code to...
Stefan Kost [Fri, 28 Apr 2006 22:56:28 +0000 (22:56 +0000)]
plugins/elements/gsttypefindelement.c: reverted wrong change and reflowed code to avoid others falling into this trap

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
reverted wrong change and reflowed code to avoid others falling into
this trap

18 years agolibs/gst/base/gstcollectpads.c: fix changelog entry about last collectpads change...
Stefan Kost [Fri, 28 Apr 2006 20:55:33 +0000 (20:55 +0000)]
libs/gst/base/gstcollectpads.c: fix changelog entry about last collectpads change, add notes about proper fix

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
fix changelog entry about last collectpads change,
add notes about proper fix

18 years agogst/: only write out registry if it has changed, fixes #338339
Stefan Kost [Fri, 28 Apr 2006 20:47:23 +0000 (20:47 +0000)]
gst/: only write out registry if it has changed, fixes #338339

Original commit message from CVS:
* gst/gst.c:
* gst/gstregistry.c: (gst_registry_scan_path_level),
(gst_registry_scan_path):
* gst/gstregistry.h:
only write out registry if it has changed, fixes #338339

18 years agogst/: only write out registry if it has changed, fixes #338339
Stefan Kost [Fri, 28 Apr 2006 20:44:21 +0000 (20:44 +0000)]
gst/: only write out registry if it has changed, fixes #338339

Original commit message from CVS:
* gst/gst.c:
* gst/gstregistry.c: (gst_registry_scan_path_level),
(gst_registry_scan_path):
* gst/gstregistry.h:
only write out registry if it has changed, fixes #338339

18 years agomake GstElementDetails const
Stefan Kost [Fri, 28 Apr 2006 18:55:17 +0000 (18:55 +0000)]
make GstElementDetails const

Original commit message from CVS:
* gst/gstbin.c:
* gst/gstpipeline.c:
* 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/gstqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
make GstElementDetails const

18 years agolibs/gst/base/: more detailed debug and formatting cleanup
Stefan Kost [Fri, 28 Apr 2006 18:48:38 +0000 (18:48 +0000)]
libs/gst/base/: more detailed debug and formatting cleanup

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
(gst_collect_pads_is_collected), (gst_collect_pads_event):
more detailed debug and formatting cleanup

18 years agogst/gstutils.c: cleanup double code
Stefan Kost [Fri, 28 Apr 2006 17:52:13 +0000 (17:52 +0000)]
gst/gstutils.c: cleanup double code

Original commit message from CVS:
* gst/gstutils.c: (gst_element_link_pads):
cleanup double code

18 years agolibs/gst/controller/gstcontroller.c: some little tuning
Stefan Kost [Fri, 28 Apr 2006 17:33:41 +0000 (17:33 +0000)]
libs/gst/controller/gstcontroller.c: some little tuning

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controller_sync_values):
some little tuning
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
a new test for live value handling

18 years agoGive credit to Tapi Paavola for last patch
Wim Taymans [Fri, 28 Apr 2006 15:51:56 +0000 (15:51 +0000)]
Give credit to Tapi Paavola for last patch

Original commit message from CVS:
Give credit to Tapi Paavola for last patch

18 years agogst/gstutils.c: Added some more docs.
Wim Taymans [Fri, 28 Apr 2006 15:48:50 +0000 (15:48 +0000)]
gst/gstutils.c: Added some more docs.

Original commit message from CVS:
* gst/gstutils.c: (push_and_ref):
Added some more docs.
Fix refcount issue whith gst_element_found_tags() helper
function. Fixes #338335
* tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Added testsuite for gst_element_found_tags().

18 years agogst/gstvalue.c: Avoid NULL dereference when trying to serialize flags containing...
Michael Smith [Fri, 28 Apr 2006 13:51:00 +0000 (13:51 +0000)]
gst/gstvalue.c: Avoid NULL dereference when trying to serialize flags containing invalid values.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_serialize_flags):
Avoid NULL dereference when trying to serialize flags containing
invalid values.

18 years agosmall doc fix
Thomas Vander Stichele [Fri, 28 Apr 2006 13:44:20 +0000 (13:44 +0000)]
small doc fix

Original commit message from CVS:
small doc fix

18 years agoplugins/elements/gsttypefindelement.c: If we get EOS before any data is accumulated...
Michael Smith [Fri, 28 Apr 2006 13:43:03 +0000 (13:43 +0000)]
plugins/elements/gsttypefindelement.c: If we get EOS before any data is accumulated, don't use uninitialised local va...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
If we get EOS before any data is accumulated, don't use
uninitialised local variables.

18 years agolibs/gst/dataprotocol/dataprotocol.c: Fixes in reading/writing events over GDP (not...
Michael Smith [Fri, 28 Apr 2006 13:40:15 +0000 (13:40 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Fixes in reading/writing events over GDP (not currently used?) - dereferencing ...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fixes in reading/writing events over GDP (not currently used?) -
dereferencing NULL events for unknown/invalid event types, memory
leak, and change g_warning to GST_WARNING.

18 years agolibs/gst/base/gstbasesink.c: When frame dropping is enabled, we should not ignore...
Wim Taymans [Fri, 28 Apr 2006 13:25:58 +0000 (13:25 +0000)]
libs/gst/base/gstbasesink.c: When frame dropping is enabled, we should not ignore frames without a duration.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
(gst_base_sink_do_render_stats), (gst_base_sink_render_object),
(gst_base_sink_get_position), (gst_base_sink_change_state):
When frame dropping is enabled, we should not ignore frames
without a duration.
Update some documentation.

18 years agolibs/gst/base/gstbasesrc.c: Documentation updates.
Wim Taymans [Fri, 28 Apr 2006 13:18:41 +0000 (13:18 +0000)]
libs/gst/base/gstbasesrc.c: Documentation updates.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_send_event), (gst_base_src_change_state):
Documentation updates.

18 years agoplugins/elements/gstfdsink.c: handle EAGAIN, EINTR and short writes correctly. Also...
Wim Taymans [Fri, 28 Apr 2006 13:16:03 +0000 (13:16 +0000)]
plugins/elements/gstfdsink.c: handle EAGAIN, EINTR and short writes correctly. Also clean up some error cases, avoid ...

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_render),
(gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
handle EAGAIN, EINTR and short writes correctly. Also clean
up some error cases, avoid a deadlock on bad file descriptors and
use GST_DEBUG_OBJECT.
Fixes #339843

18 years agogst/gstvalue.c: Don't try to serialize a GValue with a NULL buffer.
Wim Taymans [Fri, 28 Apr 2006 13:13:23 +0000 (13:13 +0000)]
gst/gstvalue.c: Don't try to serialize a GValue with a NULL buffer.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_serialize_buffer),
(gst_value_deserialize_buffer):
Don't try to serialize a GValue with a NULL buffer.
Fixes #339821.
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Added check for serialisation of NULL buffers.

18 years agogst/gstminiobject.c: Taking a NULL miniobject is valid, fix the case where we try...
Wim Taymans [Fri, 28 Apr 2006 13:10:07 +0000 (13:10 +0000)]
gst/gstminiobject.c: Taking a NULL miniobject is valid, fix the case where we try to unref the NULL miniobject.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_value_take_mini_object):
Taking a NULL miniobject is valid, fix the case where
we try to unref the NULL miniobject.

18 years agoupdate win32 config.h
Thomas Vander Stichele [Fri, 28 Apr 2006 13:05:19 +0000 (13:05 +0000)]
update win32 config.h

Original commit message from CVS:
update win32 config.h

18 years agogst/gstbin.c: Update docs.
Stefan Kost [Fri, 28 Apr 2006 13:04:07 +0000 (13:04 +0000)]
gst/gstbin.c: Update docs.

Original commit message from CVS:
Patch by: Stefan Kost <ensonic at sonicpulse dot de>
* gst/gstbin.c: (gst_bin_handle_message_func):
Update docs.
Don't leak bin refcount when a state recalc is
in progress and we delay another one #339808.

18 years agodocs/design/part-TODO.txt: Mention QoS as an ongoing work item.
Wim Taymans [Fri, 28 Apr 2006 12:58:15 +0000 (12:58 +0000)]
docs/design/part-TODO.txt: Mention QoS as an ongoing work item.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Mention QoS as an ongoing work item.
* docs/design/part-buffering.txt:
New doc about buffering that needs to be fleshed out
at some point.
* docs/design/part-qos.txt:
More QoS policy for decoders/demuxers/transforms
* docs/design/part-trickmodes.txt:
Small update.

18 years agoback to HEAD
Thomas Vander Stichele [Fri, 28 Apr 2006 10:56:04 +0000 (10:56 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.5 RELEASE-0_10_5
Thomas Vander Stichele [Fri, 28 Apr 2006 10:53:33 +0000 (10:53 +0000)]
releasing 0.10.5

Original commit message from CVS:
releasing 0.10.5

18 years agofix upload.mak; should move to common
Thomas Vander Stichele [Fri, 28 Apr 2006 09:48:09 +0000 (09:48 +0000)]
fix upload.mak; should move to common

Original commit message from CVS:
fix upload.mak; should move to common

18 years agoadding missing dsp files
Thomas Vander Stichele [Fri, 28 Apr 2006 09:20:26 +0000 (09:20 +0000)]
adding missing dsp files

Original commit message from CVS:
adding missing dsp files

18 years agoprerelease
Thomas Vander Stichele [Wed, 26 Apr 2006 13:54:48 +0000 (13:54 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agogst/: Fix internal data flow errors. Fixes #338711.
Wim Taymans [Sat, 22 Apr 2006 21:34:23 +0000 (21:34 +0000)]
gst/: Fix internal data flow errors.  Fixes #338711.

Original commit message from CVS:

patch by: Wim Taymans

* gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_push):
* gst/gstpipeline.c: (gst_pipeline_init):
Fix internal data flow errors.  Fixes #338711.

18 years agotests/check/gst/gstelement.c: Don't leak the factory.
Wim Taymans [Wed, 12 Apr 2006 11:58:43 +0000 (11:58 +0000)]
tests/check/gst/gstelement.c: Don't leak the factory.

Original commit message from CVS:
* tests/check/gst/gstelement.c: (GST_START_TEST):
Don't leak the factory.

18 years agoupdated translations
Thomas Vander Stichele [Wed, 12 Apr 2006 11:06:44 +0000 (11:06 +0000)]
updated translations

Original commit message from CVS:
updated translations

18 years agoupdate libtool versioning
Thomas Vander Stichele [Wed, 12 Apr 2006 11:04:36 +0000 (11:04 +0000)]
update libtool versioning

Original commit message from CVS:
update libtool versioning

18 years agoprerelease
Thomas Vander Stichele [Wed, 12 Apr 2006 10:57:26 +0000 (10:57 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agolibs/gst/controller/gstcontroller.c: Free allocated GstTimedValues when freeing list...
Tim-Philipp Müller [Wed, 12 Apr 2006 10:28:53 +0000 (10:28 +0000)]
libs/gst/controller/gstcontroller.c: Free allocated GstTimedValues when freeing list nodes.

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_unset),
(gst_controller_unset_all):
Free allocated GstTimedValues when freeing list nodes.
Should fix leaks 'make check-valgrind' complains about.
* win32/common/libgstcontroller.def:
Add gst_controller_unset_all.

18 years agofix ChangeLog
Thomas Vander Stichele [Wed, 12 Apr 2006 10:15:12 +0000 (10:15 +0000)]
fix ChangeLog

Original commit message from CVS:
fix ChangeLog

18 years agoAdded new method _unset_all() and fixed _unset()
Stefan Kost [Tue, 11 Apr 2006 21:07:26 +0000 (21:07 +0000)]
Added new method _unset_all() and fixed _unset()

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/controller/gstcontroller.c: (gst_controller_unset),
(gst_controller_unset_all):
* libs/gst/controller/gstcontroller.h:
Added new method _unset_all() and fixed _unset()
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Added two testcases for new and fixed method

18 years agolibs/gst/net/gstnettimepacket.c: MSG_DONTWAIT is not defined on Cygwin, so work aroun...
Tim-Philipp Müller [Tue, 11 Apr 2006 18:43:04 +0000 (18:43 +0000)]
libs/gst/net/gstnettimepacket.c: MSG_DONTWAIT is not defined on Cygwin, so work around that (fixes #317048).

Original commit message from CVS:
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
MSG_DONTWAIT is not defined on Cygwin, so work
around that (fixes #317048).

18 years agofix versioning macro
Christian Schaller [Tue, 11 Apr 2006 14:48:34 +0000 (14:48 +0000)]
fix versioning macro

Original commit message from CVS:
fix versioning macro

18 years agogst/gstelementfactory.c: Some cleanups.
Wim Taymans [Tue, 11 Apr 2006 11:47:39 +0000 (11:47 +0000)]
gst/gstelementfactory.c: Some cleanups.

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_register),
(gst_element_factory_create), (gst_element_factory_make):
Some cleanups.
Fixed a FIXME.
Updated docs (Fixes #131079)
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
Small cleanups.
* tests/check/gst/gstelement.c: (GST_START_TEST),
(gst_element_suite):
Added testcase for elementfactory class field.

18 years agogst/gstsegment.c: Added some more docs.
Wim Taymans [Mon, 10 Apr 2006 10:46:44 +0000 (10:46 +0000)]
gst/gstsegment.c: Added some more docs.

Original commit message from CVS:
* gst/gstsegment.c:
Added some more docs.
* libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
(gst_base_sink_reset_qos):
Calculate more accurate rate values.

18 years agogst/gst_private.h: add a new #ifdef to use __declspec(dllimport) only for other modul...
Sébastien Moutte [Sun, 9 Apr 2006 16:57:34 +0000 (16:57 +0000)]
gst/gst_private.h: add a new #ifdef to use __declspec(dllimport) only for other modules and not for gstreamer core

Original commit message from CVS:
* gst/gst_private.h:
add a new #ifdef to use __declspec(dllimport) only for
other modules and not for gstreamer core
* gst/gstbasesink.c: (gst_base_sink_perform_qos):
use gst_guint64_to_gdouble for conversion
* win32/common/libgstreamer.def:
add new exported functions
* win32/vs6/gst_inspect.dsp:
* win32/vs6/gst_launch.dsp:
* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstcontroller.dsp:
* win32/vs6/libgstcoreelements.dsp:
* win32/vs6/libgstdataprotocol.dsp:
* win32/vs6/libgstnet.dsp:
update project files

18 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 20:57:31 +0000 (20:57 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* gst/gstbuffer.c: (gst_subbuffer_class_init):
* gst/gstclock.c: (gst_clock_class_init):
* gst/gstelement.c: (gst_element_class_init):
* gst/gstindex.c: (gst_index_class_init):
* gst/gstindexfactory.c: (gst_index_factory_class_init):
* gst/gstobject.c: (gst_object_class_init),
(gst_signal_object_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstpadtemplate.c: (gst_pad_template_class_init):
* gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
* gst/gstregistry.c: (gst_registry_class_init):
* gst/gstsystemclock.c: (gst_system_clock_class_init):
* gst/gsttask.c: (gst_task_class_init):
* gst/gstxml.c: (gst_xml_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_loop):
* libs/gst/controller/gstcontroller.c:
(_gst_controller_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
* plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
* plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
* tests/old/examples/plugins/example.c: (gst_example_class_init):
* tests/old/testsuite/threads/signals.c: (gst_test_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

18 years agogst/gstpad.c: Must set peer pads before calling the link function, otherwise a task...
Tim-Philipp Müller [Sat, 8 Apr 2006 18:11:56 +0000 (18:11 +0000)]
gst/gstpad.c: Must set peer pads before calling the link function, otherwise a task started from a link function migh...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_link):
Must set peer pads before calling the link function, otherwise
a task started from a link function might get a flow-not-linked
result when trying to push because the other thread where the
linking happens hasn't had a chance to set the peers yet. This
might happen for example when a queue gets linked to a downstream
element, as queue starts a streaming task when its source pad
gets linked. Happens in real life when playing back flac/musepack
files in playbin (#332390).

18 years agoFix broken GObject macros
Stefan Kost [Sat, 8 Apr 2006 18:05:16 +0000 (18:05 +0000)]
Fix broken GObject macros

Original commit message from CVS:
* gst/gstindex.h:
* gst/gstxml.h:
* libs/gst/base/gstadapter.h:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstcollectpads.h:
* libs/gst/base/gstpushsrc.h:
Fix broken GObject macros

18 years agolibs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.
Wim Taymans [Fri, 7 Apr 2006 15:19:08 +0000 (15:19 +0000)]
libs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Initialize start and stop times, thanks valgrind.

18 years agolibs/gst/base/gstbasesink.c: Be a bit nicer to badly behaving upstream elements that...
Wim Taymans [Fri, 7 Apr 2006 14:50:06 +0000 (14:50 +0000)]
libs/gst/base/gstbasesink.c: Be a bit nicer to badly behaving upstream elements that expect us to deal with non TIME ...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Be a bit nicer to badly behaving upstream elements that expect
us to deal with non TIME segments and timestamps (such as fakesrc
in the testsuite).

18 years agogst/gstbus.c: Small documentation clarification about the signal watch.
Wim Taymans [Fri, 7 Apr 2006 14:02:12 +0000 (14:02 +0000)]
gst/gstbus.c: Small documentation clarification about the signal watch.

Original commit message from CVS:
* gst/gstbus.c:
Small documentation clarification about the signal watch.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_wait_clock), (gst_base_sink_do_sync),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_do_render_stats), (gst_base_sink_render_object),
(gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_change_state):
Convert and store timestamps in stream time and running time, the
raw timestamps are not usefull, also document this better.
Use different window sizes for good and bad QoS observations so
we react to badness a little quicker.
Keep track of the amount of rendered and dropped buffers.
Send QoS timestamps in running time.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc),
(gst_base_transform_handle_buffer):
Compare QoS timestamps against running time.

18 years agoadd gnonlin
Thomas Vander Stichele [Thu, 6 Apr 2006 17:36:27 +0000 (17:36 +0000)]
add gnonlin

Original commit message from CVS:
add gnonlin

18 years agogst/gstpad.c: Typo fixes in docs.
Tim-Philipp Müller [Thu, 6 Apr 2006 15:46:04 +0000 (15:46 +0000)]
gst/gstpad.c: Typo fixes in docs.

Original commit message from CVS:
* gst/gstpad.c:
Typo fixes in docs.

18 years agogst/gstpad.c: Use g_value_get_object() instead of g_value_dup_gst_object(), to avoid...
Michael Smith [Thu, 6 Apr 2006 15:07:12 +0000 (15:07 +0000)]
gst/gstpad.c: Use g_value_get_object() instead of g_value_dup_gst_object(), to avoid double-reffing the pad template ...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_property):
Use g_value_get_object() instead of g_value_dup_gst_object(),
to avoid double-reffing the pad template (which we then sink,
so this worked previously if (and only if) the pad template
was floating.

* gst/gstpadtemplate.c: (gst_pad_template_init),
(gst_pad_template_pad_created):
Never return floating references to pad templates, create
them as initially-sunken.

Document an extra function (and make this stop sinking our
pad template, since that is now guaranteed to do nothing,
since we created it sunken).

* gst/gstghostpad.c:
Fix docs typo.

18 years agogst/gstinfo.c: Add some newlines.
Tim-Philipp Müller [Thu, 6 Apr 2006 11:27:24 +0000 (11:27 +0000)]
gst/gstinfo.c: Add some newlines.

Original commit message from CVS:
* gst/gstinfo.c: (__gst_in_valgrind):
Add some newlines.
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
Don't leak buffer caps.

18 years agogst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element...
Michael Smith [Thu, 6 Apr 2006 10:38:54 +0000 (10:38 +0000)]
gst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element references used.

Original commit message from CVS:
* gst/parse/grammar.y:
Fix a leak in parse-launch for any source-or-sink named element
references used.

* tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
Unref the pipeline if it exists after we've failed parsing.

18 years agogst/gstpipeline.c: When we create a pipeline bus, initially create it in flushing...
Michael Smith [Wed, 5 Apr 2006 15:46:00 +0000 (15:46 +0000)]
gst/gstpipeline.c: When we create a pipeline bus, initially create it in flushing mode.

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_init):
When we create a pipeline bus, initially create it in flushing mode.
Fixes leaks in at least one test, and makes a new pipeline work the
same as one that has gone to READY and then back to NULL.

* gst/gstelement.c:
Typo fix in docs.

18 years agotests/check/gst/gstghostpad.c: Unref a pad we reffed.
Michael Smith [Wed, 5 Apr 2006 15:12:39 +0000 (15:12 +0000)]
tests/check/gst/gstghostpad.c: Unref a pad we reffed.

Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Unref a pad we reffed.
* tests/check/gst/gstutils.c: (GST_START_TEST):
Unref bins

18 years agogst/gstquery.c: Fix leaking GValues in queries, as shown by valgrind/testsuite.
Michael Smith [Wed, 5 Apr 2006 13:18:29 +0000 (13:18 +0000)]
gst/gstquery.c: Fix leaking GValues in queries, as shown by valgrind/testsuite.

Original commit message from CVS:
* gst/gstquery.c: (gst_query_set_formats),
(gst_query_set_formatsv):
Fix leaking GValues in queries, as shown by valgrind/testsuite.

18 years agotests/check/generic/sinks.c: Fix a variety of memleaks in sinks check, which are...
Michael Smith [Wed, 5 Apr 2006 12:11:20 +0000 (12:11 +0000)]
tests/check/generic/sinks.c: Fix a variety of memleaks in sinks check, which are only sometimes shown by running the ...

Original commit message from CVS:
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix a variety of memleaks in sinks check, which are only sometimes
shown by running the tests under valgrind (weird?).

18 years agodocs/version.entities.in: Fix the substituted entity name after thomas' changes on...
Jan Schmidt [Wed, 5 Apr 2006 11:04:19 +0000 (11:04 +0000)]
docs/version.entities.in: Fix the substituted entity name after thomas' changes on the weekend.

Original commit message from CVS:
* docs/version.entities.in:
Fix the substituted entity name after thomas' changes on the
weekend.

18 years agogst/gstinfo.c: Use printf instead of
Zaheer Abbas Merali [Wed, 5 Apr 2006 10:31:20 +0000 (10:31 +0000)]
gst/gstinfo.c: Use printf instead of

Original commit message from CVS:
2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
VALGRIND_PRINTF

18 years agogst/gstpad.c (gst_pad_set_blocked_async): More debug. libs/gst/base/gstbasetransform.c
Andy Wingo [Wed, 5 Apr 2006 10:26:29 +0000 (10:26 +0000)]
gst/gstpad.c (gst_pad_set_blocked_async): More debug. libs/gst/base/gstbasetransform.c

Original commit message from CVS:
2006-04-05  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_set_blocked_async): More debug.

* libs/gst/base/gstbasetransform.c
(gst_base_transform_sink_eventfunc): When resetting our segment on
FLUSH_STOP, also update the flag saying we haven't seen a
newsegment.

18 years agogst/gstplugin.c: minor clean-ups: G_DEFINE_TYPE already takes care of the parent_clas...
Paolo Borelli [Tue, 4 Apr 2006 18:02:07 +0000 (18:02 +0000)]
gst/gstplugin.c: minor clean-ups: G_DEFINE_TYPE already takes care of the parent_class stuff, no need to do it twice....

Original commit message from CVS:
Patch by: Paolo Borelli  <pborelli at katamail dot com>
* gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
(gst_plugin_check_license):
minor clean-ups: G_DEFINE_TYPE already takes care of the
parent_class stuff, no need to do it twice. Mark array of
license strings as constant. (#337103)

18 years agotools/gst-inspect.c: Free the right plugin list; fixes a memory leak.
Michael Smith [Tue, 4 Apr 2006 17:54:30 +0000 (17:54 +0000)]
tools/gst-inspect.c: Free the right plugin list; fixes a memory leak.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_list):
Free the right plugin list; fixes a memory leak.

18 years agoplugins/elements/gstfilesink.c: Don't error out on empty buffers (#336945).
Mark Nauwelaerts [Tue, 4 Apr 2006 15:45:36 +0000 (15:45 +0000)]
plugins/elements/gstfilesink.c: Don't error out on empty buffers (#336945).

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
* plugins/elements/gstfilesink.c: (gst_file_sink_render):
Don't error out on empty buffers (#336945).

18 years agoDocumentation updates. Make BaseSink and BaseSrc docs contain the class structure...
Jan Schmidt [Tue, 4 Apr 2006 14:58:50 +0000 (14:58 +0000)]
Documentation updates. Make BaseSink and BaseSrc docs contain the class structure so that people can actually see the...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* gst/gsttaglist.c:
* libs/gst/base/gstbasesink.c:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasesrc.h:
Documentation updates. Make BaseSink and BaseSrc docs contain the
class structure so that people can actually see the prototypes for
virtual functions they're supposed to be overriding.

18 years agoplugins/elements/gsttypefindelement.c: More debug info; when skipping typefinding...
Tim-Philipp Müller [Tue, 4 Apr 2006 08:55:44 +0000 (08:55 +0000)]
plugins/elements/gsttypefindelement.c: More debug info; when skipping typefinding, send cached events in all cases.

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
More debug info; when skipping typefinding, send cached
events in all cases.

18 years agoFix typo in docs.
Michael Smith [Mon, 3 Apr 2006 17:05:31 +0000 (17:05 +0000)]
Fix typo in docs.

Original commit message from CVS:
Fix typo in docs.

18 years agoupdate win32 common dir; update uninstalled script
Thomas Vander Stichele [Mon, 3 Apr 2006 08:59:52 +0000 (08:59 +0000)]
update win32 common dir; update uninstalled script

Original commit message from CVS:
update win32 common dir; update uninstalled script

18 years agodisable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Thomas Vander Stichele [Sat, 1 Apr 2006 15:30:49 +0000 (15:30 +0000)]
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

Original commit message from CVS:
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

18 years agoconfigure.ac: use new AS_VERSION and AS_NANO macros
Thomas Vander Stichele [Sat, 1 Apr 2006 09:41:43 +0000 (09:41 +0000)]
configure.ac: use new AS_VERSION and AS_NANO macros

Original commit message from CVS:

* configure.ac:
use new AS_VERSION and AS_NANO macros
* gst/gst-i18n-lib.h:
* gst/gst.c:
* gst/gsterror.c:
* gst/gstversion.h.in:
* win32/common/config.h:
* win32/common/config.h.in:
update accordingly

18 years agoplugins/elements/gsttypefindelement.c: Do not typefind content if the buffers already...
Michael Smith [Fri, 31 Mar 2006 15:26:04 +0000 (15:26 +0000)]
plugins/elements/gsttypefindelement.c: Do not typefind content if the buffers already have caps. and the right thing ...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
Do not typefind content if the buffers already have caps.
Neccesary for icydemux (#333657), and the right thing to do anyway.

18 years agolibs/gst/base/gstbasesink.c: More QoS measurements as described in the design doc.
Wim Taymans [Thu, 30 Mar 2006 16:36:12 +0000 (16:36 +0000)]
libs/gst/base/gstbasesink.c: More QoS measurements as described in the design doc.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
(gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
(gst_base_sink_record_qos_observation),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_is_too_late), (gst_base_sink_render_object),
(gst_base_sink_change_state):
More QoS measurements as described in the design doc.
Get rid of ringbuffer with observations, running average is
more simple and equally good.
Calculates valid proportion now.
Added beginning of flood measurement.

18 years agoSmall documentation updates and additions.
Wim Taymans [Wed, 29 Mar 2006 13:45:15 +0000 (13:45 +0000)]
Small documentation updates and additions.

Original commit message from CVS:
* docs/design/part-qos.txt:
* gst/gstclock.c:
Small documentation updates and additions.

18 years agolibs/gst/base/gstbasesrc.c: Perform the EOS logic when we reach the segment stop...
Wim Taymans [Wed, 29 Mar 2006 13:39:05 +0000 (13:39 +0000)]
libs/gst/base/gstbasesrc.c: Perform the EOS logic when we reach the segment stop position.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
(gst_base_src_send_event), (gst_base_src_loop),
(gst_base_src_change_state):
Perform the EOS logic when we reach the segment stop position.
Fix compilation on gcc4.1

18 years agoplugins/elements/gstqueue.*: In queue, when EOS is received, if minimum threshold...
Tommi Myöhänen [Wed, 29 Mar 2006 11:02:33 +0000 (11:02 +0000)]
plugins/elements/gstqueue.*: In queue, when EOS is received, if minimum threshold > max_size - current_level, there i...

Original commit message from CVS:
Patch by Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_locked_flush), (gst_queue_handle_sink_event),
(gst_queue_set_property):
* plugins/elements/gstqueue.h:
In queue, when EOS is received, if minimum threshold > max_size -
current_level, there is chance that queue blocks forever in conditional item
del wait. This is because the queue is not emptied completely due to minimum
threshold.
Here is another approach. Instead of setting cur_levels to max in EOS, just
zero all minimum threshold levels. This should make sure that queue gives out
all data. When going to READY (stop) state, just reset the original minimum
threshold levels.
Fixes #336336.

18 years agoplugins/elements/gsttypefindelement.*: When typefinding is done in push mode, we...
Tim-Philipp Müller [Wed, 29 Mar 2006 10:33:19 +0000 (10:33 +0000)]
plugins/elements/gsttypefindelement.*: When typefinding is done in push mode, we should cache events we receive durin...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (stop_typefinding),
(gst_type_find_element_handle_event),
(gst_type_find_element_send_cached_events),
(gst_type_find_element_change_state):
* plugins/elements/gsttypefindelement.h:
When typefinding is done in push mode, we should cache
events we receive during typefinding instead of just
dropping them (e.g. newsegment, custom events from
dvdreadsrc etc.) and then send them out once we've
determined the type of the stream (and decodebin
has had a chance to plug in a decoder/demuxer).

18 years agodocs/design/part-qos.txt: First QoS ideas.
Wim Taymans [Mon, 27 Mar 2006 18:38:49 +0000 (18:38 +0000)]
docs/design/part-qos.txt: First QoS ideas.

Original commit message from CVS:
* docs/design/part-qos.txt:
First QoS ideas.

18 years agolibs/gst/base/gstbasesrc.c: Handle element seek correctly when we are streaming.
Wim Taymans [Mon, 27 Mar 2006 11:48:10 +0000 (11:48 +0000)]
libs/gst/base/gstbasesrc.c: Handle element seek correctly when we are streaming.

Original commit message from CVS:
Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
* libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
(gst_base_src_send_event), (gst_base_src_change_state):
Handle element seek correctly when we are streaming.
Fixes #326998.

18 years agodocs/faq/gst-uninstalled: Set up LD_LIBRARY_PATH to point at all the gstreamer libs...
Michael Smith [Fri, 24 Mar 2006 18:38:12 +0000 (18:38 +0000)]
docs/faq/gst-uninstalled: Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will allow you to correctly...

Original commit message from CVS:
* docs/faq/gst-uninstalled:
Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
allow you to correctly run intalled applications built against old           core, using plugins that require updated core (e.g. running
installed totem against a full uninstalled gstreamer stack)

18 years agoadd API: marker in ChangeLog
Thomas Vander Stichele [Fri, 24 Mar 2006 17:29:25 +0000 (17:29 +0000)]
add API: marker in ChangeLog

Original commit message from CVS:
add API: marker in ChangeLog

18 years agolibs/gst/base/gstcollectpads.c: more debug details
Stefan Kost [Fri, 24 Mar 2006 17:10:46 +0000 (17:10 +0000)]
libs/gst/base/gstcollectpads.c: more debug details

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
more debug details