summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-06-11 23:08:54 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-06-11 23:08:54 +0000
commit04dd7cc6866e3946cae1c3ad1b3b221ed8a27930 (patch)
treeecce2340c229a6b310f51c2bad90237be1246d34 /src/xine-engine/video_out.h
parent7ed53e0ca4f460146aeab7ea7db5f6db1a147885 (diff)
downloadxine-lib-04dd7cc6866e3946cae1c3ad1b3b221ed8a27930.tar.gz
xine-lib-04dd7cc6866e3946cae1c3ad1b3b221ed8a27930.tar.bz2
- add VO_INTERLACED_FLAG to get_frame
- do not trust progressive_frame for detecting NTSC 3:2, quote: 'the alternating progressive_frame encoding problem. This is a problem where the progressive_frame flag alternates between true and false every frame, when it really should have been set to "true" all the time.' 'There is a lot of content that is affected by this issue, because it's caused by a dumb decision by a very big company that made a very popular MPEG encoder. They've since fixed the encoder, but there are apparently still authoring companies that use it, because the problem is on a lot of high-profile current discs, like Disney's "Monsters Inc." and "Beauty and the Beast".' http://www.hometheaterhifi.com/volume_8_2/dvd-benchmark-special-report-chroma-bug-4-2001.html CVS patchset: 5025 CVS date: 2003/06/11 23:08:54
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index be3c120f7..5184413fe 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.90 2003/06/06 19:42:05 miguelfreitas Exp $
+ * $Id: video_out.h,v 1.91 2003/06/11 23:08:55 miguelfreitas Exp $
*
*
* xine version of video_out.h
@@ -116,8 +116,7 @@ struct vo_frame_s {
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".
+ * that reason, this flag should be interpreted as a "hint".
*/
int progressive_frame;
@@ -262,6 +261,7 @@ struct xine_video_port_s {
#define VO_BOTTOM_FIELD 2
#define VO_BOTH_FIELDS (VO_TOP_FIELD | VO_BOTTOM_FIELD)
#define VO_PREDICTION_FLAG 4
+#define VO_INTERLACED_FLAG 8
/* video driver capabilities */