[Bug 720421] New: simultaneous eglglessink-based autovideosinks not possible in iOS application
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Dec 13 11:34:45 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=720421
GStreamer | gst-plugins-bad | 1.2.1
Summary: simultaneous eglglessink-based autovideosinks not
possible in iOS application
Classification: Platform
Product: GStreamer
Version: 1.2.1
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: patrickr at qualnetics.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
iOS application crashes when trying to launch simultaneous video pipelines
sinking to autovideosink. Each pipeline gets their own UIView (with overridden
layerClass), used to set the window handle for video overlay.
Current code based on Tutorial #3 at the link below, updated for GStreamer
1.2.1:
http://docs.gstreamer.com/display/GstSDK/iOS+tutorial+3%3A+Video
>From what I can tell this is an issue of sharing an EAGLContext. I can
currently work around this by starting one pipeline, issuing the call
[EAGLContext setCurrentContext:nil], then starting the next pipeline.
My workaround becomes more difficult when the UIView size is changed while in
the PLAYING or PAUSED state. The correct EAGLContext must be set before
changing the view size, since the surface setup process occurs on dimension
change as well. This is easy enough to work around while changing the size of
a single UIView, but I have been unable to change dimensions of multiple video
display UIViews simultaneously, without restarting the pipeline to achieve
fine-grained control over execution order.
I would think a call for [EAGLContext setCurrentContext:] is necessary in the
gst_egl_adaptation_create_surface() method, inside
gst-plugins-bad/ext/eglgles/gstegladaptation_eagl.m.
Building for iOS 7, using XCode 5.0, on OS X 10.8.5.
Using gstreamer 1.2.1 binaries downloaded from:
http://gstreamer.freedesktop.org/data/pkg/ios/1.2.1/
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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