Skip to content

Commit

Permalink
enc::write_output: release enc_mutex before returning
Browse files Browse the repository at this point in the history
  • Loading branch information
kfish committed Feb 15, 2010
1 parent 09ecb8f commit 0ceb947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gst/shvideo/gstshvideoenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3119,7 +3119,7 @@ gst_sh_video_enc_write_output(SHCodecs_Encoder * encoder,
ret = gst_pad_push(enc->srcpad, buf);
if (ret != GST_FLOW_OK) {
GST_DEBUG_OBJECT(enc, "pad_push failed: %s", gst_flow_get_name(ret));
return -1;
ret = -1;
}
} else {
old_buf = buf;
Expand Down

0 comments on commit 0ceb947

Please sign in to comment.