[Bug 765309] player: Handle rotation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 29 07:56:58 UTC 2016


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

Lyon <lyon.wang at nxp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lyon.wang at nxp.com

--- Comment #9 from Lyon <lyon.wang at nxp.com> ---
Hi, Solom
   About the gstplayer rotation realization.
   As you mentioned above it is similar as colorbalance
   I'm not sure if my understanding is correct as below:
1. in playsink, we should implement GstVideoOrientation / GstVideoDirection
interface. 
and when gen_video_chain(), we should check if there is any sink element can
handle GstVideoOrientation / GstVideoDirection.  and set the videoOri_element,
for the interface to use.

(I still don't understand how GstVideoDirection interface works, cause the
interface only has "video-direction" property, but no other virtual function to
set )

2. In gstplayer, we should add some properties (like rotate/video-direction),
so that it can be set to playbin ( then set to playsink,  maybe playsink also
add similar property)

Could you please give me some advice about that.

And, in some element like glimagesink, it doesn't implement
GstVdieoOrientation/GstVdieoDirection interface. but it has property
"rotate-method", in that case, how to realize it in playsink (realize it in
playsink VideoOrientation/VideoDirection interface ?)

Looking forward to your advice.

Thanks
Lyon

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