RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.946
diff -u -r1.946 configure
|
|
|
|
| 167 | 167 | --disable-tv-bsdbt848 disable BSD BT848 Interface support [autodetect] |
| 168 | 168 | --disable-edl disable EDL (edit decision list) support [enable] |
| 169 | 169 | --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] |
| | 170 | --disable-bsdrtc disable BSD style RTC (/dev/rtc) [autodetect] |
| 170 | 171 | --disable-network disable network support (for: http/mms/rtp) [enable] |
| 171 | 172 | --enable-winsock2 enable winsock2 usage [autodetect] |
| 172 | 173 | --enable-smb enable Samba (SMB) input support [autodetect] |
| … |
… |
|
| 1300 | 1302 | _iconv=auto |
| 1301 | 1303 | _langinfo=auto |
| 1302 | 1304 | _rtc=auto |
| | 1305 | _bsdrtc=auto |
| 1303 | 1306 | _ossaudio=auto |
| 1304 | 1307 | _arts=auto |
| 1305 | 1308 | _esd=auto |
| … |
… |
|
| 1472 | 1476 | --disable-langinfo) _langinfo=no ;; |
| 1473 | 1477 | --enable-rtc) _rtc=yes ;; |
| 1474 | 1478 | --disable-rtc) _rtc=no ;; |
| | 1479 | --enable-bsdrtc) _bsdrtc=yes ;; |
| | 1480 | --disable-bsdrtc) _bsdrtc=no ;; |
| 1475 | 1481 | --enable-mp1e) _mp1e=yes ;; |
| 1476 | 1482 | --disable-mp1e) _mp1e=no ;; |
| 1477 | 1483 | --enable-libdv) _libdv=yes ;; |
| … |
… |
|
| 5000 | 5012 | |
| 5001 | 5013 | |
| 5002 | 5014 | echocheck "RTC" |
| 5003 | | if linux ; then |
| 5004 | 5015 | if test "$_rtc" = auto ; then |
| 5005 | 5016 | cat > $TMPC << EOF |
| 5006 | 5017 | #include <sys/ioctl.h> |
| … |
… |
|
| 5010 | 5021 | _rtc=no |
| 5011 | 5022 | cc_check && _rtc=yes |
| 5012 | 5023 | fi |
| 5013 | | echores "$_rtc" |
| 5014 | | else |
| 5015 | | _rtc=no |
| 5016 | | echores "no (Linux specific feature)" |
| 5017 | | fi |
| 5018 | 5024 | if test "$_rtc" = yes ; then |
| 5019 | 5025 | _def_rtc='#define HAVE_RTC 1' |
| | 5026 | _bsdrtc=no |
| | 5027 | echores "yes" |
| 5020 | 5028 | else |
| 5021 | 5029 | _def_rtc='#undef HAVE_RTC' |
| 5022 | 5030 | fi |
| 5023 | 5031 | |
| | 5032 | if test "$_bsdrtc" = auto ; then |
| | 5033 | cat > $TMPC << EOF |
| | 5034 | #include <sys/ioctl.h> |
| | 5035 | #include <rtc.h> |
| | 5036 | int main(void) { return RTCIO_IRQP_READ; } |
| | 5037 | EOF |
| | 5038 | _bsdrtc=no |
| | 5039 | cc_check && _bsdrtc=yes |
| | 5040 | fi |
| | 5041 | if test "$_bsdrtc" = yes ; then |
| | 5042 | _def_bsdrtc='#define HAVE_BSDRTC 1' |
| | 5043 | echores "yes (BSD style)" |
| | 5044 | else |
| | 5045 | _def_bsdrtc='#undef HAVE_BSDRTC' |
| | 5046 | echores "no" |
| | 5047 | fi |
| 5024 | 5048 | |
| 5025 | 5049 | echocheck "external liblzo support" |
| 5026 | 5050 | if test "$_liblzo" = auto ; then |
| … |
… |
|
| 6844 | 6868 | /* define this to use RTC (/dev/rtc) for video timers (LINUX only) */ |
| 6845 | 6869 | $_def_rtc |
| 6846 | 6870 | |
| | 6871 | /* as above but with BSD style RTC headers (RTCIO_*) */ |
| | 6872 | $_def_bsdrtc |
| | 6873 | |
| 6847 | 6874 | /* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */ |
| 6848 | 6875 | #define MAX_OUTBURST 65536 |
| 6849 | 6876 | |
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.821
diff -u -r1.821 mplayer.c
|
|
|
|
| 94 | 94 | |
| 95 | 95 | #ifdef HAVE_RTC |
| 96 | 96 | #include <linux/rtc.h> |
| | 97 | #elif defined(HAVE_BSDRTC) |
| | 98 | #include <rtc.h> |
| | 99 | #define RTC_IRQP_SET RTCIO_IRQP_SET |
| | 100 | #define RTC_PIE_ON RTCIO_PIE_ON |
| | 101 | #define HAVE_RTC 1 |
| 97 | 102 | #endif |
| 98 | 103 | |
| 99 | 104 | #ifdef USE_TV |
RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
retrieving revision 1.235
diff -u -r1.235 cfg-mplayer.h
|
|
|
|
| 115 | 115 | extern int xinerama_screen; |
| 116 | 116 | #endif |
| 117 | 117 | |
| 118 | | #ifdef HAVE_RTC |
| | 118 | #if defined(HAVE_RTC) || defined(HAVE_BSDRTC) |
| 119 | 119 | extern int nortc; |
| 120 | 120 | #endif |
| 121 | 121 | |