Some 30 plastic bags are found in the stomach of a beached whale that was put down after showing signs of distress.