[Bug 765795] glimagesink: support video frame rotation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 17 19:28:32 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765795

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #327972|none                        |needs-work
             status|                            |

--- Comment #22 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
Review of attachment 327972:
 --> (https://bugzilla.gnome.org/review?bug=765795&attachment=327972)

.

::: ext/gl/gstglimagesink.c
@@ +191,3 @@
+  {GST_GL_ROTATE_METHOD_AUTO,
+      "Select rotate method based on image-orientation tag", "automatic"},
+  {0, NULL, NULL},

This is missing the flipped methods that are available in videoflip and
glvideoflip, i.e. horizontal-flip, vertical-flip, upper-left-diagonal,
upper-right-diagonal.

::: gst-libs/gst/gl/gstglutils.h
@@ +119,3 @@

+void gst_gl_get_affine_transformation_meta_as_ndc
(GstVideoAffineTransformationMeta * meta, 
+    const gfloat * rotate_matrix, gfloat * matrix);

I don't like the changing of this function.

You should separate out the retrieval and the matrix multiply into another
function like gst_gl_matrix_multiply()

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list