[PATCH 1/5] winegstreamer: Get rid of the unused "gstpool" field from GSTOutPin.

Zebediah Figura z.figura12 at gmail.com
Sun Sep 8 13:55:02 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/winegstreamer/gstdemux.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index bf8f1de9e23..ef11ed69962 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -82,7 +82,6 @@ struct GSTOutPin {
     GstPad *flip_sink, *flip_src;
     GstPad *their_src;
     GstPad *my_sink;
-    GstBufferPool *gstpool;
     BOOL isaud, isvid;
     AM_MEDIA_TYPE * pmt;
     HANDLE caps_event;
@@ -1769,8 +1768,6 @@ static void free_source_pin(GSTOutPin *pin)
     CloseHandle(pin->caps_event);
     DeleteMediaType(pin->pmt);
     gst_segment_free(pin->segment);
-    if (pin->gstpool)
-        gst_object_unref(pin->gstpool);
 
     strmbase_source_cleanup(&pin->pin);
     heap_free(pin);
-- 
2.23.0




More information about the wine-devel mailing list