Opened 17 years ago

Last modified 13 years ago

#911 closed defect (duplicate)

Video bigger than DirectX Overlay size.

Reported by: gilesbathgate@… Owned by: reimar
Priority: normal Component: vo
Version: 1.0rc1 Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I have this problem when using directx. When I try to view a
video of 950x540 I get the error message: <vo_directx><FATAL ERROR>can't use
overlay mode: please use -vo directx:noaccel

After supplying -v an error code is also spit out which I have googled and
found to be DDERR_TOOBIGSIZE "Size requested by DirectDraw is too large, but
the individual height and width are OK."

(it might be handy to include something like the following code in the dx
driver to give a better clue as to the problem
http://www.koders.com/cpp/fidEA98EA108909A12B31CB54222EBDDEF48D3532C3.aspx)

I can work around the problem by supplying -vf scale=700

Using this option is obviously faster for me than using -vo directx:noaccel

I would welcome code to automatically detect the direct draw overlay size and
scale the video as needed.

Change History (2)

comment:1 by compn, 13 years ago

Owner: changed from beastd to reimar

comment:2 by compn, 13 years ago

Resolution: duplicate
Status: newclosed, patriotact@gmail.com

now i mark this a dup of bug778

Note: See TracTickets for help on using tickets.