mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
mimenc: No need to do a try allocation
This commit is contained in:
parent
8fa5f01100
commit
fd9f049bf2
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ paused_mode_task (gpointer data)
|
|||
GstBuffer *buffer;
|
||||
GstEvent *event = NULL;
|
||||
|
||||
buffer = gst_buffer_try_new_and_alloc (TCP_HEADER_SIZE);
|
||||
buffer = gst_buffer_new_and_alloc (TCP_HEADER_SIZE);
|
||||
GST_BUFFER_TIMESTAMP (buffer) = mimenc->last_buffer + PAUSED_MODE_INTERVAL;
|
||||
gst_mim_enc_create_tcp_header (mimenc, buffer, 0, FALSE, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue