Commit afb75cb
committed
[GStreamer] Avoid preserve pitch with native audio
https://bugs.webkit.org/show_bug.cgi?id=259356
Reviewed by Philippe Normand.
Preserve pitch adds a scaletempo element to the pipeline, which prevents
decoder-sinks with fancy caps to link as scaletempo only accepts raw caps.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::setPlaybackFlags):
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
(WebCore::setPlaybackFlags): Deleted.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
Canonical link: https://commits.webkit.org/266177@main1 parent 61315a4 commit afb75cb
2 files changed
Lines changed: 13 additions & 7 deletions
File tree
- Source/WebCore/platform/graphics/gstreamer
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2875 | 2875 | | |
2876 | 2876 | | |
2877 | 2877 | | |
2878 | | - | |
| 2878 | + | |
2879 | 2879 | | |
2880 | 2880 | | |
2881 | 2881 | | |
| |||
2885 | 2885 | | |
2886 | 2886 | | |
2887 | 2887 | | |
2888 | | - | |
2889 | | - | |
| 2888 | + | |
| 2889 | + | |
2890 | 2890 | | |
2891 | 2891 | | |
2892 | 2892 | | |
| |||
2909 | 2909 | | |
2910 | 2910 | | |
2911 | 2911 | | |
2912 | | - | |
| 2912 | + | |
2913 | 2913 | | |
2914 | 2914 | | |
2915 | 2915 | | |
2916 | | - | |
2917 | | - | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
2918 | 2923 | | |
2919 | 2924 | | |
2920 | 2925 | | |
| |||
2952 | 2957 | | |
2953 | 2958 | | |
2954 | 2959 | | |
2955 | | - | |
| 2960 | + | |
2956 | 2961 | | |
2957 | 2962 | | |
2958 | 2963 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| 477 | + | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| |||
0 commit comments