diff options
| author | mschroffel <mschroffel@cinecert.com> | 2016-03-17 23:58:13 +0000 |
|---|---|---|
| committer | mschroffel <> | 2016-03-17 23:58:13 +0000 |
| commit | ed84256d7687b8255991308361e26013b7071dd9 (patch) | |
| tree | 58090552a149397f61944daf6cabf7208025f915 /src/AS_DCP_TimedText.cpp | |
| parent | e10177793b42db5b9a8671dcff9e7c9cbc6a676a (diff) | |
included CMakelists.txt into dist
Diffstat (limited to 'src/AS_DCP_TimedText.cpp')
| -rw-r--r-- | src/AS_DCP_TimedText.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/AS_DCP_TimedText.cpp b/src/AS_DCP_TimedText.cpp index f738a59..e6f3869 100644 --- a/src/AS_DCP_TimedText.cpp +++ b/src/AS_DCP_TimedText.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2015, John Hurst +Copyright (c) 2008-2016, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -43,15 +43,16 @@ static std::string TIMED_TEXT_DEF_LABEL = "Timed Text Track"; //------------------------------------------------------------------------------------------ -const char* +// +static const char* MIME2str(TimedText::MIMEType_t m) { if ( m == TimedText::MT_PNG ) return "image/png"; - else if ( m == TimedText::MT_OPENTYPE ) + else if( m == TimedText::MT_OPENTYPE ) return "application/x-font-opentype"; - + return "application/octet-stream"; } |
