playsink: the element never transitions into playing state with audio and video
The following pipeline using playsink with audio and video doesn't transition into playing state:
gst-launch-1.0 playsink name=ps audiotestsrc ! ps.audio_raw_sink videotestsrc ! "video/x-raw" ! ps.video_raw_sink
➜ gstreamer git: ✗ gst-launch-1.0 playsink name=ps audiotestsrc ! ps.audio_raw_sink videotestsrc ! "video/x-raw" ! ps.video_raw_sink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'videosink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
0:00:00.074332000 58323 0x148e68c90 ERROR glcaopengllayer gstglcaopengllayer.m:161:-[GstGLCAOpenGLLayer copyCGLContextForPixelFormat:]: failed to retrieve GStreamer GL context in CAOpenGLLayer
Redistribute latency...
Live:
➜ gstreamer git: ✗ gst-launch-1.0 playsink name=ps audiotestsrc is-live=true ! ps.audio_raw_sink videotestsrc is-live=true ! "video/x-raw" ! ps.video_raw_sink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got context from element 'videosink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
0:00:00.071120000 58384 0x1367c5aa0 ERROR glcaopengllayer gstglcaopengllayer.m:161:-[GstGLCAOpenGLLayer copyCGLContextForPixelFormat:]: failed to retrieve GStreamer GL context in CAOpenGLLayer
Redistribute latency..
Audio-only or Video-only works as expected