Error setting AudioSink in GstPlayer (Xabier Rodriguez Calvar)

Stefan Sauer ensonic at hora-obscura.de
Wed Feb 8 03:34:15 PST 2012


On 02/08/2012 04:51 AM, Vikas Malhotra wrote:
> 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.

What GstPlayer are you talking about? You are aware that the if you went
for the NDK build the andoid API won't now about gstreamer at all?

Stefan

>
> Please help.
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Tue, 07 Feb 2012 15:40:13 +0100
>     From: Xabier Rodriguez Calvar <xrcalvar at igalia.com
>     <mailto:xrcalvar at igalia.com>>
>     Subject: Re: Error setting AudioSink in GstPlayer
>     To: gstreamer-android at lists.freedesktop.org
>     <mailto: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
>     <mailto: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
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120208/a96c6557/attachment.html>


More information about the gstreamer-android mailing list