mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
omxvideoenc: Use the correct video codec state when filling an input buffer
This commit is contained in:
parent
98cf9f6fe2
commit
eac2078056
1 changed files with 1 additions and 2 deletions
|
@ -1324,8 +1324,7 @@ static gboolean
|
|||
gst_omx_video_enc_fill_buffer (GstOMXVideoEnc * self, GstBuffer * inbuf,
|
||||
GstOMXBuffer * outbuf)
|
||||
{
|
||||
GstVideoCodecState *state =
|
||||
gst_video_encoder_get_output_state (GST_VIDEO_ENCODER (self));
|
||||
GstVideoCodecState *state = gst_video_codec_state_ref (self->input_state);
|
||||
GstVideoInfo *info = &state->info;
|
||||
OMX_PARAM_PORTDEFINITIONTYPE *port_def = &self->enc_in_port->port_def;
|
||||
gboolean ret = FALSE;
|
||||
|
|
Loading…
Reference in a new issue