Diff of /src/gtkvideo.c [38f5be] .. [dba5ed]  Maximize  Restore

Switch to side-by-side view

--- a/src/gtkvideo.c
+++ b/src/gtkvideo.c
@@ -1557,6 +1557,10 @@
 		    gtv_post_input_video (next->data));
 
   g_list_free (list);
+
+  xine_set_param (priv->stream, XINE_PARAM_VO_DEINTERLACE,
+		  priv->post_deinterlace.enable &&
+		    !priv->post_deinterlace.list);
 }
 
 static void gtv_unwire_plugins_video (gtk_video_private_t *priv)
@@ -1823,8 +1827,8 @@
 
   /* allow the old method if there are no created deinterlace plugins */
   xine_set_param (priv->stream, XINE_PARAM_VO_DEINTERLACE,
-		  priv->post_deinterlace.enable /*&&
-		    !priv->post_deinterlace.list*/);
+		  priv->post_deinterlace.enable &&
+		    !priv->post_deinterlace.list);
 }
 
 void gtk_video_set_use_post_plugins_deinterlace (GtkVideo *gtv, gboolean on)
@@ -1842,7 +1846,7 @@
 
   /* allow the old method if there are no created deinterlace plugins */
   xine_set_param (priv->stream, XINE_PARAM_VO_DEINTERLACE,
-		  on /*&& !priv->post_deinterlace.list*/);
+		  on && !priv->post_deinterlace.list);
 }
 
 gboolean gtk_video_get_use_post_plugins_deinterlace (GtkVideo *gtv)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks