Fakesink and GstNavigation

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Fakesink and GstNavigation

Nicolas-2
Hello,

I created a "playbin2" and a "fakesink" (I render the video in an evas
image)
Now my problem is that "fakesink" has no "GstNavigation".
How can I do to implement the "GstNavigation" to "Fakesink" ?

Thank you in advance
Sincerely,
Nicolas.

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fakesink and GstNavigation

Stefan Sauer
Am 08.12.2010 14:04, schrieb Nicolas:
> Hello,
>
> I created a "playbin2" and a "fakesink" (I render the video in an evas
> image)
> Now my problem is that "fakesink" has no "GstNavigation".
> How can I do to implement the "GstNavigation" to "Fakesink" ?

That is the wrong approach. You rather want to implement a evasvideosink and
implement the navigation iface there.

Stefan

>
> Thank you in advance
> Sincerely,
> Nicolas.
>

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fakesink and GstNavigation

Nicolas-2
Hello,

Thanks for your response.
Ok, I have the gstreamer plugin and i implemented the navigation interface.

My problem is I don't know what to put in the function:

static void evas_video_sink_navigation_send_event (GstNavigation *
navigation, GstStructure * structure)

What is require in this function ?

Thanks in advance,
Nicolas.


>> Hello,
>>
>> I created a "playbin2" and a "fakesink" (I render the video in an evas
>> image)
>> Now my problem is that "fakesink" has no "GstNavigation".
>> How can I do to implement the "GstNavigation" to "Fakesink" ?
>>      
> That is the wrong approach. You rather want to implement a evasvideosink and
> implement the navigation iface there.
>
> Stefan


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fakesink and GstNavigation

Jan Schmidt-6
On Thu, 2010-12-09 at 20:46 +0100, Nicolas wrote:

> Hello,
>
> Thanks for your response.
> Ok, I have the gstreamer plugin and i implemented the navigation interface.
>
> My problem is I don't know what to put in the function:
>
> static void evas_video_sink_navigation_send_event (GstNavigation *
> navigation, GstStructure * structure)
>
> What is require in this function ?

Here's one example:

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/sys/xvimage/xvimagesink.c#n2730

The xvimagesink implementation is about as complex as it gets, because
the xvimagesink supports scaling and offsetting of the video into the
output surface. The navigation_send_event implementation reverses those
operations, so it takes mouse clicks in the window coordinates, and
converts it back to a mouse click coordinate within the original video.

- Jan.

>
> Thanks in advance,
> Nicolas.
>
>
> >> Hello,
> >>
> >> I created a "playbin2" and a "fakesink" (I render the video in an evas
> >> image)
> >> Now my problem is that "fakesink" has no "GstNavigation".
> >> How can I do to implement the "GstNavigation" to "Fakesink" ?
> >>      
> > That is the wrong approach. You rather want to implement a evasvideosink and
> > implement the navigation iface there.
> >
> > Stefan
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fakesink and GstNavigation

Nicolas-2
In reply to this post by Stefan Sauer
Hi,

Thanks for your help.
I finally implement the navigation successfully !

Nicolas.

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages,
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel