[gst-devel] Changing width/height properties from within plugin

Stefan Kost ensonic at hora-obscura.de
Fri Feb 26 09:04:03 CET 2010


Am 24.02.2010 18:09, schrieb Karol:
> Hello,
> 
> I'm trying to write trivial plugin that does image rotation (90, 180, 
> etc. degrees).  My question is - where should I change "width" and 
> "height" properties?  I thought the proper place would be _chain() 
> function(*) where I deal with buffer contents.  However, pipeline dies 
> with internal error if I do that.  I guess I should handle that 
> mysterious beast called caps negotiation? (specifically: _set_caps() 
> function?)

If you can't use videflip, you can at least look how it is done there.

STefan

> 
> (*) I'm using basic GstElement, not GstBaseTransform.
> 
> Thanks in advance.
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list