examples: hook up rpicamsrc examples

webrtc one should probably go into gst-examples.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
This commit is contained in:
Tim-Philipp Müller 2020-07-10 13:08:55 +00:00
parent c22b71e181
commit 3b0437e58d
4 changed files with 18 additions and 2 deletions

View file

@ -2,6 +2,11 @@ subdir('audiofx')
subdir('cairo')
subdir('level')
subdir('qt')
if is_variable('gstrpicamsrc')
subdir('rpicamsrc')
endif
subdir('rtp')
subdir('rtsp')
subdir('shapewipe')

View file

@ -0,0 +1,11 @@
executable('rpicamsrc-test-color-balance', 'test_color_balance.c',
dependencies: [gstvideo_dep, gst_dep],
c_args: gst_plugins_good_args,
include_directories : [configinc],
install: false)
executable('rpicamsrc-test-orientation', 'test_orientation.c',
dependencies: [gstvideo_dep, gst_dep],
c_args: gst_plugins_good_args,
include_directories: [configinc],
install: false)

View file

@ -39,7 +39,7 @@ declare_value (CONTRAST, 0);
return current_##name; \
}
gint
static gint
compute_value (GstColorBalanceChannel * channel, gint current_value)
{
#if CONTROL_SATURATION

View file

@ -10,7 +10,7 @@
#define PIPELINE "rpicamsrc name=src preview=0 fullscreen=0 ! h264parse ! omxh264dec ! glimagesink sync=0"
void
static void
configure_orientation (GstVideoOrientation * orientation)
{
gboolean flip;