[Webkit-unassigned] [Bug 178076] [MSE][GStreamer] Insert parser elements in AppendPipeline when demuxing opus or Vorbis

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 11 02:48:50 PDT 2017


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

Enrique Ocaña <eocanha at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eocanha at igalia.com

--- Comment #3 from Enrique Ocaña <eocanha at igalia.com> ---
Comment on attachment 323400
  --> https://bugs.webkit.org/attachment.cgi?id=323400
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=323400&action=review

> Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:955
> +    GRefPtr<GstCaps> padCaps = adoptGRef(gst_pad_get_current_caps(GST_PAD(demuxerSrcPad)));

Is this GST_PAD() macro actually needed?

> Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:965
> +        return opusparse;

Just a comment for future reference without any action required on your side: opusparse is a floating reference. The return type is GRefPtr. This means that there's going to be a GRefPtr(opusparse) call under the hood which will call g_object_ref_sink() and convert the floating ref into a regular ref owned by the GRefPtr.

> Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:1034
> +        // This is known to be an issue with YouTube webm files containing Opus audio as of YT2018.

YouTube/tv (isn't the same as YouTube)

> Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:-1094
> -    // Must be done in the thread we were called from (usually streaming thread).

What happened to the black hole probe?

> Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:-1111
> -        gst_element_unlink(m_demux.get(), m_decryptor.get());

No unlinking now? Why?

-- 
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/20171011/4e6c8e0b/attachment-0001.html>


More information about the webkit-unassigned mailing list