mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
Use 0 and 1 instead of FRIBIDI_FALSE and FRIBIDI_TRUE which are no
longer defined in the current development version of FriBidi. This reportedly allows compiling MPlayer with the development version which is needed for Arabic support (some used functions are marked as deprecated though). Should be safe with older FriBidi versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18551 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fab6247393
commit
8867515f9b
@ -1194,8 +1194,8 @@ subtitle* sub_fribidi (subtitle *sub, int sub_utf8)
|
||||
int char_set_num;
|
||||
fribidi_boolean log2vis;
|
||||
if(flip_hebrew) { // Please fix the indentation someday
|
||||
fribidi_set_mirroring (FRIBIDI_TRUE);
|
||||
fribidi_set_reorder_nsm (FRIBIDI_FALSE);
|
||||
fribidi_set_mirroring(1);
|
||||
fribidi_set_reorder_nsm(0);
|
||||
|
||||
if( sub_utf8 == 0 ) {
|
||||
char_set_num = fribidi_parse_charset (fribidi_charset?fribidi_charset:"ISO8859-8");
|
||||
|
Loading…
Reference in New Issue
Block a user