[Bug 767072] New: iOS screen bug

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 31 14:35:12 UTC 2016


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

            Bug ID: 767072
           Summary: iOS screen bug
    Classification: Platform
           Product: GStreamer
           Version: 1.8.1
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: 3580784 at qq.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

in iPhone 6 

gstglwindow_eagl.m

eagl_layer = (CAEAGLLayer *)[window_eagl->priv->view layer];
    size = eagl_layer.frame.size;


There is a mistake, did not consider screen scaling problems.

i modify like this

size.width=size.width*[[UIScreen mainScreen] scale];
size.height=size.height*[[UIScreen mainScreen] scale];


This video render is very clear, but often produce memory error

-- 
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