Probing for caps change
Nox Deleo
noxdeleo at googlemail.com
Sat Jan 5 06:44:33 PST 2013
That's what I was doing originally, but it was causing weird things to
happen. Occasionally I'd stop hearing any audio mid-track. Sometimes it
would stop on the next track after it changed. Sometimes I hear nothing
from the start. Probably something I've screwed up.
On 5 January 2013 13:51, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> 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
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130105/4452d9ac/attachment.html>
More information about the gstreamer-devel
mailing list