Commit graph

330 commits

Author SHA1 Message Date
David I. Lehn
38c9344701 Added "silent" arg.
Original commit message from CVS:
Added "silent" arg.
2001-05-09 04:12:09 +00:00
Wim Taymans
230eefbefc Make sure the plugin filaname is set before calling the init function.
Original commit message from CVS:
Make sure the plugin filaname is set before calling the init function.
2001-05-05 02:16:28 +00:00
Erik Walthinsen
f0cc8737ba fixed spelling mistake in user-visible output
Original commit message from CVS:
fixed spelling mistake in user-visible output
2001-05-03 23:21:39 +00:00
Wim Taymans
7565c285ad Created a macro of the va_arg parsing function because some systems (PPC) cannot handle passing a va_list by reference.
Original commit message from CVS:
Created a macro of the va_arg parsing function because some systems (PPC)
cannot handle passing a va_list by reference.
2001-05-03 22:29:44 +00:00
Wim Taymans
fe084f66f1 Added dynamic pads to the command line parser. ./gstreamer-launch disksrc location=/some/systemstream.mpg ! mpeg1pars...
Original commit message from CVS:
Added dynamic pads to the command line parser.

./gstreamer-launch disksrc location=/some/systemstream.mpg ! mpeg1parse video_00!
queue ! \{ mp1videoparse ! mpeg_play ! aasink \}

will now work.
2001-05-03 21:44:55 +00:00
Wim Taymans
5c43234108 Removed the assert on an unknown propertytype and print usefull info.
Original commit message from CVS:
Removed the assert on an unknown propertytype and print usefull info.
2001-05-01 22:43:21 +00:00
Steve Baker
f02d86f752 update sinesrc to latest caps
Original commit message from CVS:
update sinesrc to latest caps
2001-04-28 18:58:05 +00:00
Steve Baker
ad7fd56339 add factory init for sinesrc
Original commit message from CVS:
add factory init for sinesrc
2001-04-28 18:57:23 +00:00
Steve Baker
368feff16f add gst_props_get_float function
Original commit message from CVS:
add gst_props_get_float function
2001-04-28 18:56:10 +00:00
Wim Taymans
bbcfa2b2c9 Added enum parsing...
Original commit message from CVS:
Added enum parsing...
2001-04-27 21:14:56 +00:00
Erik Walthinsen
4a1566b7ee syntax error fixed (s/;/,/)
Original commit message from CVS:
syntax error fixed (s/;/,/)
2001-04-27 20:58:24 +00:00
Erik Walthinsen
c02326cf46 Added colorization to DEBUG and INFO. Colors are based on categories, with the strings in _gst_category_colors[] in ...
Original commit message from CVS:
Added colorization to DEBUG and INFO.  Colors are based on categories, with
the strings in _gst_category_colors[] in gstinfo.c  See wiki node
GstDebugColors for the actual colors, or /etc/DIR_COLORS works too.

Please comment on the colorization style and ideas in the above wiki node.
2001-04-27 20:31:22 +00:00
Erik Walthinsen
6ac86486a8 I will successfully compile code before I check it in.
Original commit message from CVS:
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
I will successfully compile code before I check it in.
2001-04-24 21:28:18 +00:00
Erik Walthinsen
76cfe49b5e - commented out remainder of Meta stuff
Original commit message from CVS:
- commented out remainder of Meta stuff
- enhanced mem_chunk allocation to round up to nearest 32 bytes
this helps ensure that GstBuffers are more likely to be on cache-lines
- added free() and copy() function pointers to GstBuffer
- added code in _destroy and _copy to use above routines if !NULL
- fixed up _copy code to suck less
2001-04-24 19:20:15 +00:00
Erik Walthinsen
09588296ae Collection of minor changes: autogen.sh - remove config.cache before running ./configure gst/elements/gstfakesink.c -...
Original commit message from CVS:
Collection of minor changes:

* autogen.sh - remove config.cache before running ./configure
* gst/elements/gstfakesink.c - print out the size of the buffer, too
* plugins/Makefile.am - removed a spare trailing backslash
* plugins/arts/gst_artsio_impl.cc - change the scale back to 0.5
* plugins/oss/gstosssrc.c - change name slightly to match osssink
2001-04-23 23:16:12 +00:00
Wim Taymans
892f4b3204 API docs updates.
Original commit message from CVS:
API docs updates.
Properly implemented the disksink.
Fixed a compile problem with alsa.
Added bufferpool handling to dvdec
Some compiler warning fixes
2001-04-22 16:04:19 +00:00
Richard Boulton
610e9e8227 Merged from BRANCH-PLUGINVER1
Original commit message from CVS:
Merged from BRANCH-PLUGINVER1
2001-04-22 12:30:14 +00:00
Erik Walthinsen
faf4bde938 fixes for gstbuffer, and removed ## from gstcaps.h that was causing all that warning noise
Original commit message from CVS:
fixes for gstbuffer, and removed ## from gstcaps.h that was causing all that warning noise
2001-04-22 04:38:36 +00:00
Erik Walthinsen
e5abd7fde7 completed gst_buffer_copy, added API comments
Original commit message from CVS:
completed gst_buffer_copy, added API comments
2001-04-22 01:41:40 +00:00
Erik Walthinsen
4368fad117 added GST_STR_FOURCC, which takes strings like "YUY2" instead of 'Y','U','Y','2'. better, I think <g>
Original commit message from CVS:
added GST_STR_FOURCC, which takes strings like "YUY2" instead of 'Y','U','Y','2'.  better, I think <g>
2001-04-22 01:32:44 +00:00
Erik Walthinsen
819efb4e90 Added gst_buffer_copy(). It's not complete, it should copy more stuff like flags and such. FIXME.
Original commit message from CVS:
Added gst_buffer_copy().  It's not complete, it should copy more stuff
like flags and such.  FIXME.
2001-04-22 01:30:19 +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
31427072e3 Added caps proxying and bufferpool passing to identity so that
Original commit message from CVS:
Added caps proxying and bufferpool passing to identity so that
-launch disksrc ! mad ! identity ! osssink works.
2001-04-20 19:21:51 +00:00
Thomas Vander Stichele
0b7ec5c86f update to take new gstdisksink element into account
Original commit message from CVS:
update to take new gstdisksink element into account
2001-04-20 12:04:40 +00:00
Richard Boulton
c44f196b15 Update the alternative Makefile.am for gst/, which depends on automake >1.4d
Original commit message from CVS:
Update the alternative Makefile.am for gst/, which depends on automake
>1.4d
2001-04-20 11:56:03 +00:00
Thomas Vander Stichele
24db50efc9 first stab at a disk sink element no optimization, is it necessary ? basic error checking seems to work; you can copy...
Original commit message from CVS:
* first stab at a disk sink element
* no optimization, is it necessary ?
* basic error checking
* seems to work; you can copy files by typing
gstreamer-launch disksrc location=test.in ! disksink location=test.out
* decode of mp3 to raw pcm also tested
2001-04-20 11:14:10 +00:00
Wim Taymans
18a4283a4e More API docs updates
Original commit message from CVS:
More API docs updates
2001-04-19 22:25:04 +00:00
Wim Taymans
6bd5dcffab The first wave of docs updates
Original commit message from CVS:
The first wave of docs updates
Added a little more comments about the API usage in the api docs.
Some fixes for the capsnego testsuite.
2001-04-17 21:14:55 +00:00
Erik Walthinsen
91aa46b62d finished change to GST_ macros
Original commit message from CVS:
finished change to GST_ macros
2001-04-17 05:24:24 +00:00
Erik Walthinsen
f994c4fafe added gstversion.h
Original commit message from CVS:
added gstversion.h
2001-04-17 02:19:08 +00:00
Wim Taymans
6118b074bc Added 1337 macros to create padtemplates and capstemplates.
Original commit message from CVS:
Added 1337 macros to create padtemplates and capstemplates.
Added some code for bufferpools
2001-04-16 21:45:02 +00:00
Wim Taymans
3b8a7d18f8 Added an arg to fakesink so that it doesn't printf.
Original commit message from CVS:
Added an arg to fakesink so that it doesn't printf.
2001-04-16 16:45:53 +00:00
Wim Taymans
afb300cc52 Added missing category strings...
Original commit message from CVS:
Added missing category strings...
2001-04-15 23:12:48 +00:00
Erik Walthinsen
2f424eb4d4 added comment about missing flag
Original commit message from CVS:
added comment about missing flag
2001-04-15 22:54:03 +00:00
Erik Walthinsen
9d423650d3 changed some INFOs to DEBUGs
Original commit message from CVS:
changed some INFOs to DEBUGs
2001-04-15 22:52:45 +00:00
Wim Taymans
97f4820da2 Fixed the gfloat error in the va_arg code.
Original commit message from CVS:
Fixed the gfloat error in the va_arg code.
2001-04-15 01:02:05 +00:00
Wim Taymans
b38d9a945b A rather large patch:
Original commit message from CVS:
A rather large patch:
- changed the API for the padtemplates:
- remove the factories (array of pointers) for the padtemplates,
properties and caps. The static array was a nice idea but converting
all the property values to a gpointer was not a good idea.
float properties were not possible, and casting a gint to a pointer
is not very portable. The new API just uses the _padtemplate_new,
_caps_new and _props_new functions to create the templates.
This has the added benefit that the API is now uniform for static
and dynamic templates and that the code can be made cleaner.
- lots of cleanups in the way the capabilities are constructed (va_list)
- lots of updates for all the plugins (new API)
- docs updates (new API)
- removed the videoraw docs.
2001-04-14 18:56:37 +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
Richard Boulton
c9085bbcd6 Add a proposed makefile to use in place of Makefile.am.
Original commit message from CVS:
Add a proposed makefile to use in place of Makefile.am.
This depends on automake 1.4d or later, but is much neater, avoiding
horrible hacks to pass special flags in.

I put it here for safekeeping until automake 1.5 is released, at which
point we can reasonably require it.
2001-04-03 04:56:32 +00:00
Richard Boulton
9416c3c7aa Fix obscure segfault I just got: perhaps due to running with libxml 1.8.11 but a worthwhile fix anyway.
Original commit message from CVS:
Fix obscure segfault I just got: perhaps due to running with libxml 1.8.11
(prerelease version), but a worthwhile fix anyway.
2001-04-03 04:38:35 +00:00
Wim Taymans
c3a64ce1f6 Merged the float property patch from Steve Baker. This patch doesn't really work yet...
Original commit message from CVS:
Merged the float property patch from Steve Baker. This patch doesn't
really work yet...
2001-04-02 19:56:34 +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
Erik Walthinsen
ea51729ef6 added PID and cID to INFO lines when DEBUG is turned on
Original commit message from CVS:
added PID and cID to INFO lines when DEBUG is turned on
2001-04-02 14:08:43 +00:00
Wim Taymans
04813b163b Simplified the FOURCC API to the caps, add a GST_MAKE_FOURCC macro to create a fourcc.
Original commit message from CVS:
Simplified the FOURCC API to the caps, add a GST_MAKE_FOURCC macro
to create a fourcc.
Adjusted the plugins to use the new FOURCC API
2001-03-30 23:56:07 +00:00
Wim Taymans
c7d631ff34 This hopefully fixes a slight thread sync issue.
Original commit message from CVS:
This hopefully fixes a slight thread sync issue.
2001-03-30 19:52:27 +00:00
Wim Taymans
9f44f8ecc2 Added a plain X videosink, the videosink uses capsnego. adjusted the v4lsrc so that it uses capsnego on the src pad
Original commit message from CVS:
Added a plain X videosink, the videosink uses capsnego.
adjusted the v4lsrc so that it uses capsnego on the src pad
Small fixed to capsnego and the properties/caps.
2001-03-29 22:32:00 +00:00
Wim Taymans
0837e1e495 Modified a lot of plugins to use the caps system.
Original commit message from CVS:
Modified a lot of plugins to use the caps system.
Modified the caps of audio/raw to our agreed properties.
Added the multidisksrc plugin of Dominic Ludlam
Renamed audiosink/src to osssink/src and updated all the examples using
the old name. Moved oss specific plugins in an oss directory. removed
the old audiosink from the elements/ dir.
removed audioraw.h metadata header files since we now use the properties.
There are still a few plugins that won't build because they include the
old audioraw.h header file. This will be fixed soon.
Make sure the caps are set in the plugins as described by their
padtemplates (this should solve problems with gstmediaplay with various
media files).

*please don't panic when some plugins won't build, just cd manually into
the plugin dirs* This will be fixed soon.
2001-03-24 17:22:03 +00:00
Wim Taymans
1d040471a4 API docs updates
Original commit message from CVS:
API docs updates
2001-03-21 21:43:56 +00:00
Wim Taymans
0267b92c93 More work on capsnego proxying. It should be OK now.
Original commit message from CVS:
More work on capsnego proxying. It should be OK now.
Added another testcase enum that shows various capsnego algorithms.
Warn about pads that try to set a capability incompatible with their
padtemplate.
Implemented refcounting and copy_on_write for caps/props.
2001-03-20 18:29:00 +00:00
Wim Taymans
29cb713b21 More work on capsnego, mostly proxying
Original commit message from CVS:
More work on capsnego, mostly proxying
Added another testsuite for capsnego
Added caps to vorbisdec, mp3parse, mp1videoparse
Redid the queue proxy handling a bit.
2001-03-18 16:17:39 +00:00