summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sys/osxaudio/gstosxaudio.c: Oops. Revert more completely.Michael Smith2008-08-272-2/+7
| | | | | | Original commit message from CVS: * sys/osxaudio/gstosxaudio.c: Oops. Revert more completely.
* sys/osxaudio/gstosxaudio.c: Revert accidental element rename from testing.Michael Smith2008-08-262-2/+7
| | | | | | Original commit message from CVS: * sys/osxaudio/gstosxaudio.c: Revert accidental element rename from testing.
* gst-plugins-good.doap: Pull in 0.10.10 doap entry from release branchJan Schmidt2008-08-262-0/+16
| | | | | | Original commit message from CVS: * gst-plugins-good.doap: Pull in 0.10.10 doap entry from release branch
* configure.ac: Update version number to reflect 0.10.10 release from branch.Jan Schmidt2008-08-262-1/+7
| | | | | | | Original commit message from CVS: * configure.ac: Update version number to reflect 0.10.10 release from branch.
* sys/osxaudio/: Rewrite caps setting and ring buffer initialisation.Michael Smith2008-08-269-136/+340
| | | | | | | | | | | | | | | | | Original commit message from CVS: * sys/osxaudio/Makefile.am: * sys/osxaudio/gstosxaudio.c: * sys/osxaudio/gstosxaudiosink.c: * sys/osxaudio/gstosxaudiosink.h: * sys/osxaudio/gstosxaudiosrc.c: * sys/osxaudio/gstosxaudiosrc.h: * sys/osxaudio/gstosxringbuffer.c: * sys/osxaudio/gstosxringbuffer.h: Rewrite caps setting and ring buffer initialisation. Previously we never told CoreAudio what format we were going to send it, so it only worked due to luck, and not at all on some hardware. Now we explicitly advertise what formats the hardware supports, and then configure the selected one correctly.
* sys/v4l2/: Fix memory leaks. Small code cleanups : No need for empty ↵Stefan Kost2008-08-266-16/+39
| | | | | | | | | | | | | _init(). No need to memset instance structures. ... Original commit message from CVS: * sys/v4l2/gstv4l2object.c: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2_calls.c: * sys/v4l2/v4l2src_calls.c: Fix memory leaks. Small code cleanups : No need for empty _init(). No need to memset instance structures. Some more FIXME's.
* tests/icles/.cvsignore: Ignore more.Stefan Kost2008-08-262-0/+6
| | | | | | Original commit message from CVS: * tests/icles/.cvsignore: Ignore more.
* gst/: Ignore files.Stefan Kost2008-08-263-0/+25
| | | | | | | Original commit message from CVS: * gst/goom/.cvsignore: * gst/goom2k1/.cvsignore: Ignore files.
* ext/cairo/gsttextoverlay.c: Fix compiler warning.Stefan Kost2008-08-262-3/+7
| | | | | | Original commit message from CVS: * ext/cairo/gsttextoverlay.c: Fix compiler warning.
* ext/cairo/gsttextoverlay.c: Fix obvious memleak.David Schleef2008-08-262-2/+6
| | | | | Original commit message from CVS: * ext/cairo/gsttextoverlay.c: Fix obvious memleak.
* gst/matroska/: Add Real[Audio|Video] support to Matroska containers.Edward Hervey2008-08-253-1/+164
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_send_event), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps): * gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps), (gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_finish): Add Real[Audio|Video] support to Matroska containers. It works fine for: * decoding real audio/video streams contained in mkv * 'transmuxing' real (.rm) files into .mkv files It will not work though for encoding real[audio/video] streams that don't contain the 'mdpr_data' extra data on the caps. The reason why this will not work is because I never intended to duplicate virtually all the 'mdpr' block creation into mkvmux. Fixes #536067
* gst/law/: The encoder can't really renegotiate at the time they perform a ↵Wim Taymans2008-08-254-12/+38
| | | | | | | | | | | | | | | pad-alloc so make the srcpads use fixed caps. Original commit message from CVS: * gst/law/alaw-encode.c: (gst_alaw_enc_init), (gst_alaw_enc_chain): * gst/law/mulaw-conversion.c: * gst/law/mulaw-encode.c: (gst_mulawenc_init), (gst_mulawenc_chain): The encoder can't really renegotiate at the time they perform a pad-alloc so make the srcpads use fixed caps. Check the buffer size after a pad-alloc because the returned size might not be right when the downstream element does not know the size of the new buffer (capsfilter). Fixes #549073.
* sys/v4l2/gstv4l2tuner.c: v4l2src doesn't have a property named "norm" so ↵Filippo Argiolas2008-08-232-0/+11
| | | | | | | | | | | don't try to notify about changes to that pr... Original commit message from CVS: Patch by: Filippo Argiolas <filippo dot argiolas at gmail dot com> * sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_set_norm_and_notify): v4l2src doesn't have a property named "norm" so don't try to notify about changes to that property. The "norm" property and related code are commented out currently. Fixes bug #549090.
* sys/v4l2/gstv4l2object.c: Reprobe devices again instead of taking a cached ↵Mike Ruprecht2008-08-232-4/+12
| | | | | | | | | | list as new devices could've been plugged ... Original commit message from CVS: Patch by: Mike Ruprecht <cmaiku at gmail dot com> * sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices): Reprobe devices again instead of taking a cached list as new devices could've been plugged in. Fixes bug #549062.
* gst/autodetect/Makefile.am: Don't link the autodetect plugin with GConf as ↵Sebastian Dröge2008-08-222-2/+8
| | | | | | | | | it doesn't use GConf. Fixes bug #545463. Original commit message from CVS: * gst/autodetect/Makefile.am: Don't link the autodetect plugin with GConf as it doesn't use GConf. Fixes bug #545463.
* gst/matroska/ebml-read.c: Change some GST_ELEMENT_ERRORs to GST_ERROR_OBJECT ↵Sebastian Dröge2008-08-223-25/+44
| | | | | | | | | | | | | | | | | | | | to make it possible to ignore errors and... Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_element_id), (gst_ebml_read_element_length), (gst_ebml_read_uint), (gst_ebml_read_sint), (gst_ebml_read_float), (gst_ebml_read_header): Change some GST_ELEMENT_ERRORs to GST_ERROR_OBJECT to make it possible to ignore errors and not post any ERROR messages on the bus. * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_contents): Ignore any errors and not just EOS when parsing the contents of a SeekHead. Errors here are usually caused by truncated files and playback of the file works fine. Fixes playback of the audio_only_chapter_seekbroken.mka file from the MPlayer samples archive.
* gst/multipart/: Conform to RFC2046. audio/basic is mulaw 8000Hz mono.Zaheer Abbas Merali2008-08-223-1/+25
| | | | | | | Original commit message from CVS: * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: Conform to RFC2046. audio/basic is mulaw 8000Hz mono.
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, ↵Ole André Vadla Ravnås2008-08-212-0/+8
| | | | | | | | | gst_directdraw_sink_bufferpool_clear): Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, gst_directdraw_sink_bufferpool_clear): Fix two more buffer ref leaks.
* sys/directdraw/gstdirectdrawsink.c: Fix buffer ref leak.Ole André Vadla Ravnås2008-08-212-6/+12
| | | | | | | | Original commit message from CVS: Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com> * sys/directdraw/gstdirectdrawsink.c: (gst_directdraw_sink_show_frame): Fix buffer ref leak.
* gst/wavenc/gstwavenc.c: Revert the last commit. wavenc still supports ↵Sebastian Dröge2008-08-212-6/+6
| | | | | | | | | width!=depth for 32 bit width. Thanks Tim. Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Revert the last commit. wavenc still supports width!=depth for 32 bit width. Thanks Tim.
* gst/matroska/matroska-demux.c: If the duration of a block is unknown only ↵Sebastian Dröge2008-08-212-1/+12
| | | | | | | | | | | | use the timestamp for the first lace and us... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup_or_simpleblock): If the duration of a block is unknown only use the timestamp for the first lace and use GST_CLOCK_TIME_NONE as duration for the following laces. Otherwise every lace has the same timestamp which leads to various problems. Really fixes bug #548831.
* gst/wavenc/gstwavenc.c: If we're not allowing width!=depth in wavenc we ↵Sebastian Dröge2008-08-212-0/+12
| | | | | | | | | should also disable the code that was added t... Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): If we're not allowing width!=depth in wavenc we should also disable the code that was added to support width!=depth.
* gst/matroska/matroska-demux.c: Don't calculate the default duration of a ↵Sebastian Dröge2008-08-213-4/+9
| | | | | | | | | | | | frame from the audio sampling rate. This onl... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): Don't calculate the default duration of a frame from the audio sampling rate. This only works for raw audio if every frame contains a single sample and results in broken buffer durations for other formats if no specified default duration is given or the blocks have no duration. Fixes bug #548831.
* gst/matroska/matroska-demux.c: Allow zero sized blocks instead of returning ↵Sebastian Dröge2008-08-212-4/+8
| | | | | | | | | | GST_FLOW_OK. Such blocks are used for tex... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup_or_simpleblock): Allow zero sized blocks instead of returning GST_FLOW_OK. Such blocks are used for text/plain subtitles as a gap-filler in some files.
* sys/v4l2/gstv4l2src.c: Add S910 and PWC formats with a low priority.Wim Taymans2008-08-213-9/+72
| | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_structure), (gst_v4l2_get_caps_info): Add S910 and PWC formats with a low priority. * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_format_get_rank), (gst_v4l2src_probe_caps_for_format): Add more debugging.
* ext/flac/gstflacenc.c: Fix compilation against older libflac versions.Tim-Philipp Müller2008-08-202-1/+6
| | | | | | Original commit message from CVS: * ext/flac/gstflacenc.c: Fix compilation against older libflac versions.
* ext/pulse/: Use GST_BOILERPLATE everywhere and fix coding style at some places.Sebastian Dröge2008-08-208-111/+57
| | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/pulse/pulsemixer.c: (gst_pulsemixer_class_init), (gst_pulsemixer_set_property), (gst_pulsemixer_get_property): * ext/pulse/pulsemixerctrl.c: (gst_pulsemixer_ctrl_subscribe_cb), (gst_pulsemixer_ctrl_open), (gst_pulsemixer_ctrl_timeout_event), (gst_pulsemixer_ctrl_set_volume): * ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_new): * ext/pulse/pulseprobe.c: (gst_pulseprobe_open): * ext/pulse/pulsesink.c: (gst_pulsesink_class_init), (gst_pulsesink_init), (gst_pulsesink_open), (gst_pulsesink_prepare), (gst_pulsesink_write), (gst_pulsesink_delay), (gst_pulsesink_reset): * ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init), (gst_pulsesrc_init): Use GST_BOILERPLATE everywhere and fix coding style at some places. Fix a locking issue in pulsesink's prepare function. * ext/pulse/pulseutil.c: (gst_pulse_channel_map_to_gst): Check if the created channel layout is valid for GStreamer.
* gst/rtsp/gstrtspgoogle.c: Things that can happen when your brain is in ↵Wim Taymans2008-08-202-1/+8
| | | | | | | | | | google mode trying to deal with their google r... Original commit message from CVS: * gst/rtsp/gstrtspgoogle.c: Things that can happen when your brain is in google mode trying to deal with their google rtsp server extensions and trying to type your google mail account.
* gst/rtsp/: Add google RTSP extension, it can only handle udp and responds ↵Wim Taymans2008-08-206-27/+339
| | | | | | | | | | | | | | | | | | | | | | | | | with unsupported if we do anything else. Fi... Original commit message from CVS: * gst/rtsp/Makefile.am: * gst/rtsp/gstrtsp.c: (plugin_init): * gst/rtsp/gstrtspgoogle.c: (gst_rtsp_google_before_send), (gst_rtsp_google_after_send), (gst_rtsp_google_get_transports), (_do_init), (gst_rtsp_google_base_init), (gst_rtsp_google_class_init), (gst_rtsp_google_init), (gst_rtsp_google_finalize), (gst_rtsp_google_change_state), (gst_rtsp_google_extension_init): * gst/rtsp/gstrtspgoogle.h: Add google RTSP extension, it can only handle udp and responds with unsupported if we do anything else. Fixes #546465. * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_connection_send), (gst_rtspsrc_connection_receive), (gst_rtspsrc_loop_send_cmd), (gst_rtspsrc_create_transports_string), (gst_rtspsrc_setup_streams), (gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_pause): Make transport setup code a bit better using GString. Add some more debug. Check for closed connections before doing anything on them.
* ext/pulse/: If downstream provides no channel layout and >2 channels should ↵Sebastian Dröge2008-08-204-78/+271
| | | | | | | | | | | | | | | be used use the default layout that pulse... Original commit message from CVS: * ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init), (gst_pulsesrc_create_stream), (gst_pulsesrc_negotiate), (gst_pulsesrc_prepare): * ext/pulse/pulseutil.c: (gst_pulse_gst_to_channel_map), (gst_pulse_channel_map_to_gst): * ext/pulse/pulseutil.h: If downstream provides no channel layout and >2 channels should be used use the default layout that pulseaudio chooses and also add this layout to the caps. Fixes bug #547258.
* gst/udp/: Avoid leaking internally allocated file descriptors when setting ↵Peter Kjellerstedt2008-08-204-23/+67
| | | | | | | | | | | | | | | | custom file descriptors. Fixes #543101. Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/udp/gstdynudpsink.c: (gst_dynudpsink_init), (gst_dynudpsink_finalize), (gst_dynudpsink_set_property), (gst_dynudpsink_init_send), (gst_dynudpsink_close): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init), (gst_multiudpsink_finalize), (gst_multiudpsink_set_property): * gst/udp/gstudpsrc.c: (gst_udpsrc_finalize), (gst_udpsrc_set_property): Avoid leaking internally allocated file descriptors when setting custom file descriptors. Fixes #543101.
* gst/rtsp/gstrtspsrc.c: Don't try to configure RTCP back to the server when ↵Wim Taymans2008-08-202-0/+16
| | | | | | | | | the server did not give us a valid port nu... Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink): Don't try to configure RTCP back to the server when the server did not give us a valid port number.
* gst/videobox/gstvideobox.c: Use new basetransform method to renegotiate. ↵Wim Taymans2008-08-204-1/+157
| | | | | | | | | | | Fixes #544956. Original commit message from CVS: * gst/videobox/gstvideobox.c: (gst_video_box_set_property): Use new basetransform method to renegotiate. Fixes #544956. * tests/icles/Makefile.am: * tests/icles/videobox-test.c: (make_pipeline), (main): Add videobox renegotiation example.
* gst/wavenc/gstwavenc.c: Remove depth ranges and replace with sane values. ↵David Schleef2008-08-192-4/+9
| | | | | | | | Fixes #548530. Original commit message from CVS: * gst/wavenc/gstwavenc.c: Remove depth ranges and replace with sane values. Fixes #548530.
* ext/pulse/: The bytes_per_sample and silence_sample fields of the ↵Sebastian Dröge2008-08-183-14/+16
| | | | | | | | | | | | GstRingBufferSpec are already filled with the corre... Original commit message from CVS: * ext/pulse/pulsesink.c: (gst_pulsesink_prepare): * ext/pulse/pulsesrc.c: (gst_pulsesrc_prepare): The bytes_per_sample and silence_sample fields of the GstRingBufferSpec are already filled with the correct values by gst_ring_buffer_parse_caps() so there's no need to set them again with wrong values.
* gst/avi/gstavidemux.c: Some AVI 2.0 (ODML) files don't respect the ↵Edward Hervey2008-08-162-4/+19
| | | | | | | | | | | | 'specifications' completely and instead of using t... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull), (gst_avi_demux_read_subindexes_push): Some AVI 2.0 (ODML) files don't respect the 'specifications' completely and instead of using the 'ix##' nomenclature, use '##ix'. They're still valid though, this fixes the duration and indexes for virtually all the ODML files I have.
* gst/rtp/: Update the vorbis RTP pay/depay to RFC 5215.Olivier Crete2008-08-153-53/+23
| | | | | | | | | | Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps), (gst_rtp_vorbis_depay_process): * gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers): Update the vorbis RTP pay/depay to RFC 5215. Fixes #547842.
* gst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60 with 3:2 ↵David Schleef2008-08-142-0/+6
| | | | | | | | pulldown, i.e., 24p. Original commit message from CVS: * gst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60 with 3:2 pulldown, i.e., 24p.
* tests/check/elements/level.c: Fix compilation some more.Wim Taymans2008-08-142-1/+6
| | | | | | Original commit message from CVS: * tests/check/elements/level.c: (GST_START_TEST): Fix compilation some more.
* configure.ac: Require -base CVS for wavparse acid chunk parsing.Tim-Philipp Müller2008-08-142-1/+6
| | | | | | Original commit message from CVS: * configure.ac:: Require -base CVS for wavparse acid chunk parsing.
* ext/pulse/pulsesink.*: Add "device-name" property to pulsesink too and ↵Sebastian Dröge2008-08-133-2/+155
| | | | | | | | | | | | | | currently commented out and not working suppor... Original commit message from CVS: * ext/pulse/pulsesink.c: (gst_pulsesink_class_init), (gst_pulsesink_init), (gst_pulsesink_finalize), (gst_pulsesink_set_volume), (gst_pulsesink_get_volume), (gst_pulsesink_set_property), (gst_pulsesink_get_property), (gst_pulsesink_prepare), (gst_pulsesink_change_state): * ext/pulse/pulsesink.h: Add "device-name" property to pulsesink too and currently commented out and not working support for a "volume" property.
* configure.ac: Remove more cdio stuff (moved to ugly)Thijs Vermeir2008-08-132-8/+5
| | | | | | Original commit message from CVS: * configure.ac: Remove more cdio stuff (moved to ugly)
* ext/pulse/pulsesrc.c: Add "device-name" property, which provides a human ↵Laszlo Pandy2008-08-132-4/+29
| | | | | | | | | | | | readable string for the audio device, to mak... Original commit message from CVS: Patch by: Laszlo Pandy <laszlok2 at gmail dot com> * ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init), (gst_pulsesrc_get_property): Add "device-name" property, which provides a human readable string for the audio device, to make it more consisten with other audio sources. Fixes bug #547519.
* ext/pulse/: Improve debugging a bit by including the parent object in ↵Sebastian Dröge2008-08-138-45/+80
| | | | | | | | | | | | | | | | | | | | | | | | | pulsemixerctrl and pulseprobe objects and using... Original commit message from CVS: * ext/pulse/pulsemixer.c: (gst_pulsemixer_change_state): * ext/pulse/pulsemixerctrl.c: (gst_pulsemixer_ctrl_subscribe_cb), (gst_pulsemixer_ctrl_open), (gst_pulsemixer_ctrl_new), (gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_timeout_event): * ext/pulse/pulsemixerctrl.h: * ext/pulse/pulseprobe.c: (gst_pulseprobe_open), (gst_pulseprobe_enumerate), (gst_pulseprobe_new), (gst_pulseprobe_free), (gst_pulseprobe_needs_probe), (gst_pulseprobe_probe_property), (gst_pulseprobe_get_values): * ext/pulse/pulseprobe.h: * ext/pulse/pulsesink.c: (gst_pulsesink_init): * ext/pulse/pulsesrc.c: (gst_pulsesrc_init), (gst_pulsesrc_delay), (gst_pulsesrc_change_state): Improve debugging a bit by including the parent object in pulsemixerctrl and pulseprobe objects and using GST_WARNING_OBJECT instead of GST_WARNING. Use the parent GObject subclass instead of a random struct as GObject parameter for G_OBJECT_WARN_INVALID_PROPERTY_ID. This fixes a crash when probing for another property than "device".
* ext/pulse/pulsemixer.c: Fix property probing after the device property is ↵Laszlo Pandy2008-08-131-2/+2
| | | | | | | | | | set by calling set_server when the server p... Original commit message from CVS: Patch by: Laszlo Pandy <laszlok2 at gmail dot com> * ext/pulse/pulsemixer.c: (gst_pulsemixer_set_property): Fix property probing after the device property is set by calling set_server when the server property changes. Fixes bug #547518.
* ext/pulse/pulsemixer.c: Fix property probing after the device property is ↵Laszlo Pandy2008-08-132-4/+12
| | | | | | | | | | set by calling set_server when the server p... Original commit message from CVS: Patch by: Laszlo Pandy <laszlok2 at gmail dot com> * ext/pulse/pulsemixer.c: (gst_pulsemixer_set_property): Fix property probing after the device property is set by calling set_server when the server property changes. Fixes bug #547518.
* ext/pulse/: Implement GstPropertyProbe interface on pulsesink for detecting ↵Laszlo Pandy2008-08-135-9/+106
| | | | | | | | | | | | | | | | | | | | sink devices and on pulsesrc for detectin... Original commit message from CVS: Patch by: Laszlo Pandy <laszlok2 at gmail dot com> * ext/pulse/pulsesink.c: (gst_pulsesink_interface_supported), (gst_pulsesink_implements_interface_init), (gst_pulsesink_init_interfaces), (gst_pulsesink_init), (gst_pulsesink_finalize), (gst_pulsesink_set_property), (gst_pulsesink_get_type): * ext/pulse/pulsesink.h: * ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported), (gst_pulsesrc_init_interfaces), (gst_pulsesrc_init), (gst_pulsesrc_finalize), (gst_pulsesrc_set_property): * ext/pulse/pulsesrc.h: Implement GstPropertyProbe interface on pulsesink for detecting sink devices and on pulsesrc for detecting source devices. Fixes bugs #547227 and #547217.
* gst/spectrum/gstspectrum.c: Don't terminate on fabs(in)>1.0. Init doubles as ↵Stefan Kost2008-08-132-3/+6
| | | | | | | | doubles. Original commit message from CVS: * gst/spectrum/gstspectrum.c: Don't terminate on fabs(in)>1.0. Init doubles as doubles.
* sys/v4l2/gstv4l2src.c: Properly set the maximum latency value, in the same ↵Edward Hervey2008-08-133-15/+13
| | | | | | | | | | | way it is done in v4lsrc. Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_query): Properly set the maximum latency value, in the same way it is done in v4lsrc. * sys/v4l2/v4l2src_calls.c: Simplify fraction equality check, no need to use GValues for this.
* sys/v4l2/gstv4l2src.c: Add warning messages stating exactly why the latency ↵Edward Hervey2008-08-123-3/+20
| | | | | | | | | | | | query failed. Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_query): Add warning messages stating exactly why the latency query failed. * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): In some cases, the negotiated framerate might be the default one which is already set internally. But we still need to mark it down in fps_n and fps_d so that the latency query can happen properly.