Title: [165280] trunk/Source/WebCore
Revision
165280
Author
[email protected]
Date
2014-03-07 13:10:45 -0800 (Fri, 07 Mar 2014)

Log Message

Correct out-of-band track selection logic.
https://bugs.webkit.org/show_bug.cgi?id=129900

Reviewed by Jer Noble.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::synchronizeTextTrackState): Correct test to
use inequality.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (165279 => 165280)


--- trunk/Source/WebCore/ChangeLog	2014-03-07 20:52:09 UTC (rev 165279)
+++ trunk/Source/WebCore/ChangeLog	2014-03-07 21:10:45 UTC (rev 165280)
@@ -1,3 +1,14 @@
+2014-03-07  Brent Fulgham  <[email protected]>
+
+        Correct out-of-band track selection logic.
+        https://bugs.webkit.org/show_bug.cgi?id=129900
+
+        Reviewed by Jer Noble.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        (WebCore::MediaPlayerPrivateAVFoundationObjC::synchronizeTextTrackState): Correct test to
+        use inequality.
+
 2014-03-07  Bear Travis  <[email protected]>
 
         [CSS Shapes] Correctly serialize ellipse positions

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (165279 => 165280)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2014-03-07 20:52:09 UTC (rev 165279)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2014-03-07 21:10:45 UTC (rev 165280)
@@ -547,7 +547,7 @@
     const Vector<RefPtr<PlatformTextTrack>>& outOfBandTrackSources = player()->outOfBandTrackSources();
     
     for (auto& textTrack : m_textTracks) {
-        if (textTrack->textTrackCategory() == InbandTextTrackPrivateAVF::OutOfBand)
+        if (textTrack->textTrackCategory() != InbandTextTrackPrivateAVF::OutOfBand)
             continue;
         
         RefPtr<OutOfBandTextTrackPrivateAVF> trackPrivate = static_cast<OutOfBandTextTrackPrivateAVF*>(textTrack.get());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to