summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_sub.c')
-rw-r--r--video/filter/vf_sub.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c
index ab2e308563..5c49ac56a3 100644
--- a/video/filter/vf_sub.c
+++ b/video/filter/vf_sub.c
@@ -79,9 +79,6 @@ static void vf_sub_process(struct mp_filter *f)
struct mp_image *mpi = frame.data;
- if (!mp_sws_supported_format(mpi->imgfmt))
- goto error;
-
struct mp_osd_res dim = {
.w = mpi->w,
.h = mpi->h + priv->opts->top_margin + priv->opts->bottom_margin,