Opened 16 years ago

Last modified 16 years ago

#4214 closed defect

Revision 14692 causes blue faces in .wmv files — at Initial Version

Reported by: Mike Rice <mikerice1969@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The blue faces occur only in .wmv files not .mpg/.avi and occur on both my Intel and NVIDIA cards. Before the code was choosing I420 but now YV12. Maybe this isn't a bug but a setting I need to set in xorg.conf or something? A few people have seen this issue other than me. I've attached a log with both versions.

Index: videoout_xv.cpp =================================================================== --- videoout_xv.cpp (revision 14918) +++ videoout_xv.cpp (working copy) @@ -1099,7 +1099,15 @@

InstallXErrorHandler(XJ_disp);

bool foundimageformat = false;

  • int ids[] = { GUID_YV12_PLANAR, GUID_I420_PLANAR, GUID_IYUV_PLANAR, };

+#if 0 + 14691 + int ids[] = { GUID_I420_PLANAR, GUID_IYUV_PLANAR, GUID_YV12_PLANAR }; + char *idsstr[] = {"GUID_I420_PLANAR", "GUID_IYUV_PLANAR", "GUID_YV12_PLANAR"}; +#else + 14692 + int ids[] = { GUID_YV12_PLANAR, GUID_I420_PLANAR, GUID_IYUV_PLANAR }; + char *idsstr[] = {"GUID_YV12_PLANAR", "GUID_I420_PLANAR", "GUID_IYUV_PLANAR"}; +#endif

int format_cnt = 0; XvImageFormatValues? *formats; X11S(formats = XvListImageFormats?(XJ_disp, xv_port, &format_cnt));

@@ -1117,6 +1125,7 @@

{

xv_chroma = ids[i]; foundimageformat = true;

+ VERBOSE(VB_PLAYBACK, LOC + QString("XVideo Using ids: %1").arg(idsstr[i]));

break;

}

}

Change History (2)

Changed 16 years ago by Mike Rice <mikerice1969@…>

Attachment: bad.txt added

Changed 16 years ago by Mike Rice <mikerice1969@…>

Attachment: good.txt added
Note: See TracTickets for help on using tickets.