Changeset 246192 in webkit


Ignore:
Timestamp:
Jun 7, 2019 1:14:03 AM (5 years ago)
Author:
Philippe Normand
Message:

[GStreamer] videorate issues with v4l2src
https://bugs.webkit.org/show_bug.cgi?id=198614

Reviewed by Xabier Rodriguez-Calvar.

Configure videorate to cope with the live stream provided by the
source element. Not doing so might lead to errors in the v4l2
buffer allocator.

  • platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp:

(WebCore::GStreamerVideoCapturer::createConverter):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246190 r246192  
     12019-06-07  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] videorate issues with v4l2src
     4        https://bugs.webkit.org/show_bug.cgi?id=198614
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        Configure videorate to cope with the live stream provided by the
     9        source element. Not doing so might lead to errors in the v4l2
     10        buffer allocator.
     11
     12        * platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp:
     13        (WebCore::GStreamerVideoCapturer::createConverter):
     14
    1152019-06-06  Andy Estes  <aestes@apple.com>
    216
  • trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp

    r236397 r246192  
    3939GstElement* GStreamerVideoCapturer::createConverter()
    4040{
    41     auto converter = gst_parse_bin_from_description("videoscale ! videoconvert ! videorate", TRUE, nullptr);
    42 
     41    // https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/97#note_56575
     42    auto converter = gst_parse_bin_from_description("videoscale ! videoconvert ! videorate drop-only=1 average-period=1", TRUE, nullptr);
    4343    ASSERT(converter);
    4444
Note: See TracChangeset for help on using the changeset viewer.