[vlc-devel] [vlc-commits] http filters: pause not implemented, pace control not supported

Ilkka Ollakka ileoo at videolan.org
Fri May 24 09:44:35 CEST 2013


Hi,

On Tue, Apr 16, 2013 at 07:20:00PM +0200, Rémi Denis-Courmont wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 16 20:09:07 2013 +0300| [cca4ec23128c29f56382eb99da10c8bf3473680d] | committer: Rémi Denis-Courmont

> http filters: pause not implemented, pace control not supported

> Also add missing STREAM_CAN_FASTSEEK to HTTP live.

> index 4771f79..e51c740 100644
> --- a/modules/stream_filter/httplive.c
> +++ b/modules/stream_filter/httplive.c
> @@ -2493,6 +2493,11 @@ static int Control(stream_t *s, int i_query, va_list args)
>          case STREAM_CAN_SEEK:
>              *(va_arg (args, bool *)) = hls_MaySeek(s);
>              break;
> +        case STREAM_CAN_FASTSEEK:
> +        case STREAM_CAN_PAUSE: /* TODO */
> +        case STREAM_CAN_CONTROL_PACE:
> +            *(va_arg (args, bool *)) = false;
> +            break;
>          case STREAM_GET_POSITION:
>              *(va_arg (args, uint64_t *)) = p_sys->playback.offset;

This seems to break http live streams for me. When reverted CAN_PAUSE
and CAN_CONTROL_PACE to same as CAN_SEEK streams started to work again.

Problem is that after first retrieval of segments ts demuxer thinks it
gets eof and signals it to core. With revert the playback continues
after first set of segments without problems.

-- 
Ilkka Ollakka
As far as we know, our computer has never had an undetected error.
		-- Weisert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130524/18cc799f/attachment.sig>


More information about the vlc-devel mailing list