[Webkit-unassigned] [Bug 181594] [EME] Add layout test for the MSE playback of ClearKey encrypted audio and video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 15 06:45:55 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=181594

--- Comment #3 from Yacine Bandou <bandou.yacine at gmail.com> ---
(In reply to Xabier Rodríguez Calvar from comment #2)
> Comment on attachment 331208 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=331208&action=review
> 
> > LayoutTests/media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html:33
> > +        let ms = new MediaSourceLoaderSimple(video);
> 
> You can probably use const here.

Yes

> 
> > LayoutTests/media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse.html:17
> > +        let emeHandler = new EncryptedMediaHandler(video, videoConf);
> 
> You can probably use const here.

Yes

> 
> > LayoutTests/media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse.html:33
> > +        let ms = new MediaSourceLoaderSimple(video);
> 
> Ditto.

Yes

> 
> > LayoutTests/platform/wpe/TestExpectations:1132
> > +webkit.org/b/180080 media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html [ Crash ]
> 
> ?

Crash because the content follow the full-sample encryption, thus the subSamplesBuffer is nul

So we crash in this line:

>Source/WebCore/platform/graphics/gstreamer/eme/WebKitClearKeyDecryptorGStreamer.cpp:240
GstMapInfo subSamplesMap;
gboolean subsamplesBufferMapped = gst_buffer_map(subSamplesBuffer, &subSamplesMap, GST_MAP_READ);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180115/63c19235/attachment.html>


More information about the webkit-unassigned mailing list