summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-12 18:02:02 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-12 18:02:02 +0000
commitb7180c614af049fd4e266399700c78808d57885b (patch)
tree9426f763814a77606c9c581b056ad14475fa84b1 /mplayer.c
parentdf367a7e2c6976c40ef792fc815f5f4ac979d210 (diff)
downloadmpv-b7180c614af049fd4e266399700c78808d57885b.tar.bz2
mpv-b7180c614af049fd4e266399700c78808d57885b.tar.xz
nortc patch by Attila Kinali
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5056 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 9ddfd70126..abfd35184c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -291,6 +291,10 @@ static stream_t* stream=NULL;
char* current_module=NULL; // for debugging
+#ifdef HAVE_RTC
+int nortc;
+#endif
+
static unsigned int inited_flags=0;
#define INITED_VO 1
#define INITED_AO 2
@@ -679,6 +683,8 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){
#endif
#ifdef HAVE_RTC
+ if(!nortc)
+ {
if ((rtc_fd = open("/dev/rtc", O_RDONLY)) < 0)
perror ("Linux RTC init: open");
else {
@@ -697,6 +703,7 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){
} else
printf("Using Linux's hardware RTC timing (%ldHz)\n", irqp);
}
+ }
#ifdef HAVE_NEW_GUI
// breaks DGA and SVGAlib and VESA drivers: --A'rpi
// and now ? -- Pontscho