[vlc-devel] [PATCH] HLS: Check for Segment in all hls streams.

Frederic YHUEL fyhuel at viotech.net
Mon Jul 9 15:16:17 CEST 2012

On Mon, Jul 9, 2012 at 2:43 PM, satish MR <satishmr123 at gmail.com> wrote:
> Hi Frederic YHUEL,
> Thanks for the review.
> Sorry for writing to your personal mail.

No problem, but I reply to the ML.

> I dont know how to reply to exact
> thread of my patch.


> Sorry, I missed few codelines (handling of null values returned from
> getsegment()) in the patch i sent.

That was not my point.

> without this patch, Getsegment() will not search in all hls streams for
> available segments.

Yes it will, provided that hls_Get and segment_GetSegment don't return NULL.

If hls_Get returns NULL, then it's probably better that Getsegment
also returns NULL.

If segment_GetSegment returns NULL, then I don't know... maybe it's
better to continue, and look at other streams, indeed.

> with that I could get things working for a live hls stream playback.

Could you share that stream?

Best regards

More information about the vlc-devel mailing list