summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* souphttpsrc: Expose the SoupSession 'timeout' property.Edward Hervey2009-03-032-4/+19
|
* Merge branch 'master' of ↵Thomas Vander Stichele2009-03-0214-22/+55
|\ | | | | | | ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-plugins-good
| * Fix the field dominanceDavid Schleef2009-02-271-2/+2
| | | | | | | | | | PAL is TFF, NTSC is BFF. Some day I will learn to keep this straight.
| * dvdec: Add interlacing info to caps and buffersDavid Schleef2009-02-252-1/+10
| |
| * jpegenc: error out instead of crashing if no caps have been setTim-Philipp Müller2009-02-251-0/+13
| | | | | | | | Don't crash if we receive a buffer without caps. Fixes #572413.
| * gconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflictsSebastian Dröge2009-02-244-4/+4
| |
| * Some cleanupsWim Taymans2009-02-232-5/+1
| | | | | | | | | | | | Remove some unused variables. Avoid a useless _resync call. Correctly use a gboolean.
| * gconfvideo(src|sink): Disconnect GConf notificationsSjoerd Simons2009-02-224-2/+14
| | | | | | | | Fixes bug #571321.
| * pulsemixer: Don't use g_atomic_int_(get|set) for accessing the mixer track flagsSebastian Dröge2009-02-221-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | g_atomic_int_(get|set) only work on ints and the flags are an enum (which on most architectures is stored as an int). Also the way the flags were accessed atomically would still leave a possible race condition and we don't do it in any other mixer track implementation, let alone at any other place where an integer could be changed from different threads. Removing the g_atomic_int_(get|set) will only introduce a new race condition on architectures where integers could be half-written while reading them which shouldn't be the case for any modern architecture and if we really care about this we need to use g_atomic_int_(get|set) at many other places too. Apart from that g_atomic_int_(set|get) will result in aliasing warnings if their argument is explicitely casted to an int *. Fixes bug #571153.
| * hdv1394src: Don't use void * pointer arithmeticSebastian Dröge2009-02-221-1/+1
| |
* | Add/clarify/fix some logging.Thomas Vander Stichele2009-03-021-3/+6
|/
* respect DEFAULT segment by clipping the last buffer to be sentThomas Vander Stichele2009-02-211-0/+11
|
* pulsemixer: Fix compiler warnings.Mark Nauwelaerts2009-02-131-6/+6
| | | | | Cast (enum *) to (int *), not necessarily technically right, but plugs #571153.
* pulsesink: Issue property change notification in streaming thread,Mark Nauwelaerts2009-02-132-6/+9
| | | | | | | | | rather than PA thread. pa_threaded_mainloop_lock() (a.o.) and by extension get_property should not be done from a PA thread, but the latter may occur as a result of a property change notification. Fixes #571204 (though current situation not ideal, e.g. post message rather than signal).
* flacdec: if we aborted reading, don't do into an infinite loop.Michael Smith2009-02-051-0/+7
| | | | | If our read callback ran out of data, so had to abort reading, we return GST_FLOW_ERROR instead of going into an infinite loop.
* debug on the objectThomas Vander Stichele2009-02-051-26/+35
|
* Use correct flag for the GNOME proxy configurationJonathan Matthew2009-02-021-1/+1
| | | | Fixes bug #552140.
* Add examples for the jpeg elements.Stefan Kost2009-01-292-0/+16
|
* Fix compile error in the last commitJan Schmidt2009-01-281-0/+2
|
* Rewrite the pulse plugin, conditionally enabling new behaviour withJan Schmidt2009-01-288-276/+855
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | newer pulseaudio. Fixes: #567794 * Hook pulsesink's volume property up with the stream volume -- not the sink volume in PA. * Read the device description directly from the sink instead of going via the mixer. * Properly implement _reset() methods for both sink and source to avoid deadlocks when shutting down a pipeline. * Replace all simple pa_threaded_mainloop_wait() by proper loops to guarantee that we wait for the right event in case multiple events are fired. While this is not strictly necessary in many cases it certainly is more correct and makes me sleep better at night. * Replace CHECK_DEAD_GOTO macros with proper functions * Extend the number of supported channels to 32 since that is the actual limit in PA. * Get rid of _dispose() methods since we don't need them. * Increase the volume property upper limit of the sink to 1000. * Reset function pointers after we disconnect a stream/context. Better fix for bug 556986. * Reset the state of the element properly if open/prepare fails * Cork the PA stream when the pipeline is paused. This allows the PA * daemon to close audio device on pause and thus save a bit of power. * Set PA stream properties based on GST tags such as GST_TAG_TITLE, GST_TAG_ARTIST, and so on. Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Update and add documentation for plugins with deps (ext).Stefan Kost2009-01-2839-323/+330
| | | | Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out.
* Use libsoup-gnome for proxy configuration if availableJonathan Matthew2009-01-261-3/+15
| | | | | | | | | | | | | If libsoup-gnome is found use this as it will give us the GNOME proxy configuration. Otherwise use normal libsoup. The GNOME proxy configuration will only be used if the proxy properties are not set on souphttpsrc and if the http_proxy environment variable is not set. Fixes bug #552140.
* Fix typo and small flaw in flac decoderJan Schmidt2009-01-221-2/+3
|
* Whitespace fixes and some improved debug lines.Wim Taymans2009-01-211-37/+2
|
* ext/pulse/pulseprobe.c: Fix refcount loop, resulting in a thread leak. Fixes ↵Lennart Poettering2009-01-141-3/+1
| | | | | | | | | | bug #567746. Original commit message from CVS: Patch by: Lennart Poettering <lennart at poettering dot net> * ext/pulse/pulseprobe.c: (gst_pulseprobe_new), (gst_pulseprobe_free): Fix refcount loop, resulting in a thread leak. Fixes bug #567746.
* ext/pulse/pulsesink.*: Use a mutex to protect the current stream pointer, ↵Jan Schmidt2009-01-072-5/+34
| | | | | | | | | | | | and ignore callbacks for stream objects tha... Original commit message from CVS: * ext/pulse/pulsesink.c: * ext/pulse/pulsesink.h: Use a mutex to protect the current stream pointer, and ignore callbacks for stream objects that have been destroyed already. Fixes problems with unprepare/prepare cycles caused by the input caps changing, without reintroducing bug #556986.
* ext/pulse/pulsesink.c: Don't wait for the pulse mainloop when destroying the ↵Sebastian Dröge2009-01-051-7/+4
| | | | | | | | | | stream. Original commit message from CVS: * ext/pulse/pulsesink.c: (gst_pulsesink_destroy_stream): Don't wait for the pulse mainloop when destroying the stream. Fixes a deadlock when the pulsedaemon goes away while pulsesink is PLAYING. Fixes bug #556986.
* ext/jpeg/gstsmokeenc.*: Implement getcaps function.Wim Taymans2008-12-232-11/+70
| | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_init), (gst_smokeenc_getcaps), (gst_smokeenc_setcaps), (gst_smokeenc_chain), (gst_smokeenc_change_state): * ext/jpeg/gstsmokeenc.h: Implement getcaps function. Set caps on the pad and on all outgoing buffers. Fixes #565441.
* ext/pulse/pulsemixerctrl.c: And remove temporary comment pointing to the bug ↵Stefan Kost2008-12-191-3/+0
| | | | | | | | | | ticket. Original commit message from CVS: * ext/pulse/pulsemixerctrl.c: And remove temporary comment pointing to the bug ticket. * gst/avi/gstavimux.c: Move reoccuring logging to LOG and log instance too.
* ext/pulse/pulsemixerctrl.c: Don't leak the pa_operation.Stefan Kost2008-12-171-0/+2
| | | | | | Original commit message from CVS: * ext/pulse/pulsemixerctrl.c: Don't leak the pa_operation.
* ext/pulse/pulsemixerctrl.c: Add note about memleak.Stefan Kost2008-12-151-0/+3
| | | | | | Original commit message from CVS: * ext/pulse/pulsemixerctrl.c: Add note about memleak.
* Switch to using GstStaticPadTemplate.Edward Hervey2008-12-131-15/+27
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_base_init), (gst_flac_dec_init): * gst/law/alaw-decode.c: (gst_alaw_dec_base_init), (gst_alaw_dec_init): * gst/law/alaw-encode.c: (gst_alaw_enc_base_init), (gst_alaw_enc_init): * gst/law/alaw.c: (plugin_init): * gst/law/mulaw-decode.c: (gst_mulawdec_base_init), (gst_mulawdec_init): * gst/law/mulaw-encode.c: (gst_mulawenc_base_init), (gst_mulawenc_init): * gst/law/mulaw.c: (plugin_init): Switch to using GstStaticPadTemplate. * gst/udp/gstudpnetutils.c: (gst_udp_get_addr): Don't forget to free the addrinfo structure. * gst/wavparse/gstwavparse.c: (gst_wavparse_reset), (gst_wavparse_sink_activate): Don't forget to unref the GstAdapter.
* ext/dv/gstdvdemux.c: Restore previous behaviour of not passing QoS and ↵Tim-Philipp Müller2008-12-091-0/+3
| | | | | | | | | navigation events upstream, which presumably w... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event): Restore previous behaviour of not passing QoS and navigation events upstream, which presumably wasn't meant to be changed.
* ext/dv/gstdvdemux.c: Add srcpads only when needed and remove them again when ↵Sebastian Dröge2008-12-091-33/+70
| | | | | | | | | | | | | | going back to READY. This prevents stall... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_add_video_pad), (gst_dvdemux_add_audio_pad), (gst_dvdemux_remove_pads), (gst_dvdemux_demux_audio), (gst_dvdemux_demux_video), (gst_dvdemux_chain), (gst_dvdemux_loop), (gst_dvdemux_change_state): Add srcpads only when needed and remove them again when going back to READY. This prevents stalled pipelines if there's no audio inside the DV stream, which happens for many MXF files.
* ext/dv/gstdvdemux.c: Forward all events upstream unless it's something we ↵Sebastian Dröge2008-12-081-2/+5
| | | | | | | | | really don't handle. This fixes latency con... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event): Forward all events upstream unless it's something we really don't handle. This fixes latency configuration of pipelines.
* ext/dv/: Really call dv_init() exactly one time, not one time for the ↵Sebastian Dröge2008-12-083-6/+2
| | | | | | | | | | | demuxer and one time for the decoder. Original commit message from CVS: * ext/dv/gstdv.c: (plugin_init): * ext/dv/gstdvdec.c: (gst_dvdec_class_init): * ext/dv/gstdvdemux.c: (gst_dvdemux_class_init): Really call dv_init() exactly one time, not one time for the demuxer and one time for the decoder.
* Add support for basic and digest authentication in souphttpsrc.Ron McOuat2008-11-272-7/+92
| | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Ron McOuat <rmcouat at smartt dot com> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init), (gst_soup_http_src_init), (gst_soup_http_src_dispose), (gst_soup_http_src_set_property), (gst_soup_http_src_get_property), (gst_soup_http_src_authenticate_cb), (gst_soup_http_src_start): * ext/soup/gstsouphttpsrc.h: * tests/check/elements/souphttpsrc.c: (basic_auth_cb), (digest_auth_cb), (run_test), (GST_START_TEST), (souphttpsrc_suite), (run_server): Add support for basic and digest authentication in souphttpsrc. Fixes bug #561775.
* ext/pulse/pulsesink.c: Change #if 0 to something more expresive and add ↵Stefan Kost2008-11-231-6/+12
| | | | | | | | | pointer to related bug ticket. Original commit message from CVS: * ext/pulse/pulsesink.c: Change #if 0 to something more expresive and add pointer to related bug ticket.
* ext/soup/gstsouphttpsrc.c: Add transferMode.dnla.org header to HTTP requests ↵Zeeshan Ali2008-11-211-0/+2
| | | | | | | | | | | as this is required by the DLNA specs an... Original commit message from CVS: Patch by: Zeeshan Ali <zeeshanak at gnome dot org> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_build_message): Add transferMode.dnla.org header to HTTP requests as this is required by the DLNA specs and doesn't hurt in other situations. Fixes bug #561802.
* ext/libpng/gstpngenc.c: Don't flush downstream after every buffer - that's ↵Jan Schmidt2008-11-201-10/+1
| | | | | | | | | not what this libpng callback is for at all! Original commit message from CVS: * ext/libpng/gstpngenc.c: Don't flush downstream after every buffer - that's not what this libpng callback is for at all!
* Don't install static libs for plugins. Fixes #550851 for -good.Stefan Kost2008-11-0422-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/Makefile.am: * ext/annodex/Makefile.am: * ext/cairo/Makefile.am: * ext/dv/Makefile.am: * ext/esd/Makefile.am: * ext/flac/Makefile.am: * ext/gconf/Makefile.am: * ext/gdk_pixbuf/Makefile.am: * ext/hal/Makefile.am: * ext/jpeg/Makefile.am: * ext/ladspa/Makefile.am: * ext/libcaca/Makefile.am: * ext/libmng/Makefile.am: * ext/libpng/Makefile.am: * ext/mikmod/Makefile.am: * ext/pulse/Makefile.am: * ext/raw1394/Makefile.am: * ext/shout2/Makefile.am: * ext/soup/Makefile.am: * ext/speex/Makefile.am: * ext/taglib/Makefile.am: * ext/wavpack/Makefile.am: * gst/alpha/Makefile.am: * gst/apetag/Makefile.am: * gst/audiofx/Makefile.am: * gst/auparse/Makefile.am: * gst/autodetect/Makefile.am: * gst/avi/Makefile.am: * gst/cutter/Makefile.am: * gst/debug/Makefile.am: * gst/effectv/Makefile.am: * gst/equalizer/Makefile.am: * gst/flx/Makefile.am: * gst/goom/Makefile.am: * gst/goom2k1/Makefile.am: * gst/icydemux/Makefile.am: * gst/id3demux/Makefile.am: * gst/interleave/Makefile.am: * gst/law/Makefile.am: * gst/level/Makefile.am: * gst/matroska/Makefile.am: * gst/median/Makefile.am: * gst/monoscope/Makefile.am: * gst/multifile/Makefile.am: * gst/multipart/Makefile.am: * gst/oldcore/Makefile.am: * gst/qtdemux/Makefile.am: * gst/replaygain/Makefile.am: * gst/rtp/Makefile.am: * gst/rtsp/Makefile.am: * gst/smpte/Makefile.am: * gst/spectrum/Makefile.am: * gst/udp/Makefile.am: * gst/videobox/Makefile.am: * gst/videocrop/Makefile.am: * gst/videofilter/Makefile.am: * gst/videomixer/Makefile.am: * gst/wavenc/Makefile.am: * gst/wavparse/Makefile.am: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: * sys/oss/Makefile.am: * sys/osxaudio/Makefile.am: * sys/osxvideo/Makefile.am: * sys/sunaudio/Makefile.am: * sys/v4l2/Makefile.am: * sys/waveform/Makefile.am: * sys/ximage/Makefile.am: Don't install static libs for plugins. Fixes #550851 for -good.
* ext/flac/Makefile.am: Include $(FLAC_CFLAGS) in CFLAGS to make sure to find ↵Sebastian Dröge2008-10-311-1/+1
| | | | | | | | | | the FLAC headers. Original commit message from CVS: * ext/flac/Makefile.am: Include $(FLAC_CFLAGS) in CFLAGS to make sure to find the FLAC headers. This fixes compilation if FLAC is installed in an uncommon location that is not already handled by other CFLAGS. Fixes bug #558711.
* ext/esd/esdmon.c: Add doc blob.Stefan Kost2008-10-271-1/+19
| | | | | | Original commit message from CVS: * ext/esd/esdmon.c: Add doc blob.
* ext/soup/gstsouphttpsrc.c: Add support for souphttpsrc to act as a live ↵Sjoerd Simons2008-10-271-2/+12
| | | | | | | | | | | | source. This makes it possible to get timesta... Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init), (gst_soup_http_src_set_property), (gst_soup_http_src_get_property): Add support for souphttpsrc to act as a live source. This makes it possible to get timestamped buffers in combination with the "do-timestamp" property. Fixes bug #556019.
* ext/flac/: Cast some size_t arguments to guint to avoid compiler warnings on ↵Jan Schmidt2008-10-102-3/+4
| | | | | | | | | | 64-bit systems. Original commit message from CVS: * ext/flac/gstflacdec.c (gst_flac_dec_read_stream): * ext/flac/gstflacenc.c (gst_flac_enc_write_callback): Cast some size_t arguments to guint to avoid compiler warnings on 64-bit systems.
* ext/pulse/: Return -1 instead of 0 in error cases. Fixes #554771.Wim Taymans2008-10-032-5/+10
| | | | | | | Original commit message from CVS: * ext/pulse/pulsesink.c: (gst_pulsesink_write): * ext/pulse/pulsesrc.c: (gst_pulsesrc_read): Return -1 instead of 0 in error cases. Fixes #554771.
* ext/pulse/pulsesink.c: Fix problems with pulsesink randomly erroring with ↵Jan Schmidt2008-09-271-2/+10
| | | | | | | | | code 'OK' after a format change on the stre... Original commit message from CVS: * ext/pulse/pulsesink.c: Fix problems with pulsesink randomly erroring with code 'OK' after a format change on the stream by waiting when disconnecting the stream.
* ext/raw1394/: Pretend to care about the result of write() which works around ↵Tim-Philipp Müller2008-09-112-4/+4
| | | | | | | | | | compiler warnings. Original commit message from CVS: * ext/raw1394/gstdv1394src.c: (SEND_COMMAND): * ext/raw1394/gsthdv1394src.c: (SEND_COMMAND): Pretend to care about the result of write() which works around compiler warnings.
* ext/flac/gstflacenc.c: Make sure the desired default values are actually ↵Tim-Philipp Müller2008-09-041-14/+20
| | | | | | | | | | | | | | set, not only registered as defaults (actual... Original commit message from CVS: * ext/flac/gstflacenc.c: (gst_flac_enc_class_init): Make sure the desired default values are actually set, not only registered as defaults (actual problem is that the stereo-specific values are only updated if channels==2, which is not the case yet when the object is created, so the default values for the mid-side-stereo and loose-mid-side-stereo settings are never set in _update_quality()). Makes flacenc create smaller files by default (for stereo input), and fixes #550791.
* ext/speex/: Use integer encoding and decoding functions instead of ↵Sebastian Dröge2008-09-024-37/+25
| | | | | | | | | | | | | | | converting the integer input to float in the eleme... Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_chain_parse_data): * ext/speex/gstspeexdec.h: * ext/speex/gstspeexenc.c: (gst_speex_enc_encode): * ext/speex/gstspeexenc.h: Use integer encoding and decoding functions instead of converting the integer input to float in the element. The libspeex integer functions are doing this for us already or, if libspeex was compiled in integer mode, they're doing everything using integer arithmetics. Also saves some copying around.