From 46aa68013ce18fece1f37f02859da91c34d506bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Fri, 27 Oct 2017 22:43:42 -0300 Subject: [PATCH] Minor fixes (semantic proposal) --- docs/design.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/design.md b/docs/design.md index f85a81e881..18cc63fde2 100644 --- a/docs/design.md +++ b/docs/design.md @@ -1,4 +1,4 @@ -#Design overview# +# Design overview # Major modules are described below: @@ -27,7 +27,7 @@ specified in ISO/IEC 23009-1 DASH MPD spec. API document is available at https://google.github.io/shaka-packager/docs. -##Creating Demuxer## +## Creating Demuxer ## ```C++ // Create a demuxer from |input_media_file|. @@ -38,14 +38,14 @@ API document is available at https://google.github.io/shaka-packager/docs. Demuxer demuxer(input_media_file); ``` -##Creating KeySource for source content decryption## +## Creating KeySource for source content decryption ## ```C++ // A KeySource is required if the source content is encrypted, since the media // must be decrytped prior to further processing. ``` -###WidevineKeySource### +### WidevineKeySource ### ```C++ // Users may use WidevineKeySource to fetch keys from Widevine @@ -65,7 +65,7 @@ muxer->SetKeySource(widevine_decryption_key_source.Pass()); ``` -##Creating MpdBuilder## +## Creating MpdBuilder ## ```C++ // |mpd_type| indicates whether the mpd should be for VOD or live profile. @@ -117,7 +117,7 @@ for (size_t i = 0; i < n; ++i) mpd_writer.WriteMpdToFile("output_file_name.mpd"); ``` -##Creating Muxer## +## Creating Muxer ## ```C++ // See below for muxer options. @@ -177,14 +177,14 @@ muxer_options.temp_dir = …; muxer_options.bandwidth = 0; ``` -##Creating KeySource for content encryption## +## Creating KeySource for content encryption ## ```C++ // A KeySource is optional. The stream won’t be encrypted if an // KeySource is not provided. ``` -###WidevineKeySource### +### WidevineKeySource ### ```C++ // Users may use WidevineKeySource to fetch keys from Widevine @@ -215,7 +215,7 @@ muxer->SetKeySource( clear_lead, crypto_period_duration); ``` -##Connecting Demuxer and Muxer## +## Connecting Demuxer and Muxer ## ```C++ // Initialize the demuxer. @@ -230,7 +230,7 @@ muxer->SetKeySource( if (!status.ok()) { … } ``` -##Starting Remuxing## +## Starting Remuxing ## ```C++ // Starts remuxing process. It runs until completion or abort due to error.