content/media/plugins/nsMediaPluginDecoder.cpp
author Ryan VanderMeulen <ryanvm@gmail.com>
Tue, 06 Nov 2012 19:36:49 -0500
changeset 112486 bd15d6741bffda17af97d17fa9b1f41698068640
parent 112463 c62f225d0dbbd45566bfc810176b0e9f5e6e45dc
child 112765 dee39125618290b7348f5dd62aa99e9c7fe450f5
permissions -rw-r--r--
Backout 3f0e69962962, 84a1afc5b15e, c62f225d0dbb, 24870ebc9665, and dd7663e68657 (bug 799344) for mochitest-1 orange.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsBuiltinDecoderStateMachine.h"
#include "nsMediaPluginDecoder.h"
#include "nsMediaPluginReader.h"

nsMediaPluginDecoder::nsMediaPluginDecoder(const nsACString& aType) : mType(aType)
{
}

nsDecoderStateMachine* nsMediaPluginDecoder::CreateStateMachine()
{
  return new nsBuiltinDecoderStateMachine(this, new nsMediaPluginReader(this));
}