gstreamer/tests/examples/camerabin2/gst-camera2.h
Thiago Santos 0ef2d627be examples: camerabin2: add format selection for camerabin2 example
Adds a combobox for selecting the video profile for recordings.
Useful for testing multiple formats a/v sync when recording.
2011-12-29 12:47:48 -03:00

51 lines
1.6 KiB
C

/*
* GStreamer
* Copyright (C) 2008 Nokia Corporation <multimedia@maemo.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/*
* This is a demo application to test the camerabin element.
* If you have question don't hesitate in contact me edgard.lima@indt.org.br
*/
#ifndef __GST_CAMERA_BIN_H__
#define __GST_CAMERA_BIN_H__
#include <gtk/gtk.h>
void
on_mainWindow_delete_event (GtkWidget * widget, GdkEvent * event, gpointer data);
void
on_captureButton_clicked (GtkButton * button, gpointer user_data);
void
on_stopCaptureButton_clicked (GtkButton * button, gpointer user_data);
void
on_imageRButton_toggled (GtkToggleButton * button, gpointer user_data);
void
on_videoRButton_toggled (GtkToggleButton * button, gpointer user_data);
void
on_viewfinderArea_realize (GtkWidget * widget, gpointer data);
void
on_formatComboBox_changed (GtkWidget * widget, gpointer data);
#endif /* __GST_CAMERA_BIN_H__ */