Changeset 230910 in webkit
- Timestamp:
- Apr 23, 2018 6:39:53 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r230909 r230910 1 2018-04-23 Thibault Saunier <tsaunier@igalia.com> 2 3 [GStreamer] Start implementing Audio/VideoTrackPrivateGSTreamer::kind method 4 https://bugs.webkit.org/show_bug.cgi?id=184650 5 6 Reviewed by Philippe Normand. 7 8 In the playbin3 case we can assume that if the GstStream is selected by default, 9 it is the Main track of that kind. 10 11 No new tests are added as: 12 * It relies on playbin3 case which support might be compiled out 13 * we already have a few test that are currently disabled in the mediastream 14 testsuite. This patch is part of the work to enable them. 15 16 * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp: 17 (WebCore::AudioTrackPrivateGStreamer::kind const): 18 * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h: 19 * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp: 20 (WebCore::VideoTrackPrivateGStreamer::kind const): 21 * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h: 22 1 23 2018-04-23 Alicia Boya García <aboya@igalia.com> 2 24 -
trunk/Source/WebCore/platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
r230674 r230910 53 53 notifyTrackOfActiveChanged(); 54 54 } 55 56 AudioTrackPrivate::Kind AudioTrackPrivateGStreamer::kind() const 57 { 58 if (m_stream.get() && gst_stream_get_stream_flags(m_stream.get()) & GST_STREAM_FLAG_SELECT) 59 return AudioTrackPrivate::Kind::Main; 60 61 return AudioTrackPrivate::kind(); 62 } 55 63 #endif 56 64 -
trunk/Source/WebCore/platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h
r230625 r230910 49 49 return adoptRef(*new AudioTrackPrivateGStreamer(player, index, stream)); 50 50 } 51 52 Kind kind() const final; 51 53 #endif 52 54 -
trunk/Source/WebCore/platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
r230674 r230910 53 53 notifyTrackOfActiveChanged(); 54 54 } 55 56 VideoTrackPrivate::Kind VideoTrackPrivateGStreamer::kind() const 57 { 58 if (m_stream.get() && gst_stream_get_stream_flags(m_stream.get()) & GST_STREAM_FLAG_SELECT) 59 return VideoTrackPrivate::Kind::Main; 60 61 return VideoTrackPrivate::kind(); 62 } 55 63 #endif 56 64 -
trunk/Source/WebCore/platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h
r230625 r230910 49 49 return adoptRef(*new VideoTrackPrivateGStreamer(player, index, stream)); 50 50 } 51 Kind kind() const final; 51 52 #endif 52 53
Note: See TracChangeset
for help on using the changeset viewer.