From b06132ad90debc044dc51327f961b190d533ac67 Mon Sep 17 00:00:00 2001 From: Wonsik Kim Date: Mon, 1 Apr 2019 14:48:10 -0700 Subject: [PATCH] media: fix documentation for MediaFormat.KEY_PREPEND_HEADERS_TO_SYNC_FRAMES Bug: 32746212 Test: builds Change-Id: I38ecfa879091bc4016fbae04eab77ed6fd9eb1c1 --- media/java/android/media/MediaFormat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/java/android/media/MediaFormat.java b/media/java/android/media/MediaFormat.java index 4d63cc8825e3d..8b667f772867a 100644 --- a/media/java/android/media/MediaFormat.java +++ b/media/java/android/media/MediaFormat.java @@ -416,8 +416,8 @@ public final class MediaFormat { /** * An optional key describing whether encoders prepend headers to sync frames (e.g. * SPS and PPS to IDR frames for H.264). This is an optional parameter that applies only - * to video encoders. A video encoder may not support this feature; check the output - * format to verify that this feature was enabled. + * to video encoders. A video encoder may not support this feature; the component will fail + * to configure in that case. For other components, this key is ignored. * * The value is an integer, with 1 indicating to prepend headers to every sync frames, * or 0 otherwise. The default value is 0.