diff options
Diffstat (limited to 'src/xine-engine')
| -rw-r--r-- | src/xine-engine/video_out.c | 3 | ||||
| -rw-r--r-- | src/xine-engine/video_out.h | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index fa4e80180..2abf037ca 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.160 2003/05/31 18:33:31 miguelfreitas Exp $ + * $Id: video_out.c,v 1.161 2003/06/06 19:42:05 miguelfreitas Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -284,6 +284,7 @@ static vo_frame_t *vo_get_frame (xine_video_port_t *this_gen, img->format = format; img->copy_called = 0; img->bad_frame = 0; + img->progressive_frame = 2; /* progressive by default */ extra_info_reset ( img->extra_info ); /* let driver ensure this image has the right format */ diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 63f08fc19..be3c120f7 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.h,v 1.89 2003/06/03 03:33:16 miguelfreitas Exp $ + * $Id: video_out.h,v 1.90 2003/06/06 19:42:05 miguelfreitas Exp $ * * * xine version of video_out.h @@ -115,6 +115,10 @@ struct vo_frame_s { /* info that can be used for interlaced output (e.g. tv-out) */ int top_field_first; int repeat_first_field; + /* note: progressive_frame is set wrong on many mpeg2 streams. for + * that reason, values 0 and 1 should be interpreted as "hints" + * while 2 means "progressive for sure", -1 = "interlaced for sure". + */ int progressive_frame; /* pan/scan offset */ |
