Merge "media: signalEndOfInputStream when handling STOP action."