summaryrefslogtreecommitdiff
path: root/gst-libs/gst/basecamerabinsrc
diff options
context:
space:
mode:
authorRaluca Elena Podiuc <ralucaelena1985@gmail.com>2011-07-26 03:04:47 +0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2011-08-02 13:39:17 -0300
commitc189ba34964218fa9475cd35c0166f6b0fe6b7d8 (patch)
tree9b1b3d9b2fd09df0d05102542316cbf8b8c62adf /gst-libs/gst/basecamerabinsrc
parent7e069060b3699429bac1134bf053e8b8dc462090 (diff)
basecamerabinsrc: preview: remove unused new_preroll callback
Diffstat (limited to 'gst-libs/gst/basecamerabinsrc')
-rw-r--r--gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c b/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c
index 2c3bee582..6b854197d 100644
--- a/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c
+++ b/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c
@@ -76,18 +76,6 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer user_data)
}
static GstFlowReturn
-gst_camerabin_preview_pipeline_new_preroll (GstAppSink * appsink,
- gpointer user_data)
-{
- GstBuffer *buffer;
-
- buffer = gst_app_sink_pull_preroll (appsink);
- gst_buffer_unref (buffer);
-
- return GST_FLOW_OK;
-}
-
-static GstFlowReturn
gst_camerabin_preview_pipeline_new_buffer (GstAppSink * appsink,
gpointer user_data)
{
@@ -175,7 +163,6 @@ gst_camerabin_create_preview_pipeline (GstElement * element,
goto error;
}
- callbacks.new_preroll = gst_camerabin_preview_pipeline_new_preroll;
callbacks.new_buffer = gst_camerabin_preview_pipeline_new_buffer;
gst_app_sink_set_callbacks ((GstAppSink *) data->appsink, &callbacks, data,
NULL);