mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
omxvideoenc: Improve debug output when setting codec state due to new codec_data fails
https://bugzilla.gnome.org/show_bug.cgi?id=783657
This commit is contained in:
parent
1c8f069e42
commit
463929af3e
1 changed files with 2 additions and 0 deletions
|
@ -576,6 +576,8 @@ gst_omx_video_enc_handle_output_frame (GstOMXVideoEnc * self, GstOMXPort * port,
|
|||
gst_video_codec_state_unref (state);
|
||||
if (!gst_video_encoder_negotiate (GST_VIDEO_ENCODER (self))) {
|
||||
gst_video_codec_frame_unref (frame);
|
||||
GST_ERROR_OBJECT (self,
|
||||
"Downstream element refused to negotiate codec_data in the caps");
|
||||
return GST_FLOW_NOT_NEGOTIATED;
|
||||
}
|
||||
flow_ret = GST_FLOW_OK;
|
||||
|
|
Loading…
Reference in a new issue