[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.27,1.28

Alban Bedel albeu at free.fr
Thu Jul 3 11:39:51 CEST 2003


Hi D Richard Felker III,

on Wed, 2 Jul 2003 20:34:10 -0400 you wrote:

> On Wed, Jul 02, 2003 at 10:43:30PM +0200, Alban Bedel CVS wrote:
> > Update of /cvsroot/mplayer/main/libmpdemux
> > In directory mail:/var/tmp.root/cvs-serv8763/libmpdemux
> > 
> > Modified Files:
> > 	demux_ogg.c 
> > Log Message:
> > A little hack to be able to play ogg radio stream
> 
> I'm not sure this is correct. I ran into this problem when writing a
> radio server -- all the players I tried, including popular windows
> ones, stopped playing when the stream id changed.
So they are all buggy. Burn them all ;)
Anyway it's perfectly 'legal' to do so in an ogg stream. Also note
that it make it easyier for the ppl to save the stream and pull-out
every single song out of it :)

> So I was left with a
> choice: make the radio server rewrite pages to all use the same id
> (hideous because it requires cpu time to recompute checksums) or else
> fix all the files on disk. I opted for the latter and made a simple
> program to change ogg files so they're all stream #1.
For the server side your right to opt for some thing wich will work
with as many clients as possible. But here it's a clients, so it
should work with as many servers as possible.
 
> Whoever decided to make oggenc use random stream id's by default
> should be shot.....
We can bitch as much as we want about other ppl serser's config
that won't solve the problem. And as i said these stream are
'legal' ogg stream, so such debate would only end up in flame.

Anyway feel free to fix the oa/ac to allow reconfig like vo do.
And i'll be happy to make a better fix.
	Albeu
-- 

Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.



More information about the MPlayer-cvslog mailing list