Commit af9eff27 authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

ges-video-source: Disable videoflip

That allows system memory only. Should be able to handle non-system memory
via other way
parent e7ef8fbe
Pipeline #309844 waiting for manual action with stages
in 58 seconds
......@@ -130,11 +130,13 @@ ges_video_source_create_filters (GESVideoSource * self, GPtrArray * elements,
if (needs_converters)
g_ptr_array_add (elements, gst_element_factory_make ("videoconvert", NULL));
#if 0
/* If there's image-orientation tag, make sure the image is correctly oriented
* before we scale it. */
videoflip = gst_element_factory_make ("videoflip", "track-element-videoflip");
g_object_set (videoflip, "video-direction", GST_VIDEO_ORIENTATION_AUTO, NULL);
g_ptr_array_add (elements, videoflip);
if (needs_converters) {
g_ptr_array_add (elements, gst_element_factory_make ("videoscale",
......@@ -154,8 +156,10 @@ ges_video_source_create_filters (GESVideoSource * self, GPtrArray * elements,
ges_track_element_add_children_props (trksrc, positioner, NULL, NULL,
#if 0
ges_track_element_add_children_props (trksrc, videoflip, NULL, NULL,
self->priv->positioner = GST_FRAME_POSITIONNER (positioner);
self->priv->positioner->scale_in_compositor =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment