mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
7d92376d3b
Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_base_init), (gst_rtp_h263_depay_class_init), (gst_rtp_h263_depay_init), (gst_rtp_h263_depay_finalize), (gst_rtp_h263_depay_setcaps), (gst_rtp_h263_depay_process), (gst_rtp_h263_depay_set_property), (gst_rtp_h263_depay_get_property), (gst_rtp_h263_depay_change_state), (gst_rtp_h263_depay_plugin_init): * gst/rtp/gstrtph263depay.h: Added an H263 depayloader. Fixes #369392. * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps), (gst_rtp_h263p_depay_process): * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type), (gst_rtp_h263p_pay_class_init), (gst_rtp_h263p_pay_flush): Make the H263+ pay/depayloader support H263-1998 and H263-2000 payloads. Also alow plain H263 on the h263p payloaders. Fixes #465040.
187 lines
4.6 KiB
C
187 lines
4.6 KiB
C
/* GStreamer
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include "gstrtpdepay.h"
|
|
#include "gstrtpac3depay.h"
|
|
#include "gstrtpilbcdepay.h"
|
|
#include "gstrtpilbcpay.h"
|
|
#include "gstrtppcmupay.h"
|
|
#include "gstrtppcmapay.h"
|
|
#include "gstrtppcmadepay.h"
|
|
#include "gstrtppcmudepay.h"
|
|
#include "gstrtpgsmpay.h"
|
|
#include "gstrtpgsmdepay.h"
|
|
#include "gstrtpamrpay.h"
|
|
#include "gstrtpamrdepay.h"
|
|
#include "gstrtpmpapay.h"
|
|
#include "gstrtpmpadepay.h"
|
|
#include "gstrtpmpvdepay.h"
|
|
#include "gstrtph263pdepay.h"
|
|
#include "gstrtph263ppay.h"
|
|
#include "gstrtph263depay.h"
|
|
#include "gstrtph263pay.h"
|
|
#include "gstrtph264depay.h"
|
|
#include "gstrtph264pay.h"
|
|
#include "gstrtpL16depay.h"
|
|
#include "gstrtpL16pay.h"
|
|
#include "gstasteriskh263.h"
|
|
#include "gstrtpmp2tdepay.h"
|
|
#include "gstrtpmp2tpay.h"
|
|
#include "gstrtpmp4vdepay.h"
|
|
#include "gstrtpmp4vpay.h"
|
|
#include "gstrtpmp4adepay.h"
|
|
#include "gstrtpmp4gdepay.h"
|
|
#include "gstrtpmp4gpay.h"
|
|
#include "gstrtpspeexpay.h"
|
|
#include "gstrtpspeexdepay.h"
|
|
#include "gstrtpsv3vdepay.h"
|
|
#include "gstrtptheoradepay.h"
|
|
#include "gstrtptheorapay.h"
|
|
#include "gstrtpvorbisdepay.h"
|
|
#include "gstrtpvorbispay.h"
|
|
|
|
static gboolean
|
|
plugin_init (GstPlugin * plugin)
|
|
{
|
|
if (!gst_rtp_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_ac3_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_ilbc_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_ilbc_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_gsm_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_gsm_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_amr_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_amr_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_pcma_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_pcmu_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_pcmu_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_pcma_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mpa_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mpa_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mpv_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_h263p_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_h263p_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_h263_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_h263_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_h264_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_h264_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_L16_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_L16_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_asteriskh263_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp2t_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp2t_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp4v_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp4v_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp4a_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp4g_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_mp4g_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_speex_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_speex_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_sv3v_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_theora_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_theora_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_vorbis_depay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
if (!gst_rtp_vorbis_pay_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
GST_VERSION_MINOR,
|
|
"rtp",
|
|
"Real-time protocol plugins",
|
|
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
|