summaryrefslogtreecommitdiffstats
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
...
* gst/spectrum/gstspectrum.c: Fix leaking buffers.Stefan Kost2007-06-201-2/+3
| | | | | | | | | | | Original commit message from CVS: * gst/spectrum/gstspectrum.c: (gst_spectrum_event), (gst_spectrum_transform_ip): Fix leaking buffers. * tests/check/Makefile.am: * tests/check/elements/spectrum.c: (setup_spectrum), (cleanup_spectrum), (GST_START_TEST), (spectrum_suite), (main): Add simple test for spectrum element.
* gst/qtdemux/: Add MJPG to the variants of motion jpeg.Stefan Kost2007-06-202-3/+4
| | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_samples), (qtdemux_video_caps): * gst/qtdemux/qtdemux_fourcc.h: Add MJPG to the variants of motion jpeg.
* gst/rtsp/rtspconnection.c: Use threadsafe inet_ntop to convert an ip number ↵Wim Taymans2007-06-191-6/+12
| | | | | | | | | | | | to a string. Original commit message from CVS: * gst/rtsp/rtspconnection.c: (rtsp_connection_connect), (rtsp_connection_close), (rtsp_connection_free): Use threadsafe inet_ntop to convert an ip number to a string. Fixes #447961. Don't leak fd (and ip) when freeing a connection without first closing it.
* add 'LEGAL' file describing why this is in -good and under what ↵Christian Schaller2007-06-191-0/+10
| | | | | | | | circumstances it might need to move. Original commit message from CVS: add 'LEGAL' file describing why this is in -good and under what circumstances it might need to move.
* gst/rtsp/rtspconnection.c: Revert previous commit again, since we are frozen ↵Tim-Philipp Müller2007-06-171-2/+1
| | | | | | | | | (sorry). Original commit message from CVS: * gst/rtsp/rtspconnection.c: (rtsp_connection_connect), (rtsp_connection_free): Revert previous commit again, since we are frozen (sorry).
* gst/rtsp/rtspconnection.c: inet_ntoa() uses a static buffer internally, so ↵Peter Kjellerstedt2007-06-171-1/+2
| | | | | | | | | | | we need to copy the returned string if we ... Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/rtsp/rtspconnection.c: (rtsp_connection_connect), (rtsp_connection_free): inet_ntoa() uses a static buffer internally, so we need to copy the returned string if we want to store it for later (#447961).
* gst/rtsp/rtspconnection.c: Fix the MingW build.Vincent Torri2007-06-151-0/+16
| | | | | | | | | Original commit message from CVS: * gst/rtsp/rtspconnection.c: (rtsp_connection_create), (rtsp_connection_connect): Fix the MingW build. Patch By: Vincent Torri <vtorri at univ-evry dot fr> Fixes: #446981
* gst/qtdemux/qtdemux.c: For AMR-NB streams, export the AMRSpecificBox as ↵Edward Hervey2007-06-141-0/+15
| | | | | | | | | | codec_data on the caps. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): For AMR-NB streams, export the AMRSpecificBox as codec_data on the caps. Fixes #447458
* gst/rtp/gstrtph264depay.c: Make sure we allocate enough memory for the ↵Wim Taymans2007-06-131-1/+3
| | | | | | | | | codec_data. Original commit message from CVS: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps): Make sure we allocate enough memory for the codec_data. Fixes #447210.
* gst/rtp/: Add missing rate fields to caps. Fixes #441118.Tommi Myöhänen2007-06-112-2/+2
| | | | | | | | Original commit message from CVS: Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com> * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_setcaps): * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_setcaps): Add missing rate fields to caps. Fixes #441118.
* gst/rtp/gstrtpmp4vpay.c (gst_rtp_mp4vpay_details): Fix element description.Thomas Vander Stichele2007-06-081-2/+2
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpmp4vpay.c (gst_rtp_mp4vpay_details): Fix element description.
* gst/videobox/gstvideobox.c: Printf fixes in debug statements; use LOG level ↵Tim-Philipp Müller2007-06-061-18/+17
| | | | | | | | | | | for debug statements that are printed for... Original commit message from CVS: * gst/videobox/gstvideobox.c: (gst_video_box_ayuv_i420): Printf fixes in debug statements; use LOG level for debug statements that are printed for each and every frame; convert c++ comments to C-style comments; not much point using g_try_malloc() if we then not even check the return value.
* configure.ac: Bump requirements to released versions (core and base 0.10.13).Tim-Philipp Müller2007-06-051-78/+2
| | | | | | | | | Original commit message from CVS: * configure.ac: Bump requirements to released versions (core and base 0.10.13). * gst/icydemux/gsticydemux.c: (gst_icydemux_unicodify): Use gst_tag_utf8_from_freeform_string() from libgsttag instead of own implementation.
* gst/multipart/multipartmux.c: Add support for mapping gst structure names to ↵Wim Taymans2007-06-051-2/+48
| | | | | | | | | | the MIME type equivalent. Original commit message from CVS: * gst/multipart/multipartmux.c: (gst_multipart_mux_class_init), (gst_multipart_mux_get_mime), (gst_multipart_mux_collected): Add support for mapping gst structure names to the MIME type equivalent. Implemented for audio/x-mulaw->audio/basic. Fixes #442874.
* gst/wavenc/gstwavenc.*: Properly write wav files with width!=depth by having ↵Sebastian Dröge2007-06-032-4/+58
| | | | | | | | | | | | the depth most significant bytes set and... Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf), (gst_wavenc_sink_setcaps), (gst_wavenc_format_samples), (gst_wavenc_chain), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Properly write wav files with width!=depth by having the depth most significant bytes set and all others zero. Fixes #442535.
* gst/rtsp/rtspconnection.c: Add include to make buildbot happy.Wim Taymans2007-06-011-0/+2
| | | | | | Original commit message from CVS: * gst/rtsp/rtspconnection.c: Add include to make buildbot happy.
* gst/rtsp/: Improves version checking, allowing an RTSP server to reply with "505Peter Kjellerstedt2007-06-015-65/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/rtsp/rtspconnection.c: (rtsp_connection_create), (rtsp_connection_connect), (add_date_header), (rtsp_connection_send), (parse_response_status), (parse_request_line), (parse_line), (rtsp_connection_receive): * gst/rtsp/rtspdefs.c: (rtsp_version_as_text): * gst/rtsp/rtspdefs.h: * gst/rtsp/rtspmessage.c: (key_value_foreach), (rtsp_message_init_request), (rtsp_message_init_response), (rtsp_message_remove_header), (rtsp_message_append_headers), (rtsp_message_dump): * gst/rtsp/rtspmessage.h: Improves version checking, allowing an RTSP server to reply with "505 RTSP Version not supported. Adds a Date header to all messages. Replies with RTSP_EPARSE rather than RTSP_EINVALID in cases where we want to be able to send a response even if something in the request was invalid. EINVAL is only used when passing wrong arguments to functions. Do not handle an invalid method in parse_request_line(). Defer this to the caller so it can respond with "405 Method Not Allowed". Improves parsing of the timeout parameter to the Session header, allowing whitespace after the semicolon. Avoids a compiler warning due to variables shadowing a function argument.
* gst/rtp/: Add support for AMR-WB.Daniel Charles2007-06-014-54/+154
| | | | | | | | | | | | | | Original commit message from CVS: Based on Patch by: Daniel Charles <dcharles at ti dot com> * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process): * gst/rtp/gstrtpamrdepay.h: * gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_base_init), (gst_rtp_amr_pay_class_init), (gst_rtp_amr_pay_init), (gst_rtp_amr_pay_setcaps), (gst_rtp_amr_pay_handle_buffer): * gst/rtp/gstrtpamrpay.h: Add support for AMR-WB. Small cleanups such as using BOILERPLATE.
* gst/rtsp/rtspextwms.c: Fix compile warning when debug is disabled as spotted ↵Wim Taymans2007-05-311-1/+3
| | | | | | | | bu Saur on IRC. Original commit message from CVS: * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_configure_stream): Fix compile warning when debug is disabled as spotted bu Saur on IRC.
* gst/avi/gstavidemux.*: Parse subtitle text streams instead of erroring out ↵Tim-Philipp Müller2007-05-302-2/+22
| | | | | | | | | | | (#442034). Still needs a parser for the su... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_base_init), (gst_avi_demux_reset), (gst_avi_demux_parse_stream): * gst/avi/gstavidemux.h: Parse subtitle text streams instead of erroring out (#442034). Still needs a parser for the subtitles to actually show up.
* gst/avi/gstavidemux.c: Make _push_event() return TRUE if the event could be ↵Tim-Philipp Müller2007-05-301-8/+9
| | | | | | | | | | | | pushed on at least one pad and not only i... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_push_event), (gst_avi_demux_loop): Make _push_event() return TRUE if the event could be pushed on at least one pad and not only if it could be pushed on all pads, otherwise we'll end up posting an error message on EOS if one or more source pads are not connected.
* gst/rtsp/rtsptransport.c: Use renamed RTP bin.Wim Taymans2007-05-281-1/+1
| | | | | | Original commit message from CVS: * gst/rtsp/rtsptransport.c: Use renamed RTP bin.
* gst/videobox/gstvideobox.c: Add AYUV->AYUV and AYUV->I420 formats.Dejan Sakelšak2007-05-281-119/+588
| | | | | | | | | | | | | | | | Original commit message from CVS: Based on patch by: Dejan Sakelšak <sakdean at gmail dot com> * gst/videobox/gstvideobox.c: (gst_video_box_class_init), (gst_video_box_set_property), (gst_video_box_transform_caps), (video_box_recalc_transform), (gst_video_box_set_caps), (gst_video_box_get_unit_size), (gst_video_box_apply_alpha), (gst_video_box_ayuv_ayuv), (gst_video_box_clear), (UVfloor), (UVceil), (gst_video_box_ayuv_i420), (gst_video_box_i420_ayuv), (gst_video_box_i420_i420), (gst_video_box_transform), (plugin_init): Add AYUV->AYUV and AYUV->I420 formats. Fix negotiation and I420->AYUV conversion. Fixes #429329.
* gst/id3demux/gstid3demux.c: Don't leak newsegment events.Tim-Philipp Müller2007-05-251-0/+1
| | | | | | Original commit message from CVS: * gst/id3demux/gstid3demux.c: (gst_id3demux_sink_event): Don't leak newsegment events.
* gst/wavparse/Makefile.am: Add '-lm' to LIBS for ceil(), don't assume one of ↵Tim-Philipp Müller2007-05-251-1/+2
| | | | | | | | | our dependencies drags it in. Original commit message from CVS: * gst/wavparse/Makefile.am: Add '-lm' to LIBS for ceil(), don't assume one of our dependencies drags it in.
* gst/: Handle and adjust new-segment events so that downstream really sees a ↵Jan Schmidt2007-05-253-0/+250
| | | | | | | | | | | | | | | | | | stream with the tag pieces stripped off t... Original commit message from CVS: * gst/id3demux/gstid3demux.c: (gst_id3demux_reset), (gst_id3demux_send_new_segment), (gst_id3demux_chain), (gst_id3demux_sink_event): * gst/id3demux/gstid3demux.h: * gst/apetag/gsttagdemux.c: (gst_tag_demux_reset), (gst_tag_demux_chain), (gst_tag_demux_sink_event), (gst_tag_demux_send_new_segment): Handle and adjust new-segment events so that downstream really sees a stream with the tag pieces stripped off the front and back. Fixes strangeness in seeking when mp3 decoders use the new-segment byte position to estimate their current playback position timestamp and then the arriving buffers don't match up.
* gst/autodetect/gstautoaudiosink.c: Don't unnecessarily perform a ↵Jan Schmidt2007-05-251-1/+6
| | | | | | | | | READY->NULL->READY transition on the detected audio ... Original commit message from CVS: * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_detect): Don't unnecessarily perform a READY->NULL->READY transition on the detected audio sink when starting up. Fixes: #440127
* gst/rtsp/gstrtspsrc.c: Init value to avoid infinte loops.Wim Taymans2007-05-241-1/+2
| | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods): Init value to avoid infinte loops.
* gst/rtsp/: Fix for new API.Peter Kjellerstedt2007-05-245-113/+167
| | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_auth), (gst_rtspsrc_try_send), (gst_rtspsrc_parse_methods), (gst_rtspsrc_setup_streams), (gst_rtspsrc_open), (gst_rtspsrc_play): (rtsp_connection_send), (rtsp_connection_receive): * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_after_send): Fix for new API. * gst/rtsp/rtspconnection.c: (add_auth_header), Only add authorisation and session headers when sending messages. * gst/rtsp/rtspmessage.c: (key_value_foreach), (rtsp_message_init), (rtsp_message_init_request), (rtsp_message_init_response), (rtsp_message_unset), (rtsp_message_add_header), (rtsp_message_remove_header), (rtsp_message_get_header), (rtsp_message_append_headers), (dump_key_value), (rtsp_message_dump): * gst/rtsp/rtspmessage.h: Add support for multiple headers of the same type by storing the parsed headers in a GArray instaed of a hashtable.
* configure.ac: Depend on gstreamer-0.10.12.1. gst/equalizer/gstiirequalizer.c ↵Stefan Kost2007-05-225-31/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _Gs... Original commit message from CVS: * configure.ac: Depend on gstreamer-0.10.12.1. * gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _GstIirEqualizerBand, object, _GstIirEqualizerBandClass, parent_class, gst_iir_equalizer_band_set_property, gst_iir_equalizer_band_class_init, gst_iir_equalizer_band_get_type, gst_iir_equalizer_child_proxy_get_child_by_index, gst_iir_equalizer_child_proxy_get_children_count, gst_iir_equalizer_child_proxy_interface_init, setup_filter, gst_iir_equalizer_compute_frequencies, gst_iir_equalizer_set_property, gst_iir_equalizer_get_property, plugin_init): * gst/equalizer/gstiirequalizer.h (audiofilter): * gst/equalizer/gstiirequalizernbands.c (ARG_NUM_BANDS, gst_iir_equalizer_nbands_base_init, gst_iir_equalizer_nbands_init, gst_iir_equalizer_nbands_set_property): Use new locking macros. * gst/filter/gstbpwsinc.c (bpwsinc_set_caps): Add fixme. * gst/spectrum/gstspectrum.c (SPECTRUM_WINDOW_BASE, SPECTRUM_WINDOW_LEN, gst_spectrum_init, gst_spectrum_set_property, gst_spectrum_event, gst_spectrum_transform_ip): Use new locking macros. Turn two fixed values into #defines.
* ChangeLog: ChangeLog surgery. gst/equalizer/gstiirequalizer.c ↵Stefan Kost2007-05-211-0/+2
| | | | | | | | | | | | | | | | | | (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _GstIirEqualizerBa... Original commit message from CVS: * ChangeLog: ChangeLog surgery. * gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _GstIirEqualizerBand, object, _GstIirEqualizerBandClass, parent_class, gst_iir_equalizer_band_set_property, gst_iir_equalizer_band_class_init, gst_iir_equalizer_band_get_type, gst_iir_equalizer_child_proxy_get_child_by_index, gst_iir_equalizer_child_proxy_get_children_count, gst_iir_equalizer_child_proxy_interface_init, setup_filter, gst_iir_equalizer_compute_frequencies, plugin_init): * tests/icles/equalizer-test.c: Add fixme and comment for example.
* gst/spectrum/gstspectrum.c (gst_spectrum_set_property, gst_spectrum_event, ↵Stefan Kost2007-05-211-1/+2
| | | | | | | | | gst_spectrum_transform_ip): Original commit message from CVS: * gst/spectrum/gstspectrum.c (gst_spectrum_set_property, gst_spectrum_event, gst_spectrum_transform_ip): Use lock to protect from concurrent access.
* gst/udp/gstudpsrc.c: Since we depend on 0.10.13 -core, override the ↵Wim Taymans2007-05-211-31/+32
| | | | | | | | | | unlock_stop vmethod for safer shutdown. Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_create), (gst_udpsrc_unlock), (gst_udpsrc_unlock_stop): Since we depend on 0.10.13 -core, override the unlock_stop vmethod for safer shutdown.
* gst/rtsp/gstrtpdec.*: Added signal for backwards compat.Wim Taymans2007-05-212-0/+8
| | | | | | | Original commit message from CVS: * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_class_init): * gst/rtsp/gstrtpdec.h: Added signal for backwards compat.
* Use audioconvert for converting from non-native endianness floats in auparse ↵René Stadler2007-05-212-41/+2
| | | | | | | | | | | | | | instead of doing it ourself. Fixes #424527. Original commit message from CVS: Patch by: René Stadler <mail at renestadler dot de> * configure.ac: * gst/auparse/gstauparse.c: (gst_au_parse_reset), (gst_au_parse_parse_header), (gst_au_parse_chain): * gst/auparse/gstauparse.h: Use audioconvert for converting from non-native endianness floats in auparse instead of doing it ourself. Fixes #424527. This needs the audioconvert from plugins-base CVS.
* gst/rtp/gstrtph263ppay.c: Fix enum registration.Wim Taymans2007-05-211-2/+2
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type), (gst_rtp_h263p_pay_flush): Fix enum registration.
* gst/rtp/gstrtph263ppay.*: Add new fragmentation mode base on GOB headers. ↵Antoine Tremblay2007-05-212-11/+139
| | | | | | | | | | | | | Fixes #438940. Original commit message from CVS: Patch by: Antoine Tremblay <hexa00 at gmail dot com> * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type), (gst_rtp_h263p_pay_class_init), (gst_rtp_h263p_pay_init), (gst_rtp_h263p_pay_set_property), (gst_rtp_h263p_pay_get_property), (gst_rtp_h263p_pay_flush): * gst/rtp/gstrtph263ppay.h: Add new fragmentation mode base on GOB headers. Fixes #438940.
* gst/: Printf format fixes (#439910, #439911).Tim-Philipp Müller2007-05-201-1/+1
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_prepare_current_sample): * gst/switch/gstswitch.c: (gst_switch_chain): Printf format fixes (#439910, #439911).
* gst/rtsp/gstrtspsrc.c: Printf format fix.Tim-Philipp Müller2007-05-201-1/+1
| | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop_udp): Printf format fix.
* Add replaygain playback elements (#412710).René Stadler2007-05-1910-152/+1302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: René Stadler <mail at renestadler de> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/inspect/plugin-replaygain.xml: * gst/replaygain/Makefile.am: * gst/replaygain/gstrganalysis.c: (gst_rg_analysis_class_init), (gst_rg_analysis_start), (gst_rg_analysis_set_caps), (gst_rg_analysis_transform_ip), (gst_rg_analysis_event), (gst_rg_analysis_stop), (gst_rg_analysis_handle_tags), (gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result), (gst_rg_analysis_album_result): * gst/replaygain/gstrganalysis.h: * gst/replaygain/gstrglimiter.c: (gst_rg_limiter_base_init), (gst_rg_limiter_class_init), (gst_rg_limiter_init), (gst_rg_limiter_set_property), (gst_rg_limiter_get_property), (gst_rg_limiter_transform_ip): * gst/replaygain/gstrglimiter.h: * gst/replaygain/gstrgvolume.c: (gst_rg_volume_base_init), (gst_rg_volume_class_init), (gst_rg_volume_init), (gst_rg_volume_set_property), (gst_rg_volume_get_property), (gst_rg_volume_dispose), (gst_rg_volume_change_state), (gst_rg_volume_sink_event), (gst_rg_volume_tag_event), (gst_rg_volume_reset), (gst_rg_volume_update_gain), (gst_rg_volume_determine_gain): * gst/replaygain/gstrgvolume.h: * gst/replaygain/replaygain.c: (plugin_init): * gst/replaygain/replaygain.h: * gst/replaygain/rganalysis.h: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/rganalysis.c: (send_eos_event), (GST_START_TEST): * tests/check/elements/rglimiter.c: (setup_rglimiter), (cleanup_rglimiter), (set_playing_state), (create_test_buffer), (verify_test_buffer), (GST_START_TEST), (rglimiter_suite), (main): * tests/check/elements/rgvolume.c: (event_func), (setup_rgvolume), (cleanup_rgvolume), (set_playing_state), (set_null_state), (send_eos_event), (send_tag_event), (test_buffer_new), (fail_unless_target_gain), (fail_unless_result_gain), (fail_unless_gain), (GST_START_TEST), (rgvolume_suite), (main): Add replaygain playback elements (#412710).
* gst/rtsp/gstrtspsrc.c: Don't crash when an unsupported transport error was ↵Wim Taymans2007-05-181-4/+15
| | | | | | | | | returned by the server, just try to config... Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams): Don't crash when an unsupported transport error was returned by the server, just try to configure the next stream. Fixes #439255.
* gst/rtsp/gstrtspsrc.*: Add TCP timeout property and use it for all TCP ↵Wim Taymans2007-05-183-13/+147
| | | | | | | | | | | | | | | | | connection. Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init), (gst_rtspsrc_set_property), (gst_rtspsrc_get_property), (gst_rtspsrc_stream_configure_udp), (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send), (gst_rtspsrc_setup_streams), (gst_rtspsrc_open): * gst/rtsp/gstrtspsrc.h: Add TCP timeout property and use it for all TCP connection. * gst/rtsp/rtspconnection.c: (rtsp_connection_connect), (rtsp_connection_write), (rtsp_connection_next_timeout), (rtsp_connection_reset_timeout): Make connect and writes cancelable and make them use the timeout.
* gst/rtsp/gstrtspsrc.c: Refactor timeout handling.Wim Taymans2007-05-183-63/+130
| | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive), (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send), (gst_rtspsrc_setup_streams): Refactor timeout handling. Also send keep-alive when dealing with TCP transport. * gst/rtsp/rtspconnection.c: (rtsp_connection_create), (rtsp_connection_free), (rtsp_connection_next_timeout), (rtsp_connection_reset_timeout): * gst/rtsp/rtspconnection.h: Use a timer to handle the session timeouts, add some methods to deal with timeouts.
* gst/rtsp/gstrtspsrc.c: Ignore streams that fail the setup command, we will ↵Wim Taymans2007-05-172-3/+17
| | | | | | | | | | | | | retry with a different transport later on. Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_setup_streams): Ignore streams that fail the setup command, we will retry with a different transport later on. * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_parse_sdp), (rtsp_ext_wms_configure_stream): Fix encoding name case.
* gst/debug/breakmydata.c (gst_break_my_data_init): One more try. This should ↵Stefan Kost2007-05-151-1/+1
| | | | | | | | be the proper fix now. Original commit message from CVS: * gst/debug/breakmydata.c (gst_break_my_data_init): One more try. This should be the proper fix now.
* gst/debug/breakmydata.c: Ooops, no // comments please.Stefan Kost2007-05-151-1/+0
| | | | | | Original commit message from CVS: * gst/debug/breakmydata.c: Ooops, no // comments please.
* gst/debug/breakmydata.c: Fix gst_buffer_is_writable() assertion.Stefan Kost2007-05-151-3/+4
| | | | | | | Original commit message from CVS: * gst/debug/breakmydata.c: (gst_break_my_data_class_init), (gst_break_my_data_init): Fix gst_buffer_is_writable() assertion.
* gst/rtp/: Update theora pay/depayloader in a similar to vorbis.Wim Taymans2007-05-143-101/+236
| | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtptheoradepay.c: (decode_base64), (gst_rtp_theora_depay_parse_configuration): * gst/rtp/gstrtptheorapay.c: (encode_base64), (gst_rtp_theora_pay_finish_headers), (gst_rtp_theora_pay_handle_buffer): Update theora pay/depayloader in a similar to vorbis. * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_parse_configuration): Update docs.
* gst/rtsp/gstrtspsrc.c: When we try to execute a method that is not supported ↵Wim Taymans2007-05-141-1/+15
| | | | | | | | | | by the server, don't error out but remov... Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send): When we try to execute a method that is not supported by the server, don't error out but remove the method from the accepted methods so that we never try to perform this method again.
* gst/rtp/gstrtpvorbisdepay.c: Remove annoying _dump_mem.Wim Taymans2007-05-141-2/+0
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_process): Remove annoying _dump_mem.