<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      this look like very similar to this already submitted bug<br>
      <br>
      <a
href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/372">https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/372</a><br>
      <br>
      maybe you can add the info there<br>
      <br>
      Nicola<br>
      <br>
      Il 14/03/19 17:06, Roman ha scritto:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN53N8SywZnqpBzyZadu+vD=mQ=bzfhAfwvDW0Wk9RyLcHgbog@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div>Hi all. I faced with the strange problem on my macbook
              pro 2018 with macOS 10.14.3 (Mojave), xcode 10.1. I use
              gstreamer 1.15.2 package downloaded from <a
                href="https://gstreamer.freedesktop.org"
                moz-do-not-send="true">https://gstreamer.freedesktop.org</a>.
              I tried to use my self app and test app from gl examples
              (gst-plugins-bad/tests/examples/gl/cocoa/cocoa-videooverlay.m
              master branch) and I have the same results. When I run app
              all fine, but after on close window or end playback by EOS
              event (please see source code of the test example) I have
              the next output inside xcode console:</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>2019-03-14 22:36:16.344887+0000 test123[88544:4060512]
              [default] Unable to load Info.plist exceptions
              (eGPUOverrides)</div>
            <div>app created</div>
            <div>2019-03-14 22:36:16.487001+0000 test123[88544:4060510]
              MessageTracer: Falling back to default whitelist</div>
            <div>setting window handle 4311748848d</div>
            <div>end of stream</div>
            <div>=================================================================</div>
            <div>Main Thread Checker: UI API called on a background
              thread: -[NSView removeFromSuperview]</div>
            <div>PID: 88544, TID: 4060531, Thread name: gstglcontext,
              Queue name: com.apple.root.default-qos.overcommit, QoS: 0</div>
            <div>Backtrace:</div>
            <div>4   libgstgl-1.0.0.dylib               
              0x00000001007b7727 gst_gl_window_cocoa_close + 103</div>
            <div>5   libgstgl-1.0.0.dylib               
              0x000000010079486a gst_gl_context_create_thread + 714</div>
            <div>6   libglib-2.0.0.dylib               
               0x0000000100c5259a g_thread_proxy + 90</div>
            <div>7   libsystem_pthread.dylib           
               0x0000000100df4e35 _pthread_body + 126</div>
            <div>8   libsystem_pthread.dylib           
               0x0000000100df7ec7 _pthread_start + 70</div>
            <div>9   libsystem_pthread.dylib           
               0x0000000100df3e51 thread_start + 13</div>
            <div>2019-03-14 22:36:36.524495+0000 test123[88544:4060531]
              [reports] Main Thread Checker: UI API called on a
              background thread: -[NSView removeFromSuperview]</div>
            <div>PID: 88544, TID: 4060531, Thread name: gstglcontext,
              Queue name: com.apple.root.default-qos.overcommit, QoS: 0</div>
            <div>Backtrace:</div>
            <div>4   libgstgl-1.0.0.dylib               
              0x00000001007b7727 gst_gl_window_cocoa_close + 103</div>
            <div>5   libgstgl-1.0.0.dylib               
              0x000000010079486a gst_gl_context_create_thread + 714</div>
            <div>6   libglib-2.0.0.dylib               
               0x0000000100c5259a g_thread_proxy + 90</div>
            <div>7   libsystem_pthread.dylib           
               0x0000000100df4e35 _pthread_body + 126</div>
            <div>8   libsystem_pthread.dylib           
               0x0000000100df7ec7 _pthread_start + 70</div>
            <div>9   libsystem_pthread.dylib           
               0x0000000100df3e51 thread_start + 13</div>
            <div><br>
            </div>
            <div>I copied the source code of cocoa-videooverlay.m to
              simple new test project. If I run this test app from
              console everything is fine: I have not this error on
              output. Log:</div>
            <div><br>
            </div>
            <div>
              <div>app created</div>
              <div>setting window handle 140348288476096d</div>
              <div>end of stream</div>
            </div>
            <div><br>
            </div>
            <div> As far as I understand this not good to finalize
              nsview operation inside separate thread. Is it gstreamer
              bug? Can anybody to help me of solve this problem?</div>
            <div><br>
            </div>
            <div>Thanks!</div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>