how to get the audio number in the file
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu Sep 13 01:56:24 PDT 2012
On Wed, 2012-09-12 at 19:10 -0700, DBOYaoao wrote:
> Can anybody help me?
If you're using playbin2, wait for the ASYNC_DONE message on the
pipeline's GstBus, then do:
int num_audio;
g_object_get (playbin2, "n-audio", &num_audio, NULL);
If you're not using playbin2, you need to tell us what you are
using/doing instead, because without any context whatsoever we can only
guess.
Cheers
-Tim
More information about the gstreamer-devel
mailing list