<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[199649] trunk/Tools</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/199649">199649</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2016-04-17 22:36:31 -0700 (Sun, 17 Apr 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>[EFL] Bump gstreamer from 1.4.4 to 1.6.3
https://bugs.webkit.org/show_bug.cgi?id=156655

Reviewed by Antonio Gomes.

To support html5 video feature, we should bump gstreamer version.

* efl/jhbuild.modules:
* efl/patches/gst-libav.patch: Update against newer version.
* efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed because this patch was merged.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsefljhbuildmodules">trunk/Tools/efl/jhbuild.modules</a></li>
<li><a href="#trunkToolseflpatchesgstlibavpatch">trunk/Tools/efl/patches/gst-libav.patch</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkToolseflpatchesgstpluginsbadremovegnustepsupportpatch">trunk/Tools/efl/patches/gst-plugins-bad-remove-gnustep-support.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (199648 => 199649)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-04-18 05:13:13 UTC (rev 199648)
+++ trunk/Tools/ChangeLog        2016-04-18 05:36:31 UTC (rev 199649)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-04-17  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        [EFL] Bump gstreamer from 1.4.4 to 1.6.3
+        https://bugs.webkit.org/show_bug.cgi?id=156655
+
+        Reviewed by Antonio Gomes.
+
+        To support html5 video feature, we should bump gstreamer version.
+
+        * efl/jhbuild.modules:
+        * efl/patches/gst-libav.patch: Update against newer version.
+        * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed because this patch was merged.
+
</ins><span class="cx"> 2016-04-16  Sam Weinig  &lt;sam@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         More build fixing.
</span></span></pre></div>
<a id="trunkToolsefljhbuildmodules"></a>
<div class="modfile"><h4>Modified: trunk/Tools/efl/jhbuild.modules (199648 => 199649)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/efl/jhbuild.modules        2016-04-18 05:13:13 UTC (rev 199648)
+++ trunk/Tools/efl/jhbuild.modules        2016-04-18 05:36:31 UTC (rev 199649)
</span><span class="lines">@@ -213,10 +213,10 @@
</span><span class="cx">     &lt;dependencies&gt;
</span><span class="cx">       &lt;dep package=&quot;orc&quot;/&gt;
</span><span class="cx">     &lt;/dependencies&gt;
</span><del>-    &lt;branch module=&quot;gstreamer/gstreamer-1.4.4.tar.xz&quot; version=&quot;1.4.4&quot;
</del><ins>+    &lt;branch module=&quot;gstreamer/gstreamer-1.6.3.tar.xz&quot; version=&quot;1.6.3&quot;
</ins><span class="cx">             repo=&quot;gstreamer&quot;
</span><del>-            hash=&quot;sha256:f0e305d91a93d05bf9e332cd4256ca07d77f5186a4d73847b7ae6db218f2c237&quot;
-            md5sum=&quot;98f4a6d45a28dd195144baef0244ba38&quot;/&gt;
</del><ins>+            hash=&quot;sha256:22f9568d67b87cf700a111f381144bd37cb93790a77e4e331db01fe854a37f24&quot;
+            md5sum=&quot;b4cdeb2b9cb20dd6ac022a4f417eae0d&quot;/&gt;
</ins><span class="cx">   &lt;/autotools&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;autotools id=&quot;gst-plugins-base&quot;
</span><span class="lines">@@ -225,11 +225,10 @@
</span><span class="cx">     &lt;dependencies&gt;
</span><span class="cx">       &lt;dep package=&quot;gstreamer&quot;/&gt;
</span><span class="cx">     &lt;/dependencies&gt;
</span><del>-    &lt;branch module=&quot;gst-plugins-base/gst-plugins-base-1.4.4.tar.xz&quot; version=&quot;1.4.4&quot;
</del><ins>+    &lt;branch module=&quot;gst-plugins-base/gst-plugins-base-1.6.3.tar.xz&quot; version=&quot;1.6.3&quot;
</ins><span class="cx">             repo=&quot;gstreamer&quot;
</span><del>-            hash=&quot;sha256:49cd9e8f23c416b1607b43837a09833fa03e0106929d81ead2ddfde6c0ade44b&quot;
-            md5sum=&quot;0c42eca8f9e4efd56d2ce8e9249ce4a1&quot;&gt;
-      &lt;patch file=&quot;gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch&quot; strip=&quot;1&quot;/&gt;
</del><ins>+            hash=&quot;sha256:b6154f8fdba4877e95efd94610ef0ada4f0171cd12eb829a3c3c97345d9c7a75&quot;
+            md5sum=&quot;3ddde0ad598ef69f58d6a2e87f8b460f&quot;&gt;
</ins><span class="cx">     &lt;/branch&gt;
</span><span class="cx">   &lt;/autotools&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -238,10 +237,10 @@
</span><span class="cx">       &lt;dep package=&quot;gst-plugins-base&quot;/&gt;
</span><span class="cx">     &lt;/dependencies&gt;
</span><span class="cx"> 
</span><del>-    &lt;branch module=&quot;gst-plugins-good/gst-plugins-good-1.4.4.tar.xz&quot; version=&quot;1.4.4&quot;
</del><ins>+    &lt;branch module=&quot;gst-plugins-good/gst-plugins-good-1.6.3.tar.xz&quot; version=&quot;1.6.3&quot;
</ins><span class="cx">             repo=&quot;gstreamer&quot;
</span><del>-            hash=&quot;sha256:2df90e99da45211c7b2525ae4ac34830a9e7784bd48c072c406c0cf014bdb277&quot;
-            md5sum=&quot;673cf9276952bd3937dafd817c9ead2b&quot;&gt;
</del><ins>+            hash=&quot;sha256:24b19db70b2a83461ebddfe20033db432dadfdb5d4b54ffb1dfa0d830134a177&quot;
+            md5sum=&quot;a1958df7aa498b42793e2f2048673815&quot;&gt;
</ins><span class="cx">     &lt;/branch&gt;
</span><span class="cx">   &lt;/autotools&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -249,11 +248,10 @@
</span><span class="cx">     &lt;dependencies&gt;
</span><span class="cx">       &lt;dep package=&quot;gst-plugins-base&quot;/&gt;
</span><span class="cx">     &lt;/dependencies&gt;
</span><del>-    &lt;branch module=&quot;gst-plugins-bad/gst-plugins-bad-1.4.4.tar.xz&quot; version=&quot;1.4.4&quot;
</del><ins>+    &lt;branch module=&quot;gst-plugins-bad/gst-plugins-bad-1.6.3.tar.xz&quot; version=&quot;1.6.3&quot;
</ins><span class="cx">             repo=&quot;gstreamer&quot;
</span><del>-            hash=&quot;sha256:e41b36105c0a13a2cb1ff9f559714e839b82dc3841484cd664790fb7947e55c7&quot;
-            md5sum=&quot;972c6e22dd2e44fcf0b04b9d810a56be&quot;&gt;
-      &lt;patch file=&quot;gst-plugins-bad-remove-gnustep-support.patch&quot; strip=&quot;1&quot;/&gt;
</del><ins>+            hash=&quot;sha256:971b29101d6a9c5e3fe94d99d977a227f58f0b2d29b6ca2c7f292052542b3a61&quot;
+            md5sum=&quot;4857adcafe41e4b9b8805cf88303bd55&quot;&gt;
</ins><span class="cx">     &lt;/branch&gt;
</span><span class="cx">   &lt;/autotools&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -261,10 +259,10 @@
</span><span class="cx">     &lt;dependencies&gt;
</span><span class="cx">       &lt;dep package=&quot;gst-plugins-base&quot;/&gt;
</span><span class="cx">     &lt;/dependencies&gt;
</span><del>-    &lt;branch module=&quot;gst-libav/gst-libav-1.4.4.tar.xz&quot; version=&quot;1.4.4&quot;
</del><ins>+    &lt;branch module=&quot;gst-libav/gst-libav-1.6.3.tar.xz&quot; version=&quot;1.6.3&quot;
</ins><span class="cx">             repo=&quot;gstreamer&quot;
</span><del>-            hash=&quot;sha256:2ec7285e5ec6731963b0955487cceb9eb04e285ca682f3ef575996c068cde8aa&quot;
-            md5sum=&quot;64a3e2cda2687132cadca4efdc63f3b4&quot;&gt;
</del><ins>+            hash=&quot;sha256:857b9c060a0337de38c6d26238c47352433c02eabf26c2f860c854dbc35bd4ab&quot;
+            md5sum=&quot;cfe9a06913d4fd4067e9e47f6e05fac2&quot;&gt;
</ins><span class="cx">       &lt;patch file=&quot;gst-libav.patch&quot; strip=&quot;1&quot;/&gt;
</span><span class="cx">     &lt;/branch&gt;
</span><span class="cx">   &lt;/autotools&gt;
</span></span></pre></div>
<a id="trunkToolseflpatchesgstlibavpatch"></a>
<div class="modfile"><h4>Modified: trunk/Tools/efl/patches/gst-libav.patch (199648 => 199649)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/efl/patches/gst-libav.patch        2016-04-18 05:13:13 UTC (rev 199648)
+++ trunk/Tools/efl/patches/gst-libav.patch        2016-04-18 05:36:31 UTC (rev 199649)
</span><span class="lines">@@ -1,10 +1,9 @@
</span><span class="cx"> --- a/gst-libs/ext/libav/libavcodec/arm/videodsp_armv5te.S
</span><span class="cx"> +++ b/gst-libs/ext/libav/libavcodec/arm/videodsp_armv5te.S
</span><del>-@@ -26,6 +26,7 @@ function ff_prefetch_arm, export=1
</del><ins>+@@ -27,6 +27,7 @@
</ins><span class="cx">          subs            r2,  r2,  #1
</span><span class="cx">          pld             [r0]
</span><span class="cx">          add             r0,  r0,  r1
</span><span class="cx"> +        it              ne
</span><del>-         bne             X(ff_prefetch_arm)
</del><ins>+         bne             1b
</ins><span class="cx">          bx              lr
</span><del>- endfunc
</del></span></pre></div>
<a id="trunkToolseflpatchesgstpluginsbadremovegnustepsupportpatch"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/efl/patches/gst-plugins-bad-remove-gnustep-support.patch (199648 => 199649)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/efl/patches/gst-plugins-bad-remove-gnustep-support.patch        2016-04-18 05:13:13 UTC (rev 199648)
+++ trunk/Tools/efl/patches/gst-plugins-bad-remove-gnustep-support.patch        2016-04-18 05:36:31 UTC (rev 199649)
</span><span class="lines">@@ -1,325 +0,0 @@
</span><del>-From 13c8517570c3550b5c46a3cb0ff7f8b7888a4ddf Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= &lt;sebastian@centricular.com&gt;
-Date: Thu, 13 Nov 2014 11:58:07 +0100
-Subject: gl/cocoa: Remove GNUStep support
-
-Until gcc and GNUStep properly support Objective-C blocks and other
-&quot;new&quot; features of Objective-C we can't properly support them without
-making the code much more ugly.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=739152
-
-diff --git a/configure.ac b/configure.ac
-index fdb6c88..120cd44 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -611,7 +611,7 @@ AC_ARG_ENABLE([glx],
-      esac],[NEED_GLX=auto])

- AC_ARG_ENABLE([cocoa],
--     [  --enable-cocoa          Enable Cocoa support (using GNUstep on non OS X platforms) @&lt;:@default=auto@:&gt;@],
-+     [  --enable-cocoa          Enable Cocoa support @&lt;:@default=auto@:&gt;@],
-      [case &quot;${enableval}&quot; in
-        yes)  NEED_COCOA=yes ;;
-        no)   NEED_COCOA=no ;;
-@@ -653,7 +653,6 @@ save_LIBS=&quot;$LIBS&quot;
- HAVE_GL=no
- HAVE_GLES2=no
- HAVE_GLU=no
--HAVE_GNUSTEP_COCOA=no
- HAVE_WAYLAND_EGL=no

- HAVE_EGL_RPI=no
-@@ -744,35 +743,6 @@ case $host in
-   ;;
- esac

--case $host in
--  *-darwin* ) ;;
--  *)
--    AC_PATH_PROG([GNUSTEP_CONFIG],[gnustep-config])
--    if test &quot;x$GNUSTEP_CONFIG&quot; != &quot;x&quot;; then
--      GNUSTEP_HOST=&quot;`$GNUSTEP_CONFIG --variable=GNUSTEP_HOST`&quot;
--      case $host in
--        *-mingw* )
--          case $GNUSTEP_HOST in
--            *-mingw* )
--              HAVE_GNUSTEP_COCOA=yes
--            ;;
--          esac
--          ;;
--        * )
--          HAVE_GNUSTEP_COCOA=yes
--        ;;
--      esac
--    fi
--  ;;
--esac
--
--AC_MSG_CHECKING([for GNUstep])
--if test &quot;x$HAVE_GNUSTEP_COCOA&quot; = &quot;xyes&quot; ; then
--  AC_MSG_RESULT([yes])
--else
--  AC_MSG_RESULT([no])
--fi
--
- CPPFLAGS=&quot;$save_CPPFLAGS&quot;
- LIBS=&quot;$save_LIBS&quot;

-@@ -1009,19 +979,6 @@ case $host in
-         fi
-       fi
-     fi
--
--    dnl GNUstep provides the Cocoa API on unix
--    if test &quot;x$NEED_COCOA&quot; != &quot;xno&quot;; then
--      if test &quot;x$HAVE_GNUSTEP_COCOA&quot; = &quot;xyes&quot; ; then
--        GNUSTEP_OBJCFLAGS=&quot;`$GNUSTEP_CONFIG --objc-flags`&quot;
--        GNUSTEP_LIBS=&quot;`$GNUSTEP_CONFIG --gui-libs`&quot;
--        GL_LIBS=&quot;$GL_LIBS $GNUSTEP_LIBS -lgnustep-gui -lgnustep-base&quot;
--        GL_OBJCFLAGS=&quot;$GL_OBJCFLAGS $GNUSTEP_OBJCFLAGS&quot;
--
--        USE_COCOA=yes
--        HAVE_WINDOW_COCOA=yes
--      fi
--    fi
-     ;;
-   *-darwin*)
-     if test &quot;x$HAVE_IOS&quot; = &quot;xyes&quot;; then
-@@ -1114,17 +1071,6 @@ case $host in
-         fi
-       fi
-     fi
--
--    dnl GNUstep provides the Cocoa API on win32
--    if test &quot;x$HAVE_GNUSTEP_COCOA&quot; = &quot;xyes&quot; ; then
--      GNUSTEP_CFLAGS=&quot;`$GNUSTEP_CONFIG --objc-flags`&quot;
--      GNUSTEP_LIBS=&quot;`$GNUSTEP_CONFIG --gui-libs`&quot;
--      GL_LIBS=&quot;$GL_LIBS $GNUSTEP_LIBS -lgnustep-gui -lgnustep-base&quot;
--      GL_OBJCFLAGS=&quot;$OBJCFLAGS $GNUSTEP_CFLAGS&quot;
--
--      USE_COCOA=yes
--      HAVE_WINDOW_COCOA=yes
--    fi
-     ;;
-   *)
-     AC_MSG_WARN([Don't know how to check for OpenGL on your platform.])
-diff --git a/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m b/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
-index 94da0bc..84e3a99 100644
---- a/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
-+++ b/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
-@@ -40,7 +40,6 @@ static GstGLPlatform gst_gl_context_cocoa_get_gl_platform (GstGLContext * contex

- G_DEFINE_TYPE (GstGLContextCocoa, gst_gl_context_cocoa, GST_GL_TYPE_CONTEXT);

--#ifndef GNUSTEP
- static GMutex nsapp_lock;
- static GCond nsapp_cond;

-@@ -96,16 +95,12 @@ gst_gl_window_cocoa_nsapp_iteration (gpointer data)

-   return TRUE;
- }
--#endif

- static void
- gst_gl_context_cocoa_class_init (GstGLContextCocoaClass * klass)
- {
-   GstGLContextClass *context_class = (GstGLContextClass *) klass;
--
--#ifndef GNUSTEP
-   NSAutoreleasePool* pool = nil;
--#endif

-   g_type_class_add_private (klass, sizeof (GstGLContextCocoaPrivate));

-@@ -121,7 +116,6 @@ gst_gl_context_cocoa_class_init (GstGLContextCocoaClass * klass)
-   context_class-&gt;get_gl_platform =
-       GST_DEBUG_FUNCPTR (gst_gl_context_cocoa_get_gl_platform);

--#ifndef GNUSTEP
-   pool = [[NSAutoreleasePool alloc] init];

-   /* [NSApplication sharedApplication] will usually be
-@@ -191,7 +185,6 @@ gst_gl_context_cocoa_class_init (GstGLContextCocoaClass * klass)
-   }

-   [pool release];
--#endif
- }

- static void
-@@ -219,9 +212,7 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
-   GstGLWindowCocoa *window_cocoa = GST_GL_WINDOW_COCOA (window);
-   __block NSOpenGLContext *glContext = nil;

--#ifndef GNUSTEP
-   priv-&gt;source_id = g_timeout_add (200, gst_gl_window_cocoa_nsapp_iteration, NULL);
--#endif

-   priv-&gt;gl_context = nil;
-   if (other_context)
-@@ -243,9 +234,6 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,

-     pool = [[NSAutoreleasePool alloc] init];

--#ifdef GNUSTEP
--    [NSApplication sharedApplication];
--#endif
-     rect.origin.x = 0;
-     rect.origin.y = 0;
-     rect.size.width = 320;
-@@ -265,7 +253,6 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,

-     [window_handle setContentView:glView];

--#ifndef GNUSTEP
-     glContext = [[NSOpenGLContext alloc] initWithFormat:fmt
-       shareContext:context_cocoa-&gt;priv-&gt;external_gl_context];

-@@ -275,10 +262,6 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,

-     [glContext setView:glView];

--#else
--    /* FIXME try to make context sharing work in GNUstep */
--    context_cocoa-&gt;priv-&gt;gl_context = glContext;
--#endif
-     [pool release];
-   });

-@@ -300,11 +283,7 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
-    */
-   NS_DURING {
-     if (glContext) {
--#ifdef GNUSTEP
--      const long swapInterval = 1;
--#else
-       const GLint swapInterval = 1;
--#endif
-       [glContext setValues:&amp;swapInterval forParameter:NSOpenGLCPSwapInterval];
-     }
-   } NS_HANDLER {
-diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
-index 0771662..d776477 100644
---- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
-+++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
-@@ -257,11 +257,9 @@ draw_cb (gpointer data)
-       x += 20;
-       y += 20;

--#ifndef GNUSTEP
-       [priv-&gt;internal_win_id setFrame:windowRect display:NO];
-       GST_DEBUG (&quot;make the window available\n&quot;);
-       [priv-&gt;internal_win_id makeMainWindow];
--#endif

-       [priv-&gt;internal_win_id orderFrontRegardless];

-@@ -457,17 +455,6 @@ close_window_cb (gpointer data)
- }

- - (void) applicationWillTerminate:(NSNotification *)aNotification {
--#ifdef GNUSTEP
--  /* fixes segfault with gst-launch-1.0 -e ... and sending SIGINT (Ctrl-C)
--   * which causes GNUstep to run a signal handler in the main thread.
--   * However that thread has never been 'registered' with GNUstep so
--   * the autorelease magic of objective-c causes a segfault from accessing
--   * a null NSThread object somewhere deep in GNUstep.
--   *
--   * I put it here because this is the first time we can register the thread.
--   */
--  GSRegisterCurrentThread();
--#endif
- }

- @end
-@@ -488,9 +475,7 @@ close_window_cb (gpointer data)

-   window_cocoa = window;

--#ifndef GNUSTEP
-   [self setWantsLayer:NO];
--#endif

-   /* Get notified about changes */
-   [self setPostsFrameChangedNotifications:YES];
-diff --git a/tests/examples/gl/cocoa/cocoa-videooverlay.m b/tests/examples/gl/cocoa/cocoa-videooverlay.m
-index 683abe1..9c5fc9a 100755
---- a/tests/examples/gl/cocoa/cocoa-videooverlay.m
-+++ b/tests/examples/gl/cocoa/cocoa-videooverlay.m
-@@ -136,15 +136,8 @@ static void end_stream_cb(GstBus* bus, GstMessage* message, MainWindow* window)

- static gpointer thread_func (MainWindow* window)
- {
--#ifdef GNUSTEP
--  GSRegisterCurrentThread();
--#endif
--
-   g_main_loop_run ([window loop]);

--#ifdef GNUSTEP
--  GSUnregisterCurrentThread();
--#endif
-   return NULL;
- }

-@@ -172,10 +165,6 @@ int main(int argc, char **argv)
-   NSAutoreleasePool *pool=nil;
-   NSRect rect;
-   MainWindow *window=nil;
--  
--#ifdef GNUSTEP
--  GstState state;
--#endif

-   g_print(&quot;app created\n&quot;);

-@@ -203,18 +192,8 @@ int main(int argc, char **argv)
-   if (!ok)
-     g_warning(&quot;could not link videosrc to videosink\n&quot;);

--#ifdef GNUSTEP
--  gst_element_set_state (pipeline, GST_STATE_PAUSED);
--  state = GST_STATE_PAUSED;
--  gst_element_get_state (pipeline, &amp;state, &amp;state, GST_CLOCK_TIME_NONE);
--  g_print(&quot;pipeline paused\n&quot;);
--  GSRegisterCurrentThread();
--#endif
--
-   pool = [[NSAutoreleasePool alloc] init];
--#ifndef GNUSTEP
-   [NSApplication sharedApplication];
--#endif

-   rect.origin.x = 0; rect.origin.y = 0;
-   rect.size.width = width; rect.size.height = height;
-@@ -236,7 +215,6 @@ int main(int argc, char **argv)

-   [window orderFront:window];

--#ifndef GNUSTEP
-   while (![window isClosed]) {
-     NSEvent *event = [NSApp nextEventMatchingMask:NSAnyEventMask
-       untilDate:[NSDate dateWithTimeIntervalSinceNow:1]
-@@ -244,7 +222,6 @@ int main(int argc, char **argv)
-     if (event)
-       [NSApp sendEvent:event];
-   }
--#endif

-   g_thread_join (loop_thread);

-@@ -252,9 +229,5 @@ int main(int argc, char **argv)

-   [pool release];

--#ifdef GNUSTEP
--  GSUnregisterCurrentThread();
--#endif
--
-   return 0;
- }
--- 
-2.0.0.rc2
-
</del></span></pre>
</div>
</div>

</body>
</html>