Title: [170535] trunk/Source/WebCore
Revision
170535
Author
[email protected]
Date
2014-06-27 10:50:36 -0700 (Fri, 27 Jun 2014)

Log Message

[MSE] media/media-source/media-source-tracks.html is crashy
https://bugs.webkit.org/show_bug.cgi?id=134385

Reviewed by Eric Carlson.

Fix the refactoring error (self assignment) introduced by r170488.

* Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (170534 => 170535)


--- trunk/Source/WebCore/ChangeLog	2014-06-27 17:49:25 UTC (rev 170534)
+++ trunk/Source/WebCore/ChangeLog	2014-06-27 17:50:36 UTC (rev 170535)
@@ -1,3 +1,15 @@
+2014-06-27  Jer Noble  <[email protected]>
+
+        [MSE] media/media-source/media-source-tracks.html is crashy
+        https://bugs.webkit.org/show_bug.cgi?id=134385
+
+        Reviewed by Eric Carlson.
+
+        Fix the refactoring error (self assignment) introduced by r170488.
+
+        * Modules/mediasource/SourceBuffer.cpp:
+        (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment):
+
 2014-06-27  Mark Hahnenberg  <[email protected]>
 
         XHR should keep attributes on instance

Modified: trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp (170534 => 170535)


--- trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp	2014-06-27 17:49:25 UTC (rev 170534)
+++ trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp	2014-06-27 17:50:36 UTC (rev 170535)
@@ -868,7 +868,7 @@
             TrackBuffer& trackBuffer = m_trackBufferMap.add(textTrackPrivate->id(), TrackBuffer()).iterator->value;
 
             // 5.4.8 Add the track description for this track to the track buffer.
-            trackBuffer.description = trackBuffer.description;
+            trackBuffer.description = textTrackInfo.description;
 
             m_textCodecs.append(trackBuffer.description->codec());
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to