Unified · Split
| @@ -1014,7 +1014,8 @@ int ist_filter_add(InputStream *ist, InputFilter *ifilter, int is_simple, · 1013 unmodified lines | ||
| 1014 | 1014 | opts->crop_bottom = AV_RL32(sd->data + 4); |
| 1015 | 1015 | opts->crop_left = AV_RL32(sd->data + 8); |
| 1016 | 1016 | opts->crop_right = AV_RL32(sd->data + 12); |
| 1017 | − if (ds->apply_cropping && ds->apply_cropping != CROP_CODEC) | |
| 1017 | + if (ds->apply_cropping && ds->apply_cropping != CROP_CODEC && | |
| 1018 | + (opts->crop_top | opts->crop_bottom | opts->crop_left | opts->crop_right)) | |
| 1018 | 1019 | opts->flags |= IFILTER_FLAG_CROP; |
| 1019 | 1020 | } |
| 1020 | 1021 | } else if (ist->par->codec_type == AVMEDIA_TYPE_SUBTITLE) { |