mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtpvp8pay: post error message on bus on error and don't use g_message()
This commit is contained in:
parent
f4db7443ae
commit
725b8f272b
1 changed files with 2 additions and 1 deletions
|
@ -460,7 +460,8 @@ gst_rtp_vp8_pay_handle_buffer (GstRTPBasePayload * payload, GstBuffer * buffer)
|
|||
size = gst_buffer_get_size (buffer);
|
||||
|
||||
if (G_UNLIKELY (!gst_rtp_vp8_pay_parse_frame (self, buffer, size))) {
|
||||
g_message ("Failed to parse frame");
|
||||
GST_ELEMENT_ERROR (self, STREAM, ENCODE, (NULL),
|
||||
("Failed to parse VP8 frame"));
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue