Commit graph

276 commits

Author SHA1 Message Date
Thomas Vander Stichele d3e33a16ac as promised, the header changes and some of wingo's virtual fixes as well by accident
Original commit message from CVS:
as promised, the header changes
and some of wingo's virtual fixes as well by accident
2002-06-22 23:17:44 +00:00
Steve Baker 62fdff7a0b add getters for values
Original commit message from CVS:
add getters for values
2002-06-22 13:23:59 +00:00
Wim Taymans 2a01bdbe56 Implement size_hint on bytestream so that plugins can give a hint about the number of bytes they are going to read.
Original commit message from CVS:
Implement size_hint on bytestream so that plugins can give a hint about the
number of bytes they are going to read.
2002-06-13 22:29:32 +00:00
Wim Taymans 87b43f8aeb Added _length method for peer pads that can answer the query
Original commit message from CVS:
Added _length method for peer pads that can answer the query
2002-06-07 21:52:16 +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
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
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
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
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 321f046aaf Added gst_bytestream_get_timestamp() call to get timestamp of data at the front of the stream. If no data in stream,...
Original commit message from CVS:
Added gst_bytestream_get_timestamp() call to get timestamp of data at
the front of the stream.  If no data in stream, loads 1 byte to get a
new buffer and uses its timestamp.

Does nothing to handle readers that try to read data lengths that span
buffers with multiple timestamps.

_get_timestamp() now used when creating new buffers.
2002-05-10 08:16:18 +00:00
Wim Taymans 086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Steve Baker b4d1d31ded a few internal changes:
Original commit message from CVS:
a few internal changes:
- put last_update_timestamp into GstDParam
- added a GstDParamUpdateInfo enum to the update function so that dparams know what context they are updating in (for example, the first update since the pipeline was started)
- rewrote bogus next_timestamp calculation in GstDParamSmooth
2002-05-05 15:39:37 +00:00
Steve Baker 4321f75fbd renamed rate-proportion to the more accurate hertz-rate-bound
Original commit message from CVS:
renamed rate-proportion to the more accurate hertz-rate-bound
2002-05-05 15:31:11 +00:00
Thomas Vander Stichele e6abe03293 same change here
Original commit message from CVS:
same change here
2002-05-02 13:41:07 +00:00
Thomas Vander Stichele b557c951c2 my mistake - this should compile with the header in the tarball, not a possibly installed header
Original commit message from CVS:
my mistake - this should compile with the header in the tarball, not a
possibly installed header
2002-05-02 13:39:39 +00:00
Benjamin Otte 8cd991a9d6 - make all _get_list functions return a const reference to original lists and no copy
Original commit message from CVS:
- make all _get_list functions return a const reference to original lists and no copy
- redo code accordingly
- fix compile issue in dparam stuff
2002-04-19 19:49:41 +00:00
Benjamin Otte ce8e4a8879 we don't use // in code we commit :)
Original commit message from CVS:
hi wtay (and some others): we don't use // in code we commit :)
2002-04-14 14:59:34 +00:00
Steve Baker a66e1df60f more _
Original commit message from CVS:
more _
2002-04-14 11:50:18 +00:00
Steve Baker b5e2109686 cannot use _ in unit names for some reason.
Original commit message from CVS:
cannot use _ in unit names for some reason.
2002-04-14 11:48:51 +00:00
Steve Baker a15b5ccc6d added unitconvert which has a registry of Units of Measurement and an api to convert one unit to another.
Original commit message from CVS:
added unitconvert which has a registry of Units of Measurement and an api to convert one unit to another.
Any required dparam now needs to specify what unit it represents so that an app can convert it to some other unit for presentation/other purposes.

Also added GST_DPMAN_PROCESS_CHUNK macro for elements which don't process their audio one sample at a time (ie, ladspa).
2002-04-14 10:08:21 +00:00
Thomas Vander Stichele ed4ec2d293 various include fixes, adding a doc on why as well
Original commit message from CVS:
various include fixes, adding a doc on why as well
2002-04-12 09:24:37 +00:00
Andy Wingo b214d35eed commit to make gstreamer follow the gtk function/macro naming conventions:
Original commit message from CVS:
commit to make gstreamer follow the gtk function/macro naming conventions:

GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

and the same for *factory and typefind.
2002-04-11 20:35:18 +00:00
Benjamin Otte 8ae7350492 fix all compiler warnings
Original commit message from CVS:
fix all compiler warnings
2002-04-04 19:28:23 +00:00
Steve Baker b2fa9adc50 Added a signal which notifies when a required dparam is added.
Original commit message from CVS:
Added a signal which notifies when a required dparam is added.
Added gst_dpman_bypass_dparam so that some dparams can be exposed as object properties as well.  If the object property is set, a connected dparam is disconnected to avoid the two subsystems fighting over setting the value.
2002-04-02 09:03:21 +00:00
Wim Taymans 2686e1b6e0 Changed to the new props API
Original commit message from CVS:
Changed to the new props API
2002-03-30 17:08:02 +00:00
Andy Wingo ed9b628168 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:09 +00:00
Andy Wingo c12c39d37c added plugin_desc structures to libs, which makes their locations cached in the registry. this speeds plugin loading ...
Original commit message from CVS:
* added plugin_desc structures to libs, which makes their locations cached in the registry. this
speeds plugin loading considerably, especially on uninstalled versions.

* put the lib path before all others, for speed reasons.

* some fixes to adder's caps.

* added linefeeds (\n) to GST_DEBUG strings to match GST_INFO behavior. this is more sane. all
code will need to be converted. i think some perl can do this.
2002-03-24 20:55:45 +00:00
Andy Wingo 0067d17205 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:13 +00:00
Andy Wingo 6ae5f15064 s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...
Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
2002-03-19 01:39:45 +00:00
Benjamin Otte 3743cdef5b warning: 'current_diff' might be used uninitialized in this function
Original commit message from CVS:
warning: 'current_diff' might be used uninitialized in this function
2002-03-06 19:58:19 +00:00
Steve Baker 3e1e367954 This is a major update to the dparams api - I think it is now much cleaner and the app-side is much easier to use. hi...
Original commit message from CVS:
This is a major update to the dparams api - I think it is now much cleaner and the app-side is much easier to use.

highlights are:
- GParamSpecs are now used throughout to define dparams
- currently limited to supporting types gfloat, gint and gint64. this should cover 99% of cases and new types can be added in the future
- application-side api is now based almost entirely on setting object properties
- the smoothing dparam is now a subclass of GstDParam
- array-mode is not yet implemented but is not forgotton

time to start documenting
2002-03-04 18:54:20 +00:00
Steve Baker 27894aec7c use the correct marshal
Original commit message from CVS:
use the correct marshal
2002-02-21 20:44:59 +00:00
Andy Wingo 7305565829 fix funny build issue by not linking plugin libraries to gstreamer core. this is because they are plugins, not shared...
Original commit message from CVS:
fix funny build issue by not linking plugin libraries to gstreamer core. this is
because they are plugins, not shared libraries per se, and will only be loaded by
the core itself. this change allows the core elements (schedulers, autopluggers, etc)
to use the core loadable libraries (bytestream, getbits, etc) as well as "ext" libs
like the new cothreads package.
2002-02-12 17:50:22 +00:00
Andy Wingo b47aea64e1 changed libgst -> libgstreamer to comply with namespace issues with gnu smalltalk various other fixes
Original commit message from CVS:
* changed libgst -> libgstreamer to comply with namespace issues with gnu smalltalk
* various other fixes
2002-02-10 17:09:53 +00:00
Thomas Vander Stichele 25ffd7dfba disabling cothreads build until it passes make distcheck
Original commit message from CVS:
disabling cothreads build until it passes make distcheck
2002-02-06 13:36:22 +00:00
Andy Wingo 24c0001f6c brown paper bag commit
Original commit message from CVS:
brown paper bag commit
2002-02-04 20:05:44 +00:00
Andy Wingo 49075e62b5 cothreads stuff i forgot to commit last night
Original commit message from CVS:
cothreads stuff i forgot to commit last night
2002-02-04 17:41:45 +00:00
Wim Taymans a7c0c874b5 Added _seek and _tell // cleanup
Original commit message from CVS:
Added _seek and _tell
// cleanup
2002-02-02 13:23:07 +00:00
Wrobell b1be00e651 - plugins are built without versioning info /Uraeus claims: plugins/; if not plugins why this is built as lib*.so.0.0.0?
Original commit message from CVS:
- plugins are built without versioning info /Uraeus claims: plugins/;
if not plugins why this is built as lib*.so.0.0.0?
2002-01-30 23:49:06 +00:00
Wim Taymans 04667da435 Commited some other changes.
Original commit message from CVS:
Commited some other changes.
2002-01-13 22:43:49 +00:00
David I. Lehn 8da28910bc s/filter/plugin/ add $(GST_LIBS) to all plugins move Makefile.am things around to a mostly standard layout remove HTT...
Original commit message from CVS:
* s/filter/plugin/
* add $(GST_LIBS) to all plugins
* move Makefile.am things around to a mostly standard layout
* remove HTTP flags/libs from elements since http element moved
2002-01-12 00:47:40 +00:00
Andy Wingo 107feed0de removed lib directories (they are in libs/gst now)
Original commit message from CVS:
removed lib directories (they are in libs/gst now)
2001-12-24 20:52:36 +00:00
Thomas Vander Stichele 9fe4587856 more changes
Original commit message from CVS:
more changes
2001-12-23 18:12:12 +00:00
Thomas Vander Stichele 7b61bb6f74 moving around
Original commit message from CVS:
moving around
2001-12-23 17:27:58 +00:00
Thomas Vander Stichele 02c10c5005 changing stuff
Original commit message from CVS:
changing stuff
2001-12-23 17:14:13 +00:00
Thomas Vander Stichele be277c79e0 moving libs around
Original commit message from CVS:
moving libs around
2001-12-23 17:12:25 +00:00
Thomas Vander Stichele 2b20b7178f moving bytestream in the same way as in gst-plugins since ac3parse needs it
Original commit message from CVS:
moving bytestream in the same way as in gst-plugins since ac3parse needs it
2001-12-23 00:07:59 +00:00
Wim Taymans 6cdaf3fa84 Including pad.h should be enough.
Original commit message from CVS:
Including pad.h should be enough.
2001-12-22 21:57:24 +00:00
Wim Taymans 7992d58179 Include it all
Original commit message from CVS:
Include it all
2001-12-19 02:05:59 +00:00
Thomas Vander Stichele 40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Wim Taymans 9f23c76bea Aplied more fixage from Michael Meeks.
Original commit message from CVS:
Aplied more fixage from Michael Meeks.
2001-12-13 23:14:39 +00:00
Wim Taymans 2743ae0426 Make sure the hashtable is initialized when the object is used.
Original commit message from CVS:
Make sure the hashtable is initialized when the object is used.
2001-12-12 18:52:21 +00:00
Thomas Vander Stichele 9fdbc7e069 XML_CFLAGS
Original commit message from CVS:
XML_CFLAGS
2001-12-08 23:51:32 +00:00
Thomas Vander Stichele a5ce472811 and comment the rest too of course
Original commit message from CVS:
and comment the rest too of course
2001-12-08 22:37:29 +00:00
Thomas Vander Stichele 7d0df97d0a commenting out gbtest
Original commit message from CVS:
commenting out gbtest
2001-12-08 22:36:13 +00:00
Thomas Vander Stichele d6caa372de this can go on and on
Original commit message from CVS:
this can go on and on
2001-12-08 18:26:14 +00:00
Thomas Vander Stichele b3b597a1e4 Thomas is slowly getting a clue
Original commit message from CVS:
Thomas is slowly getting a clue
2001-12-08 16:22:55 +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
Thomas Vander Stichele fe917f5b13 added one of the headers to Makefile.am
Original commit message from CVS:
added one of the headers to Makefile.am
2001-12-03 21:41:36 +00:00
Steve Baker 781018c528 now require gst_control_init to initialise dparams. a start has been made on disposing of the objects as well
Original commit message from CVS:
now require gst_control_init to initialise dparams. a start has been made on disposing of the objects as well
2001-11-29 20:31:53 +00:00
David Schleef bfdb2aa90d Remove the test program, since it's buggy, in order not to hold up make distcheck
Original commit message from CVS:
Remove the test program, since it's buggy, in order not to hold up
make distcheck
2001-11-21 10:46:20 +00:00
David Schleef 2ad92e2c16 Added support for mono streams
Original commit message from CVS:
Added support for mono streams
2001-11-07 00:45:29 +00:00
David Schleef 764560631c Adding libs/resample, an audio resampling library. May eventually be forked off into a separate lib package.
Original commit message from CVS:
Adding libs/resample, an audio resampling library.  May eventually be
forked off into a separate lib package.
2001-11-06 22:37:04 +00:00
David Schleef 99edd18882 Fixes to properly conditionally compile architecture-dependent code
Original commit message from CVS:
Fixes to properly conditionally compile architecture-dependent code
2001-11-06 12:49:01 +00:00
David Schleef a7f5c14936 New audio resampling library, created from code in the audioscale plugin.
Original commit message from CVS:
New audio resampling library, created from code in the audioscale
plugin.
2001-11-06 11:17:13 +00:00
David Schleef 385e84596f New audio resampling library, created from code in the audioscale plugin.
Original commit message from CVS:
New audio resampling library, created from code in the audioscale
plugin.
2001-11-06 04:15:35 +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 14de4f27da Patch from vishnu:
Original commit message from CVS:
Patch from vishnu:

The attached patch adds event support to bytestream.  Here's how it
works:  When bytestream encounters an event, the event is saved and
it returns NULL.  Then you must call a new API to retrieve the event
and handle it:

void
gst_bytestream_get_status (GstByteStream *bs,
guint32 *avail_out,
GstEvent **event_out);

Whatever is necessary to handle the event is left up to the plugin.
Once the event is retrieved then the bytestream continues as usual.
2001-10-22 19:00:52 +00:00
Wim Taymans 97f1771e6a Applied vishnus patch:
Original commit message from CVS:
Applied vishnus patch:
* Check all return codes and reliably return NULL if no more data is
available.
* Split _flush into _flush/_flush_fast.  This is partly to make the code
self-documenting -- the flush in gst_bytestream_read cannot fail.  Also,
this is a slight optimization.[A
2001-10-21 19:14:48 +00:00
Wim Taymans 5e29e07c62 Applied the PIC patches from David Schleef.
Original commit message from CVS:
Applied the PIC patches from David Schleef.
2001-10-17 20:18:07 +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 dbb97e0055 dparams lives here
Original commit message from CVS:
dparams lives here
2001-10-07 09:49:41 +00:00
Steve Baker 3b3e5ecc5d moved from include/gstaudio.h
Original commit message from CVS:
moved from include/gstaudio.h
2001-09-18 19:07:17 +00:00
Steve Baker acd074aae9 added libs/control
Original commit message from CVS:
added libs/control
2001-09-15 13:57:38 +00:00
Steve Baker 19a05024c3 the beginnings of a linear interpolation dynamic parameter
Original commit message from CVS:
the beginnings of a linear interpolation dynamic parameter
2001-09-15 13:55:44 +00:00
Steve Baker 4024d899a1 the beginnings of a libgstcontrol library
Original commit message from CVS:
the beginnings of a libgstcontrol library
2001-09-15 13:53:31 +00:00
Wim Taymans 79303a6fa7 Fixed an endianness bug in the debug message.
Original commit message from CVS:
Fixed an endianness bug in the debug message.
2001-08-16 23:20:53 +00:00
Wim Taymans e3eec669b7 More endianness fixes.
Original commit message from CVS:
More endianness fixes.
2001-08-16 22:59:42 +00:00
Wim Taymans cd3b66fc5a Added types and structures for AVI/DV.
Original commit message from CVS:
Added types and structures for AVI/DV.
2001-07-01 13:59:03 +00:00
Wim Taymans 7b2c15eb02 Removed old unused libs.
Original commit message from CVS:
Removed old unused libs.
2001-06-21 11:42:18 +00:00
Wim Taymans 2427113b1d Removed the wine loader.
Original commit message from CVS:
Removed the wine loader.
2001-06-21 11:34:35 +00:00
Thomas Vander Stichele 20e8b7939d added a function to check if the buffer's data is framed
Original commit message from CVS:
added a function to check if the buffer's data is framed
2001-06-13 21:08:02 +00:00
Thomas Vander Stichele f9023ba24e added helper function to calculate maximum possible sample value based on caps
Original commit message from CVS:
added helper function to calculate maximum possible sample value based
on caps
2001-06-13 15:33:03 +00:00
Wim Taymans f462526422 Fixed a bug in the avi encoder with wrong alignment.
Original commit message from CVS:
Fixed a bug in the avi encoder with wrong alignment.
2001-06-12 19:47:41 +00:00
Thomas Vander Stichele 0c383d7306 added some function to support framestamps & timestamps
Original commit message from CVS:
added some function to support framestamps & timestamps
2001-06-12 10:11:26 +00:00
Thomas Vander Stichele fdac74d01c added Makefile generation for gstaudio library
Original commit message from CVS:
added Makefile generation for gstaudio library
2001-06-06 14:14:53 +00:00
Thomas Vander Stichele fe7b1abb42 first try at a general gstreamer audio library with helper functions
Original commit message from CVS:
first try at a general gstreamer audio library with helper functions
2001-06-06 14:13:58 +00:00
Erik Walthinsen 29204d9ee2 distcheck cleanups
Original commit message from CVS:
distcheck cleanups
2001-05-28 19:09:48 +00:00
Erik Walthinsen 4a583683e5 Merged from INCSCHED on 200505251!!!
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
2001-05-25 21:00:07 +00:00
Wim Taymans 54271eca8e Removed a debug info line.
Original commit message from CVS:
Removed a debug info line.
2001-05-25 20:42:48 +00:00
David I. Lehn a164187503 - basic arch check for HAVE_RDTSC
Original commit message from CVS:
- basic arch check for HAVE_RDTSC
- use common gst_trace_read_tsc() for RDTSC call
- add untested function to do ascii dump of trace data
2001-05-16 05:04:44 +00:00
Wim Taymans 57a5017c8b Fixed a few plugins so that mpeg1 encoding sorta works.
Original commit message from CVS:
Fixed a few plugins so that mpeg1 encoding sorta works.
Added an mpeg1 encoder example, it uses the autoplugger to convert
the stream to audio/video, which is then fed to the encoders.
2001-04-21 17:45:56 +00:00
Wim Taymans 335080574f Lots of updates to the plugins for caps negotiation.
Original commit message from CVS:
Lots of updates to the plugins for caps negotiation.
Added YUY2 output to the win32 dlls.
Added a colorspace converter in gstplay
2001-04-12 18:11:19 +00:00
Wim Taymans 2d20073eb3 A rather large update:
Original commit message from CVS:
A rather large update:
- a new videosink using plain X windows (xvideosink). It uses capsnego to
set up it's formats.
- gstplay uses the new xvideosink and a gtk_socket. The initial window
size is set to 0x0 so you need to resize it before you see something.
- got rid of the video metadata include file in favour of properties and
caps negotiation
- adjusted most plugins to not use the metadata.
2001-04-02 14:21:08 +00:00
Wim Taymans ebba06ccd2 I'm too lazy to comment this
Original commit message from CVS:
Added the FLX decoder of Sepp Wijnands <mrrazz@garbage-coderz.net>
2001-03-21 23:59:09 +00:00
Wim Taymans db74410739 Some more conversion functions.. We should really use Hermes soon..
Original commit message from CVS:
Some more conversion functions.. We should really use Hermes soon..
2001-03-11 23:14:33 +00:00
Wim Taymans 1e20129686 Added an rgb24 to rgb32 converter (untested)
Original commit message from CVS:
Added an rgb24 to rgb32 converter (untested)
2001-03-11 21:12:28 +00:00
Erik Walthinsen 37004188a8 commented out some printfs that went to stdout
Original commit message from CVS:
commented out some printfs that went to stdout
2001-02-25 03:36:36 +00:00
Erik Walthinsen 44be31b4f0 added Jens Thiele's bgr565 to rgb32 converter
Original commit message from CVS:
added Jens Thiele's bgr565 to rgb32 converter
2001-02-24 23:08:42 +00:00
Wim Taymans 60eeda80de Remove some unneeded files
Original commit message from CVS:
Remove some unneeded files
Added a fix for broken libglade-config in configure.in
2001-02-24 20:06:52 +00:00
Wim Taymans 1c6925c316 Make dist now works
Original commit message from CVS:
Make dist now works
2001-02-24 19:28:59 +00:00
Wim Taymans a114c20d48 Moved some win32 files around small fixes to wincodec
Original commit message from CVS:
Moved some win32 files around
small fixes to wincodec
2001-02-24 17:49:57 +00:00
Wim Taymans 78514b44f4 Refreshed the winloader with the latest xmmp code. win32 codecs work again. It was a metter of turning of optimisations.
Original commit message from CVS:
Refreshed the winloader with the latest xmmp code.
win32 codecs work again. It was a metter of turning of optimisations.
2001-02-24 17:39:27 +00:00
Wim Taymans 58a66780d8 slightly changed the Makefile.am in videoscale libs.
Original commit message from CVS:
slightly changed the Makefile.am in videoscale libs.
v4lsrc works again
A little modification to the videotest programm to use a tee element.
added support for multiple paths in --gst-plugin_path=.
added ab ENV variable GST_PLUGIN_PATH to specify extra directories to
look for plugins.
2001-02-24 00:23:21 +00:00
David I. Lehn 608eaa3d42 Use glib macros for byte order conversion.
Original commit message from CVS:
Use glib macros for byte order conversion.
2001-02-21 20:58:09 +00:00
Wim Taymans a9f3deea80 The BPB has been put over my head... this time it's right I think
Original commit message from CVS:
The BPB has been put over my head... this time it's right I think
2001-02-19 00:07:14 +00:00
Wim Taymans e312a0ed46 Also build the videoscaler on non-I386 because we now have have a plain
Original commit message from CVS:
Also build the videoscaler on non-I386 because we now have have a plain
C version too.
2001-02-18 23:58:27 +00:00
Wim Taymans 70dfc6bb1d Converted the scaler to all asm
Original commit message from CVS:
Converted the scaler to all asm
2001-01-26 22:10:12 +00:00
Wim Taymans de37358730 Added plain C scaler
Original commit message from CVS:
Added plain C scaler
Fixed a bug for 32 bits displays
2001-01-26 21:19:49 +00:00
Wim Taymans 59211a49ff Updated the docs with the new _request methods
Original commit message from CVS:
Updated the docs with the new _request methods
2001-01-23 20:03:07 +00:00
Wim Taymans a3aad0c1a2 Fixed a yuv to bgr32 bug, red and blue were swapped. Thanks to
Original commit message from CVS:
Fixed a yuv to bgr32 bug, red and blue were swapped. Thanks to
Trigon (Bert Boer <bert@mermaid.geenpunt.nl>).
2001-01-22 19:21:24 +00:00
Wim Taymans 044c4611af More eos handling, bin in bin is handled correctly now.
Original commit message from CVS:
More eos handling, bin in bin is handled correctly now.
Updated gstreamer-launch to loop while !EOS.
2001-01-21 16:06:42 +00:00
Erik Walthinsen 9ca8248cc2 Massive build fixup. Will send message to -devel list later with details on the changes and what they mean for Makef...
Original commit message from CVS:
Massive build fixup.  Will send message to -devel list later with details
on the changes and what they mean for Makefile.am writers.  Check
docs/random/omega/build/TODO for a list of things that I had to make sure
of.

NOTE: this requires a complete rebuild of all plugins, since I also
changed the STATE enum to a bitfield instead of sequential numbers.
2001-01-14 21:55:41 +00:00
Wim Taymans 8ea591ef29 Added config.h as an include to make sure BE/LE stuff works
Original commit message from CVS:
Added config.h as an include to make sure BE/LE stuff works
2001-01-12 23:37:14 +00:00
Wim Taymans 06044e1c17 Made sure the mmx does not get compiled on non x86 CPUs
Original commit message from CVS:
Made sure the mmx does not get compiled on non x86 CPUs
2001-01-12 19:42:52 +00:00
Wim Taymans 12e14584fe Added --with-win32-libdir to configure
Original commit message from CVS:
Added --with-win32-libdir to configure
2001-01-09 21:19:22 +00:00
Erik Walthinsen 5064c6a5b4 set up to use config option for win32 dll dir
Original commit message from CVS:
set up to use config option for win32 dll dir
2001-01-09 21:06:49 +00:00
Erik Walthinsen ae0d5d1889 Massive, massive update of most source files. I went through and cleaned up all the warnings that I could, which inv...
Original commit message from CVS:
Massive, massive update of most source files.  I went through and cleaned
up all the warnings that I could, which involved fixing some of the plugins.

The configure.in script was re-arranged and cleaned up so, and a check for
libtool 1.3.5 was added to autogen.sh.  Added checks for Gtk and GNOME.

Some plugins were removed from the list of things to build for various reasons.

Added GST_DEBUG_FORCE_DISABLE in gstgetbits, since that's time critical and
even an if() from a DEBUG can significantly increase runtimes.
2001-01-02 08:13:34 +00:00
Erik Walthinsen 8446f92790 More build changes
Original commit message from CVS:
More build changes
2001-01-01 08:43:22 +00:00
Erik Walthinsen b2a9bc3e6b Updated libraries to use new GST_DEBUG instead of DEBUG.
Original commit message from CVS:
Updated libraries to use new GST_DEBUG instead of DEBUG.
2001-01-01 03:16:19 +00:00
Richard Boulton b0278edf75 Various fixes to ensure that appropriate files are included in make dist.
Original commit message from CVS:
Various fixes to ensure that appropriate files are included in make dist.
Make dist now produces a nearly functioning distribution.
2000-12-31 17:32:46 +00:00
Wim Taymans 9321d4d926 Disabled MMX optimized versions until they get fixed
Original commit message from CVS:
Disabled MMX optimized versions until they get fixed
2000-12-30 19:37:48 +00:00
Richard Boulton 3d4107e67b Fix a couple of MMX issues.
Original commit message from CVS:
Fix a couple of MMX issues.
2000-12-29 21:56:20 +00:00
Richard Boulton 448600ebe4 Include libgst.la when linking gbtest so it compiles.
Original commit message from CVS:
Include libgst.la when linking gbtest so it compiles.
2000-12-29 21:50:18 +00:00
Wim Taymans 415ced1c0b 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.
2000-11-06 00:15:51 +00:00
Wim Taymans c125059f97 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.
2000-11-04 18:54:07 +00:00
Wim Taymans 31cae4b447 Slightly faster yuv to rgb conversion.
Original commit message from CVS:
Slightly faster yuv to rgb conversion.
2000-10-26 19:07:27 +00:00
Wim Taymans 9bae9d4b91 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...
2000-10-25 19:09:53 +00:00
Richard Boulton 41ad7a209b 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.
2000-09-21 01:42:19 +00:00
Richard Boulton 3bcccbf82e 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.
2000-09-21 01:34:34 +00:00
Richard Boulton f8666a569f 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.
2000-09-18 22:19:57 +00:00
Wim Taymans cab1728fa5 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.
2000-09-17 22:08:09 +00:00
Wim Taymans 2c42495cf0 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.
2000-09-17 12:31:01 +00:00
Richard Boulton 5a7cbafdda 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).
2000-09-16 23:11:05 +00:00
Richard Boulton ac036272b9 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.
2000-09-16 22:03:24 +00:00
Wim Taymans ff99ee6132 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!
2000-09-16 10:58:23 +00:00
Richard Boulton 11e8ef9074 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.
2000-09-16 00:59:12 +00:00
Richard Boulton 238bbc23c8 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...
2000-09-15 22:44:10 +00:00
Wim Taymans 8d2a4dfbec 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.
2000-09-12 18:13:48 +00:00
Wim Taymans 23540ccc52 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.
2000-09-07 20:35:15 +00:00
Wim Taymans bd5759f1f1 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...
2000-08-18 22:17:34 +00:00
Wim Taymans 6661696de0 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.
2000-08-18 20:35:48 +00:00
Wim Taymans d21bcc5e44 ignore the test program
Original commit message from CVS:
ignore the test program
2000-08-14 15:18:37 +00:00
Wim Taymans f0dca903ae ..
Original commit message from CVS:
..
2000-08-14 10:12:49 +00:00
Wim Taymans 001bbb7002 Added general IDCT library. Added IEEE testbed.
Original commit message from CVS:
Added general IDCT library. Added IEEE testbed.
Update to the windows codec loader.
fixes in the riff parser/encoder.
cleanup in the getbits/putbits API.
2000-08-14 10:11:04 +00:00
Wim Taymans 82acefa7b0 Added point sampling interpolation.
Original commit message from CVS:
Added point sampling interpolation.
2000-08-14 10:06:54 +00:00
Wim Taymans 08b4e78a53 Merge of pending changes, have to do this one by one...
Original commit message from CVS:
Merge of pending changes, have to do this one by one...
2000-08-14 10:02:22 +00:00
Wim Taymans 5effd6fe5d Fixed a bug in the riff parser with the allignment of the chunks. This should solve the errors with avi playback.
Original commit message from CVS:
Fixed a bug in the riff parser with the allignment of the chunks. This
should solve the errors with avi playback.
2000-07-15 13:26:28 +00:00