platform/upstream/gstreamer.git
18 years agocheck/net/gstnettimeprovider.c: Check to see that the time provider actually provides...
Andy Wingo [Wed, 16 Nov 2005 18:16:51 +0000 (18:16 +0000)]
check/net/gstnettimeprovider.c: Check to see that the time provider actually provides times. Works, yo!

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* check/net/gstnettimeprovider.c: Check to see that the time
provider actually provides times. Works, yo!

18 years agocheck/Makefile.am: Enable more tests.
Wim Taymans [Wed, 16 Nov 2005 18:09:47 +0000 (18:09 +0000)]
check/Makefile.am: Enable more tests.

Original commit message from CVS:
* check/Makefile.am:
Enable more tests.

* check/elements/fakesrc.c: (GST_START_TEST):
Set element to NULL before disposing it.

18 years agofix
Andy Wingo [Wed, 16 Nov 2005 17:53:54 +0000 (17:53 +0000)]
fix

Original commit message from CVS:
fix

18 years agogst/net/: Use the timepacket stuff in the provider, include it from gstnet.h, and...
Andy Wingo [Wed, 16 Nov 2005 17:52:04 +0000 (17:52 +0000)]
gst/net/: Use the timepacket stuff in the provider, include it from gstnet.h, and add it to the build.

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/net/Makefile.am:
* gst/net/gstnet.h:
* gst/net/gstnettimeprovider.c:
* gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
provider, include it from gstnet.h, and add it to the build.

* gst/net/gstnettimepacket.h:
* gst/net/gstnettimepacket.c: New files, abstracts out the packet
sending and receiving.

18 years agocheck/Makefile.am: Enable valgrind check.
Wim Taymans [Wed, 16 Nov 2005 17:35:07 +0000 (17:35 +0000)]
check/Makefile.am: Enable valgrind check.

Original commit message from CVS:
* check/Makefile.am:
Enable valgrind check.

* gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
(gst_fake_src_alloc_buffer):
Fix memleak.

18 years agogst/net/gstnettimeprovider.c: Call parent finalize too.
Wim Taymans [Wed, 16 Nov 2005 17:22:36 +0000 (17:22 +0000)]
gst/net/gstnettimeprovider.c: Call parent finalize too.

Original commit message from CVS:
* gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
Call parent finalize too.

18 years agocheck/Makefile.am: Enable valgrind check that should work fine now.
Wim Taymans [Wed, 16 Nov 2005 17:18:34 +0000 (17:18 +0000)]
check/Makefile.am: Enable valgrind check that should work fine now.

Original commit message from CVS:
* check/Makefile.am:
Enable valgrind check that should work fine now.

* gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
* gst/gstqueue.c: (gst_queue_init):
Fix memleaks in pad allocation.

18 years agogst/net/: New part of core to hold network elements and objects. Put in core because...
Andy Wingo [Wed, 16 Nov 2005 16:49:49 +0000 (16:49 +0000)]
gst/net/: New part of core to hold network elements and objects. Put in core because it exposes API that applications...

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/net/Makefile.am:
* gst/net/gstnet.h: New part of core to hold network elements and
objects. Put in core because it exposes API that applications want
to use. The library is named libgstnet-tempname right now because
of the existing libgstnet in gst-plugins-base. Solution is
probably to rename the one in plugins-base; will file a bug for
the freeze break.

* gst/net/gstnettimeprovider.c:
* gst/net/gstnettimeprovider.h: New object to export a GstClock's
get_time call over the network.

* configure.ac:
* gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.

* check/Makefile.am:
* check/net/gstnettimeprovider.c: A most minimal test suite. Will
get additions shortly.

18 years agogst/gstpad.*: add gst_pad_new_from_static_template functions
Thomas Vander Stichele [Wed, 16 Nov 2005 16:09:49 +0000 (16:09 +0000)]
gst/gstpad.*: add gst_pad_new_from_static_template functions

Original commit message from CVS:

* gst/gstpad.c: (gst_pad_new_from_static_template):
* gst/gstpad.h:
add gst_pad_new_from_static_template functions
* gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_setup_sink_pad):
* gst/elements/gsttee.c: (gst_tee_init):
and use them

18 years agogst/gstpad.c: Removed warning, it's not realy an error either.
Wim Taymans [Wed, 16 Nov 2005 16:06:06 +0000 (16:06 +0000)]
gst/gstpad.c: Removed warning, it's not realy an error either.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_pause_task):
Removed warning, it's not realy an error either.

18 years agogst/base/gstbasetransform.c: Check if the caps are NULL, this can happen if the eleme...
Wim Taymans [Wed, 16 Nov 2005 14:27:20 +0000 (14:27 +0000)]
gst/base/gstbasetransform.c: Check if the caps are NULL, this can happen if the element is shutting down and the pad ...

Original commit message from CVS:
* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf),
(gst_base_transform_event):
Check if the caps are NULL, this can happen if the element
is shutting down and the pad caps are set to NULL.

18 years agofix pad tempalte leak in tee
Thomas Vander Stichele [Wed, 16 Nov 2005 12:57:51 +0000 (12:57 +0000)]
fix pad tempalte leak in tee

Original commit message from CVS:
fix pad tempalte leak in tee

18 years agogst/: use gst_object_ref when setting the pad template; this will trigger the pad...
Thomas Vander Stichele [Wed, 16 Nov 2005 12:40:18 +0000 (12:40 +0000)]
gst/: use gst_object_ref when setting the pad template; this will trigger the pad template leaks on GLib 2.6 and the ...

Original commit message from CVS:

* gst/glib-compat.c: (g_value_dup_gst_object):
* gst/glib-compat.h:
* gst/gstpad.c: (gst_pad_set_property):
use gst_object_ref when setting the pad template; this will
trigger the pad template leaks on GLib 2.6 and the slaves

18 years agogst/: remove functions copied from GLib 2.6
Thomas Vander Stichele [Wed, 16 Nov 2005 12:25:22 +0000 (12:25 +0000)]
gst/: remove functions copied from GLib 2.6

Original commit message from CVS:

* gst/glib-compat.c: (gst_flags_get_first_value):
* gst/glib-compat.h:
* gst/gstregistryxml.c:
remove functions copied from GLib 2.6

18 years agogst/Makefile.am: Don't link against VALGRIND_LIBS. That was always the wrong thing...
Michael Smith [Wed, 16 Nov 2005 11:29:57 +0000 (11:29 +0000)]
gst/Makefile.am: Don't link against VALGRIND_LIBS. That was always the wrong thing to do, but only breaks with newer ...

Original commit message from CVS:
* gst/Makefile.am:
Don't link against VALGRIND_LIBS. That was always the wrong thing to
do, but only breaks with newer valgrind versions. We're not a
valgrind tool, we have no link-time dependencies on libcoregrind.

18 years agogst/base/gstbasesrc.c: some debug changes
Thomas Vander Stichele [Wed, 16 Nov 2005 11:06:07 +0000 (11:06 +0000)]
gst/base/gstbasesrc.c: some debug changes

Original commit message from CVS:

* gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
some debug changes
* gst/gstmessage.h:
typo fixes

18 years agoRevert all these unrefs, they don't even pass make check !
Thomas Vander Stichele [Tue, 15 Nov 2005 23:53:08 +0000 (23:53 +0000)]
Revert all these unrefs, they don't even pass make check !

Original commit message from CVS:
Revert all these unrefs, they don't even pass make check !

18 years agoAnd gst_object_unref here too
Johan Dahlin [Tue, 15 Nov 2005 19:48:40 +0000 (19:48 +0000)]
And gst_object_unref here too

Original commit message from CVS:
And gst_object_unref here too

18 years agogst/: Free pad templates, fixes a couple of leaks.
Johan Dahlin [Tue, 15 Nov 2005 19:31:05 +0000 (19:31 +0000)]
gst/: Free pad templates, fixes a couple of leaks.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_init):
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
* gst/gstqueue.c: (gst_queue_init):
Free pad templates, fixes a couple of leaks.

18 years agogst/gstpad.c: GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
Tim-Philipp Müller [Tue, 15 Nov 2005 19:24:46 +0000 (19:24 +0000)]
gst/gstpad.c: GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/gstpad.c: (gst_pad_get_property):
GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
(#321452)

18 years agogst/gstevent.c: Small doc update.
Wim Taymans [Tue, 15 Nov 2005 18:34:28 +0000 (18:34 +0000)]
gst/gstevent.c: Small doc update.

Original commit message from CVS:
* gst/gstevent.c:
Small doc update.

18 years agogst/gstelement.c (gst_element_set_base_time): Add debugging.
Andy Wingo [Tue, 15 Nov 2005 17:57:51 +0000 (17:57 +0000)]
gst/gstelement.c (gst_element_set_base_time): Add debugging.

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.c (gst_element_set_base_time): Add debugging.

* gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
using GST_CLOCK_TIME_NONE to disable base time management.
(do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
time if it was NONE before.
(gst_pipeline_change_state): Only munge the base time if
stream_time != GST_CLOCK_TIME_NONE.

* check/gst/gstpipeline.c (test_base_time): Punt around the
problem of the probe not being called, because that's not the
issue I'm looking at. Add a check that setting stream_time to NONE
disables base time management.

18 years agogst/base/gstbasesink.c: segment_stop == -1 at startup.
Wim Taymans [Tue, 15 Nov 2005 17:18:10 +0000 (17:18 +0000)]
gst/base/gstbasesink.c: segment_stop == -1 at startup.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_change_state):
segment_stop == -1 at startup.

* gst/base/gstbasetransform.c: (gst_base_transform_event),
(gst_base_transform_change_state):
Init segment values at start.

18 years agocheck/gst/gstpipeline.c (test_base_time): Punt around the problem of the probe not...
Andy Wingo [Tue, 15 Nov 2005 16:52:46 +0000 (16:52 +0000)]
check/gst/gstpipeline.c (test_base_time): Punt around the problem of the probe not being called, because that's not t...

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* check/gst/gstpipeline.c (test_base_time): Punt around the
problem of the probe not being called, because that's not the
issue I'm looking at...

18 years agogst/base/gstbasesink.c: 0 segment values are 0 in any format.
Wim Taymans [Tue, 15 Nov 2005 16:47:07 +0000 (16:47 +0000)]
gst/base/gstbasesink.c: 0 segment values are 0 in any format.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
0 segment values are 0 in any format.

* gst/base/gstbasetransform.c: (gst_base_transform_event):
* gst/base/gstbasetransform.h:
Parse newsegment correctly in basetransform

* gst/elements/gstidentity.c: (gst_identity_transform_ip):
Sync to clock using updated segment values.

18 years agocheck/gst/gstpipeline.c (test_base_time): Add check that the base time and stream...
Andy Wingo [Tue, 15 Nov 2005 16:27:04 +0000 (16:27 +0000)]
check/gst/gstpipeline.c (test_base_time): Add check that the base time and stream time are reset correctly.

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* check/gst/gstpipeline.c (test_base_time): Add check that the
base time and stream time are reset correctly.

18 years agodocs/design/part-TODO.txt: Some more TODO items.
Wim Taymans [Tue, 15 Nov 2005 15:44:46 +0000 (15:44 +0000)]
docs/design/part-TODO.txt: Some more TODO items.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Some more TODO items.

18 years agogst/elements/gstfakesrc.c (gst_fake_src_create): It's not an error if the user select...
Andy Wingo [Tue, 15 Nov 2005 12:35:45 +0000 (12:35 +0000)]
gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an error if the user selected "no clock" as the clocking me...

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
error if the user selected "no clock" as the clocking method.

18 years agocheck/gst/gstpipeline.c (test_base_time): New test for buffer timestamps with live...
Andy Wingo [Tue, 15 Nov 2005 12:29:07 +0000 (12:29 +0000)]
check/gst/gstpipeline.c (test_base_time): New test for buffer timestamps with live capture.

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* check/gst/gstpipeline.c (test_base_time): New test for buffer
timestamps with live capture.

* gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
is 0 but we are a live source, timestamp the buffers using the
element's clock.

18 years agomore section docs
Stefan Kost [Mon, 14 Nov 2005 15:15:43 +0000 (15:15 +0000)]
more section docs

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsterror.c:
* gst/gstghostpad.c:
* gst/gstobject.h:
* gst/gstxml.c:
more section docs

18 years agocommon/gst.supp: add suppressions from Wim's Debian machine
Wim Taymans [Mon, 14 Nov 2005 14:45:43 +0000 (14:45 +0000)]
common/gst.supp: add suppressions from Wim's Debian machine

Original commit message from CVS:

* common/gst.supp:
add suppressions from Wim's Debian machine

18 years agocommon/gst.supp: add suppressions from Andy's AMD64 Ubuntu machine
Thomas Vander Stichele [Mon, 14 Nov 2005 14:36:17 +0000 (14:36 +0000)]
common/gst.supp: add suppressions from Andy's AMD64 Ubuntu machine

Original commit message from CVS:

* common/gst.supp:
add suppressions from Andy's AMD64 Ubuntu machine

18 years agogst/gstpad.c (gst_pad_set_active): Change docs; parent's
Andy Wingo [Mon, 14 Nov 2005 12:43:43 +0000 (12:43 +0000)]
gst/gstpad.c (gst_pad_set_active): Change docs; parent's

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_set_active): Change docs; parent's
STATE_LOCK not necessary. Fixes #311489.

18 years agogst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes #305291.
Andy Wingo [Mon, 14 Nov 2005 12:17:46 +0000 (12:17 +0000)]
gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes #305291.

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
#305291.

18 years agogst/gstindex.c (gst_index_add_object): Note in the docs that this function is not...
Andy Wingo [Mon, 14 Nov 2005 11:58:44 +0000 (11:58 +0000)]
gst/gstindex.c (gst_index_add_object): Note in the docs that this function is not implemented.

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gstindex.c (gst_index_add_object): Note in the docs that
this function is not implemented.

18 years agogst/base/gstbasetransform.c: Ref the source pad caps while we need them.
Julien Moutte [Mon, 14 Nov 2005 10:49:35 +0000 (10:49 +0000)]
gst/base/gstbasetransform.c: Ref the source pad caps while we need them.

Original commit message from CVS:
2005-11-14  Julien MOUTTE  <julien@moutte.net>

* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf):
Ref the source pad caps while we need them.
Fixes (#321386)

18 years agoignore more
Thomas Vander Stichele [Sat, 12 Nov 2005 10:23:52 +0000 (10:23 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoupdate win32 files for HEAD
Thomas Vander Stichele [Sat, 12 Nov 2005 10:04:01 +0000 (10:04 +0000)]
update win32 files for HEAD

Original commit message from CVS:
update win32 files for HEAD

18 years agodebug task join
Thomas Vander Stichele [Sat, 12 Nov 2005 10:03:08 +0000 (10:03 +0000)]
debug task join

Original commit message from CVS:
debug task join

18 years agofound another quote
Thomas Vander Stichele [Sat, 12 Nov 2005 10:00:03 +0000 (10:00 +0000)]
found another quote

Original commit message from CVS:
found another quote

18 years agodocs/gst/gstreamer-sections.txt: Added some docs for GstCollectData.
Wim Taymans [Fri, 11 Nov 2005 20:12:42 +0000 (20:12 +0000)]
docs/gst/gstreamer-sections.txt: Added some docs for GstCollectData.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Added some docs for GstCollectData.

* gst/base/gstadapter.c:
Some small code example fix.

* gst/base/gstcollectpads.c:
* gst/base/gstcollectpads.h:
Document some more.

18 years agoback to head
Thomas Vander Stichele [Fri, 11 Nov 2005 19:26:36 +0000 (19:26 +0000)]
back to head

Original commit message from CVS:
back to head

18 years agoreleasing 0.9.5 RELEASE-0_9_5
Thomas Vander Stichele [Fri, 11 Nov 2005 19:24:30 +0000 (19:24 +0000)]
releasing 0.9.5

Original commit message from CVS:
releasing 0.9.5

18 years agogst/gstbuffer.c: Copy more flags.
Wim Taymans [Fri, 11 Nov 2005 18:25:50 +0000 (18:25 +0000)]
gst/gstbuffer.c: Copy more flags.

Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_copy):
Copy more flags.

* gst/gstcaps.c: (gst_caps_is_equal):
Fix some docs.
Make _is_equal fast in the trivial cases.

* gst/gstminiobject.c:
* gst/gstminiobject.h:
More docs. Spifify .h file.

* gst/gstutils.c:
Small doc update.

18 years agoUpdate .po files
Thomas Vander Stichele [Fri, 11 Nov 2005 17:16:18 +0000 (17:16 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agogst/base/gstbasetransform.c: Small cleanups.
Wim Taymans [Fri, 11 Nov 2005 16:37:11 +0000 (16:37 +0000)]
gst/base/gstbasetransform.c: Small cleanups.

Original commit message from CVS:
* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf),
(gst_base_transform_handle_buffer):
Small cleanups.
If we're processing a buffer and need to allocate an output
buffer, we cannot accept a format change. If we did get a
format change, we have to alloc a buffer ourselves of the
right size.

18 years agogst/gstpad.c: While checking the flag for reentrancy in the gstcaps function is nice...
Wim Taymans [Fri, 11 Nov 2005 16:34:15 +0000 (16:34 +0000)]
gst/gstpad.c: While checking the flag for reentrancy in the gstcaps function is nice to detect recursive invocations,...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
While checking the flag for reentrancy in the gstcaps function
is nice to detect recursive invocations, it also makes it
impossible to call getcaps from multiple threads, which must be
possible. So, checking for recursive calls has to go.

18 years agogst/base/gstbasesink.c: Don't sync on buffers that fall partially outside our current...
Michael Smith [Fri, 11 Nov 2005 15:19:37 +0000 (15:19 +0000)]
gst/base/gstbasesink.c: Don't sync on buffers that fall partially outside our current segment. Prevents an assertion ...

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_do_sync):
Don't sync on buffers that fall partially outside our current
segment. Prevents an assertion failure/abort playing some files.

18 years agocheck/gst/gstbin.c (test_message_state_changed_children): Style fix..
Andy Wingo [Thu, 10 Nov 2005 18:15:24 +0000 (18:15 +0000)]
check/gst/gstbin.c (test_message_state_changed_children): Style fix..

Original commit message from CVS:
2005-11-10  Andy Wingo  <wingo@pobox.com>

* check/gst/gstbin.c (test_message_state_changed_children): Style
fix..

* gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
gst_bus_poll with the signal watch. Ensures that poll and a signal
watch see the same messages.

* check/gst/gstbus.c (test_watch_with_poll): New test, checks that
a poll and a watch at the same time get the same messages.

18 years agogst/: Don't call gst_caps_do_simplify - it doesn't respect order of caps and it's...
Thomas Vander Stichele [Thu, 10 Nov 2005 17:37:39 +0000 (17:37 +0000)]
gst/: Don't call gst_caps_do_simplify - it doesn't respect order of caps and it's not needed.

Original commit message from CVS:

* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
* gst/gstcaps.c: (gst_caps_intersect):
Don't call gst_caps_do_simplify - it doesn't respect order of caps
and it's not needed.

18 years agodocs/design/part-TODO.txt: Updated todo.
Wim Taymans [Thu, 10 Nov 2005 15:07:46 +0000 (15:07 +0000)]
docs/design/part-TODO.txt: Updated todo.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Updated todo.

18 years agogst/base/: Implement clock sync in base class.
Wim Taymans [Thu, 10 Nov 2005 14:45:27 +0000 (14:45 +0000)]
gst/base/: Implement clock sync in base class.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_do_sync):
* gst/base/gstbasesrc.c: (gst_base_src_wait),
(gst_base_src_do_sync), (gst_base_src_get_range):
Implement clock sync in base class.

18 years agogst/gststructure.c: Forward-port a 0.8 patch to handle escaped spaces in structure...
Tim-Philipp Müller [Thu, 10 Nov 2005 12:32:57 +0000 (12:32 +0000)]
gst/gststructure.c: Forward-port a 0.8 patch to handle escaped spaces in structure string,          so that gst_parse...

Original commit message from CVS:

patch by: Tim-Philipp Müller <tim at centricular dot net>

* gst/gststructure.c: (gst_structure_parse_field),
(gst_structure_from_string):
Forward-port a 0.8 patch to handle escaped spaces in structure string,          so that gst_parse_launch() can deal with spaces in filtered link
caps (fixes #164479)
* check/gst/capslist.h:
* check/gst/gststructure.c: (GST_START_TEST):
add unit tests for this change

18 years agoFix docs, move some STATE macros to private.
Wim Taymans [Thu, 10 Nov 2005 11:17:26 +0000 (11:17 +0000)]
Fix docs, move some STATE macros to private.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.c:
* gst/gstelement.h:
Fix docs, move some STATE macros to private.

18 years agoFurther improve query docs. Still not happy with this.
Michael Smith [Thu, 10 Nov 2005 10:17:01 +0000 (10:17 +0000)]
Further improve query docs. Still not happy with this.

Original commit message from CVS:
Further improve query docs. Still not happy with this.

18 years agocheck/gst/gstghostpad.c: Added check for bug #317341
Wim Taymans [Thu, 10 Nov 2005 09:19:12 +0000 (09:19 +0000)]
check/gst/gstghostpad.c: Added check for bug #317341

Original commit message from CVS:
* check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
Added check for bug #317341

* gst/gstbuffer.c:
* gst/gstbuffer.h:
Some more spiffifying.

* gst/gstghostpad.c: (gst_ghost_pad_do_link):
Call peer linkfunction if we are a source pad. Totally fixes
#317341

* gst/gstpad.c:
Update docs, source pads should call the peer linkfunction
so they can atomically perform the pad link.

18 years agoImprove/fix documentation for GstQuery.
Michael Smith [Wed, 9 Nov 2005 19:32:32 +0000 (19:32 +0000)]
Improve/fix documentation for GstQuery.

Original commit message from CVS:
Improve/fix documentation for GstQuery.
This still needs some more work to explain what the queries actually mean.

18 years agoSlightly polish docs for GstAdapter.
Michael Smith [Wed, 9 Nov 2005 18:41:53 +0000 (18:41 +0000)]
Slightly polish docs for GstAdapter.

Original commit message from CVS:
Slightly polish docs for GstAdapter.

18 years agogst/gstbuffer.*: Uber-spiffy-spiffify some more.
Wim Taymans [Wed, 9 Nov 2005 18:10:53 +0000 (18:10 +0000)]
gst/gstbuffer.*: Uber-spiffy-spiffify some more.

Original commit message from CVS:
* gst/gstbuffer.c:
* gst/gstbuffer.h:
Uber-spiffy-spiffify some more.

18 years agogst/: Use GST_DEBUG_FUNCPTR() more extensively.
Tim-Philipp Müller [Wed, 9 Nov 2005 17:55:13 +0000 (17:55 +0000)]
gst/: Use GST_DEBUG_FUNCPTR() more extensively.

Original commit message from CVS:
* gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
* gst/elements/gstfilesink.c: (gst_file_sink_init):
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
* gst/gstghostpad.c: (gst_ghost_pad_set_internal),
(gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
* gst/gstpad.c: (gst_pad_init):
Use GST_DEBUG_FUNCPTR() more extensively.

18 years agogst/gstobject.*: Documentation fixes.
Wim Taymans [Wed, 9 Nov 2005 17:32:10 +0000 (17:32 +0000)]
gst/gstobject.*: Documentation fixes.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_class_init):
* gst/gstobject.h:
Documentation fixes.

18 years agogst/gsttypefindfactory.c: Fix docs.
Edward Hervey [Wed, 9 Nov 2005 17:06:20 +0000 (17:06 +0000)]
gst/gsttypefindfactory.c: Fix docs.

Original commit message from CVS:
* gst/gsttypefindfactory.c:
Fix docs.

18 years agogst/:
Edward Hervey [Wed, 9 Nov 2005 16:44:40 +0000 (16:44 +0000)]
gst/:

Original commit message from CVS:
* gst/base/gsttypefindhelper.c:
* gst/gsttypefind.c:
* gst/gsttypefind.h:

18 years agogst/gstiterator.c: Fix revision data.
Wim Taymans [Wed, 9 Nov 2005 16:32:49 +0000 (16:32 +0000)]
gst/gstiterator.c: Fix revision data.

Original commit message from CVS:
* gst/gstiterator.c:
Fix revision data.

* gst/gsttask.c:
* gst/gsttask.h:
Fix docs.

18 years agogst/: Fix docs.
Wim Taymans [Wed, 9 Nov 2005 16:16:41 +0000 (16:16 +0000)]
gst/: Fix docs.

Original commit message from CVS:
* gst/gstevent.h:
* gst/gsturi.h:
Fix docs.

18 years agodocs/gst/gstreamer-sections.txt: Moved the message async delivery private lock and...
Wim Taymans [Wed, 9 Nov 2005 16:00:05 +0000 (16:00 +0000)]
docs/gst/gstreamer-sections.txt: Moved the message async delivery private lock and cond to the private section.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Moved the message async delivery private lock and cond
to the private section.

* gst/gstmessage.c:
* gst/gstmessage.h:
Fixed docs.

18 years agoDocument GstURIHandler
Edward Hervey [Wed, 9 Nov 2005 15:34:46 +0000 (15:34 +0000)]
Document GstURIHandler

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsturi.c:
* gst/gsturi.h:
Document GstURIHandler

18 years agogst/gstiterator.*: Fix iterator docs.
Wim Taymans [Wed, 9 Nov 2005 15:31:08 +0000 (15:31 +0000)]
gst/gstiterator.*: Fix iterator docs.

Original commit message from CVS:
* gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
(gst_iterator_find_custom):
* gst/gstiterator.h:
Fix iterator docs.

18 years agogst/gstbin.h: Document another field.
Wim Taymans [Wed, 9 Nov 2005 15:10:32 +0000 (15:10 +0000)]
gst/gstbin.h: Document another field.

Original commit message from CVS:
* gst/gstbin.h:
Document another field.

* gst/gststructure.c:
* gst/gststructure.h:
Document.

18 years agogst/gstbin.h: Documented structs.
Wim Taymans [Wed, 9 Nov 2005 13:14:27 +0000 (13:14 +0000)]
gst/gstbin.h: Documented structs.

Original commit message from CVS:
* gst/gstbin.h:
Documented structs.

18 years agodocs/gst/gstreamer-sections.txt: Added some new macros.
Wim Taymans [Wed, 9 Nov 2005 12:36:17 +0000 (12:36 +0000)]
docs/gst/gstreamer-sections.txt: Added some new macros.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Added some new macros.

* gst/gstclock.c:
* gst/gstclock.h:
* gst/gstobject.h:
Docs updates.

18 years agodocs/design/part-TODO.txt: Some more items for the TODO
Wim Taymans [Wed, 9 Nov 2005 12:01:46 +0000 (12:01 +0000)]
docs/design/part-TODO.txt: Some more items for the TODO

Original commit message from CVS:
* docs/design/part-TODO.txt:
Some more items for the TODO

* gst/gstcaps.c:
* gst/gstcaps.h:
Document GstCaps.

18 years agogst/base/gstbasesink.c: Add the beginning of docs here -- have to work on something...
Andy Wingo [Wed, 9 Nov 2005 10:06:30 +0000 (10:06 +0000)]
gst/base/gstbasesink.c: Add the beginning of docs here -- have to work on something else now tho...

Original commit message from CVS:
2005-11-09  Andy Wingo  <wingo@pobox.com>

* gst/base/gstbasesink.c: Add the beginning of docs here -- have
to work on something else now tho...

18 years agogst/elements/gstfilesink.c (gst_file_sink_start)
Andy Wingo [Wed, 9 Nov 2005 09:48:16 +0000 (09:48 +0000)]
gst/elements/gstfilesink.c (gst_file_sink_start)

Original commit message from CVS:
2005-11-09  Andy Wingo  <wingo@pobox.com>

* gst/elements/gstfilesink.c (gst_file_sink_start)
(gst_file_sink_stop): New functions, replace the state change
handler.
(gst_file_sink_class_init): Hook up the start and stop functions.
(gst_file_sink_base_init): Don't set the state change handler any
more. It was a bit ugly too, being set from here...
(gst_file_sink_get_property, gst_file_sink_set_property):
Cleanups...
(gst_file_sink_set_location): More robust check that doesn't call
GST_STATE. Ugggggg.

18 years agogst/elements/gstfilesink.c (gst_file_sink_start)
Andy Wingo [Wed, 9 Nov 2005 09:47:12 +0000 (09:47 +0000)]
gst/elements/gstfilesink.c (gst_file_sink_start)

Original commit message from CVS:
2005-11-09  Andy Wingo  <wingo@pobox.com>

* gst/elements/gstfilesink.c (gst_file_sink_start)
(gst_file_sink_stop): New functions, replace the state change
handler.
(gst_file_sink_class_init): Hook up the start and stop functions.
(gst_file_sink_base_init): Don't set the state change handler any
more. It was a bit ugly too, being set from here...
(gst_file_sink_get_property, gst_file_sink_set_property):
Cleanups...
(gst_file_sink_set_location): More robust check that doesn't call
GST_STATE. Ugggggg.

18 years agogst/base/gstbasetransform.c: Hold STREAM_LOCK while pushing newsegment or tag events...
Tim-Philipp Müller [Tue, 8 Nov 2005 12:33:09 +0000 (12:33 +0000)]
gst/base/gstbasetransform.c: Hold STREAM_LOCK while pushing newsegment or tag events as well.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_event):
Hold STREAM_LOCK while pushing newsegment or tag events as well.

18 years agorevert part of the patch so that paths are correct
Thomas Vander Stichele [Tue, 8 Nov 2005 11:52:24 +0000 (11:52 +0000)]
revert part of the patch so that paths are correct

Original commit message from CVS:
revert part of the patch so that paths are correct

18 years agogst/: Avoid excessive typechecking in macros.
Wim Taymans [Tue, 8 Nov 2005 11:13:07 +0000 (11:13 +0000)]
gst/: Avoid excessive typechecking in macros.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
(gst_base_sink_do_sync), (gst_base_sink_handle_event),
(gst_base_sink_chain), (gst_base_sink_change_state):
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.h:
* gst/gstelement.h:
* gst/gstevent.h:
Avoid excessive typechecking in macros.

* gst/gstminiobject.c: (gst_mini_object_get_type),
(gst_mini_object_init), (gst_mini_object_new),
(gst_mini_object_free):
* gst/gstobject.c: (gst_object_class_init), (gst_object_init),
(gst_object_finalize):
Remove cruft code, optimize alloc_trace.

18 years agodocs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it
Thomas Vander Stichele [Mon, 7 Nov 2005 18:16:13 +0000 (18:16 +0000)]
docs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it

Original commit message from CVS:

* docs/faq/gst-uninstalled:
fix up PS1 for systems that try to reset it

18 years agogst/base/gstbasesrc.c: Set the segment_end to -1 initially. Fixed typefind.
Wim Taymans [Mon, 7 Nov 2005 10:33:07 +0000 (10:33 +0000)]
gst/base/gstbasesrc.c: Set the segment_end to -1 initially. Fixed typefind.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_init),
(gst_base_src_get_range):
Set the segment_end to -1 initially. Fixed typefind.

18 years agogst/base/gstadapter.c: Debug category should be 'adapter', not 'GstAdapter'.
Tim-Philipp Müller [Mon, 7 Nov 2005 10:13:47 +0000 (10:13 +0000)]
gst/base/gstadapter.c: Debug category should be 'adapter', not 'GstAdapter'.

Original commit message from CVS:
* gst/base/gstadapter.c:
Debug category should be 'adapter', not 'GstAdapter'.
* gst/base/gstcollectpads.c: (gst_collectpads_base_init),
(gst_collectpads_class_init), (gst_collectpads_init),
(gst_collectpads_peek), (gst_collectpads_pop),
(gst_collectpads_event), (gst_collectpads_chain):
Add debug category and some debugging output. Use boilerplate
macros. Remove some extraneous words from docs.

18 years agogst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate macro.
Andy Wingo [Sat, 5 Nov 2005 15:14:33 +0000 (15:14 +0000)]
gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate macro.

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

* gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
macro.

18 years agomore docs added
Stefan Kost [Fri, 4 Nov 2005 20:12:01 +0000 (20:12 +0000)]
more docs added

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstcaps.h:
* gst/gstinfo.c:
* gst/gstminiobject.h:
* gst/gstobject.h:
* gst/gstutils.h:
more docs added

18 years agogst/base/gstbasesrc.c: Small update to stop at the configured segment_end position.
Wim Taymans [Fri, 4 Nov 2005 15:33:40 +0000 (15:33 +0000)]
gst/base/gstbasesrc.c: Small update to stop at the configured segment_end position.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
Small update to stop at the configured segment_end
position.

18 years agogst/gstregistry.*: added missing docs
Stefan Kost [Fri, 4 Nov 2005 15:02:48 +0000 (15:02 +0000)]
gst/gstregistry.*: added missing docs

Original commit message from CVS:
* gst/gstregistry.c:
* gst/gstregistry.h:
added missing docs

18 years agogst/base/gstbasesrc.c: Check if we are doing a segment seek and have arrived at the...
Edward Hervey [Fri, 4 Nov 2005 14:35:10 +0000 (14:35 +0000)]
gst/base/gstbasesrc.c: Check if we are doing a segment seek and have arrived at the end of that segment.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
Check if we are doing a segment seek and have arrived at the
end of that segment.

18 years agogst/gstbus.c: Don't leak a mutex unlock in case of an error.
Wim Taymans [Fri, 4 Nov 2005 12:08:19 +0000 (12:08 +0000)]
gst/gstbus.c: Don't leak a mutex unlock in case of an error.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
Don't leak a mutex unlock in case of an error.

* gst/gstbus.h:
Doc fixes.

18 years agogst/gstbus.c: Get the context to wake up only once.
Wim Taymans [Fri, 4 Nov 2005 11:43:10 +0000 (11:43 +0000)]
gst/gstbus.c: Get the context to wake up only once.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
(gst_bus_post):
Get the context to wake up only once.

18 years agocheck/states/sinks.c: Uncomment fixed check.
Stefan Kost [Thu, 3 Nov 2005 20:17:24 +0000 (20:17 +0000)]
check/states/sinks.c: Uncomment fixed check.

Original commit message from CVS:
* check/states/sinks.c: (GST_START_TEST):
Uncomment fixed check.
* docs/design/part-TODO.txt:
Updated TODO.
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_do_sync),
(gst_base_sink_get_position):
If we are going to PLAYING, post the right pending state
when we post the intermediate paused message.
* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func), (gst_element_change_state):
Don't post state changes that were between the same state
and were not ASYNC.

18 years agocheck/states/sinks.c: Uncomment fixed check.
Wim Taymans [Thu, 3 Nov 2005 20:14:24 +0000 (20:14 +0000)]
check/states/sinks.c: Uncomment fixed check.

Original commit message from CVS:
* check/states/sinks.c: (GST_START_TEST):
Uncomment fixed check.

* docs/design/part-TODO.txt:
Updated TODO.

* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_do_sync),
(gst_base_sink_get_position):
If we are going to PLAYING, post the right pending state
when we post the intermediate paused message.

* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func), (gst_element_change_state):
Don't post state changes that were between the same state
and were not ASYNC.

18 years agodoc fixes
Stefan Kost [Thu, 3 Nov 2005 19:38:48 +0000 (19:38 +0000)]
doc fixes

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.c:
* gst/gstminiobject.c:
doc fixes

18 years agocheck/states/sinks.c (test_livesrc_sink): Add checks that the state-changed messages...
Andy Wingo [Thu, 3 Nov 2005 17:53:27 +0000 (17:53 +0000)]
check/states/sinks.c (test_livesrc_sink): Add checks that the state-changed messages actually have the right order an...

Original commit message from CVS:
2005-11-03  Andy Wingo  <wingo@pobox.com>

* check/states/sinks.c (test_livesrc_sink): Add checks that the
state-changed messages actually have the right order and the right
values.

18 years agocheck/states/sinks.c: Added some more checks. Specifically the case where NO_PREROLL...
Wim Taymans [Thu, 3 Nov 2005 17:12:00 +0000 (17:12 +0000)]
check/states/sinks.c: Added some more checks. Specifically the case where NO_PREROLL elements are in the pipeline.

Original commit message from CVS:
* check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
Added some more checks. Specifically the case where NO_PREROLL
elements are in the pipeline.

* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_do_sync),
(gst_base_sink_get_position):
Post READY->PAUSED state change messages too.
Fix bug where VOID was posted as pending state...

* gst/gstbin.c: (gst_bin_recalc_state):
use _element_continue_state() to continue the state change.

* gst/gstelement.c: (gst_element_continue_state),
(gst_element_commit_state), (gst_element_set_state_func),
(gst_element_change_state), (gst_element_change_state_func):
Lots of state change cleanups, assign the STATE_RETURN in
a new continue_state() function that also propagates the
last return value from a state change to the app.
Update some debug statements with proper category.

18 years agodocs/: Small docs updates.
Wim Taymans [Thu, 3 Nov 2005 14:22:44 +0000 (14:22 +0000)]
docs/: Small docs updates.

Original commit message from CVS:
* docs/design/part-events.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* docs/design/part-overview.txt:
* docs/design/part-seeking.txt:
* docs/design/part-states.txt:
* docs/design/part-trickmodes.txt:
* docs/manual/advanced-position.xml:
Small docs updates.

* gst/gstobject.h:
People think !! is ugly, this looks better.

* gst/gstpad.c: (gst_pad_set_blocked_async):
Remove !! since it's fixed elsewhere now.

18 years agogst/: Add !! to _FLAG_IS_SET macros to make the result boolean.
Tim-Philipp Müller [Thu, 3 Nov 2005 13:52:59 +0000 (13:52 +0000)]
gst/: Add !! to _FLAG_IS_SET macros to make the result boolean.

Original commit message from CVS:
* gst/gstminiobject.h:
* gst/gstobject.h:
Add !! to _FLAG_IS_SET macros to make the result boolean.

18 years agogst/gstpad.c: comparing a flag and a gboolean rarely returns coherent results...
Edward Hervey [Thu, 3 Nov 2005 12:48:30 +0000 (12:48 +0000)]
gst/gstpad.c: comparing a flag and a gboolean rarely returns coherent results...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_blocked_async):
comparing a flag and a gboolean rarely returns coherent results...
Added two characters (!!) to make that work correctly.

18 years agogst/gstbus.c: Fix some typos.
Tim-Philipp Müller [Thu, 3 Nov 2005 12:16:49 +0000 (12:16 +0000)]
gst/gstbus.c: Fix some typos.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init):
Fix some typos.
* gst/gstqueue.c: (gst_queue_loop):
Don't assume a miniobject that isn't a buffer is an
event (it could be that there is a refcounting
problem somewhere and the pointer is stale and
refers to an already destroyed miniobject).

18 years agogst/gstpad.c: Fix some typos.
Julien Moutte [Thu, 3 Nov 2005 10:56:23 +0000 (10:56 +0000)]
gst/gstpad.c: Fix some typos.

Original commit message from CVS:
2005-11-03  Julien MOUTTE  <julien@moutte.net>

* gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.

18 years agodocs/manual/advanced-position.xml: Update seek example and explanations to current...
Tim-Philipp Müller [Thu, 3 Nov 2005 09:18:53 +0000 (09:18 +0000)]
docs/manual/advanced-position.xml: Update seek example and explanations to current 0.9 API.

Original commit message from CVS:
* docs/manual/advanced-position.xml:
Update seek example and explanations to current 0.9 API.
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_activate):
Remove FIXME comment now that the found caps
are unreffed.

18 years agoAdd another GST_STR_NULL instance
Thomas Vander Stichele [Thu, 3 Nov 2005 00:39:54 +0000 (00:39 +0000)]
Add another GST_STR_NULL instance

Original commit message from CVS:
Add another GST_STR_NULL instance