AW: [MPlayer-dev-eng] streaming and changing file info
Attila Kinali
attila at kinali.ch
Sat Sep 2 14:06:25 CEST 2006
On Sat, 2 Sep 2006 13:39:28 +0200
Reimar.Doeffinger at stud.uni-karlsruhe.de wrote:
> >When streaming from a shoutcast, stream/http.c:117 prints
> >new incomming ICY infos. For all other formats that are
> >handled by the demuxer layer, libmpdemux/demuxer.c:935
> >prints out the changed info but does not store it in demuxer->info.
>
> libmpdemux/demuxer.c:937 doe store the new information
> in demuxer->info unless I did something stupid.
Oh.. my fault. I skipped over a line while reading.
> stream/http.c:117 is also my code, the reason it does not
> use demux_info_add is that I would have to parse the ICY-info for that, and I hate parsing.
:-)
> >Both ways look horrbly ugly to me (visualy, not from code style).
> >IMHO, the (visualy) right way would be to call demux_info_print()
> >after an info packet is received, but i have no idea whether
> >that would work in all cases.
>
> I don't know if reprinting all info each time will look so great...
Not each time, but after all infos are together. I expect
that the infos come in one packet, so we would know when
no new info would come for a while and could print what
we have.
Attila Kinali
PS: Your webmailer is broken :)
--
心をこめて聞け心をこめて話せ
More information about the MPlayer-dev-eng
mailing list