summaryrefslogtreecommitdiffstats
path: root/gst/rtp
Commit message (Collapse)AuthorAgeFilesLines
* Update and add documentation for plugins with no deps (gst).Stefan Kost2009-01-281-8/+6
| | | | Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.
* gst/rtp/gstrtpjpegdepay.c: Add an EOI marker at the end of the jpeg frame ↵Wim Taymans2008-12-091-2/+21
| | | | | | | | | when it's missing. Original commit message from CVS: * gst/rtp/gstrtpjpegdepay.c: (gst_rtp_jpeg_depay_process): Add an EOI marker at the end of the jpeg frame when it's missing. Fixes #563056.
* gst/rtp/gstrtpmp4apay.c: Copy incomming timestamp to outgoing packets.Wim Taymans2008-12-081-0/+5
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpmp4apay.c: (gst_rtp_mp4a_pay_handle_buffer): Copy incomming timestamp to outgoing packets.
* gst/rtp/gstrtpmp4vpay.c: Don't try to push packets before we could find a ↵Wim Taymans2008-12-081-0/+6
| | | | | | | | | | valid config startcode. Fixes #563509. Original commit message from CVS: * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_flush), (gst_rtp_mp4v_pay_event): Don't try to push packets before we could find a valid config startcode. Fixes #563509.
* gst/rtp/: Fix the descriptions and fix some email addresses.Wim Taymans2008-11-2576-127/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstasteriskh263.c: * gst/rtp/gstasteriskh263.h: * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_setcaps): * gst/rtp/gstrtpL16depay.h: * gst/rtp/gstrtpL16pay.c: * gst/rtp/gstrtpL16pay.h: * gst/rtp/gstrtpac3depay.c: (gst_rtp_ac3_depay_setcaps): * gst/rtp/gstrtpac3depay.h: * gst/rtp/gstrtpamrdepay.c: * gst/rtp/gstrtpamrdepay.h: * gst/rtp/gstrtpamrpay.c: * gst/rtp/gstrtpamrpay.h: * gst/rtp/gstrtpdepay.c: * gst/rtp/gstrtpdepay.h: * gst/rtp/gstrtpdvdepay.c: (gst_rtp_dv_depay_setcaps): * gst/rtp/gstrtpg726depay.c: * gst/rtp/gstrtpg726pay.c: * gst/rtp/gstrtpg729depay.c: * gst/rtp/gstrtpg729pay.c: * gst/rtp/gstrtpgsmdepay.c: * gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_setcaps): * gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_setcaps): * gst/rtp/gstrtph263depay.h: * gst/rtp/gstrtph263pay.c: * gst/rtp/gstrtph263pay.h: * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps): * gst/rtp/gstrtph263pdepay.h: * gst/rtp/gstrtph263ppay.c: * gst/rtp/gstrtph263ppay.h: * gst/rtp/gstrtph264depay.c: * gst/rtp/gstrtph264depay.h: * gst/rtp/gstrtph264pay.c: * gst/rtp/gstrtph264pay.h: * gst/rtp/gstrtpilbcdepay.c: * gst/rtp/gstrtpilbcpay.c: * gst/rtp/gstrtpjpegdepay.h: * gst/rtp/gstrtpmp1sdepay.c: (gst_rtp_mp1s_depay_setcaps): * gst/rtp/gstrtpmp1sdepay.h: * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_setcaps): * gst/rtp/gstrtpmp2tdepay.h: * gst/rtp/gstrtpmp2tpay.c: * gst/rtp/gstrtpmp2tpay.h: * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_setcaps): * gst/rtp/gstrtpmp4apay.c: * gst/rtp/gstrtpmp4apay.h: * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_setcaps): * gst/rtp/gstrtpmp4gdepay.h: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4gpay.h: * gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_setcaps): * gst/rtp/gstrtpmp4vdepay.h: * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_event): * gst/rtp/gstrtpmp4vpay.h: * gst/rtp/gstrtpmpadepay.c: * gst/rtp/gstrtpmpadepay.h: * gst/rtp/gstrtpmpapay.c: * gst/rtp/gstrtpmpapay.h: * gst/rtp/gstrtpmpvdepay.c: * gst/rtp/gstrtpmpvdepay.h: * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_process): * gst/rtp/gstrtppcmapay.c: * gst/rtp/gstrtppcmudepay.c: * gst/rtp/gstrtppcmupay.c: * gst/rtp/gstrtpspeexdepay.c: * gst/rtp/gstrtpspeexpay.c: * gst/rtp/gstrtpsv3vdepay.c: * gst/rtp/gstrtpsv3vdepay.h: * gst/rtp/gstrtptheoradepay.c: * gst/rtp/gstrtptheoradepay.h: * gst/rtp/gstrtptheorapay.c: * gst/rtp/gstrtptheorapay.h: * gst/rtp/gstrtpvorbisdepay.c: * gst/rtp/gstrtpvorbisdepay.h: * gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers): * gst/rtp/gstrtpvorbispay.h: * gst/rtp/gstrtpvrawdepay.c: (gst_rtp_vraw_depay_setcaps): * gst/rtp/gstrtpvrawpay.c: Fix the descriptions and fix some email addresses.
* gst/rtp/: Add a jpeg depayloader.Wim Taymans2008-11-145-4/+686
| | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpjpegdepay.c: (gst_rtp_jpeg_depay_base_init), (gst_rtp_jpeg_depay_class_init), (gst_rtp_jpeg_depay_init), (gst_rtp_jpeg_depay_finalize), (MakeTables), (MakeQuantHeader), (MakeHuffmanHeader), (MakeDRIHeader), (MakeHeaders), (gst_rtp_jpeg_depay_setcaps), (gst_rtp_jpeg_depay_process), (gst_rtp_jpeg_depay_change_state), (gst_rtp_jpeg_depay_plugin_init): * gst/rtp/gstrtpjpegdepay.h: Add a jpeg depayloader. * gst/rtp/gstrtpjpegpay.c: Set the default properties on the payloader to better defaults.
* gst/rtp/: Add JPEG payloader. Fixes #560756.Bjorn Ostby2008-11-144-0/+578
| | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Bjorn Ostby <bjornos at axis dot com> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpjpegpay.c: (gst_rtp_jpeg_pay_base_init), (gst_rtp_jpeg_pay_class_init), (gst_rtp_jpeg_pay_init), (gst_rtp_jpeg_pay_setcaps), (gst_rtp_jpeg_pay_header_size), (gst_rtp_jpeg_pay_read_quant_table), (gst_rtp_jpeg_pay_scan_marker), (gst_rtp_jpeg_pay_handle_buffer), (gst_rtp_jpeg_pay_set_property), (gst_rtp_jpeg_pay_get_property), (gst_rtp_jpeg_pay_plugin_init): * gst/rtp/gstrtpjpegpay.h: Add JPEG payloader. Fixes #560756.
* gst/rtp/gstrtpmp4vpay.c: Flush the remaining frames on EOS. Fixes #560641.Yotam2008-11-131-2/+5
| | | | | | | Original commit message from CVS: Patch by: Yotam <sh dot yotam at gmail dot com> * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_event): Flush the remaining frames on EOS. Fixes #560641.
* gst/rtp/gstrtpg729pay.c: Fix compiler warning about printf formatting.Jan Schmidt2008-11-121-2/+2
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_handle_buffer): Fix compiler warning about printf formatting.
* gst/rtp/gstrtpg729pay.c: Don't ignore the return value of setcaps.Wim Taymans2008-11-111-2/+3
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_set_caps): Don't ignore the return value of setcaps.
* gst/rtp/gstrtpg729pay.*: Replace G729 payloader with an improved version. ↵Olivier Crete2008-11-112-74/+232
| | | | | | | | | | | | Fixes #532409. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpg729pay.c: (gst_rtp_g729_pay_base_init), (gst_rtp_g729_pay_class_init), (gst_rtp_g729_pay_init), (gst_rtp_g729_pay_set_caps), (gst_rtp_g729_pay_handle_buffer): * gst/rtp/gstrtpg729pay.h: Replace G729 payloader with an improved version. Fixes #532409.
* Don't install static libs for plugins. Fixes #550851 for -good.Stefan Kost2008-11-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* gst/rtp/: Narrow down the caps of the mpeg audio pay/depayloaders to only ↵Wim Taymans2008-10-302-3/+4
| | | | | | | | | | accept mpeg version 1. Fixes #558427. Original commit message from CVS: * gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_setcaps): * gst/rtp/gstrtpmpapay.c: Narrow down the caps of the mpeg audio pay/depayloaders to only accept mpeg version 1. Fixes #558427.
* gst/rtp/gstrtpL16pay.c: Only put an integral amount of samples in the RTP ↵Wim Taymans2008-10-291-2/+4
| | | | | | | | | | packet. Original commit message from CVS: * gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_flush), (gst_rtp_L16_pay_getcaps): Only put an integral amount of samples in the RTP packet. Fixes #556641.
* gst/rtp/gstrtpchannels.*: Add method to get possible channel positions.Wim Taymans2008-10-282-0/+32
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtpchannels.c: (gst_rtp_channels_get_by_index): * gst/rtp/gstrtpchannels.h: Add method to get possible channel positions.
* gst/rtp/Makefile.am: Also commit updated makefileWim Taymans2008-10-281-0/+3
| | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: Also commit updated makefile
* gst/rtp/: Add mappings for multichannel support. Does not completely just ↵Wim Taymans2008-10-284-3/+375
| | | | | | | | | | | | | | | | work because the getcaps function does not ... Original commit message from CVS: * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_setcaps): * gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_setcaps), (gst_rtp_L16_pay_getcaps): * gst/rtp/gstrtpchannels.c: (check_channels), (gst_rtp_channels_get_by_pos), (gst_rtp_channels_get_by_order), (gst_rtp_channels_create_default): * gst/rtp/gstrtpchannels.h: Add mappings for multichannel support. Does not completely just work because the getcaps function does not yet return the allowed channel mappings. See #556641.
* gst/rtp/gstrtpL16pay.c: Implement getcaps in rtpL16pay. Fixes #556484.Olivier Crete2008-10-271-5/+59
| | | | | | | | Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_class_init), (gst_rtp_L16_pay_setcaps), (gst_rtp_L16_pay_getcaps): Implement getcaps in rtpL16pay. Fixes #556484.
* gst/rtp/gstrtpL16depay.c: Check if clock-rate and channels are valid.Wim Taymans2008-10-2747-456/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_setcaps), (gst_rtp_L16_depay_process): Check if clock-rate and channels are valid. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpac3depay.c: (gst_rtp_ac3_depay_setcaps), (gst_rtp_ac3_depay_process): Don't ignore the return value of set_caps. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process): * gst/rtp/gstrtpamrdepay.h: Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. No need to set output caps on the buffers, the base class does that for us. The subclass will make sure we are negotiated. * gst/rtp/gstrtpdvdepay.c: (gst_rtp_dv_depay_setcaps), (gst_rtp_dv_depay_process), (gst_rtp_dv_depay_reset): * gst/rtp/gstrtpdvdepay.h: Clean up caps negotiation. The subclass will make sure we are negotiated. * gst/rtp/gstrtpg726depay.c: (gst_rtp_g726_depay_setcaps), (gst_rtp_g726_depay_process): Clean up caps negotiation. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_init), (gst_rtp_g729_depay_setcaps), (gst_rtp_g729_depay_process): * gst/rtp/gstrtpg729depay.h: The subclass will make sure we are negotiated. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_setcaps), (gst_rtp_gsm_depay_process): Clean up caps negotiation. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_setcaps): Clean up caps negotiation. Don't ignore the return value of set_outcaps. * gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_setcaps), (gst_rtp_h263_depay_process): Clean up caps negotiation. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtph263pay.c: (gst_rtp_h263_pay_setcaps), (gst_rtp_h263_pay_flush), (gst_rtp_h263_pay_handle_buffer): * gst/rtp/gstrtph263pay.h: Don't ignore the return value of set_outcaps. Do some more timestamps. * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps), (gst_rtp_h263p_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtph263ppay.c: (gst_rtp_h263p_pay_class_init), (gst_rtp_h263p_pay_setcaps), (gst_rtp_h263p_pay_flush), (gst_rtp_h263p_pay_handle_buffer): * gst/rtp/gstrtph263ppay.h: Don't ignore the return value of set_outcaps. Do some more timestamps. * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. Fix possible caps leak. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_setcaps): Add some more debug info. * gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps), (gst_rtp_ilbc_depay_process): Clean up caps negotiation. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_sink_setcaps): Clean up caps negotiation. * gst/rtp/gstrtpmp1sdepay.c: (gst_rtp_mp1s_depay_setcaps), (gst_rtp_mp1s_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. No need to set caps on buffers, subclass does that for us. * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_setcaps), (gst_rtp_mp2t_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. No need to set caps on buffers, subclass does that for us. * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_setcaps), (gst_rtp_mp4a_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtpmp4apay.c: (gst_rtp_mp4a_pay_new_caps), (gst_rtp_mp4a_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_setcaps), (gst_rtp_mp4g_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. No need to set caps on buffers, subclass does that for us. * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_finalize), (gst_rtp_mp4g_pay_new_caps), (gst_rtp_mp4g_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_setcaps), (gst_rtp_mp4v_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. No need to set caps on buffers, subclass does that for us. * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_new_caps), (gst_rtp_mp4v_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_setcaps), (gst_rtp_mpa_depay_process): Clean up caps negotiation. Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtpmpapay.c: (gst_rtp_mpa_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpmpvdepay.c: (gst_rtp_mpv_depay_setcaps), (gst_rtp_mpv_depay_process): Clean up caps negotiation. Actually set output caps. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtpmpvpay.c: (gst_rtp_mpv_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_setcaps), (gst_rtp_pcma_depay_process): Clean up caps negotiation. Set output buffer duration because we can. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_setcaps), (gst_rtp_pcmu_depay_process): Clean up caps negotiation. Use the marker bit to set the DISCONT flag on outgoing buffers. * gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_setcaps): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init), (gst_rtp_speex_depay_setcaps), (gst_rtp_speex_depay_process): Clean up caps negotiation. Set output caps on the pad and header buffers. Set duration on output buffers because we can. * gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_parse_ident): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpsv3vdepay.c: (gst_rtp_sv3v_depay_setcaps), (gst_rtp_sv3v_depay_process): Clean up caps negotiation. No need to validate the buffer, the base class does that for us. No need to set caps out output buffers, subclass does that. * gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps), (gst_rtp_theora_depay_process): Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtptheorapay.c: (gst_rtp_theora_pay_class_init), (gst_rtp_theora_pay_flush_packet), (encode_base64), (gst_rtp_theora_pay_finish_headers), (gst_rtp_theora_pay_parse_id), (gst_rtp_theora_pay_handle_buffer): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps), (gst_rtp_vorbis_depay_process): Don't ignore the return value of setcaps. No need to validate the buffer, the base class does that for us. * gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers): Don't ignore the return value of set_outcaps. * gst/rtp/gstrtpvrawdepay.c: (gst_rtp_vraw_depay_setcaps): Clean up caps negotiation, don't ignore setcaps return. * gst/rtp/gstrtpvrawpay.c: (gst_rtp_vraw_pay_setcaps): Don't ignore the return value of set_outcaps.
* gst/rtp/gstrtpamrdepay.c: Mark DISCONT on output buffers when the marker bit ↵Wim Taymans2008-09-262-11/+28
| | | | | | | | | | | | | signals a new talk spurt. Original commit message from CVS: * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_class_init), (gst_rtp_amr_depay_process): Mark DISCONT on output buffers when the marker bit signals a new talk spurt. * gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_handle_buffer): Set the marker bit for buffers with a DISCONT flag to signal a talk spurt.
* gst/rtp/: Added MP4A-LATM payloader to match the depayloader.Wim Taymans2008-09-264-1/+537
| | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpmp4apay.c: (gst_rtp_mp4a_pay_get_type), (gst_rtp_mp4a_pay_base_init), (gst_rtp_mp4a_pay_class_init), (gst_rtp_mp4a_pay_init), (gst_rtp_mp4a_pay_finalize), (gst_rtp_mp4a_pay_parse_audio_config), (gst_rtp_mp4a_pay_new_caps), (gst_rtp_mp4a_pay_setcaps), (gst_rtp_mp4a_pay_handle_buffer), (gst_rtp_mp4a_pay_change_state), (gst_rtp_mp4a_pay_plugin_init): * gst/rtp/gstrtpmp4apay.h: Added MP4A-LATM payloader to match the depayloader.
* gst/rtp/gstrtpmp4gdepay.*: Handle interleaved streams by reordering AU in a ↵Wim Taymans2008-09-152-13/+213
| | | | | | | | | | | | | queue. Original commit message from CVS: * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_init), (gst_rtp_mp4g_depay_finalize), (gst_rtp_mp4g_depay_setcaps), (gst_rtp_mp4g_depay_clear_queue), (gst_rtp_mp4g_depay_flush_queue), (gst_rtp_mp4g_depay_queue), (gst_rtp_mp4g_depay_process), (gst_rtp_mp4g_depay_change_state): * gst/rtp/gstrtpmp4gdepay.h: Handle interleaved streams by reordering AU in a queue.
* gst/rtp/gstrtpmp4gdepay.c: Change some of the ranges in the caps, mostly for ↵Wim Taymans2008-09-151-21/+131
| | | | | | | | | | | | | | the amount of bits we can use. Original commit message from CVS: * gst/rtp/gstrtpmp4gdepay.c: (gst_bs_parse_init), (gst_bs_parse_read), (gst_rtp_mp4g_depay_process): Change some of the ranges in the caps, mostly for the amount of bits we can use. Added a little bitstream parse and use it to parse the AU header fields. Check for malformed and wrongly sized packets better. Implement more header field parsing. Handle the size of fragmented packets correctly.
* gst/rtp/: Update the vorbis RTP pay/depay to RFC 5215.Olivier Crete2008-08-152-53/+13
| | | | | | | | | | 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/rtp/: Add MP1S depayloader.Wim Taymans2008-08-054-0/+310
| | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpmp1sdepay.c: (gst_rtp_mp1s_depay_base_init), (gst_rtp_mp1s_depay_class_init), (gst_rtp_mp1s_depay_init), (gst_rtp_mp1s_depay_setcaps), (gst_rtp_mp1s_depay_process), (gst_rtp_mp1s_depay_set_property), (gst_rtp_mp1s_depay_get_property), (gst_rtp_mp1s_depay_change_state), (gst_rtp_mp1s_depay_plugin_init): * gst/rtp/gstrtpmp1sdepay.h: Add MP1S depayloader. * gst/rtsp/URLS: Some more sample rtsp streams.
* gst/rtp/gstrtpspeexdepay.*: Revert last change: Only the jitterbuffer is ↵Sebastian Dröge2008-07-072-10/+1
| | | | | | | | | | | | able to convert RTP to Original commit message from CVS: * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init), (gst_rtp_speex_depay_process): * gst/rtp/gstrtpspeexdepay.h: Revert last change: Only the jitterbuffer is able to convert RTP to Gstreamer timestamps and normal (de)payloaders should simply copy it. Reopens bug #541787.
* gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().Stefan Kost2008-07-071-0/+1
| | | | | | | | Original commit message from CVS: * gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi(). * gst/rtsp/gstrtspsrc.c: Use floating point math for latencies < 0 sec in log output.
* gst/rtp/gstrtpspeexdepay.*: Take timestamp from the RTP packet as a first ↵Tomasz Grobelny2008-07-072-1/+10
| | | | | | | | | | | | | step to fix problems with transmission over... Original commit message from CVS: Patch by: Tomasz Grobelny <tomasz at grobelny dot oswiecenia dot net> * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init), (gst_rtp_speex_depay_process): * gst/rtp/gstrtpspeexdepay.h: Take timestamp from the RTP packet as a first step to fix problems with transmission over RTP when the network is not reliable. Fixes bug #541787.
* gst/rtp/: Add raw video pay and depayloaders, see RFC4175.Wim Taymans2008-07-016-2/+1260
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpvrawdepay.c: (gst_rtp_vraw_depay_base_init), (gst_rtp_vraw_depay_class_init), (gst_rtp_vraw_depay_init), (gst_rtp_vraw_depay_setcaps), (gst_rtp_vraw_depay_process), (gst_rtp_vraw_depay_change_state), (gst_rtp_vraw_depay_plugin_init): * gst/rtp/gstrtpvrawdepay.h: * gst/rtp/gstrtpvrawpay.c: (gst_rtp_vraw_pay_get_type), (gst_rtp_vraw_pay_base_init), (gst_rtp_vraw_pay_class_init), (gst_rtp_vraw_pay_init), (gst_rtp_vraw_pay_finalize), (gst_rtp_vraw_pay_setcaps), (gst_rtp_vraw_pay_handle_buffer), (gst_rtp_vraw_pay_plugin_init): * gst/rtp/gstrtpvrawpay.h: Add raw video pay and depayloaders, see RFC4175.
* gst/: Added debug.Thomas Vander Stichele2008-06-201-1/+3
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtptheorapay.c: * gst/udp/gstmultiudpsink.c: Added debug.
* gst/rtp/gstrtpg726pay.c: Remove unused variable so that we can compile again.Wim Taymans2008-06-191-1/+0
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps): Remove unused variable so that we can compile again.
* gst/rtp/gstrtpg726pay.c: No need to check for audio/G723 and audio/32KADPCM ↵Peter Kjellerstedt2008-06-191-13/+1
| | | | | | | | | here as they are no longer supported. Original commit message from CVS: * gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps): No need to check for audio/G723 and audio/32KADPCM here as they are no longer supported.
* gst/rtp/gstrtpg726pay.c: Fix caps, See #538891.Wim Taymans2008-06-181-4/+2
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg726pay.c: Fix caps, See #538891.
* gst/rtp/: Added G726 pay/depayloaders. Fixes #538891.mersad2008-06-186-0/+500
| | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: mersad <mersad at axis dot com> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpg726depay.c: (gst_rtp_g726_depay_base_init), (gst_rtp_g726_depay_class_init), (gst_rtp_g726_depay_init), (gst_rtp_g726_depay_setcaps), (gst_rtp_g726_depay_process), (gst_rtp_g726_depay_plugin_init): * gst/rtp/gstrtpg726depay.h: * gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_base_init), (gst_rtp_g726_pay_class_init), (gst_rtp_g726_pay_init), (gst_rtp_g726_pay_setcaps), (gst_rtp_g726_pay_plugin_init): * gst/rtp/gstrtpg726pay.h: Added G726 pay/depayloaders. Fixes #538891.
* gst/rtp/gstrtptheoradepay.c: Make the delivery-method mandatory on the caps ↵Olivier Crete2008-06-133-22/+21
| | | | | | | | | | | | | | | | | | and only accept inline for now. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps): Make the delivery-method mandatory on the caps and only accept inline for now. Reverse strcmp checks for delivery-method. * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps): Make delivery method optional when parsing caps and note this in the caps. Reverse strcmp checks for delivery-method. * gst/rtp/gstrtpvorbispay.c: Update a comment to note that the delivery-method is optional, Fixes #537675.
* gst/rtp/gstrtptheorapay.c: The Theora RTP payloader only supports the ↵Olivier Crete2008-06-111-1/+26
| | | | | | | | | | | "inline" delievery method so let's declare this... Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtptheorapay.c: The Theora RTP payloader only supports the "inline" delievery method so let's declare this on the caps of the static pad template. Fixes bug #537675.
* gst/rtp/gstrtptheoradepay.c: Improve debugging of the ident.Wim Taymans2008-05-211-3/+3
| | | | | | Original commit message from CVS: * gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_process): Improve debugging of the ident.
* gst/rtp/gstrtph264pay.*: Correct a typo (sinle -> single).Peter Kjellerstedt2008-05-202-5/+3
| | | | | | | | Original commit message from CVS: * gst/rtp/gstrtph264pay.c: (gst_h264_scan_mode_get_type), (gst_rtp_h264_pay_handle_buffer): * gst/rtp/gstrtph264pay.h: Correct a typo (sinle -> single).
* gst/rtp/gstrtph264depay.*: Add experimental support for outputting ↵Wim Taymans2008-05-204-35/+289
| | | | | | | | | | | | | | | | | | | | | | quicktime-like AVC output in addition to the exist... Original commit message from CVS: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init), (gst_rtp_h264_depay_init), (gst_rtp_h264_depay_set_property), (gst_rtp_h264_depay_get_property), (gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process): * gst/rtp/gstrtph264depay.h: Add experimental support for outputting quicktime-like AVC output in addition to the existing bytestream output. * gst/rtp/gstrtph264pay.c: (gst_h264_scan_mode_get_type), (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_init), (gst_rtp_h264_pay_setcaps), (gst_rtp_h264_pay_payload_nal), (gst_rtp_h264_pay_handle_buffer), (gst_rtp_h264_pay_set_property), (gst_rtp_h264_pay_get_property): * gst/rtp/gstrtph264pay.h: Make the parsing mode configurable, for some inputs we don't need to scan every byte for start codes. Only set the marker bit on ACCESS units.
* gst/rtp/gstrtph264depay.c: Small comment added.Wim Taymans2008-05-142-101/+153
| | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process): Small comment added. * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_decode_nal), (gst_rtp_h264_pay_parse_sps_pps), (gst_rtp_h264_pay_payload_nal), (gst_rtp_h264_pay_handle_buffer): Debug string cleanups (remove trailing \n) Refactor and clean up the payloader a bit and make sure that we only put one NAL unit in an RTP packet even if the input buffer contains multiple NAL units. Add suport for AVC format input.
* gst/rtp/gstrtph264pay.*: Make it possible to specify profile-level-id and ↵Peter Kjellerstedt2008-05-142-7/+99
| | | | | | | | | | | | sprop-parameter-sets using properties in ca... Original commit message from CVS: * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_handle_buffer), (gst_rtp_h264_pay_set_property), (gst_rtp_h264_pay_get_property): * gst/rtp/gstrtph264pay.h: Make it possible to specify profile-level-id and sprop-parameter-sets using properties in case they are not available in-stream.
* gst/rtp/gstrtpg729depay.c: Fix wrong caps string.Wim Taymans2008-05-131-2/+2
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_setcaps): Fix wrong caps string.
* gst/rtp/: Added G729 pay and depayloaders. Fixes #532409.Olivier Crete2008-05-136-0/+520
| | | | | | | | | | | | | | | | | Original commit message from CVS: Based on patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_base_init), (gst_rtp_g729_depay_class_init), (gst_rtp_g729_depay_init), (gst_rtp_g729_depay_setcaps), (gst_rtp_g729_depay_process), (gst_rtp_g729_depay_plugin_init): * gst/rtp/gstrtpg729depay.h: * gst/rtp/gstrtpg729pay.c: (gst_rtpg729pay_base_init), (gst_rtpg729pay_class_init), (gst_rtpg729pay_init), (gst_rtpg729pay_setcaps), (gst_rtp_g729_pay_plugin_init): * gst/rtp/gstrtpg729pay.h: Added G729 pay and depayloaders. Fixes #532409.
* gst/rtp/: Add DV pay and depayloaders. Fixes #532423.Olivier Crete2008-05-126-0/+951
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Based on patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpdvdepay.c: (gst_rtp_dv_depay_base_init), (gst_rtp_dv_depay_class_init), (gst_rtp_dv_depay_init), (parse_encode), (gst_rtp_dv_depay_setcaps), (calculate_difblock_location), (gst_rtp_dv_depay_process), (gst_rtp_dv_depay_reset), (gst_rtp_dv_depay_change_state), (gst_rtp_dv_depay_plugin_init): * gst/rtp/gstrtpdvdepay.h: * gst/rtp/gstrtpdvpay.c: (gst_dv_pay_mode_get_type), (gst_rtp_dv_pay_base_init), (gst_rtp_dv_pay_class_init), (gst_rtp_dv_pay_init), (gst_dv_pay_set_property), (gst_dv_pay_get_property), (gst_rtp_dv_pay_setcaps), (gst_dv_pay_negotiate), (include_dif), (gst_rtp_dv_pay_handle_buffer), (gst_rtp_dv_pay_plugin_init): * gst/rtp/gstrtpdvpay.h: Add DV pay and depayloaders. Fixes #532423.
* gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL ↵Ole André Vadla Ravnås2008-05-071-1/+1
| | | | | | | | | when trying to print sps and pps strings t... Original commit message from CVS: * gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL when trying to print sps and pps strings that could be NULL, as this might crash on some platforms.
* gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and ↵Ole André Vadla Ravnås2008-05-071-2/+3
| | | | | | | | | made include ordering and style consistent ... Original commit message from CVS: * gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made include ordering and style consistent with the corresponding depayloader.
* gst/rtp/gstrtph263pdepay.c: Add some more debug info and guard against small ↵Wim Taymans2008-05-022-3/+24
| | | | | | | | | | payloads. Original commit message from CVS: * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_process): Add some more debug info and guard against small payloads. * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_process): Set duration on outgoing buffers because we can.
* gst/rtp/gstrtpspeexpay.c: Add negotiation for the speec channels and rate. ↵Olivier Crete2008-05-021-1/+31
| | | | | | | | | | See #465146. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init), (gst_rtp_speex_pay_getcaps): Add negotiation for the speec channels and rate. See #465146.
* gst/rtp/gstrtpilbcpay.c: Add negotiation for the ILBC mode. See #465146.Olivier Crete2008-05-021-3/+41
| | | | | | | | Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_class_init), (gst_rtpilbcpay_sink_setcaps), (gst_rtpilbcpay_sink_getcaps): Add negotiation for the ILBC mode. See #465146.
* gst/: Use GLib versions of htonl, htons, ntohl and ntohs in order to avoid ↵Tim-Philipp Müller2008-04-251-2/+2
| | | | | | | | | | | problems on win32 (#529707). Original commit message from CVS: * gst/rtp/gstasteriskh263.c: (gst_asteriskh263_chain): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_add_internal): * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Use GLib versions of htonl, htons, ntohl and ntohs in order to avoid problems on win32 (#529707).