diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_sub.c | 1 | ||||
-rw-r--r-- | video/out/vo.c | 1 | ||||
-rw-r--r-- | video/out/vo_image.c | 1 | ||||
-rw-r--r-- | video/out/vo_lavc.c | 1 | ||||
-rw-r--r-- | video/out/vo_opengl_old.c | 3 | ||||
-rw-r--r-- | video/out/vo_vaapi.c | 1 | ||||
-rw-r--r-- | video/out/vo_xv.c | 1 |
7 files changed, 1 insertions, 8 deletions
diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c index 646216967b..1b344ab3f5 100644 --- a/video/filter/vf_sub.c +++ b/video/filter/vf_sub.c @@ -73,7 +73,6 @@ static int config(struct vf_instance *vf, .mt = vf->priv->opt_top_margin, .mb = vf->priv->opt_bottom_margin, .display_par = sar / dar, - .video_par = dar / sar, }; return vf_next_config(vf, vf->priv->outw, vf->priv->outh, d_width, diff --git a/video/out/vo.c b/video/out/vo.c index 9fc4db1418..41a1b2a8ca 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -562,7 +562,6 @@ void vo_get_src_dst_rects(struct vo *vo, struct mp_rect *out_src, .w = vo->dwidth, .h = vo->dheight, .display_par = vo->aspdat.monitor_par, - .video_par = vo->aspdat.par, }; if (opts->keepaspect) { int scaled_width, scaled_height; diff --git a/video/out/vo_image.c b/video/out/vo_image.c index 6fcf77e5d6..fd694e77dd 100644 --- a/video/out/vo_image.c +++ b/video/out/vo_image.c @@ -95,7 +95,6 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) .w = asp.orgw, .h = asp.orgh, .display_par = sar / dar, - .video_par = dar / sar, }; osd_draw_on_image(osd, dim, osd->vo_pts, OSD_DRAW_SUB_ONLY, p->current); diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c index 0080126c7d..77c9f9f875 100644 --- a/video/out/vo_lavc.c +++ b/video/out/vo_lavc.c @@ -493,7 +493,6 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) .w = asp.orgw, .h = asp.orgh, .display_par = sar / dar, - .video_par = dar / sar, }; mp_image_set_colorspace_details(vc->lastimg, &vc->colorspace); diff --git a/video/out/vo_opengl_old.c b/video/out/vo_opengl_old.c index 3c11f3cac2..cd4b6915ca 100644 --- a/video/out/vo_opengl_old.c +++ b/video/out/vo_opengl_old.c @@ -1461,8 +1461,7 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) res = (struct mp_osd_res) { .w = p->image_width, .h = p->image_height, - .display_par = 1.0 / p->osd_res.video_par, - .video_par = p->osd_res.video_par, + .display_par = 1.0 / vo->aspdat.par, }; gl->MatrixMode(GL_MODELVIEW); gl->PushMatrix(); diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index df9ff2ce5d..9a9097acf1 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -427,7 +427,6 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) .w = p->image_params.w, .h = p->image_params.h, .display_par = 1.0 / vo->aspdat.par, - .video_par = vo->aspdat.par, }; struct mp_osd_res *res; diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index b86f0e5f6b..00d5217219 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -620,7 +620,6 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) .w = ctx->image_width, .h = ctx->image_height, .display_par = 1.0 / vo->aspdat.par, - .video_par = vo->aspdat.par, }; osd_draw_on_image(osd, res, osd->vo_pts, 0, &img); |