Changeset 233202 in webkit


Ignore:
Timestamp:
Jun 26, 2018 9:58:58 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[GStreamer] Do not forget to set stream on track switching
https://bugs.webkit.org/show_bug.cgi?id=187049

Patch by Thibault Saunier <tsaunier@igalia.com> on 2018-06-26
Reviewed by Philippe Normand.

This was an overlooked issue introduced in Bug #186678

This is already tested, but we currently run only tests against playbin2

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::enableTrack):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r233201 r233202  
     12018-06-26  Thibault Saunier  <tsaunier@igalia.com>
     2
     3        [GStreamer] Do not forget to set stream on track switching
     4        https://bugs.webkit.org/show_bug.cgi?id=187049
     5
     6        Reviewed by Philippe Normand.
     7
     8        This was an overlooked issue introduced in Bug #186678
     9
     10        This is already tested, but we currently run only tests against playbin2
     11
     12        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     13        (WebCore::MediaPlayerPrivateGStreamer::enableTrack):
     14
    1152018-06-26  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r233200 r233202  
    749749
    750750    if (!m_isLegacyPlaybin) {
    751         gst_stream_collection_get_stream(m_streamCollection.get(), index);
     751        stream = gst_stream_collection_get_stream(m_streamCollection.get(), index);
    752752        if (!stream) {
    753753            GST_WARNING_OBJECT(pipeline(), "No stream to select at index %u", index);
Note: See TracChangeset for help on using the changeset viewer.