Bug 89432 - Intel vaapi driver should not print warnings on stdout
Summary: Intel vaapi driver should not print warnings on stdout
Status: RESOLVED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-04 23:26 UTC by Michael Müller
Modified: 2015-03-05 01:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
libva-intel-driver: Do not print warnings on stdout (1.54 KB, text/plain)
2015-03-04 23:26 UTC, Michael Müller
Details

Description Michael Müller 2015-03-04 23:26:46 UTC
Created attachment 114011 [details]
libva-intel-driver: Do not print warnings on stdout

Hello,

I am currently writing a DXVA2 -> VAAPI wrapper for Wine and noticed that some programs crash with the intel driver while they work flawless with the vdpau wrapper. After some investigation I found out that the intel vaapi driver printed a warning to stdout while the program was using stdin/stdout to communicate with its parent process. The driver simply injected debug messages into this communication.

The driver should not use stdout as this pipe is used by a lot of programs to exchange data and should instead print debug messages to stderr. I attached a patch to fix this problem.

Regards,
Michael Müller
Comment 1 haihao 2015-03-05 01:17:33 UTC
Applied, thanks for your patch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.