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/mplex | |
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/mplex')
-rw-r--r-- | ext/mplex/gstmplex.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 03cc6e8d..8f8a94a3 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -392,7 +392,7 @@ gst_mplex_write_callback (PS_Stream *stream, uint8_t *data, size_t size, void *u outbuf = gst_buffer_new_and_alloc (size); memcpy (GST_BUFFER_DATA (outbuf), data, size); - gst_pad_push (mplex->srcpad, outbuf); + gst_pad_push (mplex->srcpad, GST_DATA (outbuf)); } return size; @@ -476,7 +476,7 @@ gst_mplex_loop (GstElement *element) case GST_MPLEX_END: { mplex->ostrm->Close (); - gst_pad_push (mplex->srcpad, GST_BUFFER (gst_event_new (GST_EVENT_EOS))); + gst_pad_push (mplex->srcpad, GST_DATA (gst_event_new (GST_EVENT_EOS))); gst_element_set_eos (element); break; } |