summaryrefslogtreecommitdiff
path: root/gst/camerabin2/gstplugin.c
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-11-25 14:57:13 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-12-08 15:38:26 -0300
commit0dce17a4e8e7d93f3246eab3d25b079d0eb25f6c (patch)
tree3dd60e98503f097da6b67ef4d255fcbdc633fc87 /gst/camerabin2/gstplugin.c
parent94da473ba7c216025f3c6c52897a6377ce72ba05 (diff)
downloadgstreamer-plugins-bad-0dce17a4e8e7d93f3246eab3d25b079d0eb25f6c.tar.gz
camerabin2: Adds video recording bin
Adds an bin that is responsible for encoding and saving video streams to files. For now it is simply a ffmpegcolorspace ! theoraenc ! oggmux ! filesink bin. Still uncapable of recording audio.
Diffstat (limited to 'gst/camerabin2/gstplugin.c')
-rw-r--r--gst/camerabin2/gstplugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/camerabin2/gstplugin.c b/gst/camerabin2/gstplugin.c
index c88ad8d03..872ad1e63 100644
--- a/gst/camerabin2/gstplugin.c
+++ b/gst/camerabin2/gstplugin.c
@@ -25,6 +25,7 @@
#include "gstviewfinderbin.h"
#include "gstimagecapturebin.h"
+#include "gstvideorecordingbin.h"
#include "gstv4l2camerasrc.h"
static gboolean
@@ -34,6 +35,8 @@ plugin_init (GstPlugin * plugin)
return FALSE;
if (!gst_image_capture_bin_plugin_init (plugin))
return FALSE;
+ if (!gst_video_recording_bin_plugin_init (plugin))
+ return FALSE;
if (!gst_v4l2_camera_src_plugin_init (plugin))
return FALSE;