platform/upstream/gstreamer.git
23 years agoRemove cothreads.[ch] from tests/cothreads/ and replace then with a rule in the Makef...
Richard Boulton [Sun, 3 Dec 2000 15:02:24 +0000 (15:02 +0000)]
Remove cothreads.[ch] from tests/cothreads/ and replace then with a rule in the Makefile.am to generate symlinks to t...

Original commit message from CVS:
Remove cothreads.[ch] from tests/cothreads/ and replace then with a rule
in the Makefile.am to generate symlinks to the live versions of the code
in gst/ : fixes a compile error, and should keep things cleaner.

23 years agoEnhanced debugging by making DEBUG() print out the cothread ID as well as the process...
Erik Walthinsen [Sun, 3 Dec 2000 00:17:52 +0000 (00:17 +0000)]
Enhanced debugging by making DEBUG() print out the cothread ID as well as the process ID.  cothread_getcurrent return...

Original commit message from CVS:
Enhanced debugging by making DEBUG() print out the cothread ID as well as
the process ID.  cothread_getcurrent returns the current cothread ID, or
-1 if cothreads aren't set up in this process context.

23 years agoFirst pass at an outline for the Filter Writer's Guide. Mostly complete, though...
Erik Walthinsen [Sat, 2 Dec 2000 10:07:50 +0000 (10:07 +0000)]
First pass at an outline for the Filter Writer's Guide.  Mostly complete, though the structure needs some work.  Just...

Original commit message from CVS:
First pass at an outline for the Filter Writer's Guide.  Mostly complete,
though the structure needs some work.  Just need someone to write it ;-)

23 years agoAnother type system proposal.
Wim Taymans [Thu, 30 Nov 2000 20:30:45 +0000 (20:30 +0000)]
Another type system proposal.

Original commit message from CVS:
Another type system proposal.

23 years agoRearranged cothread_switch a bit to move all the code for error conditions to the...
Erik Walthinsen [Wed, 29 Nov 2000 10:05:47 +0000 (10:05 +0000)]
Rearranged cothread_switch a bit to move all the code for error conditions to the end, using goto's to get there.  Th...

Original commit message from CVS:
Rearranged cothread_switch a bit to move all the code for error conditions
to the end, using goto's to get there.  This has the presumed advantage of
consolidating all the normally run code into one chunk, reducing jumps
(and the associated penalties in any modern processor) and limiting cache-
line usage.  It may be instructive to look at the generated assembly for
this revision and the previous, to see if gcc is smart enough to do this
for us anyway.

If you want to turn off some of the checks (they are all checks for NULL
pointers, if you're curious) for a speed gain, disable the #define of
COTHREAD_PARANOID at the top.

23 years agoAdded the type system design.
Wim Taymans [Sun, 26 Nov 2000 19:11:00 +0000 (19:11 +0000)]
Added the type system design.

Original commit message from CVS:
Added the type system design.

23 years agoMore ramblings..
Wim Taymans [Sat, 25 Nov 2000 18:13:26 +0000 (18:13 +0000)]
More ramblings..

Original commit message from CVS:
More ramblings..

23 years agoAnother alternative to the src. Please correct.
Wim Taymans [Sat, 25 Nov 2000 16:45:16 +0000 (16:45 +0000)]
Another alternative to the src. Please correct.

Original commit message from CVS:
Another alternative to the src. Please correct.

23 years agoAdded asci art control flow diagrams
Wim Taymans [Sat, 25 Nov 2000 16:00:39 +0000 (16:00 +0000)]
Added asci art control flow diagrams

Original commit message from CVS:
Added asci art control flow diagrams

23 years agoCode Cleanups
Wim Taymans [Sat, 25 Nov 2000 14:18:47 +0000 (14:18 +0000)]
Code Cleanups

Original commit message from CVS:
Code Cleanups
Added use cases for the source elements.

23 years agoAdded code to force the gsttypes plugin to load before gstelements, by simply having...
Erik Walthinsen [Sat, 25 Nov 2000 07:43:57 +0000 (07:43 +0000)]
Added code to force the gsttypes plugin to load before gstelements, by simply having gstelements.c request the plugin...

Original commit message from CVS:
Added code to force the gsttypes plugin to load before gstelements, by
simply having gstelements.c request the plugin.  Solves some dependency
problems.  This is the correct method of doing this for now, though I had
a thought:

Have a static list of hard dependencies that the plugin system is responsible
for satisfying before even trying to load the plugin.  Makes plugin design
easier.

23 years agoadded the ability to disable pads, not quite complete but sufficient for now
Erik Walthinsen [Sat, 25 Nov 2000 07:02:55 +0000 (07:02 +0000)]
added the ability to disable pads, not quite complete but sufficient for now

Original commit message from CVS:
added the ability to disable pads, not quite complete but sufficient for now

23 years agoFixed a dumb mistake: in gst_element_set_loop_function, it was forcing the cothread...
Erik Walthinsen [Fri, 24 Nov 2000 22:28:19 +0000 (22:28 +0000)]
Fixed a dumb mistake: in gst_element_set_loop_function, it was forcing the cothread's entry function to change. This ...

Original commit message from CVS:
Fixed a dumb mistake: in gst_element_set_loop_function, it was forcing
the cothread's entry function to change. This is totally wrong, the
create_plan function in GstBin is responsible for setting that to its
own internal helper function.  Code removed outright...

23 years agoClosed 22145 - gstelement.c: support hotswapping of loopfunc
Erik Walthinsen [Thu, 23 Nov 2000 21:49:09 +0000 (21:49 +0000)]
Closed 22145 - gstelement.c: support hotswapping of loopfunc

Original commit message from CVS:
Closed 22145 - gstelement.c: support hotswapping of loopfunc

Added a flag GST_ELEMENT_NEW_LOOPFUNC that's set when a new loopfunc is set,
which needs to be obeyed by the loopfuncs themselves.  The assumption is
that only a loopfunc or an element that knows what it's doing will ever
change the loopfunc pointer, so they can be responsible for exitting
the loopfunc itself appropriately.

The loopfunc_wrapper function has been changed to call the loopfunc
pointer itself in a loop.  If the loopfunc changes, the current loop is
supposed to exit, which causes the loopfunc_wrapper to start up the new
loopfunc.

23 years agoClosed task 22143 - gstelemnt.c: complete gst_element_connect
Erik Walthinsen [Thu, 23 Nov 2000 20:39:54 +0000 (20:39 +0000)]
Closed task 22143 - gstelemnt.c: complete gst_element_connect

Original commit message from CVS:
Closed task 22143 - gstelemnt.c: complete gst_element_connect

SImple matter of cleaning up the conflicting checks and actually
connecting the pads in question.

23 years agogstbin.c: modified so create_plan occurs after the state change of all the child...
Erik Walthinsen [Thu, 23 Nov 2000 08:13:43 +0000 (08:13 +0000)]
gstbin.c: modified so create_plan occurs after the state change of all the child elements.

Original commit message from CVS:
gstbin.c: modified so create_plan occurs after the state change of all the
child elements.
gstelement.c: set_state now loops such that each element only deals with
one state change at a time, i.e. NULL->READY,READY->PLAYING,
instead of a single NULL->PLAYING.

23 years agoSomething was wrong with SSE initialisation in mpeg2dec
Wim Taymans [Mon, 20 Nov 2000 22:05:30 +0000 (22:05 +0000)]
Something was wrong with SSE initialisation in mpeg2dec

Original commit message from CVS:
Something was wrong with SSE initialisation in mpeg2dec
Added little performance test (compile with gprof)

23 years agoReworked AC3 decoder. No seeking yet but at least we do not need ac3parse anymore.
Wim Taymans [Mon, 20 Nov 2000 19:04:32 +0000 (19:04 +0000)]
Reworked AC3 decoder. No seeking yet but at least we do not need ac3parse anymore.

Original commit message from CVS:
Reworked AC3 decoder. No seeking yet but at least we do not need ac3parse
anymore.
Reworked dvdsrc to read scrambled data (DeCSS not included). I have
modified DeCSS a bit to work in GStreamer. Can I release the code or is
there some lawyer that's going to sue me?
MPEG2 SSE motion compensation.
Tried to add PTS to the MPEG decoder but failed.

23 years agoThe bonobo component now works on audio only (mp3/vorbis). Video is broken because...
Wim Taymans [Sun, 12 Nov 2000 20:34:29 +0000 (20:34 +0000)]
The bonobo component now works on audio only (mp3/vorbis). Video is broken because bonobo does not handle multithread...

Original commit message from CVS:
The bonobo component now works on audio only (mp3/vorbis). Video
is broken because bonobo does not handle multithreading yet.
Added Bonobo toolbar and menu.

23 years agoDocs updates.
Wim Taymans [Sat, 11 Nov 2000 15:13:50 +0000 (15:13 +0000)]
Docs updates.

Original commit message from CVS:
Docs updates.
Added LICENSE info to headers/code where missing in gst directory
Added a bonobo wrapper for the media player (it shows up in gshell but
locks up when activating the component, anyone?)
Fixed some XML save/load problems with arguments.

23 years agoFix for the new gnome libraries. It looks like glade does not like empty dockitems...
Wim Taymans [Wed, 8 Nov 2000 19:53:48 +0000 (19:53 +0000)]
Fix for the new gnome libraries. It looks like glade does not like empty dockitems...

Original commit message from CVS:
Fix for the new gnome libraries. It looks like glade does not like
empty dockitems...

23 years agoLibrary docs update
Wim Taymans [Tue, 7 Nov 2000 21:38:34 +0000 (21:38 +0000)]
Library docs update

Original commit message from CVS:
Library docs update

23 years agoI'm too lazy to comment this
Wim Taymans [Tue, 7 Nov 2000 21:24:12 +0000 (21:24 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

23 years agoUpdated docs
Wim Taymans [Tue, 7 Nov 2000 21:18:52 +0000 (21:18 +0000)]
Updated docs

Original commit message from CVS:
Updated docs

23 years agoAdded seeking to the avi decoder by implementing pull_region.
Wim Taymans [Mon, 6 Nov 2000 00:15:51 +0000 (00:15 +0000)]
Added seeking to the avi decoder by implementing pull_region.

Original commit message from CVS:
Added seeking to the avi decoder by implementing pull_region.
Fixes to the asyncdisksrc.
Added thread specific data to the cothreads.

23 years agoI'm too lazy to comment this
Wim Taymans [Sat, 4 Nov 2000 18:55:01 +0000 (18:55 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

23 years agoAdded the excellent mpeg2dec decoder. Not 100% optimized but allready very fast.
Wim Taymans [Sat, 4 Nov 2000 18:54:07 +0000 (18:54 +0000)]
Added the excellent mpeg2dec decoder. Not 100% optimized but allready very fast.

Original commit message from CVS:
Added the excellent mpeg2dec decoder. Not 100% optimized but allready
very fast.
More cleanup.

23 years agoMake sure the Gdk thread lock is not held inside the gstreamer pipeline.
Wim Taymans [Thu, 2 Nov 2000 20:10:08 +0000 (20:10 +0000)]
Make sure the Gdk thread lock is not held inside the gstreamer pipeline.

Original commit message from CVS:
Make sure the Gdk thread lock is not held inside the gstreamer pipeline.
Fix the videosink to not hold the Gdk lock when emitting a signal.
All Gtk GUI apps using GStreamer should now handle the Gdk locks when
handling signals from the pipeline (as it should be)

23 years agoSome code cleanup
Wim Taymans [Wed, 1 Nov 2000 22:11:48 +0000 (22:11 +0000)]
Some code cleanup

Original commit message from CVS:
Some code cleanup
Let the parent GstBin decide when to do a create_plan (bin inside a thread)

23 years agoCode cleanup, make it adhere to the Gnome/Gtk+ code formatting, which is quite clean...
Wim Taymans [Wed, 1 Nov 2000 13:49:41 +0000 (13:49 +0000)]
Code cleanup, make it adhere to the Gnome/Gtk+ code formatting, which is quite clean and more readable.

Original commit message from CVS:
Code cleanup, make it adhere to the Gnome/Gtk+ code formatting, which is
quite clean and more readable.
Renamed parseavi to avidecoder
Implemented seeking/time display/pause/play/stop/clean exit to gstmediaplay
Added an element flag to indicate that it cannot deal with noncontigous
buffers. If such an element is found in the pipeline, seeking is disabled
for the complete stream (avidecoder cannot deal with seeking until we convert
it to a loop based element with pull_region to fetch the indeces etc...)

23 years agoMissing files..
Wim Taymans [Mon, 30 Oct 2000 21:10:35 +0000 (21:10 +0000)]
Missing files..

Original commit message from CVS:
Missing files..

23 years agoMisc fixes and cleanups
Wim Taymans [Mon, 30 Oct 2000 21:02:08 +0000 (21:02 +0000)]
Misc fixes and cleanups

Original commit message from CVS:
Misc fixes and cleanups
A reworked gstplay. Now it is called gstmediaplay. gstplay is a custom
widget that can display media and is to become a bonobo component soon.
put the tables of the mpeg audio encoder in a header file.
maybe faster quantisation for the mpeg encoder.

23 years agoSlightly faster yuv to rgb conversion.
Wim Taymans [Thu, 26 Oct 2000 19:07:27 +0000 (19:07 +0000)]
Slightly faster yuv to rgb conversion.

Original commit message from CVS:
Slightly faster yuv to rgb conversion.

23 years agoMore Docs updates.
Wim Taymans [Wed, 25 Oct 2000 19:09:53 +0000 (19:09 +0000)]
More Docs updates.

Original commit message from CVS:
More Docs updates.
Added plugin documentation. I fear we need a gstdoc implementation
that loads plugins and does introspection on them. I think we should
automatically create the docs for the pads and mime types the plugins
provide. Does anyone have enough perl knowledge to add these features? I
allready changed the C code to output the pad definitions but my perl
knowledge is too limited, for now, to implement the rest of the needed
functionality...

23 years agoMore docs updates
Wim Taymans [Sun, 22 Oct 2000 16:30:25 +0000 (16:30 +0000)]
More docs updates

Original commit message from CVS:
More docs updates

23 years agoDocumentation updates documented the libraries
Wim Taymans [Sun, 22 Oct 2000 16:27:21 +0000 (16:27 +0000)]
Documentation updates documented the libraries

Original commit message from CVS:
Documentation updates
documented the libraries

23 years agoMPEG2 types added for better autoplugging. MPEG2 works more or less. fix in autoplugg...
Wim Taymans [Sat, 21 Oct 2000 12:04:40 +0000 (12:04 +0000)]
MPEG2 types added for better autoplugging. MPEG2 works more or less. fix in autoplugging. avi now works.

Original commit message from CVS:
MPEG2 types added for better autoplugging. MPEG2 works more or less.
fix in autoplugging. avi now works.

23 years agoRemoved the hardcoded pipeline setup is gstplay in favor of the autoplugging features...
Wim Taymans [Thu, 12 Oct 2000 19:41:30 +0000 (19:41 +0000)]
Removed the hardcoded pipeline setup is gstplay in favor of the autoplugging features. Still in a rought shape...

Original commit message from CVS:
Removed the hardcoded pipeline setup is gstplay in favor of the
autoplugging features. Still in a rought shape...

23 years agoManual now gets installed correctly by make install. Problems: clean / uninstall...
Richard Boulton [Thu, 12 Oct 2000 08:43:03 +0000 (08:43 +0000)]
Manual now gets installed correctly by make install.  Problems: clean / uninstall don't work.

Original commit message from CVS:
Manual now gets installed correctly by make install.  Problems:
clean / uninstall don't work.
make dist not tested.
pdf manual doesn't have images.

23 years agoAdded extra Gtk types for better editor properties (FILENAME, enums)
Wim Taymans [Wed, 11 Oct 2000 19:30:07 +0000 (19:30 +0000)]
Added extra Gtk types for better editor properties (FILENAME, enums)

Original commit message from CVS:
Added extra Gtk types for better editor properties (FILENAME, enums)
The disksrcs location property can now be set in the editor: we can
now make our first working mp3 player with gsteditor!!

23 years agoFixed a severe timestamp bug in mpeg_play.
Wim Taymans [Mon, 9 Oct 2000 20:01:17 +0000 (20:01 +0000)]
Fixed a severe timestamp bug in mpeg_play.

Original commit message from CVS:
Fixed a severe timestamp bug in mpeg_play.
Create a new thread upon a multisrc element in autoplugging: the autoplug
example now correctly sets up 5 threads for an mpeg player.

23 years agoAdded building of the manual to the build system. Currently in a rudimentary state...
Richard Boulton [Mon, 9 Oct 2000 00:34:21 +0000 (00:34 +0000)]
Added building of the manual to the build system.  Currently in a rudimentary state - will not gracefully give up if ...

Original commit message from CVS:
Added building of the manual to the build system.  Currently in a
rudimentary state - will not gracefully give up if tools not available,
will not uninstall / clean, and may not install / make dist properly.
Documentation does not have dependencies on images, so won't rebuild if
they're altered either.

23 years agoAdded an autoplug example. This little program (30 relevant lines) is able to play...
Wim Taymans [Sun, 8 Oct 2000 22:23:12 +0000 (22:23 +0000)]
Added an autoplug example. This little program (30 relevant lines) is able to play MPEG1(system)/MPEG2(system)/AVI(DI...

Original commit message from CVS:
Added an autoplug example. This little program (30 relevant lines) is able
to play MPEG1(system)/MPEG2(system)/AVI(DIVX)/Vorbis/AC3 and whatever codec
you write.
Separated the mp3 and mpeg1 types for better reuse.

23 years agoFixed a bug in the typeloading.
Wim Taymans [Sun, 8 Oct 2000 22:17:11 +0000 (22:17 +0000)]
Fixed a bug in the typeloading.

Original commit message from CVS:
Fixed a bug in the typeloading.
Fixes to various elements so that correct types are returned.
Fixed flag collision with GtkObject.
Elements can now suggest a thread. not sure if this is the right way to
handle automatic thread creation.
Autoplugging now works with multiple sinks and thread setup. No threads
are created for intermediate elements yet, so MPEG may still be choppy.

23 years agoDon't compile editor if havn't got libglade-gnome.
Richard Boulton [Fri, 6 Oct 2000 02:38:11 +0000 (02:38 +0000)]
Don't compile editor if havn't got libglade-gnome.

Original commit message from CVS:
Don't compile editor if havn't got libglade-gnome.

23 years agoInitial work for the new editor.
Wim Taymans [Sun, 1 Oct 2000 21:46:33 +0000 (21:46 +0000)]
Initial work for the new editor.

Original commit message from CVS:
Initial work for the new editor.

23 years agoLoading and saving of XML pipeline descriptions.
Wim Taymans [Wed, 27 Sep 2000 19:33:10 +0000 (19:33 +0000)]
Loading and saving of XML pipeline descriptions.

Original commit message from CVS:
Loading and saving of XML pipeline descriptions.
GladeXML like operation implemented (you can retrieve parts of a pipeline)

23 years agobetter .cvsignore
Wim Taymans [Sun, 24 Sep 2000 22:47:08 +0000 (22:47 +0000)]
better .cvsignore

Original commit message from CVS:
better .cvsignore

23 years agoCleanups.
Wim Taymans [Sun, 24 Sep 2000 22:45:48 +0000 (22:45 +0000)]
Cleanups.

Original commit message from CVS:
Cleanups.
The first steps to a Glade like XML handling.
A first example of what is to come...

23 years agoAn example of two threads and two queues.
Wim Taymans [Sun, 24 Sep 2000 14:31:21 +0000 (14:31 +0000)]
An example of two threads and two queues.

Original commit message from CVS:
An example of two threads and two queues.

23 years agoThe cothreads were not initialized in its thread context resulting in severe stack...
Wim Taymans [Sun, 24 Sep 2000 14:29:49 +0000 (14:29 +0000)]
The cothreads were not initialized in its thread context resulting in severe stack corruption. This was very hard to ...

Original commit message from CVS:
The cothreads were not initialized in its thread context resulting in
severe stack corruption. This was very hard to track down.
We should be able now to modify some plugins to a loop based setup so that
we can get rid of the mp3parse and mp1videoparse elements.
Modified the GList to a GSList in the queue.

23 years agoA first attempt to fix the queues in a cothreaded pipeline.
Wim Taymans [Fri, 22 Sep 2000 23:35:14 +0000 (23:35 +0000)]
A first attempt to fix the queues in a cothreaded pipeline.

Original commit message from CVS:
A first attempt to fix the queues in a cothreaded pipeline.
Some fixes to the thread handling.
Fix a bug in gstreamer-config : gthread was not included.
gst_bin_create_plan() is now done in the READY state.
a bin with only another bin in it will now work with gst_bin_iterate.
Added some examples for the queues.

23 years agoIDCT works, and ieeetest not complains nicely if attempt to run a test with an unsupp...
Richard Boulton [Thu, 21 Sep 2000 01:42:19 +0000 (01:42 +0000)]
IDCT works, and ieeetest not complains nicely if attempt to run a test with an unsupported DCT type.

Original commit message from CVS:
IDCT works, and ieeetest not complains nicely if attempt to run a test
with an unsupported DCT type.

23 years agoMake libs/idct only build mmx support if available - hopefully makes it compile on...
Richard Boulton [Thu, 21 Sep 2000 01:34:34 +0000 (01:34 +0000)]
Make libs/idct only build mmx support if available - hopefully makes it compile on PPC.

Original commit message from CVS:
Make libs/idct only build mmx support if available - hopefully makes it
compile on PPC.

23 years agoPatch from Chris Emerson for PPC. cothreads stuff was causing segfaults, because...
Richard Boulton [Thu, 21 Sep 2000 00:57:09 +0000 (00:57 +0000)]
Patch from Chris Emerson for PPC.  cothreads stuff was causing segfaults, because the stack needs to be initialised w...

Original commit message from CVS:
Patch from Chris Emerson for PPC.  cothreads stuff was causing segfaults,
because the stack needs to be initialised with a particular structure on
PPC, unlike x86 where it simply has items pushed or popped.
Added Chris to AUTHORS, for his trouble.

23 years agoFix compile problem due to DEBUG being redefined in libs/getbits/gstgetbits.h. Also...
Richard Boulton [Mon, 18 Sep 2000 22:19:57 +0000 (22:19 +0000)]
Fix compile problem due to DEBUG being redefined in libs/getbits/gstgetbits.h.  Also fix several small typos in the d...

Original commit message from CVS:
Fix compile problem due to DEBUG being redefined in
libs/getbits/gstgetbits.h.  Also fix several small typos in the docs and
examples.

23 years agoAdded gst_pipeline_add_sink/src to allow multiple sink cases and more complex autoplu...
Wim Taymans [Sun, 17 Sep 2000 22:08:09 +0000 (22:08 +0000)]
Added gst_pipeline_add_sink/src to allow multiple sink cases and more complex autoplugging. Update docs too.

Original commit message from CVS:
Added gst_pipeline_add_sink/src to allow multiple sink cases and
more complex autoplugging. Update docs too.
Simplified the pipeline autoplugging code.
Changed the cothread case: One iteration is now a push from the src
element. The disk source does not change its state anymore on eof.
Better type setting for the ac3 parser/decoder and mpeg2parse.

23 years agoAdded check for vorbis.
Wim Taymans [Sun, 17 Sep 2000 14:06:18 +0000 (14:06 +0000)]
Added check for vorbis.

Original commit message from CVS:
Added check for vorbis.
Really compile with Xv extension if the library is found.
Changed the disksrc so that is goes to the PAUSE state if eof.

23 years agoInformation about the bonobo components and capplets we are going to make :-)
Wim Taymans [Sun, 17 Sep 2000 12:32:07 +0000 (12:32 +0000)]
Information about the bonobo components and capplets we are going to make :-)

Original commit message from CVS:
Information about the bonobo components and capplets we are going to make :-)

23 years agoConverted the mpeg2 encoder asm to gnu asm, removing the dependency of nasm
Wim Taymans [Sun, 17 Sep 2000 12:31:01 +0000 (12:31 +0000)]
Converted the mpeg2 encoder asm to gnu asm, removing the dependency of nasm

Original commit message from CVS:
Converted the mpeg2 encoder asm to gnu asm, removing the dependency of nasm
Added cpu detection in the mpeg2 encoder
removed the inlined mmx asembler to seperate files.

23 years agoMore work porting to PPC. libs/winloader is disabled on PPC - I doubt this can be...
Richard Boulton [Sat, 16 Sep 2000 23:11:05 +0000 (23:11 +0000)]
More work porting to PPC. libs/winloader is disabled on PPC - I doubt this can be made to work.

Original commit message from CVS:
More work porting to PPC.
libs/winloader is disabled on PPC - I doubt this can be made to work.
libs/videoscale and libs/idct are also disabled - they should be fixable
though.

Sorted out most of the plugins - avi is disabled for now on PPC;
can be worked on later if there's any chance of getting it to work.

Also provide an automake conditional for compiling vorbis, based on a
configure test for the needed libraries: currently the test isn't
implemented and defaults to "no" so you'll have to fiddle it to compile
vorbis.  I shall get hold of vorbis and implement an appropriate test some
other time (if noone else beats me to it).

23 years agoMoved generic function implementations into gstgetbits_generic.c, and tidy up a bit.
Richard Boulton [Sat, 16 Sep 2000 22:03:24 +0000 (22:03 +0000)]
Moved generic function implementations into gstgetbits_generic.c, and tidy up a bit.

Original commit message from CVS:
Moved generic function implementations into gstgetbits_generic.c, and
tidy up a bit.

23 years agoAdded a quick hack to allow loop based elements to finish intead of looping till...
Wim Taymans [Sat, 16 Sep 2000 10:58:23 +0000 (10:58 +0000)]
Added a quick hack to allow loop based elements to finish intead of looping till infinity.

Original commit message from CVS:
Added a quick hack to allow loop based elements to finish intead of
looping till infinity.
Added compile time i386 or plain C getbits implementation selection.
The vorbis decoder now is our first loop based element!

23 years agoMore work towards a powerPC port, and towards generic portability.
Richard Boulton [Sat, 16 Sep 2000 00:59:12 +0000 (00:59 +0000)]
More work towards a powerPC port, and towards generic portability.

Original commit message from CVS:
More work towards a powerPC port, and towards generic portability.

23 years agoFix on x86 architectures - was just checking for 386, D'oh.
Richard Boulton [Fri, 15 Sep 2000 23:04:31 +0000 (23:04 +0000)]
Fix on x86 architectures - was just checking for 386, D'oh.

Original commit message from CVS:
Fix on x86 architectures - was just checking for 386, D'oh.
Fix autogen to run autoheader _before_ autoconf, since it generates a
required file (config.h.in, which I just removed from CVS since its an
autogenerated one).  Also fix messed up variables in gst/Makefile.am

23 years agoBegun to add support for non i386 architectures, with the help of Chris
Richard Boulton [Fri, 15 Sep 2000 22:44:10 +0000 (22:44 +0000)]
Begun to add support for non i386 architectures, with the help of Chris

Original commit message from CVS:
Begun to add support for non i386 architectures, with the help of Chris
Emerson.  Added bits to configure to figure out architecture, and added
some alternatives for PPC.  Should cause no problems on i386, but I'll
check after this commit, but doesn't yet work on PPC by a fair way...

23 years agoThe vorbis encoder
Wim Taymans [Thu, 14 Sep 2000 22:18:43 +0000 (22:18 +0000)]
The vorbis encoder

Original commit message from CVS:
The vorbis encoder
A test program to convert an mp3 to a vorbis file.
A fix for the dynamic plugin loader factory_find was not working.
Don't forget to run gstreamer-register after installing the plugins!

23 years agoDue to popular demand :-), I added a vorbis decoder.
Wim Taymans [Thu, 14 Sep 2000 20:31:03 +0000 (20:31 +0000)]
Due to popular demand :-), I added a vorbis decoder.

Original commit message from CVS:
Due to popular demand :-), I added a vorbis decoder.
The encoder is not yet functional.
Small cosmetic changes to gstcpu.c

Beware:
You *need* to install libvorbis.a from the main vorbis CVS.
you *have* to change the line in libtool to
deplibs_check_method="pass_all"
because else the plugin shared library refuses to link against the
static libvorbis.a library. This is a hack. I have no intention in
including libvorbis into the gstreamer CVS tree and making it
libtool compatible.

23 years agoBring the low level API docs up to date.
Wim Taymans [Wed, 13 Sep 2000 19:04:55 +0000 (19:04 +0000)]
Bring the low level API docs up to date.

Original commit message from CVS:
Bring the low level API docs up to date.

23 years agoAdded CPU detection.
Wim Taymans [Tue, 12 Sep 2000 18:13:48 +0000 (18:13 +0000)]
Added CPU detection.

Original commit message from CVS:
Added CPU detection.
Added SSE optimisation to mpeg_play
Modified the mpeg2 decoder and gstidct to use cpu detection.
Cleanups in the mpeg1 and mpeg2 decoders.

23 years agoImages for the documantation
Wim Taymans [Sat, 9 Sep 2000 16:40:04 +0000 (16:40 +0000)]
Images for the documantation

Original commit message from CVS:
Images for the documantation

23 years agoA thread example.
Wim Taymans [Sat, 9 Sep 2000 16:39:03 +0000 (16:39 +0000)]
A thread example.

Original commit message from CVS:
A thread example.
An example of gstreamer-launch: an mp3 player

23 years agoChanges to gstreamer-config to include gtk+ libs manual changes: queues, threads...
Wim Taymans [Sat, 9 Sep 2000 16:36:10 +0000 (16:36 +0000)]
Changes to gstreamer-config to include gtk+ libs manual changes: queues, threads, programs gsteditor does not crash a...

Original commit message from CVS:
Changes to gstreamer-config to include gtk+ libs
manual changes: queues, threads, programs
gsteditor does not crash anymore.
gstpipline new should return a GstElement *
fixed ac3dec for new getbits
fixes to gstreamer-launch
more efficient startup for gstplay.

23 years agoFaster and modular getbits implementation.
Wim Taymans [Thu, 7 Sep 2000 20:35:15 +0000 (20:35 +0000)]
Faster and modular getbits implementation.

Original commit message from CVS:
Faster and modular getbits implementation.
Fixed a bug in the audiosink that could lock up your box on bad MB.
Modified the plugins to use the new getbits functions.

23 years agoExternalized the plugin information in /etc/gstreamer/reg.xml
Wim Taymans [Mon, 28 Aug 2000 20:20:55 +0000 (20:20 +0000)]
Externalized the plugin information in /etc/gstreamer/reg.xml

Original commit message from CVS:
Externalized the plugin information in /etc/gstreamer/reg.xml
- no need to do a plugin_load_all()
- plugins are loaded when needed
- typedetect functions are loaded when needed (still buggy)
- no need to check for the existance of the plugin in the codecs
- added gstreamer-register to create the reg.xml file
- renamed launch to gstreamer-launch
- plugins need to register the typefactory they provide
modified the plugins to meet the new design
modified the plugins to correctly set their pad types
autoplugging can be done without loading the plugins now

23 years agoMore docs (most of them just empty...)
Wim Taymans [Tue, 22 Aug 2000 21:18:18 +0000 (21:18 +0000)]
More docs (most of them just empty...)

Original commit message from CVS:
More docs (most of them just empty...)
Added automatic pad plugging.
Added automatic dynamic pad plugging.
Changed some codecs to correctly set their pad types.

23 years ago..
Wim Taymans [Mon, 21 Aug 2000 21:57:40 +0000 (21:57 +0000)]
..

Original commit message from CVS:
..

23 years agoAn example using autoplug. Works for mp3 files only for now.
Wim Taymans [Mon, 21 Aug 2000 21:23:27 +0000 (21:23 +0000)]
An example using autoplug. Works for mp3 files only for now.

Original commit message from CVS:
An example using autoplug. Works for mp3 files only for now.

23 years agoA first (rude) attempt at autoplug.
Wim Taymans [Mon, 21 Aug 2000 21:20:38 +0000 (21:20 +0000)]
A first (rude) attempt at autoplug.

Original commit message from CVS:
A first (rude) attempt at autoplug.
Autoplugging selects appropriate codecs to connect src to sink, adds
them to the pipeline and connect pads.
Autoplugging will run the typedetect plugin if the src pad has no MIME
type.
No autoplugging is done on the src and sink pads, it's hardcoded:
connect 'src to sink'.
No attempt at creating threads.
No attempt at dynamically autoplugging not yet existing pads.
Changes to (some) plugins to properly set their MIME types.

23 years agoMore manual about MIME types and factories...
Wim Taymans [Sat, 19 Aug 2000 16:36:24 +0000 (16:36 +0000)]
More manual about MIME types and factories...

Original commit message from CVS:
More manual about MIME types and factories...

23 years agolibXv is now linked against by test/* and gstplay if it is present.
Richard Boulton [Sat, 19 Aug 2000 00:29:57 +0000 (00:29 +0000)]
libXv is now linked against by test/* and gstplay if it is present.

Original commit message from CVS:
libXv is now linked against by test/* and gstplay if it is present.
-lXv isn't leaked all over the place due to AC_CHECK_LIB test.
This is still messy though - we shouldn't have to link explicitly
with extra things just because we use certain plugins.

Build Makefile in tests, but don't recurse into tests when doing the
build  (tests no longer in SUBDIRS).

23 years agoTest for a working libglade-gnome, and compile gstplay only if there is one.
Richard Boulton [Fri, 18 Aug 2000 23:31:30 +0000 (23:31 +0000)]
Test for a working libglade-gnome, and compile gstplay only if there is one.

Original commit message from CVS:
Test for a working libglade-gnome, and compile gstplay only if there is
one.

23 years agoRichard has been promoted to makefile hacker :-)
Wim Taymans [Fri, 18 Aug 2000 22:54:57 +0000 (22:54 +0000)]
Richard has been promoted to makefile hacker :-)

Original commit message from CVS:
Richard has been promoted to makefile hacker :-)

23 years agoRemove rdts until a better fix for the bad asm is found...
Wim Taymans [Fri, 18 Aug 2000 22:17:34 +0000 (22:17 +0000)]
Remove rdts until a better fix for the bad asm is found...

Original commit message from CVS:
Remove rdts until a better fix for the bad asm is found...

23 years agoRemoved bad asm call for rdts. Need to fix this...
Wim Taymans [Fri, 18 Aug 2000 22:15:58 +0000 (22:15 +0000)]
Removed bad asm call for rdts. Need to fix this...

Original commit message from CVS:
Removed bad asm call for rdts. Need to fix this...

23 years agoIf nasm isn't present, mpeg2enc plugin just ignores the .s files,
Richard Boulton [Fri, 18 Aug 2000 22:07:34 +0000 (22:07 +0000)]
If nasm isn't present, mpeg2enc plugin just ignores the .s files,

Original commit message from CVS:
If nasm isn't present, mpeg2enc plugin just ignores the .s files,
C equivalents will be used.

23 years agoTest for nasm - define HAVE_NASM in config.h if we have it, and AC_SUBST
Richard Boulton [Fri, 18 Aug 2000 21:30:30 +0000 (21:30 +0000)]
Test for nasm - define HAVE_NASM in config.h if we have it, and AC_SUBST

Original commit message from CVS:
Test for nasm - define HAVE_NASM in config.h if we have it, and AC_SUBST
NASM_PATH for use when using nasm.

23 years agohelloworld example. and docs
Wim Taymans [Fri, 18 Aug 2000 20:38:54 +0000 (20:38 +0000)]
helloworld example. and docs

Original commit message from CVS:
helloworld example. and docs

23 years agoVarious fixes for the build/install problems update to the docs/manual. Added a simpl...
Wim Taymans [Fri, 18 Aug 2000 20:35:48 +0000 (20:35 +0000)]
Various fixes for the build/install problems update to the docs/manual. Added a simple helloworld example.

Original commit message from CVS:
Various fixes for the build/install problems
update to the docs/manual. Added a simple helloworld example.

23 years agoThe book is not published yet... :-)
Wim Taymans [Thu, 17 Aug 2000 06:18:59 +0000 (06:18 +0000)]
The book is not published yet... :-)

Original commit message from CVS:
The book is not published yet... :-)

23 years agoIgnore the png images; they are supposed to be build by the Makefile.
Wim Taymans [Wed, 16 Aug 2000 21:40:30 +0000 (21:40 +0000)]
Ignore the png images; they are supposed to be build by the Makefile.

Original commit message from CVS:
Ignore the png images; they are supposed to be build by the Makefile.

23 years agoFirst draft of Chapter 1 (introduction) and Chapter 2 (basic concepts) of the GStream...
Wim Taymans [Wed, 16 Aug 2000 21:38:57 +0000 (21:38 +0000)]
First draft of Chapter 1 (introduction) and Chapter 2 (basic concepts) of the GStreamer manual.

Original commit message from CVS:
First draft of Chapter 1 (introduction) and Chapter 2 (basic concepts)
of the GStreamer manual.

23 years agoignore the test program
Wim Taymans [Mon, 14 Aug 2000 15:18:37 +0000 (15:18 +0000)]
ignore the test program

Original commit message from CVS:
ignore the test program

23 years agoBuild fixes.
Wim Taymans [Mon, 14 Aug 2000 15:17:24 +0000 (15:17 +0000)]
Build fixes.

Original commit message from CVS:
Build fixes.
Adapted the test directory to the new state management
added an mpeg2 to avi encoder.
added a v4l to divx capture example.

23 years agoMissing WINE header files.
Wim Taymans [Mon, 14 Aug 2000 11:01:51 +0000 (11:01 +0000)]
Missing WINE header files.

Original commit message from CVS:
Missing WINE header files.

23 years agoThe include files for the windows codec loader. top level configure file.
Wim Taymans [Mon, 14 Aug 2000 10:59:32 +0000 (10:59 +0000)]
The include files for the windows codec loader. top level configure file.

Original commit message from CVS:
The include files for the windows codec loader.
top level configure file.

23 years agoAdded the bufferpool handler.
Wim Taymans [Mon, 14 Aug 2000 10:57:30 +0000 (10:57 +0000)]
Added the bufferpool handler.

Original commit message from CVS:
Added the bufferpool handler.
This object is able to generate buffers and is passed between elements to
exchange buffers. Elements can also use this pool to efficiently generate
output buffers.

23 years agoState change fixes in the threading element.
Wim Taymans [Mon, 14 Aug 2000 10:55:35 +0000 (10:55 +0000)]
State change fixes in the threading element.

Original commit message from CVS:
State change fixes in the threading element.
Added bufferpools.

23 years agoThe UI
Wim Taymans [Mon, 14 Aug 2000 10:17:01 +0000 (10:17 +0000)]
The UI

Original commit message from CVS:
The UI

23 years agoglade based gstplay version.
Wim Taymans [Mon, 14 Aug 2000 10:16:23 +0000 (10:16 +0000)]
glade based gstplay version.

Original commit message from CVS:
glade based gstplay version.
better avi/mpeg support.
nice about dialog :-)
Drag and drop should work.