diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-10-12 19:18:20 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-06-02 21:03:53 -0400 |
commit | 0ba7742cc1e81c505356946c58c1840868115976 (patch) | |
tree | 991974ea06f01cf1cad8fdcdf85e14d5f813601a /ext/mimic | |
parent | ee313094c3f0d7210a8e7bed2561029914e4dea0 (diff) |
mimic: Function can't fail
Diffstat (limited to 'ext/mimic')
-rw-r--r-- | ext/mimic/gstmimenc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/mimic/gstmimenc.c b/ext/mimic/gstmimenc.c index 142a6c318..7a07a7c6e 100644 --- a/ext/mimic/gstmimenc.c +++ b/ext/mimic/gstmimenc.c @@ -332,13 +332,6 @@ gst_mim_enc_chain (GstPad * pad, GstBuffer * in) header = gst_mim_enc_create_tcp_header (mimenc, buffer_size, GST_BUFFER_TIMESTAMP (out_buf), keyframe, FALSE); - if (!header) { - gst_buffer_unref (out_buf); - GST_DEBUG_OBJECT (mimenc, "header not created succesfully"); - res = GST_FLOW_ERROR; - goto out_unlock; - } - if (mimenc->need_newsegment) { event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, 0, -1, 0); mimenc->need_newsegment = FALSE; |