How to set up glimagesink's properties before frame is displayed ?

lucky chou shakin at outlook.com
Mon Jul 25 02:05:02 UTC 2016


In fact, I was wrong, the second [2 Processing playbin bus message: ] above
have been effective.In playbin2:: bus:: message  processing code block, I
have access to the prepare-window-handle message was delivered by
gst_video_overlay_prepare_window_handle, which is indirect access to the
glimagesink's object pointer.


But I still have some questions about how decoder is communicating with the
playbin2 ? At present there is a ready-made common way?

For example, before playbin2 construct filtergraph complete and ready to
play, how does playbin2 know that the selected decoder is androidmedia
instead of avcdec_h264? I tried to send GST_MESSAGE_ELEMENT messages in
gst_amc_video_dec_init, but it seems  playbin2:: bus:: message did not
receive this message, why in the glimagesink to send GST_MESSAGE_ELEMENT can
be captured?

Regards,
lucky chou



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-set-up-glimagesink-s-properties-before-frame-is-displayed-tp4678745p4678820.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list