summaryrefslogtreecommitdiff
path: root/tests/elements/test-vaapisink.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/elements/test-vaapisink.c')
-rw-r--r--tests/elements/test-vaapisink.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/elements/test-vaapisink.c b/tests/elements/test-vaapisink.c
index 441a991e..50057557 100644
--- a/tests/elements/test-vaapisink.c
+++ b/tests/elements/test-vaapisink.c
@@ -2,8 +2,6 @@
#include <string.h>
#include <gst/gst.h>
-#include <gst/vaapi/gstvaapitypes.h>
-
typedef struct _CustomData
{
GstElement *pipeline;
@@ -48,8 +46,7 @@ handle_keyboard (GIOChannel * source, GIOCondition cond, AppData * data)
send_rotate_event (data);
break;
case 's':{
- g_object_set (G_OBJECT (data->video_sink), "rotation",
- GST_VAAPI_ROTATION_AUTOMATIC, NULL);
+ g_object_set (G_OBJECT (data->video_sink), "rotation", 360, NULL);
break;
}
case 'q':