RESOLVED FIXED 162898
[GStreamer][MSE] SourceBufferPrivateGStreamer refactoring
https://bugs.webkit.org/show_bug.cgi?id=162898
Summary [GStreamer][MSE] SourceBufferPrivateGStreamer refactoring
Enrique Ocaña
Reported 2016-10-04 04:06:51 PDT
Move SourceBufferPrivateGStreamer to an mse directory and add unimplemented features (abort, enqueueing, sample flow control).
Attachments
Patch (21.61 KB, patch)
2016-10-04 04:13 PDT, Enrique Ocaña
no flags
Patch (21.55 KB, patch)
2016-10-16 12:05 PDT, Enrique Ocaña
no flags
Patch (21.25 KB, patch)
2016-10-21 14:25 PDT, Enrique Ocaña
no flags
Patch (21.10 KB, patch)
2016-10-25 11:03 PDT, Enrique Ocaña
no flags
Patch (21.10 KB, patch)
2016-10-26 01:20 PDT, Enrique Ocaña
no flags
Enrique Ocaña
Comment 1 2016-10-04 04:13:00 PDT
Enrique Ocaña
Comment 2 2016-10-04 07:07:25 PDT
Comment on attachment 290590 [details] Patch Wait until all the patches in 157314 are ready.
Xabier Rodríguez Calvar
Comment 3 2016-10-08 04:44:33 PDT
Comment on attachment 290590 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=290590&action=review > Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.h:89 > + MediaSourceGStreamer* m_mediaSource; > + ContentType m_type; > + RefPtr<MediaSourceClientGStreamerMSE> m_client; > + SourceBufferPrivateClient* m_sourceBufferPrivateClient; Let's add a comment here and create bug later to study making these plain pointers RefPtr or similar.
Xabier Rodríguez Calvar
Comment 4 2016-10-08 05:15:09 PDT
(In reply to comment #3) > Let's add a comment here and create bug later to study making these plain > pointers RefPtr or similar. After talking to Quique (Enrique) in person, we saw that there are cross references in place and we don't want to mess this up.
Enrique Ocaña
Comment 5 2016-10-16 12:05:21 PDT
Zan Dobersek
Comment 6 2016-10-21 00:06:06 PDT
Comment on attachment 291761 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291761&action=review > Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:60 > + , m_client(client) It seems to be assumed that m_client is non-null throughout the lifetime of SourceBufferPrivateGStreamer, at least how it's used in append() and because it's not nulled out anywhere. If that's the case, the parameter to this constructor and the member variables should be Ref<>, and there's no need to null-check it anywhere. > Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:62 > + , m_isReadyForMoreSamples(true) > + , m_notifyWhenReadyForMoreSamples(false) These can be initialized in the constructor. > Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:68 > +SourceBufferPrivateGStreamer::~SourceBufferPrivateGStreamer() > +{ > +} Default it.
Enrique Ocaña
Comment 7 2016-10-21 14:25:32 PDT
Enrique Ocaña
Comment 8 2016-10-25 11:03:52 PDT
Enrique Ocaña
Comment 9 2016-10-26 01:20:08 PDT
Enrique Ocaña
Comment 10 2016-10-26 01:43:27 PDT
Comment on attachment 292892 [details] Patch Clearing flags on attachment: 292892 Committed r207879: <http://trac.webkit.org/changeset/207879>
Enrique Ocaña
Comment 11 2016-10-26 01:43:35 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.