quartz: If the MediaSeeking is not implemented all the way up the passthru chain fall back to the filtergraph's clock to find position.

Alexandre Julliard julliard at winehq.org
Tue Jan 31 13:45:16 CST 2012


Aric Stewart <aric at codeweavers.com> writes:

> Resolves bug Bug 25606
> ---
>  dlls/quartz/filtergraph.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

It doesn't work:

../../../tools/runtest -q -P wine -M quartz.dll -T ../../.. -p quartz_test.exe.so filtergraph.c && touch filtergraph.ok
wine: Unhandled page fault on read access to 0x00000000 at address 0x690fff17 (thread 0066), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x690fff17).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:690fff17 ESP:0032fc70 EBP:0032fcd8 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:69195fa4 ECX:0032fcb8 EDX:0012cc0c
 ESI:0032fd28 EDI:0012c878
Stack dump:
0x0032fc70:  0032fd28 69195fa4 0032fcd8 690fb648
0x0032fc80:  0012c878 0000000d 00000000 00000000
0x0032fc90:  0032fd34 0032fd3c 00000000 6877a314
0x0032fca0:  6877418e 0012c7c0 80004001 6877a314
0x0032fcb0:  6877418e 0032fd28 00000000 00000000
0x0032fcc0:  00000001 6877428a 690fb58b 6877a314
Backtrace:
=>0 0x690fff17 MediaSeeking_GetCurrentPosition+0x137(iface=0x12c7c8, pCurrent=0x32fd28) [/home/julliard/wine/wine/dlls/quartz/filtergraph.c:2460] in quartz (0x0032fcd8)
  1 0x6876ddea func_filtergraph+0x3a9() [/home/julliard/wine/wine/dlls/quartz/tests/filtergraph.c:284] in quartz_test (0x0032fd58)
  2 0x68767392 main+0x3a1(argc=0, argv=(nil)) [/home/julliard/wine/wine/dlls/quartz/tests/../../../include/wine/test.h:556] in quartz_test (0x0032fe28)
  3 0x68773865 __wine_spec_exe_entry+0x74(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/winecrt0/exe_entry.c:36] in quartz_test (0x0032fe70)
  4 0x6848cc4c call_process_entry+0xb() in kernel32 (0x0032fe88)
  5 0x6848ddcf start_process+0x5e(peb=0x7ffdf000) [/home/julliard/wine/wine/dlls/kernel32/process.c:1083] in kernel32 (0x0032fec8)
  6 0x6837a0b0 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  7 0x6837cd9d call_thread_func+0x7c(entry=0x6848dd70, arg=0x7ffdf000, frame=0x32ffc8) [/home/julliard/wine/wine/dlls/ntdll/signal_i386.c:2532] in ntdll (0x0032ffa8)
  8 0x6837a08e call_thread_entry_point+0x11() in ntdll (0x0032ffc8)
  9 0x6835219e start_process+0x1d(kernel_start=0x6848dd70) [/home/julliard/wine/wine/dlls/ntdll/loader.c:2612] in ntdll (0x0032ffe8)
  10 0x68028a9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
0x690fff17 MediaSeeking_GetCurrentPosition+0x137 [/home/julliard/wine/wine/dlls/quartz/filtergraph.c:2460] in quartz: movl	0x0(%eax),%edx
2460	        IReferenceClock_GetTime(This->refClock, &time);


-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list