mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
/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.
This commit is contained in:
parent
fc1b8b479f
commit
45aedd595e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue