public void reset(){
  mRecordable=mSourceRecordable;
  setIdentifier(mSource);
  mPriority=Priority.DEFAULT_PRIORITY;
  List<MetadataType> toRemove=new ArrayList<>();
  for (  MetadataType type : mMetadata.keySet()) {
    Metadata metadata=mMetadata.get(type);
    if (metadata != null) {
      if (metadata.isTemporal()) {
        toRemove.add(type);
      }
 else {
        processMetadata(metadata);
      }
    }
  }
  for (  MetadataType type : toRemove) {
    mMetadata.remove(type);
  }
  mUpdated=true;
}

public void reset ( ) { mRecordable = mSourceRecordable ; setIdentifier ( mSource ) ; mPriority = Priority . DEFAULT_PRIORITY ; List < MetadataType > toRemove = new ArrayList < > ( ) ; for ( MetadataType type : mMetadata . keySet ( ) ) { Metadata metadata = mMetadata . get ( type ) ; if ( metadata != null ) { if ( metadata . isTemporal ( ) ) { toRemove . add ( type ) ; } else { processMetadata ( metadata ) ; } } } for ( MetadataType type : toRemove ) { mMetadata . remove ( type ) ; } mUpdated = true ; }
removes any accumulated temporal metadata and returns to a default set .
