Commit graph

31 commits

Author SHA1 Message Date
Wim Taymans
d6469f9688 - Make _tell more accurate
Original commit message from CVS:
- Make _tell more accurate
2003-01-20 22:32:56 +00:00
Jan Schmidt
d1aa5369f6 Moved a check for NULL buffer from gst_pad_pull to be a little earlier.
Original commit message from CVS:
Moved a check for NULL buffer from gst_pad_pull to be a little earlier.
Fixed 2 bs_print format specifiers

wtay, please check this and let me know if you would prefer changes like
this to be pre-approved
2003-01-05 14:20:12 +00:00
Wim Taymans
c6daa24e8b Cleanups + better timestamp capture
Original commit message from CVS:
Cleanups + better timestamp capture
2002-12-31 16:42:28 +00:00
Wim Taymans
347505bcb9 - major API breakage (one of the last, I promise...)
Original commit message from CVS:
- major API breakage (one of the last, I promise...)
- GST_PAD_QUERY -> GST_QUERY
- GstPadQuery -> GstQuery
- Move query definitions to gstquery.h to allow for future dynamic
query types.
- remove _pad_handles_* in favour of extra format/event functions to
make the same checks.
- fix elements
- Implemented missing query/event/formats functions in gstelement
2002-12-30 17:42:11 +00:00
Wim Taymans
222b9c821b Cleanups
Original commit message from CVS:
Cleanups
2002-12-27 15:58:54 +00:00
Thomas Vander Stichele
7c84581a90 patch from brian cameron for iso c compliance
Original commit message from CVS:
patch from brian cameron for iso c compliance
2002-12-18 21:44:57 +00:00
Thomas Vander Stichele
7eea6a04b7 fix for parallel installability
Original commit message from CVS:
fix for parallel installability
2002-12-08 14:39:38 +00:00
Wim Taymans
37f8ed8807 Fix C++ linkage problems
Original commit message from CVS:
Fix C++ linkage problems
2002-10-22 19:49:52 +00:00
Wim Taymans
88d5690b24 unref event instead of freeing it
Original commit message from CVS:
unref event instead of freeing it
2002-07-08 19:22:41 +00:00
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
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
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
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
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
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
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
Thomas Vander Stichele
9fe4587856 more changes
Original commit message from CVS:
more changes
2001-12-23 18:12:12 +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