[Bug 773261] gstplayer: Add some gstplayer API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 25 09:48:35 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773261

--- Comment #14 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Lyon from comment #13)
> Hi, slomo
>     I have some questions about your comments.
> - for above gst_player_get_video_num / _get_audio_num / get_text_num API
> you said there is no need to have these API as we can get media_info by
> _get_xxx_streams. yes , we can the Glist of audio/video/text stream, but
> will it be more convenient to get total track num directly instead of get
> the list and count the track num?

Indeed, but it should be part of the media info API then. Just store the size
together with the list (or use a GQueue).

> - For the rotation part
> you mentioned we can use videoflip plugin to realize rotation. but
> considering the performance, if using videplip by software process, on
> embedded system, it is much slower than directly using video-sink 's
> "rotate-method"/"rotate" property. Like in glimagesink, there is
> 'rotate-method'. by the hardware video-sink, the performance would be much
> better than videoflip.

That's why I mentioned the GstVideoOrientation interface. See bug #765309.
playsink should use videoflip if nothing else is possible (like it uses e.g.
videobalance now), and otherwise use that interface on the video sink directly.

-- 
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