Fix packager_main crash in Debug mode muxing clear video
Change-Id: I8bef6a2ebbfc47c7f60fbd2f549ba20cb1daf99c
This commit is contained in:
parent
30cb6948e5
commit
e8e83cc37c
|
@ -211,7 +211,6 @@ bool RunPackager(const std::string& input) {
|
||||||
encryption_key_source = CreateEncryptionKeySource();
|
encryption_key_source = CreateEncryptionKeySource();
|
||||||
if (!encryption_key_source)
|
if (!encryption_key_source)
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
EncryptionKeySource::TrackType track_type =
|
EncryptionKeySource::TrackType track_type =
|
||||||
EncryptionKeySource::GetTrackTypeFromString(FLAGS_track_type);
|
EncryptionKeySource::GetTrackTypeFromString(FLAGS_track_type);
|
||||||
if (track_type != EncryptionKeySource::TRACK_TYPE_SD &&
|
if (track_type != EncryptionKeySource::TRACK_TYPE_SD &&
|
||||||
|
@ -223,6 +222,7 @@ bool RunPackager(const std::string& input) {
|
||||||
track_type,
|
track_type,
|
||||||
FLAGS_clear_lead,
|
FLAGS_clear_lead,
|
||||||
FLAGS_crypto_period_duration);
|
FLAGS_crypto_period_duration);
|
||||||
|
}
|
||||||
|
|
||||||
// Start remuxing process.
|
// Start remuxing process.
|
||||||
status = demuxer.Run();
|
status = demuxer.Run();
|
||||||
|
|
Loading…
Reference in New Issue