diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2011-12-30 11:41:17 +0100 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2011-12-30 11:41:17 +0100 |
commit | f70a623418a52eada0278002f8d266d49957b3d5 (patch) | |
tree | fc54fd9fab400e886b11a9a2b313478b66dd7969 /gst-libs/gst/basecamerabinsrc | |
parent | d5aaefa59f9ef4153644a2aa254c39a3a9d108e3 (diff) | |
parent | d465188879cd4dd0735e3fbcaeb83d98f217ed88 (diff) | |
download | gstreamer-plugins-bad-f70a623418a52eada0278002f8d266d49957b3d5.tar.gz |
Merge remote-tracking branch 'origin/master' into 0.11-premerge
Conflicts:
docs/libs/Makefile.am
ext/kate/gstkatetiger.c
ext/opus/gstopusdec.c
ext/xvid/gstxvidenc.c
gst-libs/gst/basecamerabinsrc/Makefile.am
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideoencoder.c
gst/asfmux/gstasfmux.c
gst/audiovisualizers/gstwavescope.c
gst/camerabin2/gstcamerabin2.c
gst/debugutils/gstcompare.c
gst/frei0r/gstfrei0rmixer.c
gst/mpegpsmux/mpegpsmux.c
gst/mpegtsmux/mpegtsmux.c
gst/mxf/mxfmux.c
gst/videomeasure/gstvideomeasure_ssim.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpeg4videoparse.c
Diffstat (limited to 'gst-libs/gst/basecamerabinsrc')
-rw-r--r-- | gst-libs/gst/basecamerabinsrc/Makefile.am | 3 | ||||
-rw-r--r-- | gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c | 51 | ||||
-rw-r--r-- | gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h | 6 |
3 files changed, 1 insertions, 59 deletions
diff --git a/gst-libs/gst/basecamerabinsrc/Makefile.am b/gst-libs/gst/basecamerabinsrc/Makefile.am index 733e130dd..ff8c78264 100644 --- a/gst-libs/gst/basecamerabinsrc/Makefile.am +++ b/gst-libs/gst/basecamerabinsrc/Makefile.am @@ -20,8 +20,6 @@ libgstbasecamerabinsrc_@GST_MAJORMINOR@_la_CFLAGS = \ -DGST_USE_UNSTABLE_API \ $(GST_CFLAGS) libgstbasecamerabinsrc_@GST_MAJORMINOR@_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) \ -lgstapp-$(GST_MAJORMINOR) $(GST_BASE_LIBS) $(GST_LIBS) libgstbasecamerabinsrc_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) @@ -35,7 +33,6 @@ Android.mk: Makefile.am -:LDFLAGS $(libgstbasecamerabinsrc_@GST_MAJORMINOR@_la_LDFLAGS) \ $(libgstbasecamerabinsrc_@GST_MAJORMINOR@_la_LIBADD) \ -ldl \ - -:LIBFILTER_STATIC gstphotography-@GST_MAJORMINOR@ \ -:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/basecamerabinsrc \ -:HEADERS $(libgstbasecamerabinsrcinclude_HEADERS) \ -:PASSTHROUGH LOCAL_ARM_MODE:=arm \ diff --git a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c index 9e26d5414..98213c9ba 100644 --- a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c +++ b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c @@ -112,57 +112,6 @@ GST_STATIC_PAD_TEMPLATE (GST_BASE_CAMERA_SRC_VIDEO_PAD_NAME, */ /** - * gst_base_camera_src_get_photography: - * @self: the camerasrc bin - * - * Get object implementing photography interface, if there is one. Otherwise - * returns NULL. - */ -GstPhotography * -gst_base_camera_src_get_photography (GstBaseCameraSrc * self) -{ - GstElement *elem; - - if (GST_IS_PHOTOGRAPHY (self)) { - elem = GST_ELEMENT (self); - } else { - elem = gst_bin_get_by_interface (GST_BIN (self), GST_TYPE_PHOTOGRAPHY); - } - - if (elem) { - return GST_PHOTOGRAPHY (elem); - } - - return NULL; -} - - -/** - * gst_base_camera_src_get_colorbalance: - * @self: the camerasrc bin - * - * Get object implementing colorbalance interface, if there is one. Otherwise - * returns NULL. - */ -GstColorBalance * -gst_base_camera_src_get_color_balance (GstBaseCameraSrc * self) -{ - GstElement *elem; - - if (GST_IS_COLOR_BALANCE (self)) { - elem = GST_ELEMENT (self); - } else { - elem = gst_bin_get_by_interface (GST_BIN (self), GST_TYPE_COLOR_BALANCE); - } - - if (elem) { - return GST_COLOR_BALANCE (self); - } - - return NULL; -} - -/** * gst_base_camera_src_set_mode: * @self: the camerasrc bin * @mode: the mode diff --git a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h index ab9b47773..9d63e2d3c 100644 --- a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h +++ b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h @@ -1,6 +1,7 @@ /* * GStreamer * Copyright (C) 2010 Texas Instruments, Inc + * Copyright (C) 2011 Thiago Santos <thiago.sousa.santos@collabora.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -29,8 +30,6 @@ #include <gst/gst.h> #include <gst/gstbin.h> -#include <gst/interfaces/photography.h> -#include <gst/video/colorbalance.h> #include "gstcamerabin-enum.h" #include "gstcamerabinpreview.h" @@ -131,9 +130,6 @@ struct _GstBaseCameraSrcClass #define MAX_ZOOM 10.0f #define ZOOM_1X MIN_ZOOM -GstPhotography * gst_base_camera_src_get_photography (GstBaseCameraSrc *self); -GstColorBalance * gst_base_camera_src_get_color_balance (GstBaseCameraSrc *self); - gboolean gst_base_camera_src_set_mode (GstBaseCameraSrc *self, GstCameraBinMode mode); void gst_base_camera_src_setup_zoom (GstBaseCameraSrc * self); void gst_base_camera_src_setup_preview (GstBaseCameraSrc * self, GstCaps * preview_caps); |