mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
mimenc: Set delta_unit flag on intra frames
This commit is contained in:
parent
fe7fe29221
commit
deb13169b3
1 changed files with 3 additions and 0 deletions
|
@ -315,6 +315,9 @@ gst_mim_enc_chain (GstPad * pad, GstBuffer * in)
|
|||
res = GST_FLOW_ERROR;
|
||||
goto out_unlock;
|
||||
}
|
||||
if (!keyframe)
|
||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||
|
||||
GST_BUFFER_SIZE (out_buf) = buffer_size + TCP_HEADER_SIZE;
|
||||
|
||||
GST_DEBUG_OBJECT (mimenc, "incoming buf size %d, encoded size %d",
|
||||
|
|
Loading…
Reference in a new issue