Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#53 closed defect (fixed)

RTC timing in mplayer cause mplayer to pause

Reported by: davon@… Owned by: alex@…
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc: diego@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I patched mplayer to use /dev/rtc on FreeBSD-4.10. There is a RTC driver which
supposedly works. However when I run mplayer using the rtc device the screen
comes up and it doesn't go any further after filling the cache. Now and then
it might play like a second. but then it just freezes.
When you ctrl-c you get a message that it left sleep_rtc using the -nortc of
course makes it work like it usually does. I've been tinkering with this
problem since 1.0.3 with no luck.

Attachments (1)

bsdrtc.diff (3.2 KB ) - added by reimar 20 years ago.
RTC on BSD

Download all attachments as: .zip

Change History (5)

comment:1 by reimar, 20 years ago

I patched mplayer to use /dev/rtc on FreeBSD-4.10. There is a RTC driver which
supposedly works. However when I run mplayer using the rtc device the screen
comes up and it doesn't go any further after filling the cache. Now and then
it might play like a second. but then it just freezes.

Are you aware that MPlayer needs the rtc to run at 1024Hz? I wouldn't be
surprised if FreeBSDs rtc implementation won't do that...
Have a look at mplayer.c, line 1095, there you can tweak the rtc frequency used...

comment:2 by diego@…, 20 years ago

Cc: diego@… added

Could you please post your patch? Also, have a look at the FreeBSD ports, they
also enable RTC in their MPlayer version.

by reimar, 20 years ago

Attachment: bsdrtc.diff added

RTC on BSD

comment:3 by reimar, 20 years ago

Does RTC on FreeBSD work with this patch?

comment:4 by reimar, 20 years ago

Resolution: fixed
Status: newclosed

RTC should work now on FreeBSD out of the box.

Note: See TracTickets for help on using tickets.