Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-ugly/ChangeLog,v
retrieving revision 1.1965
diff -u -p -u -p -r1.1965 ChangeLog
--- ChangeLog	17 Feb 2006 15:08:28 -0000	1.1965
+++ ChangeLog	17 Feb 2006 17:27:47 -0000
@@ -1,3 +1,9 @@
+2006-02-17  Tim-Philipp Müller  <tim at centricular dot net>
+
+	* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event):
+	  In sink event handler, release object lock again
+	  _before_ sending EOS event downstream.
+
 2006-02-17  Jan Schmidt <thaytan@mad.scientist.com>
 
 	* configure.ac:
Index: gst/asfdemux/gstasfdemux.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c,v
retrieving revision 1.94
diff -u -p -u -p -r1.94 gstasfdemux.c
--- gst/asfdemux/gstasfdemux.c	17 Feb 2006 10:24:56 -0000	1.94
+++ gst/asfdemux/gstasfdemux.c	17 Feb 2006 17:27:50 -0000
@@ -185,8 +185,8 @@ gst_asf_demux_sink_event (GstPad * pad, 
       GST_OBJECT_LOCK (demux);
       gst_adapter_clear (demux->adapter);
       demux->bytes_needed = 0;
-      gst_asf_demux_send_event_unlocked (demux, event);
       GST_OBJECT_UNLOCK (demux);
+      gst_asf_demux_send_event_unlocked (demux, event);
       break;
     }
 
