Commit graph

354 commits

Author SHA1 Message Date
Erik Walthinsen
eb6a6267bd fixed up and turned back on GST_SCHEDULE_SAFETY
Original commit message from CVS:
fixed up and turned back on GST_SCHEDULE_SAFETY
2001-05-27 00:04:00 +00:00
Erik Walthinsen
f3098e9546 fixed cothread locking and set_arg/get_arg safety, and switched to 64 cothreads of 32KB
Original commit message from CVS:
fixed cothread locking and set_arg/get_arg safety, and switched to 64 cothreads of 32KB
2001-05-26 22:58:15 +00:00
Wim Taymans
51df56e1aa Removed redundant prototypes.
Original commit message from CVS:
Removed redundant prototypes.
2001-05-26 16:41:27 +00:00
Wim Taymans
86316a4d29 Fixed a bug in the typecast macros for padtemplates.
Original commit message from CVS:
Fixed a bug in the typecast macros for padtemplates.
2001-05-26 16:33:02 +00:00
Wim Taymans
14b03dfeac don't link against libgst.la because it seems to fail on some libtool versions.
Original commit message from CVS:
don't link against libgst.la because it seems to fail on some libtool
versions.
2001-05-26 12:17:05 +00:00
Wim Taymans
e84c07c297 Removed a stupid printf.
Original commit message from CVS:
Removed a stupid printf.
2001-05-25 21:42:14 +00:00
Wim Taymans
9401162a8a Some cleanups.
Original commit message from CVS:
Some cleanups.
Removed some bogus code from element and pipeline elements.
Fixed a typo.
2001-05-25 21:39:54 +00:00
Wim Taymans
dfc62bcbce Added GST_LIBS to LIBADD.
Original commit message from CVS:
Added GST_LIBS to LIBADD.
2001-05-25 21:38:21 +00:00
Erik Walthinsen
28437bf3e2 fixed rather heinous bug in gst_buffer_copy
Original commit message from CVS:
fixed rather heinous bug in gst_buffer_copy
2001-05-25 21:35:58 +00:00
Erik Walthinsen
b845ee86f8 removed some more noise, converted to GST_DEBUG
Original commit message from CVS:
removed some more noise, converted to GST_DEBUG
2001-05-25 21:31:12 +00:00
Erik Walthinsen
ceded2b36b removed annoying debug message during state change (made GST_DEBUG)
Original commit message from CVS:
removed annoying debug message during state change (made GST_DEBUG)
2001-05-25 21:25:36 +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
David I. Lehn
568cbc3030 Update some signal func vars.
Original commit message from CVS:
Update some signal func vars.
2001-05-23 23:24:17 +00:00
Bastien Nocera
427203dc28 - it is now possible to change the opened file when state is PAUSED
Original commit message from CVS:
- it is now possible to change the opened file when state is PAUSED
2001-05-22 19:22:57 +00:00
Wim Taymans
704918c3fa Added the possibility to escape chars in gstparse. You can now give it a cmdline like disksrc location=some\ sort\ of...
Original commit message from CVS:
Added the possibility to escape chars in gstparse. You can now give it a
cmdline like disksrc location=some\ sort\ of.mp3 ! .... and it does the
right thing.
2001-05-20 20:05:29 +00:00
Thomas Vander Stichele
90c0acec1c reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned
Original commit message from CVS:
reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned
2001-05-20 14:55:02 +00:00
Wim Taymans
8a89e0b83e Made pipefilter a DECOUPLED element.
Original commit message from CVS:
Made pipefilter a DECOUPLED element.
2001-05-20 14:12:36 +00:00
David I. Lehn
18adcf5a3f - Fix cothread pointers and allocation so full 2M stack space available:
Original commit message from CVS:
- Fix cothread pointers and allocation so full 2M stack space available:
- Double maximums to use full stack space:
- COTHREAD_STACKSIZE = 16k
- COTHREAD_MAXTHREADS = 128
- cothread changes only verified on x86
- cothread_create returns NULL if nthreads == MAXTHREADS though not yet handled by gstschedule caller
2001-05-16 07:16:47 +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
Erik Walthinsen
981c654a60 some minor updates with a hair more speed
Original commit message from CVS:
some minor updates with a hair more speed
2001-05-10 23:43:34 +00:00
Erik Walthinsen
4cbdcef47f move cothread_context definition over to the .c
Original commit message from CVS:
move cothread_context definition over to the .c
2001-05-10 22:35:50 +00:00
Erik Walthinsen
facc9acb7a fixed up macros to match new RealPad stuff, change #if 1 to #if 0 to use, beware you must rebuild all plugins after c...
Original commit message from CVS:
fixed up macros to match new RealPad stuff, change #if 1 to #if 0 to use, beware you must rebuild all plugins after change
2001-05-10 22:30:00 +00:00
Erik Walthinsen
afd1953a04 moved cothread parameters into .c to avoid rebuilding libgst.la every time
Original commit message from CVS:
moved cothread parameters into .c to avoid rebuilding libgst.la every time
2001-05-10 22:10:19 +00:00
David I. Lehn
c447ea71a4 Pass buffer in handoff signal
Original commit message from CVS:
Pass buffer in handoff signal
2001-05-10 20:28:51 +00:00
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