You need to build the OpenCORE code with the macro ENABLE_PV_LOGGING.

Try this ..
rm -rf out/target/product/generic/obj/include/libpv
make -j ENABLE_PV_LOGGING=1

And, then follow your steps 1 to 5.


-Ravi


On Jan 31, 7:12 am, RCP2278 <[email protected]> wrote:
> Hi,
>
> I'm trying to capture some log traces from openCore by running/playing
> the media player from the emulator.  I'm running OpenCore 2.0 and I
> followed the steps as instructed inside external/opencore/android/
> android_logger_config.h.  Below is what I did:
>
> 1) Create a file named pvlogger.txt which contains the following line:
> 8,PVPlayerEngine
>
> 2) Launch emulator through Eclipse (APIDemos project > Debug As),
> making sure that when the emulator is launched that I mounted the
> sdcard directory
>
> 2a) Open the Debug perspective so I can see the output through LogCat
>
> 3) adb push pvlogger.txt /sdcard
>
> 4) adb shell and cd to /sdcard just to make sure the pvlogger.txt is
> there
>
> 5) Launch the media player (play local file or play streaming video)
>
> NOTE: I've never been successful in playing the streaming video on the
> emulator, which is one of my motivations to run a trace and see what
> is going on in the framework.  I've googled around and it seems like
> everyone is having the same problem and could be an emulator
> problem....
>
> After Step (5) I don't see any traces that would appear to come from
> openCore.
>
> Do I need to attach to a separate process to see the logs generated
> from openCore?  If so, can I do that through Eclipse/DDMS (when I
> played the local playback, only 4 threads were running (1 main thread
> and 3 binder threads)  I highlighted each one and it doesn't appear
> that any openCore logs are showing.  Obviously I'm doing something
> wrong here.  I'm also new at Eclipse so can you please advice how and
> which process to attach to?
>
> Thanks.
>
> R
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to