summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtp.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-11-14 18:41:29 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-11-14 18:41:29 +0000
commit5c9ebea381826347871528031b0b65b20ff51c55 (patch)
tree6f163a929900d89491bc52bcd32ae277a3813999 /gst/rtp/gstrtp.c
parentb51bb31b73f59ae01050eb1147b48a6759efeaf5 (diff)
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.
Diffstat (limited to 'gst/rtp/gstrtp.c')
-rw-r--r--gst/rtp/gstrtp.c4
1 files changed, 4 insertions, 0 deletions
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;