Commit graph

271 commits

Author SHA1 Message Date
Benjamin Otte
38d20a00da sys/oss/gstosselement.c: get rid of \n in debug output
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_rate_probe_check),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate):
get rid of \n in debug output
2004-04-18 20:14:36 +00:00
Christian Schaller
178b620bc7 s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
Original commit message from CVS:
s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
2004-04-12 19:41:34 +00:00
Benjamin Otte
f5b39e877d sys/oss/.cvsignore: add for oss_probe
Original commit message from CVS:
* sys/oss/.cvsignore:
add for oss_probe
2004-04-04 02:39:29 +00:00
Thomas Vander Stichele
476f84163e throw an error if we couldn't probe caps
Original commit message from CVS:
throw an error if we couldn't probe caps
2004-04-01 13:20:03 +00:00
Benjamin Otte
0941bfb00e sys/oss/gstosselement.c: probe caps correctly for sound cards that only support one format
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_probe_caps),
(gst_osselement_rate_check_rate):
probe caps correctly for sound cards that only support one format
2004-03-30 18:01:45 +00:00
David Schleef
d21f04ca6f sys/oss/gstosselement.c: Add code to handle rate probing (bug #120883)
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_close_audio), (gst_osselement_probe_caps),
(gst_osselement_get_format_structure),
(gst_osselement_rate_probe_check), (gst_osselement_rate_add_range),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate),
(gst_osselement_rate_int_compare): Add code to handle rate probing
(bug #120883)
* sys/oss/gstosselement.h: same
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_getcaps):
Use rate probing provided by osselement.
* sys/oss/gstosssrc.c: (gst_osssrc_init), (gst_osssrc_getcaps): same
2004-03-25 02:43:48 +00:00
David Schleef
fa587e1ce5 minor updates to last checkin
Original commit message from CVS:
minor updates to last checkin
2004-03-23 04:42:57 +00:00
David Schleef
3cd8eca7f3 sys/oss/: Rate probing test app.
Original commit message from CVS:
* sys/oss/Makefile.am:
* sys/oss/oss_probe.c: (main), (probe_check), (add_range),
(check_rate), (add_rate):  Rate probing test app.
2004-03-23 04:01:27 +00:00
Thomas Vander Stichele
6cc1c73d2b don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:27 +00:00
Johan Dahlin
5acffea623 *.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
2004-03-15 16:32:54 +00:00
Thomas Vander Stichele
5d25c00e4b gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Ronald S. Bultje
ab224e62dc Don't block during probing...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Don't block during probing...
2004-03-13 05:38:13 +00:00
Ronald S. Bultje
2cb6e77679 sys/oss/gstosssink.c: Latest fixes for A/V sync, audio playback and such. This is about all... MPEG playback issues a...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_get_time),
(gst_osssink_chain), (gst_osssink_change_state):
Latest fixes for A/V sync, audio playback and such. This is about
all... MPEG playback issues are mostly related to the async build-
up of MPEG files, I cannot fix that. Use basicgthread to solve it.
2004-03-11 04:08:44 +00:00
Ronald S. Bultje
fdf6d4edf5 ext/divx/gstdivxdec.c: Downgrade priority. We prefer ffdec_mpeg4.
Original commit message from CVS:
* ext/divx/gstdivxdec.c:
Downgrade priority. We prefer ffdec_mpeg4.
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps), (gst_faad_srcconnect),
(gst_faad_chain), (gst_faad_change_state):
Fix capsnego. Doesn't work for some sounds because we don't have
a 5:1 to stereo element.
* ext/xvid/gstxvid.c: (plugin_init):
Add priority.
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
Add discont handling.
2004-03-10 05:45:23 +00:00
Thomas Vander Stichele
fe3a554166 add a warning
Original commit message from CVS:
add a warning
2004-03-08 17:11:39 +00:00
Ronald S. Bultje
63e0fe099e sys/oss/gstosssink.c: And another caller that couldn't handle delay < 0 (unsigned integer overflow). Video now contin...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_chain):
And another caller that couldn't handle delay < 0 (unsigned
integer overflow). Video now continues playing on an audio
buffer underrun, and the clock continues working. Audio still
stalls.
2004-03-07 02:51:33 +00:00
Ronald S. Bultje
bc6e4f585c sys/oss/gstosssink.c: get_delay() may return values lower than 0. In those cases, we should not actually cast to *uns...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_get_delay),
(gst_osssink_get_time):
get_delay() may return values lower than 0. In those cases, we
should not actually cast to *unsigned* int64, that will break
stuff horribly. In my case, it screwed up A/V sync in movies
in totem rather badly.
2004-03-07 02:09:45 +00:00
Christophe Fergeau
ce608897ab sys/oss/gstosselement.*: Reworked enumeration of oss dsps and mixers so that gst-mixer works on my system using alsa ...
Original commit message from CVS:
2004-02-29  Christophe Fergeau  <teuf@gnome.org>

* sys/oss/gstosselement.c: (gst_osselement_probe),
(device_combination_append), (gst_osselement_class_probe_devices):
* sys/oss/gstosselement.h:
Reworked enumeration of oss dsps and mixers so that gst-mixer works
on my system using alsa oss emulation, fixes bug #135597
2004-02-29 10:43:03 +00:00
David Schleef
ee5fb6167b patches from jmmv@menta.net (Julio M. Merino Vidal)
Original commit message from CVS:
patches from jmmv@menta.net (Julio M. Merino Vidal)
* gst/interleave/deinterleave.c: (deinterleave_chain): Fix
GST_ELEMENT_ERROR call (bug #135634)
* gst/interleave/interleave.c: (interleave_buffered_loop),
(interleave_bytestream_loop): Don't use alloca() (bug #135640)
* sys/cdrom/gstcdplayer_ioctl_bsd.h: Fix ioctls on NetBSD (bug #135645)
* sys/oss/gstosssink.c: (gst_osssink_get_delay),
(gst_osssink_chain): Fix ioctls on NetBSD. (bug #135644)
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_sync_next_frame),
(gst_v4lmjpegsrc_set_capture), (gst_v4lmjpegsrc_set_capture_m),
(gst_v4lmjpegsrc_capture_init), (gst_v4lmjpegsrc_requeue_frame):
Fix GST_ELEMENT_ERROR call.
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_try_palette): Fix
GST_ELEMENT_ERROR call.
2004-02-27 23:36:43 +00:00
Thomas Vander Stichele
7d14013c03 assorted debug/warning fixes
Original commit message from CVS:
assorted debug/warning fixes
2004-02-25 17:45:54 +00:00
Thomas Vander Stichele
32791b4347 clean up debugging
Original commit message from CVS:
clean up debugging
2004-02-25 17:40:32 +00:00
Benjamin Otte
8dc9d960f0 ext/alsa/gstalsa.c: be sure to stop the clock when going to paused
Original commit message from CVS:
2004-02-05  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsa.c: (gst_alsa_change_state):
be sure to stop the clock when going to paused
* sys/oss/gstosssink.c: (gst_osssink_change_state):
reset number of transmitted when going to ready.
fixes #132935

2004-02-05  Charles Schmidt <cschmidt2@emich.edu>

reviewed by Benjamin Otte

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
extract track count (fixes #133410)
2004-02-05 00:18:24 +00:00
Thomas Vander Stichele
ca831f952a remove textdomain calls
Original commit message from CVS:
remove textdomain calls
2004-02-02 22:25:38 +00:00
Thomas Vander Stichele
79bc3ebfa1 change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:33 +00:00
Thomas Vander Stichele
51e5863a97 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
Benjamin Otte
2ff91478b4 sys/oss/gstosssink.c: use gst_element_get_time to get correct time
Original commit message from CVS:
2004-01-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/oss/gstosssink.c: (gst_osssink_sink_query):
use gst_element_get_time to get correct time
2004-01-27 20:40:37 +00:00
Thomas Vander Stichele
e096619134 remove comment
Original commit message from CVS:
remove comment
2004-01-23 16:06:53 +00:00
Ronald S. Bultje
6eac1f9c4c sys/oss/gstosselement.c: Fix the ossmixer case where we shouldn't open /dev/dsp* because it might block operations (w...
Original commit message from CVS:
2004-01-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Fix the ossmixer case where we shouldn't open /dev/dsp* because
it might block operations (which is bad for a mixer).
2004-01-22 20:51:08 +00:00
Thomas Vander Stichele
469936a3bd putting i18n in place for plugins
Original commit message from CVS:
putting i18n in place for plugins
2004-01-19 15:45:55 +00:00
Thomas Vander Stichele
8fd7df0cb5 fix i18n include
Original commit message from CVS:
fix i18n include
2004-01-19 13:50:39 +00:00
Thomas Vander Stichele
3b0cf935f6 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
Julien Moutte
01a7e0467d ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.
Original commit message from CVS:
2004-01-15  Julien MOUTTE <julien@moutte.net>

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init): Setting
mixer interface type to HARDWARE.
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init): Adding a default
type to SOFTWARE.
* gst-libs/gst/mixer/mixer.h: Adding mixer interface type and macro.
* gst-libs/gst/mixer/mixertrack.h: Adding mixertrack flag SOFTWARE.
* gst/volume/gstvolume.c: (gst_volume_interface_supported),
(gst_volume_interface_init), (gst_volume_list_tracks),
(gst_volume_set_volume), (gst_volume_get_volume),
(gst_volume_set_mute), (gst_volume_mixer_init),
(gst_volume_dispose), (gst_volume_get_type), (volume_class_init),
(volume_init): Implementing mixer interface.
* gst/volume/gstvolume.h: Adding tracklist for mixer interface.
* sys/oss/gstosselement.c: (gst_osselement_get_type),
(gst_osselement_change_state): Removing some trailing commas in
structures.
* sys/oss/gstossmixer.c: (gst_ossmixer_interface_init): Setting mixer
interface type to HARDWARE.
* sys/v4l/gstv4lcolorbalance.c:
(gst_v4l_color_balance_interface_init): Setting colorbalance interface
type to HARDWARE.
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_interface_init): Setting colorbalance
interface type to HARDWARE.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use exactly the
same code than ximagesink for event handling.
2004-01-15 15:50:10 +00:00
Benjamin Otte
7944a55503 ext/alsa/gstalsasink.c: Don't update the time of the clock sync to the clock given to alsasink, not the own clock
Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Don't update the time of the clock
(gst_alsa_sink_loop):
sync to the clock given to alsasink, not the own clock
* sys/oss/gstosssink.c: (gst_osssink_chain):
sync to the clock
(gst_osssink_change_state):
activate the clock
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
remove bogus code that made DISCONT events unhandled
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
explicitly case to double in _set_simple. (fixes 2nd warning in bug
#131502)
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_read_object_header),
(gst_asf_demux_handle_sink_event), (gst_asf_demux_audio_caps),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps):
convert g_warning because of wrong asf data to GST_WARNINGs (fixes
2nd warning in bug #131502)
2004-01-15 02:14:54 +00:00
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
Thomas Vander Stichele
c302fb7255 make oss warning more useful
Original commit message from CVS:
make oss warning more useful
2004-01-12 12:24:05 +00:00
Thomas Vander Stichele
21c053773f add oss debugging category
Original commit message from CVS:
add oss debugging category
2004-01-12 12:07:28 +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
Ronald S. Bultje
d2f67bee59 ext/shout/gstshout.c: fix for new caps system.
Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/shout/gstshout.c: (gst_icecastsend_base_init),
(gst_icecastsend_init):
fix for new caps system.
* gst-libs/gst/mixer/mixertrack.h:
* sys/oss/gstossmixer.c: (gst_ossmixer_build_list):
Add 'master track' flag (for tools like ACME that only want to
change the main volume).
2004-01-06 15:59:02 +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
ae91d7c717 configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:34 +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
Ronald S. Bultje
a36185d920 Er, right, this is a typo
Original commit message from CVS:
Er, right, this is a typo
2003-12-16 21:30:41 +00:00
Ronald S. Bultje
c7177d2392 it's broken and it failed to load during the last few months. If anyone wants to revive it, have fun finding it back ...
Original commit message from CVS:
Remove ossgst... It's a crude hack (beyond ugly), it's broken and it failed to load during the last few months. If anyone wants to revive it, have fun finding it back in the CVS history
2003-12-14 22:48:18 +00:00
Ronald S. Bultje
bac7d40601 Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
Original commit message from CVS:
Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
2003-12-07 12:11:29 +00:00
Andy Wingo
e46d34995d remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:38 +00:00
Ronald S. Bultje
80975b95f6 Fix for if SOUND_MIXER_INFO is not available (fBSD and others)
Original commit message from CVS:
Fix for if SOUND_MIXER_INFO is not available (fBSD and others)
2003-11-13 08:39:45 +00:00
Ronald S. Bultje
2ca1bfc5ab Fix device probing from multiple childs. It's done once in the parent class only now, but the childs do get the corre...
Original commit message from CVS:
Fix device probing from multiple childs. It's done once in the parent class only now, but the childs do get the correct values. Also fixes an incorrect succesful state change if we opened a v4l device that doesn't have the capabilities that are needed by the plugin.
2003-11-09 20:54:24 +00:00
Ronald S. Bultje
eaba521317 Don't change mixer if there's nothing to change. This caused a bug if the soundcard only supports one input and I cal...
Original commit message from CVS:
Don't change mixer if there's nothing to change. This caused a bug if the soundcard only supports one input and I call this function with rec=TRUE twice.
2003-11-09 10:51:26 +00:00
Ronald S. Bultje
5621eae1c5 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:01 +00:00
Jan Schmidt
d236cce511 All the interfaces are collected in libgstinterfaces now.
Original commit message from CVS:
All the interfaces are collected in libgstinterfaces now.
2003-11-06 15:24:41 +00:00
Ronald S. Bultje
30381dbf65 And proper memory cleanup of cached devices
Original commit message from CVS:
And proper memory cleanup of cached devices
2003-11-06 10:21:14 +00:00
Ronald S. Bultje
58ddceed73 Add proper switch to needs_probe()
Original commit message from CVS:
Add proper switch to needs_probe()
2003-11-06 10:15:22 +00:00
Ronald S. Bultje
133cbb7770 Add device autodetection
Original commit message from CVS:
Add device autodetection
2003-11-06 09:55:24 +00:00
Ronald S. Bultje
94f5506dc3 Re-add mixer element, gst-mixer doesn't work without it
Original commit message from CVS:
Re-add mixer element, gst-mixer doesn't work without it
2003-11-05 12:20:43 +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
Ronald S. Bultje
c4aacdb8e5 oops... I broke device settings in OSS
Original commit message from CVS:
oops... I broke device settings in OSS
2003-10-28 20:19:13 +00:00
Ronald S. Bultje
5d540ce924 Rename osselement to ossmixer and only open audio device if we have at least one pad. This makes ossmixer *only* open...
Original commit message from CVS:
Rename osselement to ossmixer and only open audio device if we have at least one pad. This makes ossmixer *only* open the mixer, which means we can open multiple mixer sessions.
2003-10-26 12:16:43 +00:00
Ronald S. Bultje
4be82a9ca9 Set labels on mixer manually. This allows clearer names and - in the future - i18n
Original commit message from CVS:
Set labels on mixer manually. This allows clearer names and - in the future - i18n
2003-10-14 10:11:14 +00:00
Ronald S. Bultje
be6ce4d973 Typo fix
Original commit message from CVS:
Typo fix
2003-10-14 10:09:29 +00:00
Ronald S. Bultje
4506e60ea0 Make GstMixerTrack a GObject. I also want to make it emit several signals, starting work is in here but it's not full...
Original commit message from CVS:
Make GstMixerTrack a GObject. I also want to make it emit several signals, starting work is in here but it's not fully implemented yet. for OSS, this will cause issues, but for ALSA, this is all automated.
2003-10-10 12:24:20 +00:00
Leif Johnson
b7e443cb84 changing 'channel' to 'track' to avoid naming overlap
Original commit message from CVS:
changing 'channel' to 'track' to avoid naming overlap
2003-10-09 22:02:37 +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
Ronald S. Bultje
124fa6ae42 I thought I removed these two...
Original commit message from CVS:
I thought I removed these two...
2003-09-29 12:01:42 +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
01b291a923 Make interface hack work with multiple interfaces per element
Original commit message from CVS:
Make interface hack work with multiple interfaces per element
2003-09-13 15:47:59 +00:00
Ronald S. Bultje
3bfac4fc26 Copyright fix (code=mine)
Original commit message from CVS:
Copyright fix (code=mine)
2003-09-13 13:42:09 +00:00
Ronald S. Bultje
17ff8e9c5b Fix missing symbol
Original commit message from CVS:
Fix missing symbol
2003-09-13 13:37:49 +00:00
Christian Schaller
4dd04ba53b fix typo (not mine, ronalds ;)
Original commit message from CVS:
fix typo (not mine, ronalds ;)
2003-09-13 11:47:13 +00:00
Christian Schaller
b0212d99c4 disting fix, ronald remember to make sure all new files get disted :)
Original commit message from CVS:
disting fix, ronald remember to make sure all new files get disted :)
2003-09-13 11:38:25 +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
David Schleef
0fbf4221a6 Remove redundant definition of plugindir
Original commit message from CVS:
Remove redundant definition of plugindir
2003-08-10 00:03:39 +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
1cf238f9d4 - added gst_oss_clock_set_time to .h file
Original commit message from CVS:
- added gst_oss_clock_set_time to .h file
2003-05-24 10:55:02 +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
Ronald S. Bultje
cb0e1dd5d8 I'm too lazy to comment this
Original commit message from CVS:
Fix #106709 - waiting for approval in 0.6.1 - patch thanks to Peter N Lundblad <lundblad@linux.nu>
2003-04-04 21:02:18 +00:00
Ronald S. Bultje
8307214acf implement clocking set clock counter back to zero on ready->paused move open/close to ready/null instead of paused/re...
Original commit message from CVS:
* implement clocking
* set clock counter back to zero on ready->paused
* move open/close to ready/null instead of paused/ready.
* add random typos
2003-03-30 21:19:08 +00:00
David Schleef
df0b94aae4 Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS:
Change %lld, %llu to G_G[U]INT64_FORMAT globally.  Fix bad pointer->integer
conversion.
2003-02-02 05:26:29 +00:00
Wim Taymans
d1dcf80a9f Removed bogus patch 1.4 to make osssrc work again.
Original commit message from CVS:
Removed bogus patch 1.4 to make osssrc work again.
2003-01-27 20:36:46 +00:00
Wim Taymans
ae07474bb2 - Add error reporting
Original commit message from CVS:
- Add error reporting
- never return a NULL buffer
2003-01-27 20:23:55 +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
Christian Schaller
e250f197a5 Applied patch from Martin Schlemmer for locking issue, see bug http://bugzilla.gnome.org/show_bug.cgi?id=102025
Original commit message from CVS:
Applied patch from Martin Schlemmer for locking issue, see bug http://bugzilla.gnome.org/show_bug.cgi?id=102025
2003-01-12 11:43:46 +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
Thomas Vander Stichele
e16c50551b parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +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
Iain Holmes
3a96272da6 Add an event handler to the GstOssSrc. Handle EOS events.
Original commit message from CVS:
Add an event handler to the GstOssSrc. Handle EOS events.
2002-12-06 01:23:41 +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
Iain Holmes
2c758796f5 Make the OSSSrc set the correct rate/number of channels as set in the GstCaps.
Original commit message from CVS:
Make the OSSSrc set the correct rate/number of channels as set in the GstCaps.
Handle state changes correctly according to docs/random/wtay/states
2002-12-03 00:36:54 +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
Ronald S. Bultje
0b497b1634 This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS:
This updates all plugins to the new API for gst_pad_try_set_caps
2002-09-10 09:31:40 +00:00
Thomas Vander Stichele
c897422d57 some wim forgot this
Original commit message from CVS:
some wim forgot this
2002-09-03 16:11:57 +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
Wim Taymans
4453f03613 use new method names
Original commit message from CVS:
use new method names
2002-07-13 23:13:42 +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
Wim Taymans
9b020fb093 Some query and convert functions.
Original commit message from CVS:
Some query and convert functions.
2002-06-01 11:00:27 +00:00
Wim Taymans
ee0c7c63bc Don't call oss_clock methods on the clock
Original commit message from CVS:
Don't call oss_clock methods on the clock
2002-05-31 17:52:50 +00:00
Wim Taymans
38b9027f8c Slightly better sync if we could not resync the clock.
Original commit message from CVS:
Slightly better sync if we could not resync the clock.
2002-05-30 19:10:31 +00:00
Wim Taymans
40b3b23ce1 Resurect ossclock with a simple algorithm
Original commit message from CVS:
Resurect ossclock with a simple algorithm
2002-05-28 22:52:52 +00:00
Thomas Vander Stichele
2676502231 "pardon begg'd, Sir, I do think that my backside's not a sync"
Original commit message from CVS:
"pardon begg'd, Sir, I do think
that my backside's not a sync"
Sorry for fixing this but I'm pretty anable that way
2002-05-28 09:02:17 +00:00
Wim Taymans
fc8757bc01 Use alternative method for getting delay
Original commit message from CVS:
Use alternative method for getting delay
2002-05-27 23:15:56 +00:00
Thomas Vander Stichele
7ad2309eea virtual wtay patch
Original commit message from CVS:
virtual wtay patch
2002-05-27 23:02:02 +00:00
Wim Taymans
d05f8f80dc Added sync option to disable syncing to the clock.
Original commit message from CVS:
Added sync option to disable syncing to the clock.
2002-05-26 23:01:16 +00:00
Wim Taymans
91a716f915 - Changed plugins for new APIs
Original commit message from CVS:
- Changed plugins for new APIs
- modularized audiofile.
- added seeking, query and convert functions for mad, mpeg2dec,
avidemux, mpegdemux, mpegparse
- sync updates to oss. removed the ossclock for now
2002-05-26 21:59:22 +00:00
Andy Wingo
7a81331d6d don't compile the oss helper by default
Original commit message from CVS:
don't compile the oss helper by default
2002-05-20 22:44:14 +00:00
Andy Wingo
5bb8c70ac5 temporary commit to resurrect osshelper.c, will fix...
Original commit message from CVS:
temporary commit to resurrect osshelper.c, will fix...
2002-05-20 22:39:57 +00:00
Andy Wingo
7758f308f3 get rid of evil gstosshelper (intended for use with LD_PRELOAD)
Original commit message from CVS:
get rid of evil gstosshelper (intended for use with LD_PRELOAD)
2002-05-20 22:21:35 +00:00
Wim Taymans
7f83fbc9fe Reset the handled number of samples when going to PAUSED
Original commit message from CVS:
Reset the handled number of samples when going to PAUSED
Some cleanups
2002-05-04 18:52:32 +00:00
Wim Taymans
71d810adff Fix clocking.
Original commit message from CVS:
Fix clocking.
2002-04-28 14:33:09 +00:00
Wim Taymans
ca8b0275ca More intelligent clock offset and sync.
Original commit message from CVS:
More intelligent clock offset and sync.
2002-04-28 13:25:08 +00:00
Andy Wingo
cca77e215b a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...
Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory
2002-04-20 21:42:51 +00:00
Thomas Vander Stichele
4a596daeb3 more mergeback from the latest release
Original commit message from CVS:
more mergeback from the latest release
2002-04-15 09:27:03 +00:00
Benjamin Otte
599c0b188a revert part of a patch that broke BE machines
Original commit message from CVS:
revert part of a patch that broke BE machines
2002-04-14 19:59:24 +00:00
Thomas Vander Stichele
e1f6397f76 spec fixes gst-launch-ext additions trying to fix up ieeetest but failed function collision in avifile dir
Original commit message from CVS:
* spec fixes
* gst-launch-ext additions
* trying to fix up ieeetest but failed
* function collision in avifile dir
2002-04-13 00:46:23 +00:00
Andy Wingo
3a9c675a68 GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:25 +00:00
Wim Taymans
13d9e8d352 Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
2002-03-30 17:06:26 +00:00
Andy Wingo
afb7bcab51 some s/KHz/Hz/ fixes in osssrc consistency-with-the-rest-of-gst adjustments
Original commit message from CVS:
* some s/KHz/Hz/ fixes in osssrc
* added dxr3 plugin from rehan khwaja <rehankhwaja@yahoo.com>, with some
consistency-with-the-rest-of-gst adjustments
2002-03-29 00:23:16 +00:00
David I. Lehn
983feed7a1 _get_property for curroffset should use g_value_get_ulong
Original commit message from CVS:
_get_property for curroffset should use g_value_get_ulong
2002-03-27 03:05:59 +00:00
Andy Wingo
29aa39e99c filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:03 +00:00