<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 02.09.2014 16:30, Sebastian Dröge
wrote:<br>
</div>
<blockquote cite="mid:1409661039.2079.22.camel@centricular.com"
type="cite">
<pre wrap="">On Di, 2014-09-02 at 15:52 +0400, Anton Olegovich wrote:
</pre>
<blockquote type="cite">
<pre wrap="">If autovideosink in Android findes out glimagesink is there a need to
change GStreamerSurfaceView?
</pre>
</blockquote>
<pre wrap="">
No, glimagesink and previously eglglessink only need something that
provides an android.view.Surface. And in native code you need to call
ANativeWindow_fromSurface() on that to get a ANativeWindow, and then
pass this to the sink.
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
Does it mean that the Surface stays the same as in android
tutorial_3?<br>
<br>
You know, at one device some times i've got this messages of Logcat:<br>
<br>
I/SurfaceFlinger(100): [virtual void android::Layer::onDraw(const
android::Region&) const] SurfaceView(i:145): clear screen hole
(l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.882: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.883: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.883: E/IMGSRV(2213): :0:
SetupTextureRenderTargetControlWords: Can't make texture resident<br>
01-01 04:41:05.883: E/GStreamer+default(2213): 0:00:34.959508156
0x5573b660 gstglutils.c:76:gst_gl_context_check_framebuffer_status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT<br>
01-01 04:41:05.884: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.885: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.889: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.906: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.922: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.939: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.956: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.970: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.970: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.971: E/IMGSRV(2213): :0:
SetupTextureRenderTargetControlWords: Can't make texture resident<br>
01-01 04:41:05.971: E/GStreamer+default(2213): 0:00:35.047410002
0x5573b660 gstglutils.c:76:gst_gl_context_check_framebuffer_status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT<br>
01-01 04:41:05.972: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:05.976: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.977: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:05.988: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.005: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.021: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.036: D/PowerManagerService(359): user activity
timeout timed out nextState=3<br>
01-01 04:41:06.036: D/PowerManagerService(359): setPowerState:
mPowerState=0x7 newState=0x3 noChangeLights=false reason=3<br>
01-01 04:41:06.036: D/PowerManagerService(359): setPowerState:
mPowerState=7 newState=3 noChangeLights=false<br>
01-01 04:41:06.036: D/PowerManagerService(359):
oldKeyboardBright=false newKeyboardBright=false<br>
01-01 04:41:06.037: D/PowerManagerService(359):
oldScreenBright=true newScreenBright=true<br>
01-01 04:41:06.038: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.039: D/PowerManagerService(359):
oldButtonBright=true newButtonBright=false<br>
01-01 04:41:06.039: D/PowerManagerService(359): oldScreenOn=true
newScreenOn=true<br>
01-01 04:41:06.039: D/PowerManagerService(359):
oldBatteryLow=false newBatteryLow=false<br>
01-01 04:41:06.040: D/PowerManagerService(359): offMask=0x4
dimMask=0x0 onMask=0x0 difference=0x4 realDifference=0x4
forceState=0x0<br>
01-01 04:41:06.040: I/PowerManagerService(359): Setting brightess
off: 4<br>
01-01 04:41:06.044: D/PowerManagerService(359): setTimeoutLocked
now=2454147 timeoutOverride=-1 nextState=1 when=2501147<br>
01-01 04:41:06.055: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.071: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.073: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:06.075: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:06.075: E/IMGSRV(2213): :0:
SetupTextureRenderTargetControlWords: Can't make texture resident<br>
01-01 04:41:06.076: E/GStreamer+default(2213): 0:00:35.152471079
0x5573b660 gstglutils.c:76:gst_gl_context_check_framebuffer_status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT<br>
01-01 04:41:06.078: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:06.079: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:06.088: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.104: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.121: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.137: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.154: I/SurfaceFlinger(100): [virtual void
android::Layer::onDraw(const android::Region&) const]
SurfaceView(i:145): clear screen hole (l:0, t:0, w:1024, h:562)<br>
01-01 04:41:06.160: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:06.161: E/IMGSRV(2213): :0: PVRSRVAllocDeviceMem: Error
1 returned<br>
01-01 04:41:06.161: E/IMGSRV(2213): :0:
SetupTextureRenderTargetControlWords: Can't make texture resident<br>
<br>
And on the other device i starts my App and when it begines to
receive video streame it shots down<br>
<br>
</body>
</html>