Zebediah Figura : winegstreamer: Get rid of the unused "gstpool" field from GSTOutPin.

Alexandre Julliard julliard at winehq.org
Mon Sep 9 16:13:38 CDT 2019


Module: wine
Branch: master
Commit: da69d353aa58120a1cf913ccbdd7ea7f99eebd0e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=da69d353aa58120a1cf913ccbdd7ea7f99eebd0e

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sun Sep  8 13:55:02 2019 -0500

winegstreamer: Get rid of the unused "gstpool" field from GSTOutPin.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gstdemux.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index bf8f1de..ef11ed6 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);




More information about the wine-cvs mailing list