Commit graph

621 commits

Author SHA1 Message Date
Erik Walthinsen
e76ac5160b change coloration for group 31
Original commit message from CVS:
change coloration for group 31
2001-12-11 22:50:52 +00:00
Wim Taymans
66d8173f05 Change the prototype too
Original commit message from CVS:
Change the prototype too
2001-12-11 22:24:26 +00:00
Wim Taymans
3ee219faba use connect_swapped
Original commit message from CVS:
use connect_swapped
2001-12-11 22:23:20 +00:00
Wim Taymans
df941a9ca6 Also swap the args in the callback function
Original commit message from CVS:
Also swap the args in the callback function
2001-12-11 16:42:09 +00:00
Christian Schaller
d707f3a0d5 Removed _object from g_signal_connect_object in order for this to compile under GLIB2
Original commit message from CVS:
Removed _object from g_signal_connect_object in order for this to compile under GLIB2
2001-12-11 08:22:32 +00:00
Wim Taymans
970e58ebd3 Update our internal state counters when adding/removing elements.
Original commit message from CVS:
Update our internal state counters when adding/removing elements.
2001-12-10 18:08:35 +00:00
Wim Taymans
f5e46974ef Set the pipeline to the paused state when doing dynimic connects.
Original commit message from CVS:
Set the pipeline to the paused state when doing dynimic connects.
2001-12-09 14:44:48 +00:00
Wim Taymans
f4c17c3ba1 Added some more docs
Original commit message from CVS:
Added some more docs
2001-12-09 13:17:54 +00:00
Thomas Vander Stichele
45333f4b94 more and more
Original commit message from CVS:
more and more
2001-12-08 16:11:10 +00:00
Thomas Vander Stichele
998ea06629 Mama always said : "do one, do them all"
Original commit message from CVS:
Mama always said : "do one, do them all"
2001-12-08 15:40:58 +00:00
Thomas Vander Stichele
5707f12316 and this one
Original commit message from CVS:
and this one
2001-12-08 15:05:38 +00:00
Thomas Vander Stichele
6cf46846e9 added GST_CFLAGS
Original commit message from CVS:
added GST_CFLAGS
2001-12-08 14:18:23 +00:00
Thomas Vander Stichele
fe6ae5be4c added GST_CFLAGS to fix make distcheck
Original commit message from CVS:
added GST_CFLAGS to fix make distcheck
2001-12-08 13:41:52 +00:00
Thomas Vander Stichele
aa96d882b0 does this little tweak fix the make distcheck in gst/types not finding the gst/gst.h header ?
Original commit message from CVS:
does this little tweak fix the make distcheck in gst/types not finding the
gst/gst.h header ?
2001-12-07 18:23:37 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Andy Wingo
d1e9cc692b quoting from the comment i put in gststaticautoplug.c: it is likely that the plugin is not loaded yet. thus when it l...
Original commit message from CVS:
quoting from the comment i put in gststaticautoplug.c:

it is likely that the plugin is not loaded yet. thus when it loads it
will replace the elementfactory that gst built from the cache, and the
GST_OBJECT_NAME will no longer be valid. thus we must g_strdup its name.

this might be an implementation problem, i don't know, if a program keeps
a reference to a cached factory after a factory has been added on plugin
initialization. i really don't know though.
2001-11-24 20:37:40 +00:00
Andy Wingo
04da163496 fixed a double-unreffing problem when disposing of elements
Original commit message from CVS:
fixed a double-unreffing problem when disposing of elements
2001-11-24 02:49:54 +00:00
Andy Wingo
680fdd6ce7 cleaned up mangling of properties and names in ladspa by using g_strcanon added g_strcanon to gobject2gtk.[ch], not t...
Original commit message from CVS:
* cleaned up mangling of properties and names in ladspa by using g_strcanon
* added g_strcanon to gobject2gtk.[ch], not tested though
2001-11-23 04:20:54 +00:00
Wim Taymans
0b263598f0 Call the default handler of the pad
Original commit message from CVS:
Call the default handler of the pad
2001-11-14 21:21:58 +00:00
Wim Taymans
dc435fc930 Direct events to the event handler for non event-ware elements. pass the event to the chain function for event aware ...
Original commit message from CVS:
Direct events to the event handler for non event-ware elements.
pass the event to the chain function for event aware elements.
2001-11-14 21:11:05 +00:00
Wim Taymans
2f60d799a4 Make the queue event aware and make it do something usefull with the events.
Original commit message from CVS:
Make the queue event aware and make it do something usefull with the events.
2001-11-14 21:09:44 +00:00
Wim Taymans
fa78165bcd Added a default handler for the pads.
Original commit message from CVS:
Added a default handler for the pads.
2001-11-14 21:08:44 +00:00
Wim Taymans
8e2530ee1c Added a flag to indicate an element is event aware.
Original commit message from CVS:
Added a flag to indicate an element is event aware.
2001-11-14 21:07:33 +00:00
Wim Taymans
40cdffa6a7 Renamed a local var to better state what its purpose is.
Original commit message from CVS:
Renamed a local var to better state what its purpose is.
2001-11-14 21:06:15 +00:00
Erik Walthinsen
97978f6056 print the pre-operation refcount for ref and unref
Original commit message from CVS:
print the pre-operation refcount for ref and unref
2001-11-08 22:41:43 +00:00
Erik Walthinsen
42ec9085a2 added taaz's threading patch, including queue events
Original commit message from CVS:
added taaz's threading patch, including queue events
2001-10-27 20:28:31 +00:00
Steve Baker
a4e42f7b06 return a negative error code instead of exiting on parse error
Original commit message from CVS:
return a negative error code instead of exiting on parse error
2001-10-27 13:44:18 +00:00
Andy Wingo
f62b6204a7 fix glib2 warning
Original commit message from CVS:
fix glib2 warning
2001-10-25 21:24:09 +00:00
David I. Lehn
2408c618b2 basic statistics element
Original commit message from CVS:
basic statistics element
2001-10-24 22:42:40 +00:00
David I. Lehn
8bcaad11e6 stop printing out readbytes
Original commit message from CVS:
stop printing out readbytes
2001-10-24 22:42:11 +00:00
Wim Taymans
7e5cd5fc38 Add gst_typefactory_get_list to get a list of registered typefactories.
Original commit message from CVS:
Add gst_typefactory_get_list to get a list of registered
typefactories.
2001-10-24 21:35:47 +00:00
Wim Taymans
97032976ae Don't try to build the marshall stuff with the gtk shims
Original commit message from CVS:
Don't try to build the marshall stuff with the gtk shims
2001-10-24 20:29:44 +00:00
Wim Taymans
d784ecc5b9 Reset the name to NULL.
Original commit message from CVS:
Reset the name to NULL.
2001-10-24 19:20:58 +00:00
Wim Taymans
c02219d24a Added the name property
Original commit message from CVS:
Added the name property
2001-10-24 19:11:11 +00:00
Erik Walthinsen
381f7b930f BUILT_SOURCES patch from vishnu
Original commit message from CVS:
BUILT_SOURCES patch from vishnu
2001-10-24 04:44:30 +00:00
Wim Taymans
67c932ef0e Aplied the patches from vishnu to implement seeking in various plugins. bytestream now has an event-aware API.
Original commit message from CVS:
Aplied the patches from vishnu to implement seeking in various plugins.
bytestream now has an event-aware API.
2001-10-23 19:50:41 +00:00
Wim Taymans
5e85a8eb03 Added 64 bit support to filesrc and a gtk+ shim (mapped to ulong unfortunatly) as per vishnus patch.
Original commit message from CVS:
Added 64 bit support to filesrc and a gtk+ shim (mapped to ulong
unfortunatly) as per vishnus patch.
2001-10-22 19:13:24 +00:00
Wim Taymans
eb2791d210 GSearchFunc seems to be glib1.2 only so it was replaced with
Original commit message from CVS:
GSearchFunc seems to be glib1.2 only so it was replaced with
GCompareFunc again.
2001-10-22 13:37:50 +00:00
Wim Taymans
55515f8433 Some compiler warning removed.
Original commit message from CVS:
Some compiler warning removed.
Updated the event handler in filesrc.
2001-10-21 21:58:29 +00:00
Wim Taymans
cccc097ca5 API docs. revived _buffer_ref_by_count fast types for scheduler and bin.
Original commit message from CVS:
API docs.
revived _buffer_ref_by_count
fast types for scheduler and bin.
error checking on plugin features;
removed some prototypes that were not implemented (gst_pipeline_iterate
comes to mind)
remove gst_pad_event until we know what it's supposed to do.
remove sinesrc, it wasn't compiles anymore, so...
updates to various elements that used the old event API.
2001-10-21 18:00:31 +00:00
Erik Walthinsen
de48822104 added empty string for category 31, lest the coloration break
Original commit message from CVS:
added empty string for category 31, lest the coloration break
2001-10-21 02:06:12 +00:00
Erik Walthinsen
455567482c changed names from guchar* to gchar*, which makes C++ happy, and is, um, correct.
Original commit message from CVS:
changed names from guchar* to gchar*, which makes C++ happy, and is, um, correct.
2001-10-20 23:15:29 +00:00
Erik Walthinsen
7095ffbfab made C++ friendly
Original commit message from CVS:
made C++ friendly
2001-10-20 23:12:36 +00:00
Erik Walthinsen
d945cd38c8 convert g_string_printfa to g_string_append_printf and add to the shim
Original commit message from CVS:
convert g_string_printfa to g_string_append_printf and add to the shim
2001-10-20 23:06:49 +00:00
Wim Taymans
4f1f3da896 Removed old, bad bytestream code.
Original commit message from CVS:
Removed old, bad bytestream code.
2001-10-19 19:49:40 +00:00
Erik Walthinsen
c352836abe added another madvise and wrapped them in #ifdef's so they don't break systems without MADV_*
Original commit message from CVS:
added another madvise and wrapped them in #ifdef's so they don't break systems without MADV_*
2001-10-17 20:57:53 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Steve Baker
a0334eba32 remove dparams from core
Original commit message from CVS:
remove dparams from core
2001-10-07 09:41:36 +00:00
Steve Baker
a2107db69a remove ability to set dparams from -launch. this is the only real loss of functionality from moving dparams out of co...
Original commit message from CVS:
remove ability to set dparams from -launch. this is the only real loss of functionality from moving dparams out of core.  Maybe I'll make the parser pluggable ;)
2001-10-07 09:41:08 +00:00
Steve Baker
ef1473b443 remove extra debug info
Original commit message from CVS:
remove extra debug info
2001-10-07 09:38:36 +00:00
Steve Baker
b48fa3d758 gstsinesrc is being moved into plugins/synthesis/sinesrc
Original commit message from CVS:
gstsinesrc is being moved into plugins/synthesis/sinesrc
2001-10-06 12:46:50 +00:00
Steve Baker
b213eab345 also need to ref the template in gst_pad_new_from_template
Original commit message from CVS:
also need to ref the template in gst_pad_new_from_template
2001-09-29 15:39:00 +00:00
Steve Baker
b4a9554f99 shouldn't sink here. that is up to the pad's parent (the element)
Original commit message from CVS:
shouldn't sink here. that is up to the pad's parent (the element)
2001-09-29 11:00:30 +00:00
Steve Baker
409d408336 factory needs a ref to the padtemplate so that the padtemplate doesn't disappear when the plugin element is unreffed
Original commit message from CVS:
factory needs a ref to the padtemplate so that the padtemplate doesn't disappear when the plugin element is unreffed
2001-09-29 09:53:07 +00:00
Steve Baker
b4a9f42c97 reenabled object destruction by renaming shutdown and real_destry to dispose funcs
Original commit message from CVS:
reenabled object destruction by renaming shutdown and real_destry to dispose funcs
2001-09-28 19:16:02 +00:00
Thomas Vander Stichele
d938af0175 g_critical is a glib-2.0-ism, changed them to g_warning and added FIXME's
Original commit message from CVS:
g_critical is a glib-2.0-ism, changed them to g_warning and added FIXME's
2001-09-23 08:26:10 +00:00
Steve Baker
c30947dc3e crashes that only happen when debugging is on aren't very nice
Original commit message from CVS:
crashes that only happen when debugging is on aren't very nice
2001-09-22 12:27:12 +00:00
Joshua N. Pritikin
99335d4c14 glib 1.2 fix minor formatting improvements add gst_print_element_args
Original commit message from CVS:
glib 1.2 fix
minor formatting improvements
add gst_print_element_args
2001-09-18 04:20:04 +00:00
Joshua N. Pritikin
0e9314ac7c revert detailed multi-line error report
Original commit message from CVS:
revert detailed multi-line error report
2001-09-17 23:56:30 +00:00
Joshua N. Pritikin
3aa927ac2f add temporary diagnostic code
Original commit message from CVS:
add temporary diagnostic code
2001-09-17 23:44:58 +00:00
Joshua N. Pritikin
68cecc8700 fix warnings
Original commit message from CVS:
fix warnings
2001-09-17 23:44:07 +00:00
Steve Baker
c4630dfcee init the values when the state hits playing so that we don't do dum things like log(0)
Original commit message from CVS:
init the values when the state hits playing so that we don't do dum things like log(0)
2001-09-17 19:15:53 +00:00
Steve Baker
312e46a540 smooth dparam now does log smooths when it is a log param (like frequency)
Original commit message from CVS:
smooth dparam now does log smooths when it is a log param (like frequency)
2001-09-17 19:14:35 +00:00
Joshua N. Pritikin
59a47966f1 looks like cvs mangled something (?) -- try to repair
Original commit message from CVS:
looks like cvs mangled something (?) -- try to repair
2001-09-17 07:33:04 +00:00
Steve Baker
dc2006465a volume param now uses the direct instead of the callback method to update
Original commit message from CVS:
volume param now uses the direct instead of the callback method to update
2001-09-16 16:54:34 +00:00
Steve Baker
ed02a662ae d'oh
Original commit message from CVS:
d'oh
2001-09-16 16:39:02 +00:00
Steve Baker
5be7eb77cf all info to describe a dparam is now in the GstDParamSpec struct. The resemblance to LADSPA descriptors is intentional
Original commit message from CVS:
all info to describe a dparam is now in the GstDParamSpec struct.  The resemblance to LADSPA descriptors is intentional
2001-09-16 13:00:49 +00:00
Steve Baker
1477b02850 make sure g2g_object_class_find_property returns NULL on error. This fixes LADSPA plugin which is a GoodThing
Original commit message from CVS:
make sure g2g_object_class_find_property returns NULL on error. This fixes LADSPA plugin which is a GoodThing
2001-09-15 14:47:37 +00:00
Erik Walthinsen
557b4281ce Move newbuf creation to the non-copyfunc case, since the copyfunc is now assumed to create the buffer (from a bufferp...
Original commit message from CVS:
Move newbuf creation to the non-copyfunc case, since the copyfunc is now
assumed to create the buffer (from a bufferpool, perhaps).  This solves a
memory leak.
2001-09-15 09:12:39 +00:00
Joshua N. Pritikin
8b29840f55 1. Add more warnings for the gst core only. Various trival fixes to quiet the warnings.
Original commit message from CVS:
1. Add more warnings for the gst core only.  Various trival fixes
to quiet the warnings.

2. Fix GstBufferCopyFunc prototype.

3. Re-apply the reverted type!=0 assertion in gst_elementfactory_new.
2001-09-14 22:16:47 +00:00
Joshua N. Pritikin
4934137e0c comment out unsupressable debugging foo
Original commit message from CVS:
comment out unsupressable debugging foo
2001-09-14 22:13:55 +00:00
Joshua N. Pritikin
6ed590fe49 fix glib2 build
Original commit message from CVS:
fix glib2 build
2001-09-14 21:57:47 +00:00
Joshua N. Pritikin
81cc74c301 doc fix
Original commit message from CVS:
doc fix
2001-09-14 20:02:48 +00:00
Joshua N. Pritikin
75a30f1f61 Nobody checks the return value of gst_pad_connect. This patch renames gst_pad_connect to gst_pad_try_connect and mak...
Original commit message from CVS:
Nobody checks the return value of gst_pad_connect.  This patch
renames gst_pad_connect to gst_pad_try_connect and makes
gst_pad_connect return void.
2001-09-14 19:45:20 +00:00
Steve Baker
7f47be399d generate real timestamps
Original commit message from CVS:
generate real timestamps
2001-09-14 19:18:53 +00:00
Steve Baker
4e4f06b50e add gst_dparam_attach, add a new dparam which smooths linear realtime values to minimise discontinuity artifacts
Original commit message from CVS:
add gst_dparam_attach, add a new dparam which smooths linear realtime values to minimise discontinuity artifacts
2001-09-14 19:17:45 +00:00
Steve Baker
a466301057 use gst_dparam_attach, check for boolean and timestamp before updating
Original commit message from CVS:
use gst_dparam_attach, check for boolean and timestamp before updating
2001-09-14 19:15:32 +00:00
Steve Baker
12ead469ca no reason to lock
Original commit message from CVS:
no reason to lock
2001-09-14 19:11:52 +00:00
Joshua N. Pritikin
6f4cf66e19 be less strict
Original commit message from CVS:
be less strict
2001-09-14 17:32:27 +00:00
Joshua N. Pritikin
ef37a388d0 make gst_thread_change_state more forgiving
Original commit message from CVS:
make gst_thread_change_state more forgiving
2001-09-14 05:02:27 +00:00
Joshua N. Pritikin
ca709618f9 turn assertion into nice error message
Original commit message from CVS:
turn assertion into nice error message
2001-09-14 01:57:09 +00:00
Joshua N. Pritikin
668bbfbe0b fix g_log_domain_gstreamer compile (again)
Original commit message from CVS:
fix g_log_domain_gstreamer compile (again)
2001-09-13 23:49:09 +00:00
Joshua N. Pritikin
02aca4f203 fix compile
Original commit message from CVS:
fix compile
2001-09-13 23:06:47 +00:00
Joshua N. Pritikin
59d6b74a61 1 fix duplicate #define of gst_marshal_VOID__OBJECT_POINTER 2 make g_critical automatically offer to do stack trace
Original commit message from CVS:
1 fix duplicate #define of gst_marshal_VOID__OBJECT_POINTER
2 make g_critical automatically offer to do stack trace
2001-09-13 21:16:25 +00:00
Joshua N. Pritikin
064447edc8 backport wtay's marshal fixes from the EVENT1 branch
Original commit message from CVS:
backport wtay's marshal fixes from the EVENT1 branch
2001-09-13 20:13:51 +00:00
Joshua N. Pritikin
4b88028280 fix memory leaks
Original commit message from CVS:
fix memory leaks
2001-09-13 20:12:17 +00:00
Joshua N. Pritikin
11ff1a3b97 add assertion
Original commit message from CVS:
add assertion
2001-09-13 01:16:45 +00:00
Joshua N. Pritikin
ab5863cba1 1 avoid freeing statically allocated factory->details 2 make assertions more self explanatory
Original commit message from CVS:
1 avoid freeing statically allocated factory->details
2 make assertions more self explanatory
2001-09-13 01:15:25 +00:00
Wim Taymans
d23968983c This should make lots of things work again..
Original commit message from CVS:
This should make lots of things work again..
2001-09-12 22:02:43 +00:00
Steve Baker
4f6ea0a611 added to -launch syntax: if an arg is prefixed with a '@' it will be treated as a dparam. eg sinesrc @volume=1.0 @fr...
Original commit message from CVS:
added to -launch syntax: if an arg is prefixed with a '@' it will be treated as a dparam.  eg sinesrc @volume=1.0 @freq=440.0
2001-09-12 11:28:09 +00:00
Steve Baker
3c51f9cfa7 remove volume and freq args. update to reflect api changes
Original commit message from CVS:
remove volume and freq args. update to reflect api changes
2001-09-12 11:26:31 +00:00
Steve Baker
e4cbf57c8d a bunch of changes including the beginnings of a direct (non-callback) and an array update method
Original commit message from CVS:
a bunch of changes including the beginnings of a direct (non-callback) and an array update method
2001-09-12 11:24:51 +00:00
Steve Baker
205f90dae3 require type in gst_dparam_new, add gst_dparam_set_value_from_string convenience func
Original commit message from CVS:
require type in gst_dparam_new, add gst_dparam_set_value_from_string convenience func
2001-09-12 11:22:43 +00:00
Steve Baker
7cfa1521d9 correct usage of gtk_arg_copy
Original commit message from CVS:
correct usage of gtk_arg_copy
2001-09-12 11:19:57 +00:00
Wim Taymans
8d3ec40f5e Updates to make it compile against gtk1.2 again. mostly marshal stuff.
Original commit message from CVS:
Updates to make it compile against gtk1.2 again. mostly marshal stuff.
2001-09-10 20:11:22 +00:00
Erik Walthinsen
47c7a3c430 fixed a minor annoyance (maybe major flaw) with comments, asm, and escaped newlines
Original commit message from CVS:
fixed a minor annoyance (maybe major flaw) with comments, asm, and escaped newlines
2001-09-10 20:02:12 +00:00
Erik Walthinsen
c6a04366a3 gstinfo.[ch], cothreads.c: added initial support for -finstrument_functions gstbin.c: removed a reference to config.h...
Original commit message from CVS:
gstinfo.[ch], cothreads.c: added initial support for -finstrument_functions
gstbin.c: removed a reference to config.h
gstbuffer.[ch]: added gst_buffer_is_span_fast(), used it in gst_buffer_span
elements/gstfilesrc.c: initial work fleshing out the event handling code

everywhere else: wrapped XML stuff in #ifndef's
2001-09-10 19:46:01 +00:00
Joshua N. Pritikin
8703d88ce7 Sync g_signal_new args with the marshaller (glib2 is very strict).
Original commit message from CVS:
Sync g_signal_new args with the marshaller (glib2 is very strict).
2001-09-10 19:00:42 +00:00
Joshua N. Pritikin
800bf882c3 Change gtk_type_new -> g_object_new.
Original commit message from CVS:
Change gtk_type_new -> g_object_new.
2001-09-10 18:58:27 +00:00
Steve Baker
7dfe156f37 replace GstDparamPoint struct with GValue** (actually that was in the previous commit). Change gst_dparam_new_point t...
Original commit message from CVS:
replace GstDparamPoint struct with GValue** (actually that was in the previous commit). Change gst_dparam_new_point to gst_dparam_new_value_array
2001-09-10 18:51:27 +00:00