Commit graph

77 commits

Author SHA1 Message Date
Benjamin Otte
9a9f767369 use element time.
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/aalib/gstaasink.c: (gst_aasink_chain):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
* ext/esd/esdsink.c: (gst_esdsink_chain):
* ext/libcaca/gstcacasink.c: (gst_cacasink_chain):
* ext/mas/massink.c: (gst_massink_chain):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_chain):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop),
(gst_mpeg_parse_release_locks):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_chain):
* gst/udp/gstudpsink.c: (gst_udpsink_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_chain):
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvideo/xvideosink.c: (gst_xvideosink_chain),
(gst_xvideosink_release_locks):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
use element time.
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_start),
(gst_alsa_clock_stop):
* gst-libs/gst/audio/audioclock.c: (gst_audio_clock_set_active),
(gst_audio_clock_get_internal_time):
simplify for use with new clocking code.
* testsuite/alsa/Makefile.am:
* testsuite/alsa/sinesrc.c: (sinesrc_init), (sinesrc_force_caps):
fix testsuite for new caps system
2004-01-14 00:53:52 +00:00
Benjamin Otte
086e0f436e sys/oss/gstosssink.c: Fix for bug shown by poisoning
Original commit message from CVS:
2004-01-07  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
Fix for bug shown by poisoning
2004-01-06 23:42:37 +00:00
David Schleef
7066aeeae5 Fix the fixate functions to handle new prototype:
Original commit message from CVS:
Fix the fixate functions to handle new prototype:
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
* sys/ximage/ximagesink.c: (gst_ximagesink_fixate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):
2004-01-04 23:46:39 +00:00
Colin Walters
c2f54315b1 Return NULL if we can't fixate the caps anymore.
Original commit message from CVS:
Return NULL if we can't fixate the caps anymore.
2003-12-24 17:01:00 +00:00
David Schleef
d88e52a37b gst/volume/gstvolume.c: Proxy getcaps.
Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_init): Proxy getcaps.
* sys/oss/gstosssink.c: (gst_osssink_init),
(gst_osssink_sink_fixate): Add fixate function.
2003-12-24 03:31:06 +00:00
David Schleef
ce51f6173c Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Ronald S. Bultje
9b57e0a57d Go back to old code, it works good enough...
Original commit message from CVS:
Go back to old code, it works good enough...
2003-12-17 22:36:20 +00:00
Ronald S. Bultje
cbd95dd815 Remove debugging statements
Original commit message from CVS:
Remove debugging statements
2003-12-16 22:00:21 +00:00
Ronald S. Bultje
36d1d0b44f Fix some clocking issue in OSS. The issue is that if we seek forward (note: specifically forward-only), then we call ...
Original commit message from CVS:
Fix some clocking issue in OSS. The issue is that if we seek forward (note: specifically forward-only), then we call handle_discont() before re-setting the clock to active. However, gstclock.c tells us that handle_discont only succeeds if allow_discont=TRUE, which is set in... set_active(TRUE). So, we first need to re-activate the clock and *then* call handle_discont(). More importantly, though, we should **NEVER EVER EVER EVER EVER** **NEVER EVER EVER EVER EVER** call clock_wait() after a forward discont without first having called handle_discont(). I don't know who added that code, but it's beyond fundamentally broken. clock_wait() **WAITS** until we're at the new given buftime, so if we do that on a forward-seek buffer, we... yes! we wait the amount of time that we seeked forward. Anyway, Apparently this code has been in here for quite a long time so I don't get how this can ever have worked...
2003-12-16 21:47:40 +00:00
Benjamin Otte
4ac17766c8 first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ex...
Original commit message from CVS:
first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ext/mad.
You guessed it, everything Rhythmbox needs ;)
fixed BMP typefind and made gnomevfs one plugin instead of two while doing this
2003-10-31 20:03:30 +00:00
Andy Wingo
f2d5cae8da /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:18 +00:00
Thomas Vander Stichele
54b0fe0f94 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:02 +00:00
Benjamin Otte
77a4320a04 converted gst_element_error to new format in sys/oss - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in sys/oss - gettext pending
2003-09-15 00:42:39 +00:00
Ronald S. Bultje
96fc83aeac Interface implementation example: OSS mixer. Also osscommon->osselement so it can be loaded without being a source/si...
Original commit message from CVS:
Interface implementation example: OSS mixer. Also osscommon->osselement so it can be loaded without being a source/sink (for a stand-alone mixer)
2003-09-13 01:22:59 +00:00
Thomas Vander Stichele
6c336a9f4b second attempt fixing gdkpixbuf stuff
Original commit message from CVS:
second attempt
fixing gdkpixbuf stuff
2003-07-28 11:37:49 +00:00
Andy Wingo
6f06c87c12 actually recurse into sndfile if we are able big ladspa cleanups, mainly to comply with the buffer-frames caps proper...
Original commit message from CVS:
* actually recurse into sndfile if we are able
* big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general
cleanups
- the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins)
you need to use a filtered connection, just like with buffer-frames
* big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit
simpler
* make the ossclock general, add it to gstaudio, and use it in sndfile as well

i need to update mimetypes, but that's coming soon. there are some other plugins that don't
support buffer-frames, i guess i need to get around to fixing them as well.
2003-07-16 16:08:14 +00:00
Ronald S. Bultje
292fec2a0b New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:52 +00:00
Andy Wingo
82c42cb6fd implemented wait_async and unschedule ossclock, and support it in osssink -- really should make this a general clock,...
Original commit message from CVS:
implemented wait_async and unschedule ossclock, and support it in osssink -- really should make this a general clock, ill need it in gstsf
2003-07-03 14:35:50 +00:00
Benjamin Otte
90da904f1e compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:12 +00:00
Ronald S. Bultje
3deabb351e Remove NEW_MEDIA from plugins
Original commit message from CVS:
Remove NEW_MEDIA from plugins
2003-06-07 00:17:53 +00:00
Wim Taymans
f11e5be82f - use common code to write samples to the device
Original commit message from CVS:
- use common code to write samples to the device
- add some error handling
2003-05-31 14:14:21 +00:00
Wim Taymans
10bb03148d - UNITS -> DEFAULT
Original commit message from CVS:
- UNITS -> DEFAULT
- added chunk_size option to osssink, buffers will be written to the
devive in chunks of this size, this can increase the accuracy of the
clock on some devices.
2003-05-24 10:45:27 +00:00
Benjamin Otte
d1e45d83b9 properly get rid of clocks on disposal - be parent of own clock
Original commit message from CVS:
properly get rid of clocks on disposal - be parent of own clock
2003-05-10 11:35:59 +00:00
Wim Taymans
157cf016dc Enable sync again, for some reason it was disabled
Original commit message from CVS:
Enable sync again, for some reason it was disabled
2003-01-19 19:42:18 +00:00
Thomas Vander Stichele
52590aae8f until this reliably works for more than two media types, we're better off making FALSE the default
Original commit message from CVS:
until this reliably works for more than two media types, we're better off
making FALSE the default
2003-01-13 12:48:53 +00:00
Thomas Vander Stichele
c2a01f482c PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
be876ae577 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:25 +00:00
Wim Taymans
4d36ba7e87 Fix plugins for new query API
Original commit message from CVS:
Fix plugins for new query API
2002-12-30 17:53:18 +00:00
Wim Taymans
a06b9161dc Update to new element sync API
Original commit message from CVS:
Update to new element sync API
2002-12-27 23:00:36 +00:00
Wim Taymans
dff7f0496f Properly reset the internal state without leaking the filehandle
Original commit message from CVS:
Properly reset the internal state without leaking the filehandle
2002-12-10 20:41:06 +00:00
Wim Taymans
4682001013 More refactoring osssrc has more features now, like query/convert etc
Original commit message from CVS:
More refactoring
osssrc has more features now, like query/convert etc
2002-12-07 20:54:47 +00:00
Wim Taymans
f5743b63de Some cleanups and refactoring make ossrc do good negotiation
Original commit message from CVS:
Some cleanups and refactoring
make ossrc do good negotiation
2002-12-07 14:25:18 +00:00
Thomas Vander Stichele
a03ceeadcb more useful error messages
Original commit message from CVS:
more useful error messages
- how about i18n ?
- is this really the best way to pass user-visible error messages ?
2002-12-03 09:39:52 +00:00
Wim Taymans
c2758dbd00 Moved clock set/get to class functions.
Original commit message from CVS:
Moved clock set/get to class functions.
2002-11-27 20:54:43 +00:00
Jeremy Simon
07f3eef84d Bug #94429 (open with O_NONBLOCK). I hope it's ok (wtay ?)
Original commit message from CVS:
Bug #94429 (open with O_NONBLOCK). I hope it's ok (wtay ?)
2002-11-24 11:45:03 +00:00
Wim Taymans
bb4952c055 Remove properties that can easily be found on the caps.
Original commit message from CVS:
Remove properties that can easily be found on the caps.
2002-11-02 13:42:01 +00:00
Thomas Vander Stichele
1f86b14dd6 oss debug backport fixes
Original commit message from CVS:
oss debug backport fixes
2002-09-23 09:09:41 +00:00
Christian Schaller
2ff64d483e plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:51 +00:00
Wim Taymans
2d22fed727 Some cleanups
Original commit message from CVS:
Some cleanups
2002-09-12 18:47:39 +00:00
Wim Taymans
a8b166e3e4 - Don't misuse fragment property for storing the fragment size
Original commit message from CVS:
- Don't misuse fragment property for storing the fragment size
- Better property descriptions
- correctly calculate fragment_time
2002-09-02 19:22:35 +00:00
Wim Taymans
7168a7b9c0 small sync fix
Original commit message from CVS:
small sync fix
2002-07-28 18:13:26 +00:00
Wim Taymans
ba4646de1f - eventmask/query/format functions
Original commit message from CVS:
- eventmask/query/format functions
- expose oss format as an enum
- moved default_pool allocation to where it is needed.
2002-07-24 21:46:03 +00:00
Thomas Vander Stichele
88772a64b5 vishnu's patch
Original commit message from CVS:
vishnu's patch
2002-07-10 21:14:13 +00:00
Wim Taymans
c171c41417 unref events
Original commit message from CVS:
unref events
2002-07-08 19:44:28 +00:00
Wim Taymans
d80cba052a Small fix for event cleanup
Original commit message from CVS:
Small fix for event cleanup
2002-06-16 21:58:39 +00:00
Wim Taymans
efab9f1420 Implement element query fix convert bug
Original commit message from CVS:
Implement element query
fix convert bug
2002-06-08 23:45:12 +00:00
Thomas Vander Stichele
227da54688 UNITS
Original commit message from CVS:
UNITS
2002-06-02 15:57:30 +00:00
Wim Taymans
6a53e8ea4a Reenable oss clock
Original commit message from CVS:
Reenable oss clock
2002-06-02 14:28:04 +00:00
Wim Taymans
6bb455cdc9 Make elements nanoseconds aware
Original commit message from CVS:
Make elements nanoseconds aware
2002-06-02 13:25:40 +00:00
Wim Taymans
8b094e02a9 Remove media specific seeking type in favour of unit. xvimage compile fix.
Original commit message from CVS:
Remove media specific seeking type in favour of unit.
xvimage compile fix.
2002-06-02 11:57:13 +00:00