androidmedia/enc: add fixme log about partial frames

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5335>
This commit is contained in:
Matthew Waters 2023-09-15 11:06:07 +10:00 committed by GStreamer Marge Bot
parent 737057c27a
commit 790e480c7f
2 changed files with 6 additions and 1 deletions

View file

@ -31,7 +31,8 @@ enum
{
BUFFER_FLAG_SYNC_FRAME = 1,
BUFFER_FLAG_CODEC_CONFIG = 2,
BUFFER_FLAG_END_OF_STREAM = 4
BUFFER_FLAG_END_OF_STREAM = 4,
BUFFER_FLAG_PARTIAL_FRAME = 8,
};
enum

View file

@ -1004,6 +1004,10 @@ gst_amc_video_enc_handle_output_frame (GstAmcVideoEnc * self,
GstBuffer *out_buf;
GstPad *srcpad;
if (buffer_info->flags & BUFFER_FLAG_PARTIAL_FRAME) {
GST_FIXME_OBJECT (self, "partial frames are currently not handled");
}
srcpad = GST_VIDEO_ENCODER_SRC_PAD (encoder);
out_buf =
gst_video_encoder_allocate_output_buffer (encoder, buffer_info->size);