mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
codecalphademux: Do not set a GstFlowReturn from a boolean
This was a small overlook, gst_pad_send_event() returns a boolean, so setting it into ret could confuse the flow combiner. Though, it didn't bug, since both 0 and 1 are success (though 1 being undefined). Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2247>
This commit is contained in:
parent
35775f1aec
commit
0484d658a8
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,8 @@ gst_codec_alpha_demux_chain (GstPad * pad, GstObject * object,
|
|||
if (alpha_buffer) {
|
||||
ret = gst_pad_push (self->alpha_pad, alpha_buffer);
|
||||
} else {
|
||||
ret = gst_pad_push_event (self->alpha_pad,
|
||||
gst_event_new_gap (pts, duration));
|
||||
gst_pad_push_event (self->alpha_pad, gst_event_new_gap (pts, duration));
|
||||
ret = GST_PAD_LAST_FLOW_RETURN (self->alpha_pad);
|
||||
}
|
||||
ret = gst_flow_combiner_update_flow (self->flow_combiner, ret);
|
||||
|
||||
|
|
Loading…
Reference in a new issue