Menu

#6 No automatic video scaling

open
nobody
None
5
2008-10-17
2008-10-17
Anonymous
No

When watching a DVB stream the video is not scaled when the resolution of the frames changes. For example if the frame changes from widescreen to non widescreen.

This is when the VMI video out plugin is used. Following path solves the problem:

--- video_out_vmi.c 2008-10-17 20:40:13.000000000 +0200
+++ video_out_vmi.c.orig 2008-10-17 16:02:44.000000000 +0200
@@ -3155,6 +3155,7 @@ static void cle266_display_frame (vo_dri

this->last_delivered_ratio = frame->vo_frame.ratio;

+ redraw_needed = cle266_redraw_needed (this_gen);//this function would be called after argvs input

if ( (this->last_delivered_width != this->sc.delivered_width)
|| (this->last_delivered_height != this->sc.delivered_height)
@@ -3166,7 +3167,6 @@ if ( (this->last_delivered_width != this
}
// ... The surface will keeps on screen until next frame comes to VO.

- redraw_needed = cle266_redraw_needed (this_gen);//this function would be called after argvs input

/*
* let's see if this frame is different in size / aspect

Discussion


Log in to post a comment.