Error setting AudioSink in GstPlayer (Xabier Rodriguez Calvar)

Vikas Malhotra ervikaspec at gmail.com
Tue Feb 7 19:51:43 PST 2012


Yes, I have not changed the code of GstPlayer.cpp and GstDriver.cpp....I am
using it as it was. GstPlayer uses MediaPlayerInterface class and accesses
its mAudioSink variable which is an object of type sp<AudioSink>. Actually
my device is not rooted, I don't know if that may have caused the problem.
I am trying to build the project as an application (.apk) file.

Please help.

----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 07 Feb 2012 15:40:13 +0100
> From: Xabier Rodriguez Calvar <xrcalvar at igalia.com>
> Subject: Re: Error setting AudioSink in GstPlayer
> To: gstreamer-android at lists.freedesktop.org
> Message-ID: <1328625613.2797.31.camel at localhost.localdomain>
> Content-Type: text/plain; charset="iso-8859-15"
>
> O Dom, 05-02-2012 ?s 10:50 +0530, Vikas Malhotra escribiu:
> > I've been working on getting GStreamer NDK Build working on my Android
> > 2.3.4 device.
> > I have successfully built the GStreamer source but I am getting error
> > while setting the AudioSink to the audioflingersink element in
> > GstPlayer using mAudioSink variable.
> >
> > Below given is the log showing the value = 0 (log was added by me in
> > GstPlayer's function setDataSource)
> >
> > 02-05 10:36:15.540: V/GstPlayer(2485): GstPlayer calling GstDriver ::
> > setAudioSink() with mAudioSink value = 0x0
> >
> > Due to this I am not able to play any sound, and video is also not
> > playing. Please help me to solve the problem.
>
> Are yoy sure you are setting something valid? It looks like you have no
> element to set and that's causing a problem.
>
> Br.
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 198 bytes
> Desc: This is a digitally signed message part
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120207/e4a34e17/attachment-0001.pgp
> >
>
> ------------------------------
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
> End of gstreamer-android Digest, Vol 10, Issue 3
> ************************************************
>




-- 

--------------------------------------
Vikas
Bachelor of Engineering
Computer Science and Engineering
<http://www.vikaspec.co.cc>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120208/4ab9af9c/attachment.html>


More information about the gstreamer-android mailing list