summaryrefslogtreecommitdiff
path: root/src/post/deinterlace
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-12-07 15:33:25 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-12-07 15:33:25 +0000
commita2dcf860b2777e530646abd00202c3fb5b3a5a81 (patch)
tree160201bc19d683338e3f8697181d5f314bd79438 /src/post/deinterlace
parent8071d7b501d5eb338ccc36f5c9bbee8bf86fb518 (diff)
downloadxine-lib-a2dcf860b2777e530646abd00202c3fb5b3a5a81.tar.gz
xine-lib-a2dcf860b2777e530646abd00202c3fb5b3a5a81.tar.bz2
fix post plugins interception
two tvtime plugins do not crash xine anymore :) (but why would anybody do that?) CVS patchset: 5859 CVS date: 2003/12/07 15:33:25
Diffstat (limited to 'src/post/deinterlace')
-rw-r--r--src/post/deinterlace/xine_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post/deinterlace/xine_plugin.c b/src/post/deinterlace/xine_plugin.c
index c569d82a2..0df13ef80 100644
--- a/src/post/deinterlace/xine_plugin.c
+++ b/src/post/deinterlace/xine_plugin.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_plugin.c,v 1.24 2003/12/06 15:50:11 miguelfreitas Exp $
+ * $Id: xine_plugin.c,v 1.25 2003/12/07 15:33:25 miguelfreitas Exp $
*
* advanced video deinterlacer plugin
* Jun/2003 by Miguel Freitas
@@ -585,11 +585,11 @@ static vo_frame_t *deinterlace_get_frame(xine_video_port_t *port_gen, uint32_t w
pthread_mutex_lock (&this->lock);
+ _x_post_intercept_video_frame(frame, port);
/* do not intercept if not enabled or not interlaced */
if( this->enabled && this->cur_method &&
(flags & VO_INTERLACED_FLAG) &&
(format == XINE_IMGFMT_YV12 || format == XINE_IMGFMT_YUY2) ) {
- _x_post_intercept_video_frame(frame, port);
/* replace with our own draw function */
frame->draw = deinterlace_draw;
/* decoders should not copy the frames, since they won't be displayed */