[mythtv-commits] Ticket #4214: Revision 14692 causes blue faces in .wmv files
MythTV
mythtv at cvs.mythtv.org
Mon Dec 31 17:22:11 UTC 2007
#4214: Revision 14692 causes blue faces in .wmv files
------------------------------------------------+---------------------------
Reporter: Mike Rice <mikerice1969 at gmail.com> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: unknown
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------------------+---------------------------
Description changed by paulh:
Old 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;
> }
> }
New 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;
}
}
}}}
--
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4214#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list