Opened 18 years ago
Last modified 18 years ago
#4214 closed defect
Revision 14692 causes blue faces in .wmv files — at Version 1
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | unknown |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description (last modified by )
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 (3)
Note:
See TracTickets
for help on using tickets.
