mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
androidmedia/enc: add fixme log about partial frames
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5335>
This commit is contained in:
parent
737057c27a
commit
790e480c7f
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue