summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* ext/divx/gstdivxdec.c: Downgrade priority. We prefer ffdec_mpeg4.Ronald S. Bultje2004-03-101-15/+34
| | | | | | | | | | | | | | | 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.
* removing plugins from buildThomas Vander Stichele2004-03-091-4/+2
| | | | | Original commit message from CVS: removing plugins from build
* add a warningThomas Vander Stichele2004-03-081-4/+9
| | | | | Original commit message from CVS: add a warning
* sys/oss/gstosssink.c: And another caller that couldn't handle delay < 0 ↵Ronald S. Bultje2004-03-071-4/+8
| | | | | | | | | | | (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.
* sys/oss/gstosssink.c: get_delay() may return values lower than 0. In those ↵Ronald S. Bultje2004-03-071-2/+5
| | | | | | | | | | | | 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.
* fix headers fix signals to use - instead of _Thomas Vander Stichele2004-03-041-3/+3
| | | | | | Original commit message from CVS: fix headers fix signals to use - instead of _
* sys/oss/gstosselement.*: Reworked enumeration of oss dsps and mixers so that ↵Christophe Fergeau2004-02-292-56/+79
| | | | | | | | | | | | | 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
* patches from jmmv@menta.net (Julio M. Merino Vidal)David Schleef2004-02-271-2/+8
| | | | | | | | | | | | | | | | | | 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.
* assorted debug/warning fixesThomas Vander Stichele2004-02-251-3/+3
| | | | | Original commit message from CVS: assorted debug/warning fixes
* clean up debuggingThomas Vander Stichele2004-02-251-5/+1
| | | | | Original commit message from CVS: clean up debugging
* ext/alsa/gstalsa.c: be sure to stop the clock when going to pausedBenjamin Otte2004-02-051-0/+1
| | | | | | | | | | | | | | | | | | 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)
* remove textdomain callsThomas Vander Stichele2004-02-022-2/+0
| | | | | Original commit message from CVS: remove textdomain calls
* code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.David Schleef2004-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines. * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event): * ext/flac/gstflactag.c: (gst_flac_tag_chain): * ext/xvid/gstxviddec.c: (gst_xviddec_src_link): * gst-libs/gst/play/play.c: (gst_play_get_sink_element): * gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain): * gst/effectv/gstedge.c: (gst_edgetv_sinkconnect): * gst/effectv/gstvertigo.c: (gst_vertigotv_sinkconnect): * gst/intfloat/float22int.c: (gst_float2_2_int_getcaps), (gst_float2_2_int_link): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle): * gst/rtjpeg/RTjpeg.c: (RTjpeg_init_mcompress): * gst/tcp/gsttcpsink.c: (gst_tcpsink_init_send): * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_init_receive): * gst/udp/gstudpsink.c: (gst_udpsink_init_send): * gst/udp/gstudpsrc.c: (gst_udpsrc_init_receive): * sys/v4l/gstv4lelement.c: (gst_v4lelement_init): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): * testsuite/gst-lint: Add tests for bzero and ;;
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-028-51/+57
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-298-51/+51
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* sys/oss/gstosssink.c: use gst_element_get_time to get correct timeBenjamin Otte2004-01-271-1/+1
| | | | | | | | 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
* remove commentThomas Vander Stichele2004-01-231-1/+0
| | | | | Original commit message from CVS: remove comment
* sys/oss/gstosselement.c: Fix the ossmixer case where we shouldn't open ↵Ronald S. Bultje2004-01-221-2/+20
| | | | | | | | | | | /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).
* fix includes for distcheckThomas Vander Stichele2004-01-211-1/+1
| | | | | Original commit message from CVS: fix includes for distcheck
* fix missing includeBenjamin Otte2004-01-201-0/+2
| | | | | Original commit message from CVS: fix missing include
* another fixThomas Vander Stichele2004-01-191-1/+1
| | | | | Original commit message from CVS: another fix
* fix element_errorThomas Vander Stichele2004-01-191-12/+11
| | | | | Original commit message from CVS: fix element_error
* further element_error fixesThomas Vander Stichele2004-01-191-36/+37
| | | | | Original commit message from CVS: further element_error fixes
* putting i18n in place for pluginsThomas Vander Stichele2004-01-194-22/+37
| | | | | Original commit message from CVS: putting i18n in place for plugins
* fix i18n includeThomas Vander Stichele2004-01-191-1/+1
| | | | | Original commit message from CVS: fix i18n include
* updating v4l2 for new error handlingThomas Vander Stichele2004-01-191-60/+63
| | | | | Original commit message from CVS: updating v4l2 for new error handling
* use new error signal and classificationThomas Vander Stichele2004-01-186-54/+61
| | | | | Original commit message from CVS: use new error signal and classification
* ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.Julien Moutte2004-01-153-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ext/alsa/gstalsasink.c: Don't update the time of the clock sync to the clock ↵Benjamin Otte2004-01-151-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* ext/divx/: Set category to divx4linux instead of divx (too generic).Ronald S. Bultje2004-01-141-1/+1
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-14 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: Set category to divx4linux instead of divx (too generic). * gst/wavparse/gstwavparse.c: (gst_wavparse_init), (gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event), (gst_wavparse_loop), (gst_wavparse_change_state): * gst/wavparse/gstwavparse.h: fix parsing of WAV files with non-standard fmt-tag size and fix skipping of unrecognized chunks... Someone please fix this thing to use rifflib so all this is automated. * sys/v4l/Makefile.am: * sys/v4l2/Makefile.am: Add X_CFLAGS because we depend on X (for overlay).
* use element time.Benjamin Otte2004-01-141-55/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* make oss warning more usefulThomas Vander Stichele2004-01-121-1/+6
| | | | | Original commit message from CVS: make oss warning more useful
* add oss debugging categoryThomas Vander Stichele2004-01-122-0/+6
| | | | | Original commit message from CVS: add oss debugging category
* sys/v4l2/: add norm, channel and frequency properties.Benjamin Otte2004-01-128-1097/+1098
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de> * sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init), (gst_v4l2element_dispose), (gst_v4l2element_set_property), (gst_v4l2element_get_property): * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults), (gst_v4l2_open): add norm, channel and frequency properties. * sys/v4l2/gstv4l2tuner.c: fixes for tuner interface changes * sys/v4l2/gstv4l2element.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2src_calls.c: * sys/v4l2/v4l2src_calls.h: rework v4l2src to work with saa1734 cards and allow mmaped buffers.
* Fix for instantiate-test (see core). Also remove dead code from jpegenc ↵Ronald S. Bultje2004-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | (which still needs fixing, but that's lower o... Original commit message from CVS: 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain), (gst_afsink_handle_event): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * gst/avi/gstavimux.c: (gst_avimux_request_new_pad): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower on my TODO list...). * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Never return NULL as caps.
* sys/oss/gstosssink.c: Fix for bug shown by poisoningBenjamin Otte2004-01-061-2/+2
| | | | | | | | 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
* ext/shout/gstshout.c: fix for new caps system.Ronald S. Bultje2004-01-061-2/+13
| | | | | | | | | | | | | 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).
* Fix the fixate functions to handle new prototype:David Schleef2004-01-041-2/+2
| | | | | | | | | | | 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):
* Return NULL if we can't fixate the caps anymore.Colin Walters2003-12-241-1/+3
| | | | | Original commit message from CVS: Return NULL if we can't fixate the caps anymore.
* gst/volume/gstvolume.c: Proxy getcaps.David Schleef2003-12-241-0/+26
| | | | | | | 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.
* Merge CAPS branchDavid Schleef2003-12-227-246/+146
| | | | | Original commit message from CVS: Merge CAPS branch
* configure.ac: Improve mpeg2enc detection. This is for distributions that do ↵Ronald S. Bultje2003-12-213-48/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Go back to old code, it works good enough...Ronald S. Bultje2003-12-171-6/+14
| | | | | Original commit message from CVS: Go back to old code, it works good enough...
* Remove debugging statementsRonald S. Bultje2003-12-161-4/+4
| | | | | Original commit message from CVS: Remove debugging statements
* Fix some clocking issue in OSS. The issue is that if we seek forward (note: ↵Ronald S. Bultje2003-12-161-15/+8
| | | | | | | 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...
* Er, right, this is a typoRonald S. Bultje2003-12-161-1/+1
| | | | | Original commit message from CVS: Er, right, this is a typo
* it's broken and it failed to load during the last few months. If anyone ↵Ronald S. Bultje2003-12-146-1018/+2
| | | | | | | 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
* Move over from GstInterface to GstImplementsInterface. Also adds some ↵Ronald S. Bultje2003-12-074-10/+10
| | | | | | | signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
* remove copyright field from pluginsAndy Wingo2003-12-042-2/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* distcheck fixesDavid Schleef2003-11-221-1/+1
| | | | | Original commit message from CVS: distcheck fixes