mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
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:
parent
c22b71e181
commit
3b0437e58d
4 changed files with 18 additions and 2 deletions
|
@ -2,6 +2,11 @@ subdir('audiofx')
|
||||||
subdir('cairo')
|
subdir('cairo')
|
||||||
subdir('level')
|
subdir('level')
|
||||||
subdir('qt')
|
subdir('qt')
|
||||||
|
|
||||||
|
if is_variable('gstrpicamsrc')
|
||||||
|
subdir('rpicamsrc')
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('rtp')
|
subdir('rtp')
|
||||||
subdir('rtsp')
|
subdir('rtsp')
|
||||||
subdir('shapewipe')
|
subdir('shapewipe')
|
||||||
|
|
11
tests/examples/rpicamsrc/meson.build
Normal file
11
tests/examples/rpicamsrc/meson.build
Normal 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)
|
|
@ -39,7 +39,7 @@ declare_value (CONTRAST, 0);
|
||||||
return current_##name; \
|
return current_##name; \
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
static gint
|
||||||
compute_value (GstColorBalanceChannel * channel, gint current_value)
|
compute_value (GstColorBalanceChannel * channel, gint current_value)
|
||||||
{
|
{
|
||||||
#if CONTROL_SATURATION
|
#if CONTROL_SATURATION
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#define PIPELINE "rpicamsrc name=src preview=0 fullscreen=0 ! h264parse ! omxh264dec ! glimagesink sync=0"
|
#define PIPELINE "rpicamsrc name=src preview=0 fullscreen=0 ! h264parse ! omxh264dec ! glimagesink sync=0"
|
||||||
|
|
||||||
void
|
static void
|
||||||
configure_orientation (GstVideoOrientation * orientation)
|
configure_orientation (GstVideoOrientation * orientation)
|
||||||
{
|
{
|
||||||
gboolean flip;
|
gboolean flip;
|
||||||
|
|
Loading…
Reference in a new issue