Commit 1ce3455
committed
[GStreamer] Do not use get_mime_codec for <1.20.0
https://bugs.webkit.org/show_bug.cgi?id=294205
Reviewed by Philippe Normand.
gst_codec_utils_caps_get_mime_codec is not available before 1.20.0, so
compile it out conditionally, using tryAutoPlug in that case.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::configureParsebin):
Canonical link: https://commits.webkit.org/296032@main1 parent c0067e9 commit 1ce3455
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2546 | 2546 | | |
2547 | 2547 | | |
2548 | 2548 | | |
2549 | | - | |
2550 | 2549 | | |
2551 | 2550 | | |
2552 | 2551 | | |
| |||
2563 | 2562 | | |
2564 | 2563 | | |
2565 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
2566 | 2567 | | |
2567 | 2568 | | |
2568 | 2569 | | |
| |||
2575 | 2576 | | |
2576 | 2577 | | |
2577 | 2578 | | |
| 2579 | + | |
2578 | 2580 | | |
2579 | 2581 | | |
2580 | 2582 | | |
| |||
0 commit comments