Bug 176646

Summary: [GStreamer] Missing GRefPtr adoptions in MediaPlayerPrivateGStreamerBase, PlaybackPipeline
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, cgarcia, eocanha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch cgarcia: review+

Zan Dobersek
Reported 2017-09-09 03:26:30 PDT
[GStreamer] Missing GRefPtr adoptions in MediaPlayerPrivateGStreamerBase, PlaybackPipeline
Attachments
Patch (3.07 KB, patch)
2017-09-09 03:31 PDT, Zan Dobersek
cgarcia: review+
Zan Dobersek
Comment 1 2017-09-09 03:31:16 PDT
Carlos Garcia Campos
Comment 2 2017-09-09 03:47:01 PDT
Comment on attachment 320340 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320340&action=review > Source/WebCore/platform/graphics/gstreamer/mse/PlaybackPipeline.cpp:464 > + GRefPtr<GstPad> srcPad = adoptGRef(sinkPad ? gst_pad_get_peer(sinkPad.get()) : nullptr); adoptGref(nullptr) looks weird, I would write this as: GRefPtr<GstPad> srcPad = sinkPad ? adoptGRef(gst_pad_get_peer(sinkPad.get())) : nullptr;
Zan Dobersek
Comment 3 2017-09-09 05:38:51 PDT
Radar WebKit Bug Importer
Comment 4 2017-09-27 13:02:14 PDT
Note You need to log in before you can comment on or make changes to this bug.