Michael Olbrich
d11ba513bb
test: vaapicontext: fix draw callback with multiple videos
...
The callback is called for both windows. So make sure that
gst_video_overlay_set_render_rectangle() is called for the correct one.
Otherwise, the left video will be randomly moved behind the right video.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342 >
2020-07-31 14:02:33 +02:00
Michael Olbrich
24be7b8aae
test: vaapicontext: support wayland display
...
On Wayland, The whole gtk window is one Wayland surface. So
gtk_widget_get_window() must be called on the top-level widget.
For any other widget the following gdk_window_ensure_native() may create a
new top-level Wayland surface that is never visible.
As a result, the coordinates passed to
gst_video_overlay_set_render_rectangle() must be relativ to the top-level
window. Otherwise the video is placed incorrectly.
Original-Patch-By: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342 >
2020-07-31 14:02:33 +02:00
Víctor Manuel Jáquez Leal
283fceac0b
test: vaapicontext: use playbin to test files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342 >
2020-07-31 14:02:33 +02:00
Víctor Manuel Jáquez Leal
672b2dd991
test: vaapicontext: add PLAY and NULL buttons
...
They only appear when only one sink is instanciated and their purpose
is to test the NULL-PLAY use case in context sharing.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342 >
2020-07-31 14:02:33 +02:00
U. Artie Eoff
97aabe8784
tests: move examples and tests to subfolders
...
This makes way for adding unit (check) tests.
2019-10-16 12:48:24 -07:00
gb
148d104c1a
Move tests to top-level tests/ directory.
2010-03-16 08:49:16 +00:00
gb
09ab81d85e
Generate R/G/B rects.
2010-03-15 16:57:01 +00:00
gb
7fe02f31a5
Add VA/X11 window abstraction.
2010-03-15 15:12:27 +00:00
gb
95a7534e6c
Add surface tests.
2010-03-12 23:50:09 +00:00
gb
e4ae48029f
Add gst_vaapi_display_x11_new_with_display() API.
2010-03-11 15:21:43 +00:00
gb
a42754e31e
API change: gst_vaapi_display_x11_new() now takes an X11 display name.
2010-03-11 15:01:00 +00:00
gb
4f1725345f
Dump caps.
2010-03-10 12:25:38 +00:00
gb
693277e278
Add initial VA display abstraction.
2010-01-25 16:15:01 +00:00
gb
30a2776442
Add tests infrastructure.
2010-01-25 15:04:10 +00:00