mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
androidmedia/enc: add fixme log about partial frames
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5330>
This commit is contained in:
parent
b3e7404312
commit
bec57df2f8
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
|
||||
|
|
|
@ -1012,6 +1012,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