On Tue, 2018-08-21 at 10:29 -0700, David Manpearl wrote:
> Does anyone have an example for using
> "gst_player_video_overlay_video_renderer_new_with_sink()"?
>
> I have a pipeline ending with "videoconvert" that can be piped
> into autovideosink as in "videoconvert ! autovideosink". The pipeline
> is created with: "gst_parse_launch"
>
> I also have a video player running in iOS instantiated as follows:
> GstPlayerVideoRenderer *renderer =
> gst_player_video_overlay_video_renderer_new_with_sink ((__bridge
> gpointer)(video_view), mySink);
> player = gst_player_new (renderer, NULL);
>
> My question is: How to setup "mySink" to connect the GstElement
> *pipeline with the renderer?
You can't use GstPlayer to run arbitrary pipelines. In your case,
directly place the "mySink" into your custom pipeline.
--
Sebastian Dröge, Centricular Ltd ·
https://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel