Title: [272632] trunk/Source/WebCore
- Revision
- 272632
- Author
- [email protected]
- Date
- 2021-02-09 19:24:59 -0800 (Tue, 09 Feb 2021)
Log Message
[GTK] Export additional methods of SourceBufferPrivate to support hidden visibility
https://bugs.webkit.org/show_bug.cgi?id=221625
Reviewed by Michael Catanzaro.
Add additional WEBCORE_EXPORTs to SourceBufferPrivate that were found when linking GTK with
hidden visibility turned on.
* platform/graphics/SourceBufferPrivate.h:
(WebCore::SourceBufferPrivate::removeCodedFrames):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (272631 => 272632)
--- trunk/Source/WebCore/ChangeLog 2021-02-10 02:24:10 UTC (rev 272631)
+++ trunk/Source/WebCore/ChangeLog 2021-02-10 03:24:59 UTC (rev 272632)
@@ -1,3 +1,16 @@
+2021-02-09 Don Olmstead <[email protected]>
+
+ [GTK] Export additional methods of SourceBufferPrivate to support hidden visibility
+ https://bugs.webkit.org/show_bug.cgi?id=221625
+
+ Reviewed by Michael Catanzaro.
+
+ Add additional WEBCORE_EXPORTs to SourceBufferPrivate that were found when linking GTK with
+ hidden visibility turned on.
+
+ * platform/graphics/SourceBufferPrivate.h:
+ (WebCore::SourceBufferPrivate::removeCodedFrames):
+
2021-02-09 Devin Rousso <[email protected]>
[iOS] Add support for the language/subtitle tracks button using `UIMenu`
Modified: trunk/Source/WebCore/platform/graphics/SourceBufferPrivate.h (272631 => 272632)
--- trunk/Source/WebCore/platform/graphics/SourceBufferPrivate.h 2021-02-10 02:24:10 UTC (rev 272631)
+++ trunk/Source/WebCore/platform/graphics/SourceBufferPrivate.h 2021-02-10 03:24:59 UTC (rev 272632)
@@ -75,26 +75,26 @@
virtual bool canSwitchToType(const ContentType&) { return false; }
- virtual void setMediaSourceEnded(bool);
+ WEBCORE_EXPORT virtual void setMediaSourceEnded(bool);
virtual void setMode(SourceBufferAppendMode mode) { m_appendMode = mode; }
- virtual void reenqueueMediaIfNeeded(const MediaTime& currentMediaTime, uint64_t pendingAppendDataCapacity, uint64_t maximumBufferSize);
- virtual void addTrackBuffer(const AtomString& trackId, RefPtr<MediaDescription>&&);
- virtual void resetTrackBuffers();
- virtual void clearTrackBuffers();
- virtual void setAllTrackBuffersNeedRandomAccess();
+ WEBCORE_EXPORT virtual void reenqueueMediaIfNeeded(const MediaTime& currentMediaTime, uint64_t pendingAppendDataCapacity, uint64_t maximumBufferSize);
+ WEBCORE_EXPORT virtual void addTrackBuffer(const AtomString& trackId, RefPtr<MediaDescription>&&);
+ WEBCORE_EXPORT virtual void resetTrackBuffers();
+ WEBCORE_EXPORT virtual void clearTrackBuffers();
+ WEBCORE_EXPORT virtual void setAllTrackBuffersNeedRandomAccess();
virtual void setGroupStartTimestamp(const MediaTime& mediaTime) { m_groupStartTimestamp = mediaTime; }
virtual void setGroupStartTimestampToEndTimestamp() { m_groupStartTimestamp = m_groupEndTimestamp; }
virtual void setShouldGenerateTimestamps(bool flag) { m_shouldGenerateTimestamps = flag; }
WEBCORE_EXPORT virtual void updateBufferedFromTrackBuffers(bool sourceIsEnded);
- virtual void removeCodedFrames(const MediaTime& start, const MediaTime& end, const MediaTime& currentMediaTime, bool isEnded, CompletionHandler<void()>&& = [] { });
+ WEBCORE_EXPORT virtual void removeCodedFrames(const MediaTime& start, const MediaTime& end, const MediaTime& currentMediaTime, bool isEnded, CompletionHandler<void()>&& = [] { });
WEBCORE_EXPORT virtual void evictCodedFrames(uint64_t newDataSize, uint64_t pendingAppendDataCapacity, uint64_t maximumBufferSize, const MediaTime& currentTime, const MediaTime& duration, bool isEnded);
- virtual void resetTimestampOffsetInTrackBuffers();
+ WEBCORE_EXPORT virtual void resetTimestampOffsetInTrackBuffers();
virtual void startChangingType() { m_pendingInitializationSegmentForChangeType = true; }
virtual void setTimestampOffset(const MediaTime& timestampOffset) { m_timestampOffset = timestampOffset; }
virtual void setAppendWindowStart(const MediaTime& appendWindowStart) { m_appendWindowStart = appendWindowStart;}
virtual void setAppendWindowEnd(const MediaTime& appendWindowEnd) { m_appendWindowEnd = appendWindowEnd; }
- virtual void seekToTime(const MediaTime&);
- virtual void updateTrackIds(Vector<std::pair<AtomString, AtomString>>&& trackIdPairs);
+ WEBCORE_EXPORT virtual void seekToTime(const MediaTime&);
+ WEBCORE_EXPORT virtual void updateTrackIds(Vector<std::pair<AtomString, AtomString>>&& trackIdPairs);
void setClient(SourceBufferPrivateClient* client) { m_client = client; }
void setIsAttached(bool flag) { m_isAttached = flag; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes