[Bug 34942] New: WinLaunch 0.4.6.1 (OSX Style free Launcher) needs support for WIC encoder "InterlaceOption" option (property bag)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 18 16:33:52 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=34942

             Bug #: 34942
           Summary: WinLaunch 0.4.6.1 (OSX Style free Launcher) needs
                    support for WIC encoder "InterlaceOption" option
                    (property bag)
           Product: Wine
           Version: 1.7.6
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: windowscodecs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello folks,

continuation of bug 34911

Prerequisite: 'winetricks -q dotnet40'

If you switch themes/save settings the app displays a message box "Error
HRESULT E_FAIL has been returned from a call to a COM component."

--- snip ---
$ WINEDEBUG=+tid,+seh,+loaddll,+process,+wincodecs wine ./WinLaunch.exe
>>log.txt 2>&1
...
002b:trace:wincodecs:PngEncoder_Initialize (0x90c18e8,0x9e6de08,2)
002b:trace:wincodecs:PngEncoder_CreateNewFrame (0x90c18e8,0x33e834,0x33e830)
002b:trace:wincodecs:PngEncoder_AddRef (0x90c18e8) refcount=2
002b:trace:wincodecs:PropertyBag_Write (0x5815010,1,0x33e74c,0x33e76c)
002b:fixme:wincodecs:PropertyBag_Write Application tried to set the unknown
option L"InterlaceOption".
002b:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83a8bf
ip=7b83a8bf tid=002b
002b:trace:seh:raise_exception  info[0]=80004005
002b:trace:seh:raise_exception  info[1]=00000000
002b:trace:seh:raise_exception  info[2]=00000000
002b:trace:seh:raise_exception  info[3]=00000000
002b:trace:seh:raise_exception  info[4]=79140000
002b:trace:seh:raise_exception  eax=7b8268f1 ebx=7b8ba000 ecx=80004005
edx=0033e5a4 esi=0033e64c edi=0012c750
002b:trace:seh:raise_exception  ebp=0033e5e8 esp=0033e584 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200283 
...
--- snip ---

MSDN info here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee719871%28v=vs.85%29.aspx
(Encoder Options/Usage).

Source:
http://source.winehq.org/git/wine.git/blob/4a5bc1375ee446a9aec04cc3f39ee6ac2ee7f39a:/dlls/windowscodecs/pngformat.c#l1596

--- snip ---
1596 static HRESULT WINAPI PngEncoder_CreateNewFrame(IWICBitmapEncoder *iface,
1597     IWICBitmapFrameEncode **ppIFrameEncode, IPropertyBag2
**ppIEncoderOptions)
1598 {
1599     PngEncoder *This = impl_from_IWICBitmapEncoder(iface);
1600     HRESULT hr;
1601     TRACE("(%p,%p,%p)\n", iface, ppIFrameEncode, ppIEncoderOptions);
1602
1603     EnterCriticalSection(&This->lock);
1604
1605     if (This->frame_count != 0)
1606     {
1607         LeaveCriticalSection(&This->lock);
1608         return WINCODEC_ERR_UNSUPPORTEDOPERATION;
1609     }
1610
1611     if (!This->stream)
1612     {
1613        LeaveCriticalSection(&This->lock);
1614        return WINCODEC_ERR_NOTINITIALIZED;
1615     }
1616
1617     hr = CreatePropertyBag2(NULL, 0, ppIEncoderOptions);
1618     if (FAILED(hr))
1619     {
1620        LeaveCriticalSection(&This->lock);
1621        return hr;
1622     }
1623
1624     This->frame_count = 1;
1625
1626     LeaveCriticalSection(&This->lock);
1627
1628     IWICBitmapEncoder_AddRef(iface);
1629     *ppIFrameEncode = &This->IWICBitmapFrameEncode_iface;
1630
1631     return S_OK;
1632 }
--- snip ---

-> CreatePropertyBag2(NULL, 0, ppIEncoderOptions)

'winetricks -q windowscodecs' works around.

$ sha1sum WinLaunch.zip 
5d79fb1d160354a04548fc7bba1a78012800c59c  WinLaunch.zip

$ du -sh WinLaunch.zip 
20M    WinLaunch.zip

$ wine --version
wine-1.7.6-273-ga4d8627

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list