Module: wine Branch: master Commit: 715921fea080187ec8a9513ab8b80c6e1c7ab636 URL: http://source.winehq.org/git/wine.git/?a=commit;h=715921fea080187ec8a9513ab8...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Tue Jul 5 14:25:28 2011 +0200
winegstreamer: Fix setcaps call.
---
dlls/winegstreamer/gstdemux.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c index 46cd9ec..c28f9b7 100644 --- a/dlls/winegstreamer/gstdemux.c +++ b/dlls/winegstreamer/gstdemux.c @@ -727,7 +727,7 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, gboolean last, GS gst_pad_set_event_function(mypad, event_sink); gst_pad_set_bufferalloc_function(mypad, request_buffer_sink); gst_pad_set_acceptcaps_function(mypad, accept_caps_sink); - gst_pad_set_acceptcaps_function(mypad, setcaps_sink); + gst_pad_set_setcaps_function(mypad, setcaps_sink);
if (!strcmp(typename, "audio/x-raw-int") || !strcmp(typename, "audio/x-raw-float")) {