How is GstVideoCropMeta supposed to be used?

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Aug 25 09:47:33 PDT 2013


On Sun, 2013-08-25 at 18:30 +0200, Carlos Rafael Giani wrote:
> On 2013-08-25 18:08, Tim-Philipp Müller wrote:
> > videoparse? Did you mean the videocrop element? If yes, then the answer
> > is that it should use the crop meta if downstream supports that, though
> > it appears that that's not implemented yet.
> 
> Yes, I meant videocrop. But how could it know if downstream supports 
> that? I do not see a query for finding that out in the API.

It's part of the ALLOCATION query.

(In other cases, like demuxers or parsers you'd just put the meta on
there without checking if downstream supports it, since there's not much
you can do as fallback anyway if not, unlike with raw video.)

Cheers
 -Tim



More information about the gstreamer-devel mailing list