Opened 11 years ago

Closed 11 years ago

#5953 closed defect (fixed)

Compilation fails in videoout_xv.cpp

Reported by: ianh@… Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When neither USING_XVMC nor USING_VDPAU, eg in a backend server, is defined compilation fails with the following

videoout_xv.cpp: In static member function 'static MythCodecID VideoOutputXv::GetBestSupportedCodec?(uint, uint, uint, uint, uint, int, bool, bool)': videoout_xv.cpp:1488: error: 'ret' was not declared in this scope make[2]: * [videoout_xv.o] Error 1

This is because the variable ret used in line 1488 is defined in line 1415, and this line is in a block of code only compiled when one of the above two options is defined.

Change History (1)

comment:1 Changed 11 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [19204]) Commit non-XVMC-and-non-VDPAU build fix [19194] from VID-fixes. Closes #5953

Note: See TracTickets for help on using tickets.