update polymer
This commit is contained in:
parent
a59f146965
commit
6c07e29882
|
@ -114,11 +114,18 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts ffprobe stream info to our MediaStream class
|
/// Converts ffprobe stream info to our MediaStream class
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="isAudio">if set to <c>true</c> [is audio].</param>
|
||||||
/// <param name="streamInfo">The stream info.</param>
|
/// <param name="streamInfo">The stream info.</param>
|
||||||
/// <param name="formatInfo">The format info.</param>
|
/// <param name="formatInfo">The format info.</param>
|
||||||
/// <returns>MediaStream.</returns>
|
/// <returns>MediaStream.</returns>
|
||||||
private MediaStream GetMediaStream(bool isAudio, MediaStreamInfo streamInfo, MediaFormatInfo formatInfo)
|
private MediaStream GetMediaStream(bool isAudio, MediaStreamInfo streamInfo, MediaFormatInfo formatInfo)
|
||||||
{
|
{
|
||||||
|
// These are mp4 chapters
|
||||||
|
if (string.Equals(streamInfo.codec_name, "mov_text", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
var stream = new MediaStream
|
var stream = new MediaStream
|
||||||
{
|
{
|
||||||
Codec = streamInfo.codec_name,
|
Codec = streamInfo.codec_name,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user