[gst-devel] videowidget

Steve Baker steve at stevebaker.org
Fri Oct 25 14:44:06 CEST 2002


On Sat, 2002-10-26 at 05:27, Thomas Vander Stichele wrote:
> Hey all (and especially Steve)
> 
> I've been trying to fiigure out what to do with gstvideowidget.
> 
> Firstly, what does it do ? It seems to be providing a gtk video widget 
> using gstreamer playback, somehow embedding (theoretically) any video 
> widget inside a gtk widget.

yes, where "any" currently means xvideosink. sdlvideosink will be
embeddable but I need to do some more work on it for that to happen.

> Right now it lives in libs/gst/player, which seems to be the wrong place  
> for it, since player is the gnome-specific library, while this seems a 
> pure gtk widget ?
> 
> If it is, we might want to move it to a separate directory somehow.  It 
> seems like this widget is usable for anything from totem conversion to 
> gstreamer to nautilus embedding.
> 
> It should also be in a separate library, IMO, something like 
> libgstgtkwidget or something.
> 
> Also, where should it be installed to ?
> right now it ends up as 
> $(includedir)/gst-player-(version)/gst/gstvideowidget.h
> 
> To conform to our other libs, it should probably end up as videowidget.h 
> instead (or something including gtk in the name if we change the canonical 
> name for it - I suppose a qtvideowidget could exist too), and possibly in 
> it's own subdirectory.
> 
> Let me know what you think so I can clean this up before 0.4.2

I think it should be moved to its own lib in gst-plugins. It could be
moved at the same time as libgstplay. As for its name, gstvideowidget is
OK with me. A QT videowidget would have its own namespace to play with
so there is no danger of a clash.

cheers

-- 
Steve Baker <steve at stevebaker.org>






More information about the gstreamer-devel mailing list