Zebediah Figura : winegstreamer: Use base sink streaming methods.

Alexandre Julliard julliard at winehq.org
Fri Dec 13 15:27:21 CST 2019


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

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Dec 12 21:24:37 2019 -0600

winegstreamer: Use base sink streaming methods.

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

---

 dlls/winegstreamer/gstdemux.c | 36 ++++--------------------------------
 1 file changed, 4 insertions(+), 32 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index fb60d69e2a..1eae0dae9a 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1967,34 +1967,6 @@ static HRESULT GST_RemoveOutputPins(struct gstdemux *This)
     return S_OK;
 }
 
-static HRESULT WINAPI GSTInPin_EndOfStream(IPin *iface)
-{
-    FIXME("iface %p, stub!\n", iface);
-    return S_OK;
-}
-
-static HRESULT WINAPI GSTInPin_BeginFlush(IPin *iface)
-{
-    FIXME("iface %p, stub!\n", iface);
-    return S_OK;
-}
-
-static HRESULT WINAPI GSTInPin_EndFlush(IPin *iface)
-{
-    FIXME("iface %p, stub!\n", iface);
-    return S_OK;
-}
-
-static HRESULT WINAPI GSTInPin_NewSegment(IPin *iface, REFERENCE_TIME start,
-        REFERENCE_TIME stop, double rate)
-{
-    FIXME("iface %p, start %s, stop %s, rate %.16e, stub!\n",
-            iface, wine_dbgstr_longlong(start), wine_dbgstr_longlong(stop), rate);
-
-    BasePinImpl_NewSegment(iface, start, stop, rate);
-    return S_OK;
-}
-
 static const IPinVtbl GST_InputPin_Vtbl = {
     BasePinImpl_QueryInterface,
     BasePinImpl_AddRef,
@@ -2010,10 +1982,10 @@ static const IPinVtbl GST_InputPin_Vtbl = {
     BasePinImpl_QueryAccept,
     BasePinImpl_EnumMediaTypes,
     BasePinImpl_QueryInternalConnections,
-    GSTInPin_EndOfStream,
-    GSTInPin_BeginFlush,
-    GSTInPin_EndFlush,
-    GSTInPin_NewSegment
+    BaseInputPinImpl_EndOfStream,
+    BaseInputPinImpl_BeginFlush,
+    BaseInputPinImpl_EndFlush,
+    BaseInputPinImpl_NewSegment
 };
 
 pthread_mutex_t cb_list_lock = PTHREAD_MUTEX_INITIALIZER;




More information about the wine-cvs mailing list