[gst-devel] How to detect aspectratio change?

Michael Smith msmith at xiph.org
Wed Feb 11 21:25:44 CET 2009


On Wed, Feb 11, 2009 at 12:13 PM, Thomas Loewe <lazyt at gmx.net> wrote:
>
>> That should work fine - you're describing the right way to do it, maybe
> there's just a bug in your code?
>
> But the callback isn't called again at a streamchange, only at startup. Are
> you sure that the function is called when the stream changes?

If there's a change in the aspect ratio at all, then the caps will
change, which should call your notify callback.

It might be possible that the decoder isn't noticing the change in
aspect ratio at all - I would expect it to, but I might be wrong.

Mike




More information about the gstreamer-devel mailing list