[vlc-devel] Updated patch for ogg/theora seeking

salsaman salsaman at gmail.com
Tue Jun 8 16:57:54 CEST 2010

OK, this iteration of the patch should fix all of the issues previously

I think there may be a bug elsewhere in vlc, because if the stream is not
seekable, attempts to seek now return VLC_EGENERIC. However playback hangs



On Mon, Jun 7, 2010 at 5:28 PM, Ilkka Ollakka <ileoo at videolan.org> wrote:

> On Mon, Jun 07, 2010 at 05:14:58PM -0300, salsaman wrote:
> >    OK, how do I check for a stream ? I was assuming that if the file size
> was
> >    0 then it is a stream, otherwise it is a file.
>  Hi,
>  You can use stream_Control( stream_t *, STREAM_CAN_SEEK, &bool ) or
>  STREAM_CAN_FASTSEEK to check if stream is seekable or can be seeked
>  fast. You don't really need to know if input is file or stream.
>  (stream_Tell/stream_Size uses STREAM_GET_POSITION and STREAM_GET_SIZE,
>  if you look vlc/include/vlc_stream.h ).
> --
> Ilkka Ollakka
> Money is the root of all evil, and man needs roots
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100608/7ebb4edf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ogg-theora-seek-changes-for-GSOC-project.patch
Type: text/x-patch
Size: 61713 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100608/7ebb4edf/attachment.bin>

More information about the vlc-devel mailing list