DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
media
origin
origin_handler.cc
1
// Copyright 2017 Google Inc. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
7
#include "packager/media/origin/origin_handler.h"
8
9
namespace
shaka {
10
namespace
media {
11
12
// Origin handlers are always at the start of a pipeline (chain or handlers)
13
// and therefore should never receive input via |Process|.
14
Status OriginHandler::Process(std::unique_ptr<StreamData> stream_data) {
15
return
Status(error::INTERNAL_ERROR,
16
"An origin handlers should never be a downstream handler."
);
17
}
18
19
}
// namespace media
20
}
// namespace shaka
Generated on Mon Aug 28 2017 21:04:47 for DASH Media Packaging SDK by
1.8.6