mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
client: update for buffer API change
This commit is contained in:
parent
597a99e9b9
commit
bd8eb8f3d9
1 changed files with 1 additions and 1 deletions
|
@ -1428,7 +1428,7 @@ handle_data (GstRTSPClient * client, GstRTSPMessage * message)
|
|||
gst_rtsp_message_steal_body (message, &data, &size);
|
||||
|
||||
buffer = gst_buffer_new ();
|
||||
gst_buffer_take_memory (buffer,
|
||||
gst_buffer_take_memory (buffer, -1,
|
||||
gst_memory_new_wrapped (0, data, g_free, size, 0, size));
|
||||
|
||||
handled = FALSE;
|
||||
|
|
Loading…
Reference in a new issue