summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtp.c
diff options
context:
space:
mode:
authorBjorn Ostby <bjornos@axis.com>2008-11-14 11:41:55 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-11-14 11:41:55 +0000
commitd8e74cabdc277a3e94edfbdff268fb7050fab5f4 (patch)
tree77ebdaabb52870e4f5cd2e5d249f630af9318b02 /gst/rtp/gstrtp.c
parent5a4565868dd3ba9ef8222fdb73a7a1dee8a1e843 (diff)
gst/rtp/: Add JPEG payloader. Fixes #560756.
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.
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 3ada28da..b7e000a0 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 "gstrtpjpegpay.h"
#include "gstrtpL16depay.h"
#include "gstrtpL16pay.h"
#include "gstasteriskh263.h"
@@ -158,6 +159,9 @@ plugin_init (GstPlugin * plugin)
if (!gst_rtp_h264_pay_plugin_init (plugin))
return FALSE;
+ if (!gst_rtp_jpeg_pay_plugin_init (plugin))
+ return FALSE;
+
if (!gst_rtp_L16_pay_plugin_init (plugin))
return FALSE;