Fixing trimming for media