Bug 235964 - [GStreamer] Generate webrtc encoder src pad template based on supported platform encoders
Summary: [GStreamer] Generate webrtc encoder src pad template based on supported platf...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-01 09:57 PST by Philippe Normand
Modified: 2022-02-02 10:56 PST (History)
11 users (show)

See Also:


Attachments
Patch (6.11 KB, patch)
2022-02-01 09:59 PST, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2022-02-01 09:57:23 PST
.
Comment 1 Philippe Normand 2022-02-01 09:59:58 PST
Created attachment 450542 [details]
Patch
Comment 2 Víctor M. Jáquez L. 2022-02-01 23:21:09 PST
Comment on attachment 450542 [details]
Patch

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

> Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.cpp:269
> +

what about an assert or an error message if caps results empty?
Comment 3 Xabier Rodríguez Calvar 2022-02-01 23:26:53 PST
Comment on attachment 450542 [details]
Patch

I agree with Víctor, at least a WARNING or ERROR would be in order.
Comment 4 Philippe Normand 2022-02-02 01:26:23 PST
There is one already in webrtcVideoEncoderSetFormat()
Comment 5 EWS 2022-02-02 10:55:18 PST
Committed r288971 (246700@main): <https://commits.webkit.org/246700@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 450542 [details].
Comment 6 Radar WebKit Bug Importer 2022-02-02 10:56:17 PST
<rdar://problem/88390328>