From 77df0eb8a581fcfe7b27dfad5858ab1651e8e113 Mon Sep 17 00:00:00 2001 From: Raymond Yang Date: Fri, 10 Feb 2023 09:23:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3GstLibrary=E7=9A=84LOG=20TAG?= =?UTF-8?q?=E5=90=8D=E7=A8=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/hisharp/gstreamer_player/GstLibrary.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gstreamer_player/src/com/hisharp/gstreamer_player/GstLibrary.java b/gstreamer_player/src/com/hisharp/gstreamer_player/GstLibrary.java index 540fb7e..ecc6637 100644 --- a/gstreamer_player/src/com/hisharp/gstreamer_player/GstLibrary.java +++ b/gstreamer_player/src/com/hisharp/gstreamer_player/GstLibrary.java @@ -15,7 +15,7 @@ import java.io.IOException; public class GstLibrary implements Closeable, SurfaceHolder.Callback { - private static final String TAG = "GStreamer";//GstLibrary.class.getSimpleName(); + private static final String TAG = GstLibrary.class.getSimpleName(); final Context mAppContext; @@ -103,7 +103,7 @@ public class GstLibrary implements Closeable, SurfaceHolder.Callback { // Called from native code. Native code calls this once it has created its pipeline and // the main loop is running, so it is ready to accept commands. private void onGStreamerInitialized () { - Log.i ("GStreamer", "GStreamer initialized:"); + Log.i (TAG + "+" + tag, "GStreamer initialized:"); if (gstCallback != null) { gstCallback.onStatus(GstStatus.READY); @@ -144,6 +144,7 @@ public class GstLibrary implements Closeable, SurfaceHolder.Callback { @Override public void surfaceCreated(SurfaceHolder holder) { Log.d(TAG + "+" + tag, "Surface created: " + holder.getSurface()); + Log.i (TAG + "+" + tag, "GStreamer surfaceCreated:"); nativeSurfaceInit(holder.getSurface()); }