diff options
author | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:19 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:19 +0000 |
commit | c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 (patch) | |
tree | 88f65b715d1fa83677b13286b3681a6096b5dcf2 /ext/jack | |
parent | 69edaac422d50a0e365fae15d354c07c0f5419d4 (diff) | |
download | gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.gz gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.bz2 gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.zip |
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Diffstat (limited to 'ext/jack')
-rw-r--r-- | ext/jack/gstjack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c index 4835813a..98ec91d2 100644 --- a/ext/jack/gstjack.c +++ b/ext/jack/gstjack.c @@ -439,7 +439,7 @@ gst_jack_loop (GstElement *element) pad = GST_JACK_PAD (pads); if (this->direction == GST_PAD_SINK) { - buffer = gst_pad_pull (pad->pad); + buffer = GST_BUFFER (gst_pad_pull (pad->pad)); if (GST_IS_EVENT (buffer)) { GstEvent *event = GST_EVENT (buffer); @@ -470,7 +470,7 @@ gst_jack_loop (GstElement *element) gst_buffer_set_data (buffer, pad->data, len); GST_BUFFER_FLAG_SET(buffer, GST_BUFFER_DONTFREE); - gst_pad_push (pad->pad, buffer); + gst_pad_push (pad->pad, GST_DATA (buffer)); } pads = g_list_next (pads); } |