修正GstLibrary的LOG TAG名稱
This commit is contained in:
parent
0dca3ce9e8
commit
77df0eb8a5
@ -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());
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user