mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
openh264: Add FIXME comment about missing API in openh264
This commit is contained in:
parent
0e15f47bdf
commit
68baaf19c3
2 changed files with 6 additions and 0 deletions
|
@ -303,6 +303,9 @@ static GstFlowReturn gst_openh264dec_handle_frame(GstVideoDecoder *decoder, GstV
|
|||
return GST_FLOW_EOS;
|
||||
}
|
||||
|
||||
/* FIXME: openh264 has no way for us to get a connection
|
||||
* between the input and output frames, we just have to
|
||||
* guess based on the input */
|
||||
frame = get_oldest_pts_frame (decoder);
|
||||
if (!frame) {
|
||||
/* Can only happen in finish() */
|
||||
|
|
|
@ -662,6 +662,9 @@ static GstFlowReturn gst_openh264enc_handle_frame(GstVideoEncoder *encoder, GstV
|
|||
frame = NULL;
|
||||
}
|
||||
|
||||
/* FIXME: openh264 has no way for us to get a connection
|
||||
* between the input and output frames, we just have to
|
||||
* guess based on the input */
|
||||
frame = gst_video_encoder_get_oldest_frame(base_encoder);
|
||||
if (!frame) {
|
||||
GST_ELEMENT_ERROR(openh264enc, STREAM, ENCODE, ("Could not encode frame"), ("openh264enc returned %d", ret));
|
||||
|
|
Loading…
Reference in a new issue