Skip to content

Commit

Permalink
Fixing a issue with getting a property without a default.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvl711 committed Sep 1, 2020
1 parent cfd8aef commit 4c3628a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1017,9 +1017,7 @@ else if ("AUDIO_CODECS".equals(propName))
}
else if ("PUSH_AV_CONTAINERS".equals(propName))
{


if ((client.properties().getString(PrefStore.Keys.fixed_encoding_preference).equalsIgnoreCase("always") && "fixed".equalsIgnoreCase(client.properties().getString(PrefStore.Keys.streaming_mode, "dynamic"))))
if ((client.properties().getString(PrefStore.Keys.fixed_encoding_preference, "needed").equalsIgnoreCase("always") && "fixed".equalsIgnoreCase(client.properties().getString(PrefStore.Keys.streaming_mode, "dynamic"))))
{
// If we are using fixed transcode always, do not allow transcode/remux to mpeg-ps/ts.
// pushing
Expand Down

0 comments on commit 4c3628a

Please sign in to comment.