[MPlayer-dev-eng] [PATCH] Support for MOV-Reference Files

Fabian Franz FabianFranz at gmx.de
Sun Jan 12 21:52:41 CET 2003


Hi,

attached patch adds support for MOV-Reference-Files ...

It uses the video->stream for doing so and makes sure that type is set to 
TYPE_PLAYLIST ...

It also makes sure, that unnecessary items like qt5gateQT are removed and that 
the url/basepath is added to "local files" ... (There should be a fix to also 
test for ../bla and so on ...)

For this and t hat is one drawback of the patch it uses basename, which needs 
libgen.h which is only available on linux-systems ...

So we need our own function to do this ... (native implementation)

It also changes some network code:

If mime/type==video/quicktime and video is bigger than normal set cache (40 
kb), cache-size is set to Content-Length ...

I did this, because I got crashs, when mplayer tried to seek and cache was to 
slow ... (too slow network)

qt for windows [I know, I know, but I wanted to see how they do the streaming] 
did just stop the video (pause) at that point ... 

idea for us too ? With some osd-text: paused ? :-)

If you don't like last part, then delete it from patch ;-)

cu

Fabian

PS: I hope it is clean and there are no 10l's in for example the code with the 
basename-thingy (I really don't like string-handling, I really don't ;) )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_mov_ref_sup.diff
Type: text/x-diff
Size: 5716 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030112/3aa0611a/attachment.diff>


More information about the MPlayer-dev-eng mailing list