mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
videofilter: Add some more tests
These check different property combinations
This commit is contained in:
parent
c0e990b58f
commit
d214820001
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,7 @@ check_filter (const gchar * name, gint num_buffers, const gchar * prop, ...)
|
|||
GST_START_TEST (test_videobalance)
|
||||
{
|
||||
check_filter ("videobalance", 2, NULL);
|
||||
check_filter ("videobalance", 2, "saturation", 0.5, "hue", 0.8, NULL);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
@ -147,6 +148,7 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_videoflip)
|
||||
{
|
||||
/* these we can handle with the caps */
|
||||
check_filter ("videoflip", 2, "method", 0, NULL);
|
||||
check_filter ("videoflip", 2, "method", 2, NULL);
|
||||
check_filter ("videoflip", 2, "method", 4, NULL);
|
||||
check_filter ("videoflip", 2, "method", 5, NULL);
|
||||
|
@ -157,6 +159,7 @@ GST_END_TEST;
|
|||
GST_START_TEST (test_gamma)
|
||||
{
|
||||
check_filter ("gamma", 2, NULL);
|
||||
check_filter ("gamma", 2, "gamma", 2.0, NULL);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue