[MPlayer-users] Mplayer's Ncurse's OSD Display Scrolls Metadata
roger
roger at eskimo.com
Sun Jul 22 04:55:47 CEST 2007
My application updates streamed ogg metadata every so often and I
noticed mplayer does not use ncurses "cursor up" with each outputted
"Demuxer info line".
Basically, what should happen, for each "Demuxer info" printed via osd
(mplayer's implementation of the ncurses lib), a "cursor up" should be
issued, and probably along with a "line clear" should also be issued
with each one.
Doing this should stop the scroll effect I'm seeing here:
AO: [oss] 22050Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
Demuxer info Album changed to Album_Name
Demuxer info Artist changed to New_Artist
Demuxer info Name changed to
Demuxer info Album changed to Album_Name%
Demuxer info Artist changed to Artist_One
Demuxer info Name changed to Artist_Name
Demuxer info Album changed to Album_Name
Demuxer info Artist changed to
Demuxer info Name changed to
Demuxer info Album changed to Album_Name%
Demuxer info Artist changed to New_Artist
Demuxer info Name changed to New_Name
Demuxer info Album changed to Album_Name
Demuxer info Artist changed to New_Artist
Demuxer info Name changed to
Demuxer info Album changed to Album_Name%
Demuxer info Artist changed to Artist_One
Demuxer info Name changed to New_Name
Demuxer info Album changed to Album_Name
Demuxer info Artist changed to New_Artist
Demuxer info Name changed to
Demuxer info Album changed to Album_Name 20%
Demuxer info Artist changed to New_Artist
Demuxer info Name changed to New_Name
Demuxer info Album changed to Album_Name
Demuxer info Artist changed to New_Artist
Demuxer info Name changed to
Demuxer info Album changed to Album_Name 18%
Demuxer info Artist changed to Artist_One
Demuxer info Name changed to Artist_Name
Demuxer info Album changed to Album_Name
Demuxer info Artist changed to New_Artist
On second thought, maybe it's a feature to see the history of what has
been played? But if ncurses (mplayer's osd) is being used, shouldn't
the display remain uniform and erase the history to prevent scrolling
and the scroll effect employed when ncurses isn't used?
--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61
Sat Jul 21 19:25:13 PDT 2007
More information about the MPlayer-users
mailing list