From 5c9ebea381826347871528031b0b65b20ff51c55 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 14 Nov 2008 18:41:29 +0000 Subject: gst/rtp/: Add a jpeg depayloader. 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/gstrtp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/rtp/gstrtp.c') diff --git a/gst/rtp/gstrtp.c b/gst/rtp/gstrtp.c index b7e000a0..22022c60 100644 --- a/gst/rtp/gstrtp.c +++ b/gst/rtp/gstrtp.c @@ -49,6 +49,7 @@ #include "gstrtph263pay.h" #include "gstrtph264depay.h" #include "gstrtph264pay.h" +#include "gstrtpjpegdepay.h" #include "gstrtpjpegpay.h" #include "gstrtpL16depay.h" #include "gstrtpL16pay.h" @@ -159,6 +160,9 @@ plugin_init (GstPlugin * plugin) if (!gst_rtp_h264_pay_plugin_init (plugin)) return FALSE; + if (!gst_rtp_jpeg_depay_plugin_init (plugin)) + return FALSE; + if (!gst_rtp_jpeg_pay_plugin_init (plugin)) return FALSE; -- cgit