summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/faad/gstfaad.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index e0684792..85e20ce7 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -37,8 +37,8 @@
* but not all, hence this Truly Evil Hack. This hack will need updating if
* upstream ever releases something with the new API.
*/
-#define faacDecInit faadDecInit_no_definition
-#define faacDecInit2 faadDecInit2_no_definition
+#define faacDecInit faacDecInit_no_definition
+#define faacDecInit2 faacDecInit2_no_definition
#include "gstfaad.h"
#undef faacDecInit
#undef faacDecInit2
@@ -647,13 +647,11 @@ gst_faad_event (GstPad * pad, GstEvent * event)
* (when our newsegment was in BYTES) */
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS:
- GST_STREAM_LOCK (pad);
if (faad->tempbuf != NULL) {
gst_buffer_unref (faad->tempbuf);
faad->tempbuf = NULL;
}
res = gst_pad_push_event (faad->srcpad, event);
- GST_STREAM_UNLOCK (pad);
break;
case GST_EVENT_NEWSEGMENT:
{
@@ -696,9 +694,7 @@ gst_faad_event (GstPad * pad, GstEvent * event)
GST_TIME_ARGS (new_end));
}
- GST_STREAM_LOCK (pad);
res = gst_pad_push_event (faad->srcpad, event);
- GST_STREAM_UNLOCK (pad);
break;
}
default: