Merge "NuPlayer: fix handling of teardown event during flushing or shutting down." into mnc-dev