Probing for caps change

Tim-Philipp Müller t.i.m at zen.co.uk
Sat Jan 5 05:51:55 PST 2013


On Sat, 2013-01-05 at 13:27 +0000, Nox Deleo wrote:

> Never mind...I figured it out myself once I found out what to do with
> the probe info. I've one small problem left relating to this though.
> I'm probing the appsink pad for caps events, and setting the appsrc's
> new caps straight away in the pad probe callback. The problem is that
> there seems to be a small (about 1/3 second) delay between the caps
> change which is causing a hissing noise (like when you get static on a
> TV).

That should not be needed. You should get caps alongside each buffer
really. In 1.0 as part of the GstSample structure, in 0.10 in
GST_BUFFER_CAPS.

Cheers
 -Tim




More information about the gstreamer-devel mailing list