Commit graph

2346 commits

Author SHA1 Message Date
Wim Taymans
0a2c1e9c61 Some cleanups
Original commit message from CVS:
Some cleanups
Add a KEY_UNIT flag for a seek event.
2002-06-02 11:49:57 +00:00
Wim Taymans
71e51b171c This is needed after all..
Original commit message from CVS:
This is needed after all..
2002-06-02 11:21:35 +00:00
Steve Baker
e0ca09383e a more complex example which happens to be a mp3 player
Original commit message from CVS:
a more complex example which happens to be a mp3 player
2002-06-01 15:08:13 +00:00
Steve Baker
6004504f6a added a test which shows a problem with state changes when the toplevel bin is a thread.
Original commit message from CVS:
added a test which shows a problem with state changes when the toplevel bin is a thread.
there is some kind of deadlock. It would be good if wingo or wtay could have a look.
2002-06-01 15:01:51 +00:00
Thomas Vander Stichele
8dba993065 even better
Original commit message from CVS:
even better
2002-06-01 10:29:29 +00:00
Thomas Vander Stichele
21201fe9b1 This looks a lot better when printing out ranges for doubles which are set at max. Tell me if I can change the other...
Original commit message from CVS:
This looks a lot better when printing out ranges for doubles which are
set at max.  Tell me if I can change the other arguments to be printed like
this too and I will change them
2002-06-01 10:24:38 +00:00
Wim Taymans
e89f26944a Slightly better timestamp handling use pad_query for _tell
Original commit message from CVS:
Slightly better timestamp handling
use pad_query for _tell
2002-05-31 23:39:09 +00:00
Wim Taymans
9940947219 Remove crappy event code from tee
Original commit message from CVS:
Remove crappy event code from tee
Some more debugging info in filesrc
2002-05-31 21:36:11 +00:00
Wim Taymans
6f8ddd3043 Set the element to eos after all EOS events are pushed
Original commit message from CVS:
Set the element to eos after all EOS events are pushed
2002-05-31 21:34:45 +00:00
Thomas Vander Stichele
ea74061a18 fix and comment
Original commit message from CVS:
fix and comment
2002-05-31 08:51:32 +00:00
Steve Baker
6712bc3afa only use ranked element factories for autoplugging. This is the only commit that needs to be backed out to reinstate ...
Original commit message from CVS:
only use ranked element factories for autoplugging. This is the only commit that needs to be backed out to reinstate previous behaviour.

Before your spider will work again, you will have to update/rebuild plugins and run gst-register.
2002-05-31 08:32:49 +00:00
Steve Baker
c4cd6b8381 save/load the elementfactory rank
Original commit message from CVS:
save/load the elementfactory rank
2002-05-31 08:18:13 +00:00
Steve Baker
5d902beab8 add a rank to elementfactory for autoplugging
Original commit message from CVS:
add a rank to elementfactory for autoplugging
2002-05-31 08:17:15 +00:00
Wim Taymans
3ac5605ac4 Added first draf of current events code.
Original commit message from CVS:
Added first draf of current events code.
2002-05-30 19:05:05 +00:00
Wim Taymans
a599a5b1df Created an overridable method for seeking on an element, along with a default implementation.
Original commit message from CVS:
Created an overridable method for seeking on an element, along with a default
implementation.
make queue flush on discont (not entirely correct)
removed the new_media from the discont event.
2002-05-30 19:03:30 +00:00
Thomas Vander Stichele
0aa7b2db8c show file
Original commit message from CVS:
show file
2002-05-30 16:31:36 +00:00
Thomas Vander Stichele
76c3b66b08 fixes bug 83427
Original commit message from CVS:
fixes bug  83427
2002-05-30 14:30:47 +00:00
Thomas Vander Stichele
5e58b4bdaa big mistake
Original commit message from CVS:
big mistake
2002-05-30 13:52:13 +00:00
Andy Wingo
24b89ebfd6 allow colons in indentifier names (for jack: " ... !alsa_pcm:out_1 jacksink")
Original commit message from CVS:
allow colons in indentifier names (for jack: " ... !alsa_pcm:out_1 jacksink")
2002-05-30 04:50:46 +00:00
Andy Wingo
c6446629ef fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
Original commit message from CVS:
fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
2002-05-30 04:33:01 +00:00
Steve Baker
2caef6eec9 many changes including:
Original commit message from CVS:
many changes including:
- now the rate needs to be set explicitly, instead of from a pad
- asynchronous mode has been implemented - and it even works
- some refactoring of the process code
- a plugin api change, GST_DPMAN_PREPROCESS and GST_DPMAN_PROCESS have changed a bit
they are now *a lot* simpler to use, more flexible, and optimised so that the process func is never called if nothing changes - all in all worth the api breakage.

UPDATE YOUR PLUGINS PEOPLE!
2002-05-29 18:51:27 +00:00
Steve Baker
fc7a6ad8c9 completely rewrite interpolation so that it is more stable, faster, easier to maintain and it now sounds damned smoooth
Original commit message from CVS:
completely rewrite interpolation so that it is more stable, faster, easier to maintain and it now sounds damned smoooth
2002-05-29 18:47:06 +00:00
Steve Baker
e1fe257bc9 add a value-changed signal so that subclasses can precalculate stuff after a value has been changed
Original commit message from CVS:
add a value-changed signal so that subclasses can precalculate stuff after a value has been changed
2002-05-29 18:45:25 +00:00
Steve Baker
52af47c5e4 fix from wingo so that get functions inside threads won't be locked twice
Original commit message from CVS:
fix from wingo so that get functions inside threads won't be locked twice
2002-05-29 15:33:46 +00:00
Steve Baker
d4e56cc925 this wasn't actually needed
Original commit message from CVS:
this wasn't actually needed
2002-05-29 15:30:10 +00:00
Wim Taymans
b07791a06b Handle the case where the pad change mid-switch.
Original commit message from CVS:
Handle the case where the pad change mid-switch.
Handle the case where the entry poin is removed from the scheduler.
2002-05-29 15:09:36 +00:00
Wim Taymans
fddb92b5e2 Error checking in pthread creation more info in gst_util_dump_mem
Original commit message from CVS:
Error checking in pthread creation
more info in gst_util_dump_mem
2002-05-29 15:01:50 +00:00
Wim Taymans
e4637a0a82 Some cleanups, more debugging info
Original commit message from CVS:
Some cleanups, more debugging info
2002-05-29 14:59:48 +00:00
Steve Baker
608589ef0d this seems to be needed when doing a pipeline like -launch { foo ! bar }
Original commit message from CVS:
this seems to be needed when doing a pipeline like -launch { foo ! bar }

Now you can run:
gst-launch --gst-mask=-1 { fakesrc ! fakesink }
to see what seems to be a double locking problem
2002-05-28 14:42:22 +00:00
Thomas Vander Stichele
d7a095654b added format.h
Original commit message from CVS:
added format.h
2002-05-28 09:18:04 +00:00
Thomas Vander Stichele
d2ad90cb82 should make stuff more legible
Original commit message from CVS:
should make stuff more legible
2002-05-28 08:56:34 +00:00
Thomas Vander Stichele
d000c8f4b5 making stuff purtier
Original commit message from CVS:
making stuff purtier
2002-05-27 19:52:00 +00:00
Thomas Vander Stichele
2a3ae58c89 together with the recent commit in common, this little beauty should
Original commit message from CVS:
together with the recent commit in common, this little beauty should
- implement both --with-automake and --with-autoconf to autogen.sh
- pass them on to configure, along with good settings for aclocal and autoheader
- which then forces these tools to be used in rebuilding through running
make in the dirs (which was the whole point of this makeover)

Please test and let me know if it doesn't break other stuff.
Right, going to make the really minimal set of changes to all of our other
modules now.  I love having made a common/ dir ;)

We now return to your regularly scheduled broadcast.
2002-05-27 13:37:37 +00:00
Andy Wingo
c887de8332 fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Wim Taymans
6f96a24d2e - The clock_wait now returns the difference between requested time and unlock time.
Original commit message from CVS:
- The clock_wait now returns the difference between requested time and
unlock time.
- Misc defines like GST_SECOND in gstclock.h
- remove pre/post in gstelement.c until fixed.
- added release_locks to gstelement so that the element can unlock itself
- added some more predefined events.
- added folowing functions to gstpad:
- convert function: get the relation between formats on this pad
- query function: get stats about the pad (position/total/latency)
- internal connect function: find out how this pad connects to other
pad internally to the element.
- generic pad_dispatcher.
- removed the last bits of pullregion
- use release_locks on the queue.
- added some events to queue
- make gstthread use the new release_locks function
- make the scheduler use the new clock_wait functions
- added events to fakesink
- added query functions to filesrc
- swap type and offset in the bytestream seek API to match fseek
- added some event handling in bytestream.
2002-05-26 21:54:27 +00:00
Wim Taymans
692b076459 Added g_malloc instead of a memchunk when using memprof
Original commit message from CVS:
Added g_malloc instead of a memchunk when using memprof
2002-05-26 21:22:50 +00:00
Wim Taymans
4aaca5cc34 Small fixes, use some wierd hack to make the plugin a .so
Original commit message from CVS:
Small fixes, use some wierd hack to make the plugin a .so
2002-05-26 21:21:37 +00:00
Andy Wingo
23d2701aa5 get rid of some debug printouts
Original commit message from CVS:
get rid of some debug printouts
2002-05-26 16:02:45 +00:00
Steve Baker
f252c3d388 cosmetic change: remove newlines from bs_print strings
Original commit message from CVS:
cosmetic change: remove newlines from bs_print strings
2002-05-26 10:02:03 +00:00
Andy Wingo
d2ed0906a6 implemented threadsafe property set/get system as discussed in docs/random/wingo/threadsafe-properties some cleanups ...
Original commit message from CVS:
* implemented threadsafe property set/get system as discussed in
docs/random/wingo/threadsafe-properties
* some cleanups
* this change will cause binary incompatibilities, better rebuild them plugins

now, off to drink :-)
2002-05-26 03:23:25 +00:00
Andy Wingo
9a6e87b6b6 added design doc for threadsafe properties
Original commit message from CVS:
added design doc for threadsafe properties
2002-05-25 20:58:08 +00:00
Andy Wingo
631c8f5ca5 re-enable thread test, although it does not work but passes right now warn for bizarre behavior in plugin loading
Original commit message from CVS:
re-enable thread test, although it does not work but passes right now
warn for bizarre behavior in plugin loading
2002-05-25 17:45:51 +00:00
Thomas Vander Stichele
e8982eaf0f API cleanup: (s/g)et_sched -> _scheduler
Original commit message from CVS:
API cleanup: (s/g)et_sched -> _scheduler
2002-05-25 15:36:59 +00:00
Thomas Vander Stichele
417a7f9408 typos
Original commit message from CVS:
typos
2002-05-25 15:25:47 +00:00
Andy Wingo
ad88770782 add gerror to gstplugin.c -- not fully propagated to periphery apis fix recursive dir creation in the xml registry co...
Original commit message from CVS:
* add gerror to gstplugin.c -- not fully propagated to periphery apis
* fix recursive dir creation in the xml registry
* comment identity props
* fix dependency resolution in lib loading
2002-05-20 23:11:10 +00:00
Steve Baker
5484324b04 New bytestream fileio style api has landed, along with some minor fixes:
Original commit message from CVS:
New bytestream fileio style api has landed, along with some minor fixes:
- implement gst_bytestream_tell
- prevent buffers from being gobbled after a seek
2002-05-15 18:52:08 +00:00
David I. Lehn
fbaeb5882f ulong type fix add 64b types add printing name of unknown type
Original commit message from CVS:
ulong type fix
add 64b types
add printing name of unknown type
2002-05-14 00:45:10 +00:00
David I. Lehn
37d29b584f formatting
Original commit message from CVS:
formatting
2002-05-14 00:40:15 +00:00
Andy Wingo
bdb2144428 make gst-inspect-gui call the proper gst-inspect
Original commit message from CVS:
make gst-inspect-gui call the proper gst-inspect
2002-05-11 23:33:32 +00:00
Andy Wingo
bf4e61ace3 Return TESTS_ENVIRONMENT, necessary to make the registry properly
Original commit message from CVS:
Return TESTS_ENVIRONMENT, necessary to make the registry properly
2002-05-11 21:38:16 +00:00