mContext = context;
if (mRenderingWidget == null) { mRenderingWidget = new ClosedCaptionWidget(mContext); } return new ClosedCaptionTrack(mRenderingWidget, format);
if (format.containsKey(MediaFormat.KEY_MIME)) { return format.getString(MediaFormat.KEY_MIME).equals( MediaPlayer.MEDIA_MIMETYPE_TEXT_CEA_608); } return false;