summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* docs/plugins/: Add documentation for osxvideoEdward Hervey2007-04-261-0/+20
| | | | | | | | | Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/inspect/plugin-osxvideo.xml: Add documentation for osxvideo
* gst/rtsp/gstrtspsrc.*: Protect state changes with a lock.Wim Taymans2007-04-265-8/+102
| | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_finalize), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play), (gst_rtspsrc_pause): * gst/rtsp/gstrtspsrc.h: Protect state changes with a lock. * gst/rtsp/rtspconnection.c: (rtsp_connection_create), (parse_line): * gst/rtsp/rtspconnection.h: Remove some unused stuff.
* gst/udp/gstudpsrc.c: Handle the case where there are exactly 0 bytes to read ↵Wim Taymans2007-04-262-2/+20
| | | | | | | | | and the ioctl did not report an error. F... Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Handle the case where there are exactly 0 bytes to read and the ioctl did not report an error. Fixes #433530.
* gst/wavparse/gstwavparse.*: Apply DISCONT to buffers.Wim Taymans2007-04-263-3/+34
| | | | | | | | | | Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data): * gst/wavparse/gstwavparse.h: Apply DISCONT to buffers. Only apply timestamp to the first sample after a DISCONT, too many VBR files cause random jitter in the timestamps. Fixes #433119.
* gst/rtsp/gstrtpdec.*: Add dummy latency property to be backwards compat with ↵Wim Taymans2007-04-255-2/+55
| | | | | | | | | | | | | | | | | | | rtpbin. Original commit message from CVS: * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_class_init), (gst_rtp_dec_init), (gst_rtp_dec_set_property), (gst_rtp_dec_get_property): * gst/rtsp/gstrtpdec.h: Add dummy latency property to be backwards compat with rtpbin. * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init), (gst_rtspsrc_set_property), (gst_rtspsrc_get_property), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_parse_rtpinfo): * gst/rtsp/gstrtspsrc.h: Add latency property and configure in the session manager. Don't set invalid clock-base and seqnum-base on caps, some servers sometimes don't send them.
* gst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA ↵Tim-Philipp Müller2007-04-255-14/+337
| | | | | | | | | | | | | | | | | | | caps (apparently the core doesn't always ... Original commit message from CVS: * gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init), (gst_alpha_color_transform_caps), (gst_alpha_color_set_caps): Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always catch it if those caps aren't a subset of our template caps, also see #421543). Fixes #429319 in a way. Also, don't leak the pad template in the transform_caps function. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/alphacolor.c: (setup_alphacolor), (cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32), (create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4), (GST_START_TEST), (alphacolor_suite): Add some basic unit tests for alphacolor.
* ext/libpng/gstpngdec.c: If we get a fatal flow return in the loop function, ↵Tim-Philipp Müller2007-04-252-1/+9
| | | | | | | | | | | first post the error message and only the... Original commit message from CVS: * ext/libpng/gstpngdec.c: (gst_pngdec_task): If we get a fatal flow return in the loop function, first post the error message and only then send the EOS event downstream, otherwise applications might get an eos message before the error message and think everything was ok (related to #429319).
* gst/rtsp/rtspconnection.c: Read the channel byte as an unsigned byte.Wim Taymans2007-04-252-1/+6
| | | | | | Original commit message from CVS: * gst/rtsp/rtspconnection.c: (rtsp_connection_receive): Read the channel byte as an unsigned byte.
* gst/rtp/: Make sure we configure the clock_rate in the baseclass in the ↵Wim Taymans2007-04-2511-45/+95
| | | | | | | | | | | | | | | | | | | | | | | | | setcaps function. Fixes #431282. Original commit message from CVS: * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_set_property): * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_init), (gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process): * gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_init), (gst_rtp_gsm_depay_setcaps): * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps): * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps): * gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_class_init), (gst_rtp_ilbc_depay_init), (gst_rtp_ilbc_depay_setcaps), (gst_rtp_ilbc_depay_process), (gst_ilbc_depay_set_property), (gst_ilbc_depay_get_property): * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_setcaps): * gst/rtp/gstrtpmp4adepay.c: * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_init), (gst_rtp_pcma_depay_setcaps): * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_init), (gst_rtp_pcmu_depay_setcaps): Make sure we configure the clock_rate in the baseclass in the setcaps function. Fixes #431282.
* gst/rtsp/gstrtspsrc.*: Parse server address from SDP.Wim Taymans2007-04-255-2/+110
| | | | | | | | | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize), (gst_rtspsrc_stream_free), (request_pt_map), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_open): * gst/rtsp/gstrtspsrc.h: Parse server address from SDP. Hook up a udpsink to send RTCP back to the server. * docs/plugins/gst-plugins-good-plugins-sections.txt: * gst/rtsp/rtsptransport.h: Add some docs.
* gst/wavparse/gstwavparse.c: Make header field check conditional. Fixes #433135Stefan Kost2007-04-252-5/+9
| | | | | | Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): Make header field check conditional. Fixes #433135
* Add minimal docs blurb to alphacolor; split out headers into separate header ↵Tim-Philipp Müller2007-04-249-34/+105
| | | | | | | | | | | | | | | file for gtk-doc. Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/inspect/plugin-alphacolor.xml: * gst/alpha/Makefile.am: * gst/alpha/gstalphacolor.c: * gst/alpha/gstalphacolor.h: Add minimal docs blurb to alphacolor; split out headers into separate header file for gtk-doc.
* gst/debug/progressreport.c: Don't try to post NULL message (in case we can't ↵Tim-Philipp Müller2007-04-203-1/+9
| | | | | | | | | query upstream position or duration). Original commit message from CVS: * gst/debug/progressreport.c: (gst_progress_report_report): Don't try to post NULL message (in case we can't query upstream position or duration).
* gst/cutter/gstcutter.*: Fix some of the most obvious bugs in cutter. Now ↵Michael Smith2007-04-184-10/+18
| | | | | | | | | | | doesn't leak everything if input is silent. Original commit message from CVS: * gst/cutter/gstcutter.c: (gst_cutter_init), (gst_cutter_chain), (gst_cutter_get_caps): * gst/cutter/gstcutter.h: Fix some of the most obvious bugs in cutter. Now doesn't leak everything if input is silent.
* gst/wavenc/gstwavenc.*: everything else results in a invalid block align and ↵Sebastian Dröge2007-04-183-9/+31
| | | | | | | | | | | invalid files. Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf), (gst_wavenc_sink_setcaps), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Wav apparently only supports width==GST_ROUND_UP(depth), everything else results in a invalid block align and invalid files.
* gst/smpte/barboxwipes.c: Add missing break statement for BOX_HORIZONTAL case.Snaik2007-04-172-0/+8
| | | | | | | Original commit message from CVS: Patch by: Snaik <snaik32 gmail com> * gst/smpte/barboxwipes.c: (gst_wipe_boxes_draw): Add missing break statement for BOX_HORIZONTAL case.
* gst/wavparse/gstwavparse.c: Use correct format strings for integer types.Vincent Torri2007-04-172-1/+8
| | | | | | | Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry dot fr> * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): Use correct format strings for integer types.
* gst/wavparse/gstwavparse.c: Use gst_riff_create_audio_template_caps () ↵Sebastian Dröge2007-04-172-66/+20
| | | | | | | | | | | instead of the local caps. Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_create_sourcepad): Use gst_riff_create_audio_template_caps () instead of the local caps. This makes updates of the local caps unecessary whenever libgstriff gets support for new formats.
* sys/sunaudio/: Fix and/or update copyright attributions (#430228).Brian Cameron2007-04-1611-22/+42
| | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Brian Cameron <brian.cameron at sun dot com> * sys/sunaudio/gstsunaudio.c: * sys/sunaudio/gstsunaudiomixer.c: * sys/sunaudio/gstsunaudiomixer.h: * sys/sunaudio/gstsunaudiomixerctrl.c: * sys/sunaudio/gstsunaudiomixerctrl.h: * sys/sunaudio/gstsunaudiomixertrack.h: * sys/sunaudio/gstsunaudiosink.c: * sys/sunaudio/gstsunaudiosink.h: * sys/sunaudio/gstsunaudiosrc.c: * sys/sunaudio/gstsunaudiosrc.h: Fix and/or update copyright attributions (#430228).
* docs/plugins/inspect/: Add xml doc files for Windows sinksSébastien Moutte2007-04-144-0/+65
| | | | | | | | | | | | Original commit message from CVS: * docs/plugins/inspect/plugin-directdraw.xml: * docs/plugins/inspect/plugin-directsound.xml: * docs/plugins/inspect/plugin-waveform.xml: Add xml doc files for Windows sinks * win32/vs6/libgstqtdemux.dsp: * win32/vs6/libgstmpegvideoparse.dsp: * win32/vs6/gst_plugins_bad.dsw: Update projects files.
* docs/plugins/gst-plugins-good-plugins-sections.txt: Fix docs.Wim Taymans2007-04-135-31/+35
| | | | | | | | | | | | | | | Original commit message from CVS: * docs/plugins/gst-plugins-good-plugins-sections.txt: Fix docs. * gst/rtsp/URLS: Add some more example urls. * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_BOXED__UINT_UINT), (gst_rtp_dec_chain_rtp): Better debugging. * gst/rtsp/gstrtspsrc.c: (request_pt_map), (gst_rtspsrc_activate_streams), (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_parse_rtpinfo): Remove unused code.
* gst/wavparse/gstwavparse.c: Relax the audio/mpeg caps again and add FIXME: ↵Stefan Kost2007-04-132-2/+11
| | | | | | | | | | comment. Original commit message from CVS: * gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data): Relax the audio/mpeg caps again and add FIXME: comment.
* gst/wavparse/gstwavparse.*: More sanity check for the header fields. Fix ↵Stefan Kost2007-04-133-8/+56
| | | | | | | | | | | | type for 'rate' header field. Original commit message from CVS: * gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data): * gst/wavparse/gstwavparse.h: More sanity check for the header fields. Fix type for 'rate' header field.
* gst/icydemux/gsticydemux.c: If the metadata strings we get in the stream are ↵Tim-Philipp Müller2007-04-122-30/+97
| | | | | | | | | | | | | not UTF-8, try to interpret them accordi... Original commit message from CVS: * gst/icydemux/gsticydemux.c: (notgst_tag_freeform_string_to_utf8), (gst_icydemux_unicodify): If the metadata strings we get in the stream are not UTF-8, try to interpret them according to the character encodings specified in the GST_ICY_TAG_ENCODING and GST_TAG_ENCODING environment variables, and only fall back to locale/ISO-8859-1 if those aren't set or don't work. Should fix #428901.
* gst/rtp/gstrtph264depay.c: Use the proper sync word for SPS and PPS.Wim Taymans2007-04-122-2/+7
| | | | | | Original commit message from CVS: * gst/rtp/gstrtph264depay.c: Use the proper sync word for SPS and PPS.
* gst/rtp/Makefile.am: gst/rtp/fnv1hash.c (MASK_24, FNV1_HASH_32_INIT, ↵Thomas Vander Stichele2007-04-127-13/+151
| | | | | | | | | | | | | | | | | | | | | | | FNV1_HASH_32_PRIME, fnv1_hash_32_new, fnv1_hash_... Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/fnv1hash.c (MASK_24, FNV1_HASH_32_INIT, FNV1_HASH_32_PRIME, fnv1_hash_32_new, fnv1_hash_32_update, fnv1_hash_32_to_24): * gst/rtp/fnv1hash.h (__GST_FNV1_HASH_H__): Add a simple hashing implementation that we can use to generate a 24-bit ident value based on the codebooks for vorbis and theora. * gst/rtp/gstrtptheorapay.c (gst_rtp_theora_pay_finish_headers, gst_rtp_theora_pay_handle_buffer): * gst/rtp/gstrtpvorbisdepay.c (gst_rtp_vorbis_depay_parse_configuration, gst_rtp_vorbis_depay_switch_codebook, gst_rtp_vorbis_depay_process): * gst/rtp/gstrtpvorbispay.c (gst_rtp_vorbis_pay_reset_packet, gst_rtp_vorbis_pay_init_packet, gst_rtp_vorbis_pay_flush_packet, gst_rtp_vorbis_pay_finish_headers, gst_rtp_vorbis_pay_handle_buffer): Use the hashing function, ensuring that the same codebooks result in the same ident and thus the same SDP description. Various log fixes/changes.
* sys/sunaudio/gstsunaudiosrc.c: it is the application's responsibility to ↵jerry tan2007-04-122-4/+12
| | | | | | | | | | | make sure it open the device once. Original commit message from CVS: Patch by: jerry tan <jerry dot tan at sun dot com> * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open): remove the call of ioctl (fd, AUDIO_MIXER_MULTIPLE_OPEN), it is the application's responsibility to make sure it open the device once. Remove a careless error if AUDIODEV is set. Fixes #392620.
* gst/qtdemux/qtdemux.c: Make timescale 32 bits again so we don't screw up the ↵Wim Taymans2007-04-121-1/+1
| | | | | | | | | pts_offset calculations. Original commit message from CVS: * gst/qtdemux/qtdemux.c: Make timescale 32 bits again so we don't screw up the pts_offset calculations.
* gst/rtsp/gstrtpdec.*: Make backward compat with rtpbin by adding the ↵Wim Taymans2007-04-125-5/+134
| | | | | | | | | | | | | | | | | | request-pt-map signals. Original commit message from CVS: * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_BOXED__UINT_UINT), (gst_rtp_dec_class_init), (gst_rtp_dec_chain_rtp): * gst/rtsp/gstrtpdec.h: Make backward compat with rtpbin by adding the request-pt-map signals. * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream), (new_session_pad), (request_pt_map), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_stream_configure_caps), (gst_rtspsrc_activate_streams): * gst/rtsp/gstrtspsrc.h: Implement request-pt-map signals instead of setting caps on the buffers for the session manager.
* gst/udp/gstudp.c: Register GstNetBuffer in plugin_init so that the type can ↵Wim Taymans2007-04-112-0/+12
| | | | | | | | | be used from multiple threads without races. Original commit message from CVS: * gst/udp/gstudp.c: (plugin_init): Register GstNetBuffer in plugin_init so that the type can be used from multiple threads without races.
* update to spec fileChristian Schaller2007-04-111-0/+1
| | | | | Original commit message from CVS: update to spec file
* gst/qtdemux/: Handle version 1 mdhd atoms to get extended precision durations.Wim Taymans2007-04-112-21/+52
| | | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration), (qtdemux_parse_samples), (qtdemux_parse_segments), (qtdemux_parse_trak), (qtdemux_parse_tree): * gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mdhd): Handle version 1 mdhd atoms to get extended precision durations. Fixes #426972.
* gst/rtp/gstrtpamrdepay.c: Fix depayloader clock_rate and some cleanups.Wim Taymans2007-04-106-85/+166
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process): Fix depayloader clock_rate and some cleanups. * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_finalize), (gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process): * gst/rtp/gstrtph264depay.h: Don't push codec_data in the adapter because it might get flushed when we get a discont. * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): Handle multiple AU per packet. * gst/rtp/gstrtpsv3vdepay.c: (gst_rtp_sv3v_depay_process), (gst_rtp_sv3v_depay_plugin_init): Disable rank, this one does not work. Remove timestamping, base class does that.
* gst/auparse/gstauparse.c: limit caps to the formats we announce in the templateStefan Kost2007-04-103-25/+65
| | | | | | | | | | Original commit message from CVS: * gst/auparse/gstauparse.c: (gst_au_parse_parse_header): limit caps to the formats we announce in the template * gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data): fix some crashers/asserts when dealing with broken files
* gst/: Fix some compiler warnings. Fixes #428182.Peter Kjellerstedt2007-04-108-3/+23
| | | | | | | | | | | | | | Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index): * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode), (gst_rtp_speex_depay_setcaps): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send): Fix some compiler warnings. Fixes #428182.
* gst/rtsp/: Morph RTPDec into something compatible with RTPBin as a fallback.Wim Taymans2007-04-069-212/+811
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtsp/Makefile.am: * gst/rtsp/gstrtpdec.c: (find_session_by_id), (create_session), (free_session), (gst_rtp_dec_base_init), (gst_rtp_dec_class_init), (gst_rtp_dec_init), (gst_rtp_dec_finalize), (gst_rtp_dec_query_src), (gst_rtp_dec_chain_rtp), (gst_rtp_dec_chain_rtcp), (gst_rtp_dec_set_property), (gst_rtp_dec_get_property), (gst_rtp_dec_provide_clock), (gst_rtp_dec_change_state), (create_recv_rtp), (create_recv_rtcp), (create_rtcp), (gst_rtp_dec_request_new_pad), (gst_rtp_dec_release_pad): * gst/rtsp/gstrtpdec.h: * gst/rtsp/gstrtsp.c: (plugin_init): Morph RTPDec into something compatible with RTPBin as a fallback. Various other style fixes. * gst/rtsp/gstrtspsrc.c: (find_stream_by_id), (find_stream_by_udpsrc), (gst_rtspsrc_stream_free), (gst_rtspsrc_cleanup), (gst_rtspsrc_media_to_caps), (new_session_pad), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_activate_streams), (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp), (gst_rtspsrc_setup_auth), (gst_rtspsrc_handle_message), (gst_rtspsrc_change_state): * gst/rtsp/gstrtspsrc.h: Implement RTPBin session manager handling. Don't try to add empty properties to caps. Implement fallback session manager, handling. Don't combine errors from RTCP streams, just ignore them. * gst/rtsp/rtsptransport.c: (rtsp_transport_get_manager): * gst/rtsp/rtsptransport.h: Implement fallback session manager. Make RTPBin the default one when available.
* gst/qtdemux/gstrtpxqtdepay.*: Try to recover from packet loss a little better.Wim Taymans2007-04-052-1/+25
| | | | | | | | Original commit message from CVS: * gst/qtdemux/gstrtpxqtdepay.c: (gst_rtp_xqt_depay_process), (gst_rtp_xqt_depay_change_state): * gst/qtdemux/gstrtpxqtdepay.h: Try to recover from packet loss a little better.
* gst/rtp/gstrtpmp4adepay.c: This element is ready to be autoplugged.Wim Taymans2007-04-052-1/+7
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_class_init), (gst_rtp_mp4a_depay_setcaps), (gst_rtp_mp4a_depay_plugin_init): This element is ready to be autoplugged.
* gst/avi/gstavidemux.c: Don't leave the offsets defined by upstream element ↵Julien Moutte2007-04-052-0/+9
| | | | | | | | | | | | on the compressed data buffer we are pushi... Original commit message from CVS: 2007-04-05 Julien MOUTTE <julien@moutte.net> * gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry): Don't leave the offsets defined by upstream element on the compressed data buffer we are pushing downstream. Make them GST_BUFFER_OFFSET_NONE.
* gst/avi/: Don't abort on out-of-memory. Use stream-nr as unsigned integer only.Stefan Kost2007-04-043-41/+90
| | | | | | | | | | | | | | Original commit message from CVS: * gst/avi/README: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_stream_scan), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_header_pull), (gst_avi_demux_combine_flows), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data): Don't abort on out-of-memory. Use stream-nr as unsigned integer only.
* gst/smpte/barboxwipes.c: Wim Taymans2007-04-032-1/+6
| | | | | | Original commit message from CVS: * gst/smpte/barboxwipes.c: Fix error as spotted by Snaik <snaik32 at gmail dot com>
* gst/wavparse/gstwavparse.c: Support audio/x-raw-float in wav files. This ↵Sebastian Dröge2007-03-302-0/+12
| | | | | | | | | | only works with plugins-base CVS, using an o... Original commit message from CVS: * gst/wavparse/gstwavparse.c: Support audio/x-raw-float in wav files. This only works with plugins-base CVS, using an older version doesn't have any disadvantages though.
* Revert last change as we don't want plugins-good to depend on plugins-base ↵Sebastian Dröge2007-03-304-3/+51
| | | | | | | | | | | | CVS now. Original commit message from CVS: * configure.ac: * gst/auparse/gstauparse.c: (gst_au_parse_reset), (gst_au_parse_parse_header), (gst_au_parse_chain): * gst/auparse/gstauparse.h: Revert last change as we don't want plugins-good to depend on plugins-base CVS now.
* ext/wavpack/: Don't play audioconvert. As wavpack wants/outputs all samples ↵Sebastian Dröge2007-03-3010-198/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with width==32 and depth=[1,32] accept th... Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset), (gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps), (gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain): * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset), (gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_chain): * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.c: Don't play audioconvert. As wavpack wants/outputs all samples with width==32 and depth=[1,32] accept this and let audioconvert convert to accepted formats instead of doing it in the element for n*8 depths. This also adds support for non-n*8 depths and prevents some useless memory allocations. Fixes #421598 Also add a workaround for bug #421542 in wavpackenc for now... * tests/check/elements/wavpackdec.c: (GST_START_TEST): * tests/check/elements/wavpackenc.c: (GST_START_TEST): * tests/check/elements/wavpackparse.c: (GST_START_TEST): Consider the change above in the unit tests and test if the correct caps are accepted and set. Also check for GST_BUFFER_OFFSET_END in the wavpackparse unit test. * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps): Set caps on the src pad as soon as possible. * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackcommon.h: * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.h: Fix indention. gst-indent is now called by cicl.
* configure.ac: Require gst-plugins-base CVS for audioconvert with non-native ↵René Stadler2007-03-294-42/+17
| | | | | | | | | | | | | | | float support and width/depth fix in libg... Original commit message from CVS: * configure.ac: Require gst-plugins-base CVS for audioconvert with non-native float support and width/depth fix in libgstriff. Patch by: René Stadler <mail at renestadler dot de> * gst/auparse/gstauparse.c: (gst_au_parse_reset), (gst_au_parse_parse_header), (gst_au_parse_chain): * gst/auparse/gstauparse.h: Don't swap the floats ourself if they're not in native endianness. Instead let audioconvert handle this. Fixes #339838.
* gst/rtp/: Flush adapter on disconts.Wim Taymans2007-03-298-13/+76
| | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstasteriskh263.h: * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_process), (gst_rtp_h263p_depay_change_state): * gst/rtp/gstrtph263pdepay.h: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init), (gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process), (gst_rtp_h264_depay_change_state): * gst/rtp/gstrtph264depay.h: * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_class_init), (gst_rtp_mp4a_depay_setcaps), (gst_rtp_mp4a_depay_process): * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): Flush adapter on disconts.
* gst/rtp/: Use more efficient adapter and rtpbuffer methods when possible.Wim Taymans2007-03-2915-75/+43
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_process): * gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_process): * gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_process): * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process): * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_flush): * gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_setcaps), (gst_rtp_mp4v_depay_process): * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_flush): * gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_process): * gst/rtp/gstrtpmpapay.c: (gst_rtp_mpa_pay_flush): * gst/rtp/gstrtpmpvdepay.c: (gst_rtp_mpv_depay_process): * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_process): * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_process): * gst/rtp/gstrtpsv3vdepay.c: (gst_rtp_sv3v_depay_process): Use more efficient adapter and rtpbuffer methods when possible.
* gst/wavenc/gstwavenc.c: Correctly handle width!=depth input.Sebastian Dröge2007-03-293-12/+26
| | | | | | | | | | Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf), (gst_wavenc_sink_setcaps): Correctly handle width!=depth input. * gst/wavparse/gstwavparse.c: Already export in the caps that width==8 uses unsigned samples and everything else uses signed samples.
* gst/udp/: Rework the socket allocation a bit based on the sockfd argument so ↵Laurent Glayal2007-03-295-34/+114
| | | | | | | | | | | | | | | | | | | | | | that it becomes usable. Original commit message from CVS: Patch by: Laurent Glayal <spglegle at yahoo dot fr> * gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init), (gst_dynudpsink_init), (gst_dynudpsink_set_property), (gst_dynudpsink_get_property), (gst_dynudpsink_init_send), (gst_dynudpsink_close): * gst/udp/gstdynudpsink.h: * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init), (gst_udpsrc_create), (gst_udpsrc_set_property), (gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_stop): * gst/udp/gstudpsrc.h: Rework the socket allocation a bit based on the sockfd argument so that it becomes usable. Add a closefd property to instruct the udp elements to close the custom file descriptors when going to READY. Fixes #423304. API:GstUDPSrc::closefd property API:GstDynUDPSink::closefd property
* gst/rtp/: Added H264 payloader. Fixes #423782.Laurent Glayal2007-03-296-10/+423
| | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Laurent Glayal <spglegle at yahoo dot fr> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_base_init), (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_init), (gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_setcaps), (gst_rtp_h264_pay_handle_buffer), (gst_rtp_h264_pay_set_property), (gst_rtp_h264_pay_get_property), (gst_rtp_h264_pay_change_state), (gst_rtp_h264_pay_plugin_init): * gst/rtp/gstrtph264pay.h: Added H264 payloader. Fixes #423782. * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init), (gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process): Small fixes.