Shaka Packager SDK
crypto_flags.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/app/crypto_flags.h"
8 
9 #include <stdio.h>
10 
11 DEFINE_string(protection_scheme,
12  "cenc",
13  "Specify a protection scheme, 'cenc' or 'cbc1' or pattern-based "
14  "protection schemes 'cens' or 'cbcs'.");
15 DEFINE_bool(vp9_subsample_encryption, true, "Enable VP9 subsample encryption.");