Source: lib/cea/dummy_cea_parser.js

/*! @license
 * Shaka Player
 * Copyright 2016 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

goog.provide('shaka.cea.DummyCeaParser');

goog.require('shaka.cea.ICeaParser');

/**
 * Dummy CEA parser.
 * @implements {shaka.cea.ICeaParser}
 */
shaka.cea.DummyCeaParser = class {
  /**
   * @override
   */
  init(initSegment) {
  }

  /**
   * @override
   */
  parse(mediaSegment) {
    return /* captionPackets= */ [];
  }
};