RESOLVED FIXED 220087
[GStreamer] Add support to build with native audio and video
https://bugs.webkit.org/show_bug.cgi?id=220087
Summary [GStreamer] Add support to build with native audio and video
Xabier Rodríguez Calvar
Reported 2020-12-22 08:28:10 PST
[GStreamer] Add support to build with native audio and video
Attachments
Patch (4.49 KB, patch)
2020-12-22 08:29 PST, Xabier Rodríguez Calvar
no flags
Patch (5.13 KB, patch)
2021-01-08 04:41 PST, Xabier Rodríguez Calvar
no flags
Patch (5.42 KB, patch)
2021-01-08 08:45 PST, Xabier Rodríguez Calvar
no flags
Xabier Rodríguez Calvar
Comment 1 2020-12-22 08:29:38 PST
Xabier Rodríguez Calvar
Comment 2 2020-12-22 08:50:09 PST
Comment on attachment 416666 [details] Patch I should polish this by adding more checks on GStreamer and tweaking defaults.
Xabier Rodríguez Calvar
Comment 3 2021-01-08 04:41:48 PST
Philippe Normand
Comment 4 2021-01-08 05:20:27 PST
Comment on attachment 417262 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417262&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:2698 > +#if ENABLE(TEXT_SINK) > + unsigned hasText = getGstPlayFlag("text"); > +#else > + unsigned hasText = 0x0; > +#endif What's the implication of disabling this in playbin? In the player we set a custom text-sink to collect in-band text cues, should that code be ifdeffed now?
Xabier Rodríguez Calvar
Comment 5 2021-01-08 07:25:35 PST
(In reply to Philippe Normand from comment #4) > Comment on attachment 417262 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=417262&action=review > > > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:2698 > > +#if ENABLE(TEXT_SINK) > > + unsigned hasText = getGstPlayFlag("text"); > > +#else > > + unsigned hasText = 0x0; > > +#endif > > What's the implication of disabling this in playbin? In the player we set a > custom text-sink to collect in-band text cues, should that code be ifdeffed > now? Text sink pads get not connected to anything in playsink so text dies there.
Philippe Normand
Comment 6 2021-01-08 07:52:38 PST
Comment on attachment 417262 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417262&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:2714 > + g_object_set(pipeline, "flags", hasText | hasAudio | hasVideo | hasNativeVideo | hasNativeAudio, nullptr); So this unsets the default flags too, which is not a great idea, the default is "soft-colorbalance+deinterlace+soft-volume+text+audio+video". Can you get the previous flags before and preserve them please?
Xabier Rodríguez Calvar
Comment 7 2021-01-08 08:45:59 PST
EWS
Comment 8 2021-01-11 02:31:06 PST
Committed r271355: <https://trac.webkit.org/changeset/271355> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417269 [details].
Radar WebKit Bug Importer
Comment 9 2021-01-11 02:32:14 PST
Note You need to log in before you can comment on or make changes to this bug.