> > Both times when it reaches the end of the TS file, and looks 
> > like it has
> > completed vid and aud, it hangs.. in exactly the same way 
> > dvb-mplex hangs
> > with:
> > # dvb-mplex -t MPEG2 -o test.mpg -i TS_STREAM 
> > DVB-9-20021127-2059.36+2h10m.ts
> > 
> > 
> > read(3, "", 1880)                       = 0
> > read(3, "", 1880)                       = 0
> > read(3, "", 1880)                       = 0
> > 
> > ... repeats for ever.. Why is it continuing to read from this 
> > file.. the
> > return value of 0 indicated EOF surely?
> 
> Looking at the code, dvb-mpegtools differs in that it uses save_read()
> instead of read(), but the function has a slight flaw that 
> won't let it
> exit the read() loop:

... Whoops, forgot to mention save_read() is at the top ctools.c if you
want to modify it.

Andy.



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to