[vlc-devel] HTTP Timeshift

Tobias Güntner fatbull at web.de
Sun Mar 6 12:57:22 CET 2011


Hello!

I had problems enabling timeshift for HTTP streams. Apparently VLC 
assumes every HTTP stream can be paused and resumed. Unfortunately this 
does not work for live streams.

I've attached a patch which changes two things:
* First, it generally enables timeshift if a stream cannot be paused.
* Second, ACCESS_CAN_PAUSE will return false for HTTP streams without a 
known response length. This seems to be a useful indicator to identify 
live streams.

Regards,
Tobias Güntner
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Enable-timeshift-for-some-HTTP-streams.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110306/b2256d8d/attachment.ksh>


More information about the vlc-devel mailing list