subtitle: fix merge

This commit is contained in:
Wim Taymans 2012-01-25 12:27:49 +01:00
parent e7575bc525
commit 15b7375c44

View file

@ -1401,10 +1401,8 @@ gst_subtitle_overlay_change_state (GstElement * element,
/* Set the pads back to blocking state */
GST_SUBTITLE_OVERLAY_LOCK (self);
gst_pad_set_blocked_async_full (self->video_block_pad, TRUE,
_pad_blocked_cb, self, NULL);
gst_pad_set_blocked_async_full (self->subtitle_block_pad, TRUE,
_pad_blocked_cb, self, NULL);
block_video (self);
block_subtitle (self);
GST_SUBTITLE_OVERLAY_UNLOCK (self);
do_async_done (self);