summaryrefslogtreecommitdiff
path: root/gst/jpegformat/gstjpegformat.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-02-03 15:07:08 +0200
committerStefan Kost <ensonic@users.sf.net>2010-02-03 15:13:30 +0200
commit6c6ea0b79b90b2d13f8e18e9115e1ae4bc347e8e (patch)
tree93704225c075eed1246c13e9b99eb476cc7269e1 /gst/jpegformat/gstjpegformat.c
parente1c1405396d830e7414b141750722c044b40d835 (diff)
downloadgstreamer-plugins-bad-6c6ea0b79b90b2d13f8e18e9115e1ae4bc347e8e.tar.gz
jpegformat: add a basic jifmuxer
The new element can chop and reassemble the markers. I implements the tagsetter and for now can serialize some tags to jpeg comments.
Diffstat (limited to 'gst/jpegformat/gstjpegformat.c')
-rw-r--r--gst/jpegformat/gstjpegformat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/jpegformat/gstjpegformat.c b/gst/jpegformat/gstjpegformat.c
index a64a54c06..88b14f5d4 100644
--- a/gst/jpegformat/gstjpegformat.c
+++ b/gst/jpegformat/gstjpegformat.c
@@ -25,6 +25,7 @@
#endif
#include "gstjpegparse.h"
+#include "gstjifmux.h"
static gboolean
plugin_init (GstPlugin * plugin)
@@ -32,6 +33,8 @@ plugin_init (GstPlugin * plugin)
if (!gst_element_register (plugin, "jpegparse", GST_RANK_PRIMARY + 1,
GST_TYPE_JPEG_PARSE))
return FALSE;
+ if (!gst_element_register (plugin, "jifmux", GST_RANK_NONE, GST_TYPE_JIF_MUX))
+ return FALSE;
return TRUE;
}