Commit graph

64 commits

Author SHA1 Message Date
Benjamin Otte
8cf0d17c3f fix caps parsing. Some evil person (me?\!) disallowed the dot as a character in caps
Original commit message from CVS:
fix caps parsing. Some evil person (me?\!) disallowed the dot as a character in caps
2003-12-14 04:28:11 +00:00
Benjamin Otte
25f85868d4 implement URI schemes
Original commit message from CVS:
implement URI schemes
Elements can now register as a source or sink for a protocol and applications can use gst_element_make_from_uri () to get an element that handles a given URI.
This patch provides:
- removal of old broken URI handling scheme.
- new URI handling using interfaces.
- updates for registry to save handled URIs.
- interface for URI handlers.
- implementation of that in filesrc and filesink for the file:// URI
- extension to pipeline parsing to allow specifying only a URI instead of element

Does not include:
- tests
- inclusion in docs build
2003-11-24 03:21:54 +00:00
David Schleef
f4cbe54b68 add rule dependency
Original commit message from CVS:
add rule dependency
2003-10-31 20:20:36 +00:00
David Schleef
40fe161510 Clean more files
Original commit message from CVS:
Clean more files
2003-10-31 03:52:11 +00:00
David Schleef
0259155e08 don't dist files generated by flex and bison, since they're not portable.
Original commit message from CVS:
don't dist files generated by flex and bison, since they're not
portable.
2003-10-29 00:15:46 +00:00
Thomas Vander Stichele
30da970283 fix cleaning
Original commit message from CVS:
fix cleaning
2003-10-09 13:47:35 +00:00
David Schleef
d4ee10bd79 distcheck fixes. Some tests have been disabled.
Original commit message from CVS:
distcheck fixes.  Some tests have been disabled.
2003-10-09 01:13:21 +00:00
David Schleef
b79680d0b2 Dist files generated by bison and flex.
Original commit message from CVS:
Dist files generated by bison and flex.
2003-08-30 02:42:55 +00:00
Thomas Vander Stichele
f7c80738f7 build fix
Original commit message from CVS:
build fix
2003-08-13 11:07:26 +00:00
David Schleef
13c11bbedf Change strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
Original commit message from CVS:
Change strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
2003-07-25 07:57:11 +00:00
David Schleef
ee5586e873 Reference the caps used as filtercaps
Original commit message from CVS:
Reference the caps used as filtercaps
2003-07-14 08:23:28 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
David Schleef
6b42d9aca7 Change uint to guint
Original commit message from CVS:
Change uint to guint
2003-05-18 22:45:27 +00:00
Thomas Vander Stichele
bdea7633cd a bunch of gtk-doc fixes
Original commit message from CVS:
a bunch of gtk-doc fixes
2003-05-18 15:03:34 +00:00
Benjamin Otte
012cb2cb6f make the parser accept chained caps, too
Original commit message from CVS:
make the parser accept chained caps, too
2003-05-18 02:30:00 +00:00
Benjamin Otte
a960c7a7a3 This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip o...
Original commit message from CVS:
This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip of the syntax you might want to look at testsuite/caps/string-conversions.c or run that test
2003-05-17 20:45:06 +00:00
Ronald S. Bultje
8777f9a763 make -> shell variable
Original commit message from CVS:
make -> shell variable
2003-05-16 06:33:36 +00:00
David Schleef
376ec32dce Fix bug in PRINT() macro
Original commit message from CVS:
Fix bug in PRINT() macro
2003-05-13 05:47:04 +00:00
Benjamin Otte
fe3861c2d3 do error checking for int/float values and don't accept trailing characters, but do accept overflows
Original commit message from CVS:
do error checking for int/float values and don't accept trailing characters, but do accept overflows
2003-05-06 22:58:04 +00:00
Benjamin Otte
cbe36c876b fix gcc 2.x compiler error, when variables aren't defined at the top.
Original commit message from CVS:
fix gcc 2.x compiler error, when variables aren't defined at the top.
2003-05-01 20:57:40 +00:00
Benjamin Otte
9837c9dbaa add extra error for empty pipeline
Original commit message from CVS:
add extra error for empty pipeline
2003-04-27 23:56:31 +00:00
Benjamin Otte
8cebfd7528 I suck - it's the wrong variable and I don't get it for ages even while testing this code
Original commit message from CVS:
I suck - it's the wrong variable and I don't get it for ages even while testing this code
But while I was atit, I fixed it right this time (I hope)
2003-04-25 17:35:26 +00:00
Benjamin Otte
b04519c43d just to be sure...
Original commit message from CVS:
just to be sure...
2003-04-25 00:26:09 +00:00
Benjamin Otte
d02583b999 fix stupid segfault when setting integer properties
Original commit message from CVS:
fix stupid segfault when setting integer properties
2003-04-24 22:34:10 +00:00
Benjamin Otte
5d35141256 fix 2 warnings
Original commit message from CVS:
fix 2 warnings
2003-04-23 20:06:54 +00:00
Benjamin Otte
313c399808 workaround for bison 1.35 bug
Original commit message from CVS:
workaround for bison 1.35 bug
2003-04-23 19:16:06 +00:00
Benjamin Otte
354e85056f another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
Original commit message from CVS:
another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
2003-04-17 14:52:38 +00:00
Benjamin Otte
45521ec77a bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
Original commit message from CVS:
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
2003-04-16 21:37:35 +00:00
Benjamin Otte
838ffca4fa enable debugging output for bison parser, fix // comments, better error recovery, error out on non-instantiable eleme...
Original commit message from CVS:
enable debugging output for bison parser, fix // comments, better error recovery, error out on non-instantiable elements (fixes #110758)
2003-04-14 18:33:58 +00:00
David Schleef
7421b1f671 Revert last Makefile.am change, and fix it correctly. I _think_ this won't break with earlier flex versions, otherwi...
Original commit message from CVS:
Revert last Makefile.am change, and fix it correctly.  I _think_
this won't break with earlier flex versions, otherwise let me know.
2003-04-13 19:40:31 +00:00
David Schleef
5706980d33 Disable compiler warning because of a bug in flex-2.5.31
Original commit message from CVS:
Disable compiler warning because of a bug in flex-2.5.31
2003-04-11 21:44:04 +00:00
Benjamin Otte
8bfbc81d36 general fixes:
Original commit message from CVS:
general fixes:
- changed newly added locked_state API to work like GStreamer does
- added gst_element_sync_state_with_parent function
- revert: pad linking does not require non-playing state
- updated spider and pipeline parsing to link elements in playing state
- bugfix: pads are now activated when added to a playing element (broke above change)
2003-04-11 00:00:46 +00:00
Benjamin Otte
d89dd2d325 bugfix: wrong function due to missing char
Original commit message from CVS:
bugfix: wrong function due to missing char
2003-04-10 01:32:56 +00:00
David Schleef
c760bb88b7 Remove grammar.output, too
Original commit message from CVS:
Remove grammar.output, too
2003-04-08 23:21:37 +00:00
David Schleef
2d40f10230 Clean up Makefile.am
Original commit message from CVS:
Clean up Makefile.am
2003-04-08 23:18:30 +00:00
David Schleef
ac84bc9a55 Fix warning
Original commit message from CVS:
Fix warning
2003-04-08 23:17:36 +00:00
Benjamin Otte
3a897e2f30 rewritten pipeline parsing lands. Have fun breaking it.
Original commit message from CVS:
rewritten pipeline parsing lands. Have fun breaking it.
regressions:
- No support for filtered links. If anybody needs this, please contact me and I'll add it as fast as possible.

improvements:
- The pipeline building actually works as expected.
- syntax compatible nearly everywhere but more flexible
- better property parsing (you can now set enums by name or nick)
- uses locked_state to allow for delayed pads
- can connect video pipelines without the need for queues
- allows properties on bins
- does not return a bin, but an element.

You may want to read docs/random/company/gstparse to learn how it works.
2003-04-08 21:59:44 +00:00
Benjamin Otte
ff856af64a - clean bison- and flex-built files on make clean. (fixes #101421)
Original commit message from CVS:
- clean bison- and flex-built files on make clean. (fixes #101421)
- use CFLAGS that enable debugging symbols.
2003-04-08 21:48:27 +00:00
Erik Walthinsen
0da768dacb Fix various inconsistencies discovered while attempting to fix --disable-*.
Original commit message from CVS:
Fix various inconsistencies discovered while attempting to fix --disable-*.
Uraeus: this should fix the bison.simple problem that you've had.
2003-02-10 07:53:58 +00:00
Thomas Vander Stichele
3c7944ed35 there might be a day that it doesn't take me twice to get it right
Original commit message from CVS:
there might be a day that it doesn't take me twice to get it right
2003-01-21 22:58:04 +00:00
Thomas Vander Stichele
42381fcb94 damn
Original commit message from CVS:
damn
2003-01-21 22:53:54 +00:00
David Schleef
e85f1bed4e Fix bison build line
Original commit message from CVS:
Fix bison build line
2003-01-10 21:24:36 +00:00
Thomas Vander Stichele
5529bbc7dc first pass of connect->link gst-plugins and other stuff compiles without change at this point
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Thomas Vander Stichele
16870983fb merge back from release branch
Original commit message from CVS:
merge back from release branch
2003-01-08 16:03:49 +00:00
Wim Taymans
68b53ac4ab - Cleanups
Original commit message from CVS:
- Cleanups
- Added padding to structs
- fixed typechecking/casts
- reduced casts
- implemented remove_element in gstbin
- implemented set index on bin
2002-12-19 21:31:03 +00:00
Wim Taymans
9e8e9385cb fix bug #96751
Original commit message from CVS:
fix bug #96751
2002-12-08 01:26:02 +00:00
Wim Taymans
07cf2da0c2 Added syntax to make filtered connections like: osssrc src\!audio/raw, channels=int 2, width=int 8\!sink fakesink
Original commit message from CVS:
Added syntax to make filtered connections like:

osssrc src\!audio/raw, channels=int 2, width=int 8\!sink fakesink
2002-12-06 20:06:06 +00:00
Thomas Vander Stichele
009e8bb2b4 applied fixed patch from Brian
Original commit message from CVS:
applied fixed patch from Brian
2002-11-29 17:05:13 +00:00
Thomas Vander Stichele
7cd8540542 revert fix because GST_DEBUG_LEAVE("") doesn't work with it
Original commit message from CVS:
revert fix because GST_DEBUG_LEAVE("") doesn't work with it
2002-11-29 14:20:53 +00:00
Christian Schaller
54cbcd0c18 commit Brian's patch with AC fix from thomas
Original commit message from CVS:
commit Brian's patch with AC fix from thomas
2002-11-29 11:10:35 +00:00