Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes new samples for Android Auto. Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
This commit is contained in:
@@ -21,6 +21,7 @@ import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.view.Surface;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.Queue;
|
||||
@@ -136,7 +137,7 @@ public class MediaCodecWrapper {
|
||||
* @return
|
||||
*/
|
||||
public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat,
|
||||
Surface surface) {
|
||||
Surface surface) throws IOException {
|
||||
MediaCodecWrapper result = null;
|
||||
MediaCodec videoCodec = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user