mirror of https://github.com/jellyfin/jellyfin.git
Remove redundant ToString call for value types
This commit is contained in:
parent
2d7835c848
commit
212976277d
|
@ -4382,7 +4382,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
|
|
||||||
foreach (var videoType in query.VideoTypes)
|
foreach (var videoType in query.VideoTypes)
|
||||||
{
|
{
|
||||||
videoTypes.Add("data like '%\"VideoType\":\"" + videoType.ToString() + "\"%'");
|
videoTypes.Add("data like '%\"VideoType\":\"" + videoType + "\"%'");
|
||||||
}
|
}
|
||||||
|
|
||||||
whereClauses.Add("(" + string.Join(" OR ", videoTypes) + ")");
|
whereClauses.Add("(" + string.Join(" OR ", videoTypes) + ")");
|
||||||
|
|
|
@ -424,7 +424,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||||
|
|
||||||
if (request.MediaSource.AnalyzeDurationMs > 0)
|
if (request.MediaSource.AnalyzeDurationMs > 0)
|
||||||
{
|
{
|
||||||
analyzeDuration = "-analyzeduration " + (request.MediaSource.AnalyzeDurationMs * 1000).ToString();
|
analyzeDuration = "-analyzeduration " + (request.MediaSource.AnalyzeDurationMs * 1000);
|
||||||
}
|
}
|
||||||
else if (!string.IsNullOrEmpty(ffmpegAnalyzeDuration))
|
else if (!string.IsNullOrEmpty(ffmpegAnalyzeDuration))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue